Группа :: Работа с файлами
Пакет: 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 можно просмотреть здесь
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 можно просмотреть здесь