Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37498199
en ru br
Репозитории ALT
S:1.10-alt4
5.1: 1.10-alt2
4.1: 1.9-alt2
4.0: 1.8-alt2
3.0: 1.3-alt1
www.altlinux.org/Changes

Другие репозитории

Группа :: Работа с файлами
Пакет: clamsmtp

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: clamsmtp
Version: 1.10
Release: alt4

Summary: SMTP virus-scanning proxy
License: BSD
Group: File tools

Url: http://thewalter.net/stef/software/clamsmtp/
Source0: %name-%version.tar.gz
Source1: %{name}d.init
Source2: %{name}d.conf
Source3: %name-README.ALT-ru_RU.UTF-8
Source4: %{name}d.service
Source5: %name.tmpfiles

Patch0: clamsmtp-1.9-alt-strncat-buffer-overflow.patch
Patch1: clamsmtp-1.10-alt-smtppass.patch

Packager: Valery Inozemtsev <shrek at altlinux.ru>

Requires: clamav

%description
ClamSMTP is an SMTP filter that allows you to check for viruses using the
ClamAV anti-virus software. It accepts SMTP connections and forwards the SMTP
commands and responses to another SMTP server. The 'DATA' email body is
intercepted and scanned before forwarding.

%prep
%setup -q

%patch0 -p1
%patch1 -p1

%build
%configure
%make_build

%install
%make DESTDIR=%buildroot install

install -pD -m755 %SOURCE1 %buildroot%_initdir/%{name}d
install -pD -m644 %SOURCE2 %buildroot%_sysconfdir/
install -pD -m644 %SOURCE4 %buildroot%_unitdir/%{name}d.service
install -pD -m644 %SOURCE5 %buildroot%_tmpfilesdir/%name.conf
install -m644 %SOURCE3 %_builddir/%name-%version/README.ALT-ru_RU.UTF-8

%post
%post_service %{name}d

%postun
%preun_service %{name}d

%files
%doc AUTHORS ChangeLog README README.ALT-ru_RU.*
%config(noreplace) %_sysconfdir/*.conf
%_initdir/*
%_unitdir/*
%_sbindir/*
%_tmpfilesdir/*
%_man5dir/*
%_man8dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin