Группа :: Сети/Почта
Пакет: amavisd-new
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: amavisd-new
Version: 2.1.2
Release: alt0.M24.1
Serial: 1
Summary: A Mail Virus Scanner
License: GPL
Group: Networking/Mail
Packager: Alexey Shabalin <shaba at altlinux.ru>
Url: http://www.ijs.si/software/amavisd/
Source: %url/%name-%version.tar.gz
Source1: amavisd.init
Source2: amavisd-new-notify.tar.gz
Source7: amavisd-new-README.postfix.ALT
Patch1: amavisd-new-alt-fix.patch
Patch2: amavisd-new-alt-conf.patch
BuildArch: noarch
Provides: amavisd
Requires: file
Requires: perl-base
Requires: perl-Archive-Tar
Requires: perl-Archive-Zip
Requires: perl-BerkeleyDB
Requires: perl-Compress-Zlib
Requires: perl-Convert-UUlib
Requires: perl-Convert-TNEF
Requires: perl-DBI
Requires: perl-IO-stringy
Requires: perl-libnet
Requires: perl-Mail-SpamAssassin
Requires: perl-MailTools
Requires: perl-MIME-tools >= 5.411
Requires: perl-Net-Server >= 0.84
#Requires: perl-Razor-Agent
Requires: perl-Unix-Syslog
Requires: spamassassin >= 2.60
Requires: clamav
Requires: bzip2
Requires: lha
Requires: lzop
Requires: ncompress
#Requires: nomarch
#Requires: arc
Requires: unace
Requires: unarj
Requires: unrar
#Requires: zoo
BuildRequires: perl-IO-stringy perl-MIME-tools perl-MailTools
BuildRequires: perl-Net-Server perl-TimeDate perl-Unicode-Map
BuildRequires: perl-Unicode-String perl-Unix-Syslog perl-libnet perl-BerkeleyDB
%description
AMaViS is a perl script that interfaces a Mail Transport Agent (MTA)
with one or more virus scanners.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%__perl -pi -e "s|/var/amavis/db|/var/spool/amavis/db|g" amavisd-agent
%__perl -pi -e "s|/var/amavis/db|/var/spool/amavis/db|g" amavisd-nanny
###
## Install Attention README
###
install -m 0644 %SOURCE7 amavisd-new-README.postfix.ALT
%install
%__mkdir_p \
%buildroot%_initdir \
%buildroot%_sysconfdir/amavis \
%buildroot%_sbindir \
%buildroot%_bindir \
%buildroot%_spooldir/amavis \
%buildroot%_spooldir/amavis/db \
%buildroot%_spooldir/amavis/quarantine \
%buildroot%_spooldir/amavis/tmp \
%buildroot%_var/run/amavis
%__install -m 755 %SOURCE1 %buildroot%_initdir/amavisd
%__install -m 640 amavisd.conf %buildroot%_sysconfdir/amavis/amavisd.conf
%__install -m 640 amavisd.conf-default %buildroot%_sysconfdir/amavis/amavisd.conf-default
%__install -m 640 amavisd.conf-sample %buildroot%_sysconfdir/amavis/amavisd.conf-sample
%__install -m 755 amavisd %buildroot%_sbindir/amavisd
%__install -m 755 amavisd-agent %buildroot%_bindir/amavisd-agent
%__install -m 755 amavisd-nanny %buildroot%_bindir/amavisd-nanny
%__tar -xzf %SOURCE2 -C %buildroot%_sysconfdir/amavis/
%post
%post_service amavisd
%preun
%preun_service amavisd
%files
%doc AAAREADME.first INSTALL LICENSE README_FILES RELEASE_NOTES test-messages
%doc LDAP.schema
%doc amavisd-new-README.postfix.ALT
%config(noreplace) %_initdir/amavisd
%attr(640,root,mail) %config(noreplace) %_sysconfdir/amavis/amavisd.conf
%attr(640,root,mail) %_sysconfdir/amavis/amavisd.conf-*
%attr(640,root,mail) %_sysconfdir/amavis/notify_*
%_sbindir/amavisd
%_bindir/amavisd-*
%attr(775,mail,mail) %dir %_spooldir/amavis
%attr(770,mail,mail) %dir %_spooldir/amavis/db
%attr(750,mail,mail) %dir %_spooldir/amavis/quarantine
%attr(750,mail,mail) %dir %_spooldir/amavis/tmp
%attr(775,root,mail) %dir %_var/run/amavis
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.1.2
Release: alt0.M24.1
Serial: 1
Summary: A Mail Virus Scanner
License: GPL
Group: Networking/Mail
Packager: Alexey Shabalin <shaba at altlinux.ru>
Url: http://www.ijs.si/software/amavisd/
Source: %url/%name-%version.tar.gz
Source1: amavisd.init
Source2: amavisd-new-notify.tar.gz
Source7: amavisd-new-README.postfix.ALT
Patch1: amavisd-new-alt-fix.patch
Patch2: amavisd-new-alt-conf.patch
BuildArch: noarch
Provides: amavisd
Requires: file
Requires: perl-base
Requires: perl-Archive-Tar
Requires: perl-Archive-Zip
Requires: perl-BerkeleyDB
Requires: perl-Compress-Zlib
Requires: perl-Convert-UUlib
Requires: perl-Convert-TNEF
Requires: perl-DBI
Requires: perl-IO-stringy
Requires: perl-libnet
Requires: perl-Mail-SpamAssassin
Requires: perl-MailTools
Requires: perl-MIME-tools >= 5.411
Requires: perl-Net-Server >= 0.84
#Requires: perl-Razor-Agent
Requires: perl-Unix-Syslog
Requires: spamassassin >= 2.60
Requires: clamav
Requires: bzip2
Requires: lha
Requires: lzop
Requires: ncompress
#Requires: nomarch
#Requires: arc
Requires: unace
Requires: unarj
Requires: unrar
#Requires: zoo
BuildRequires: perl-IO-stringy perl-MIME-tools perl-MailTools
BuildRequires: perl-Net-Server perl-TimeDate perl-Unicode-Map
BuildRequires: perl-Unicode-String perl-Unix-Syslog perl-libnet perl-BerkeleyDB
%description
AMaViS is a perl script that interfaces a Mail Transport Agent (MTA)
with one or more virus scanners.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%__perl -pi -e "s|/var/amavis/db|/var/spool/amavis/db|g" amavisd-agent
%__perl -pi -e "s|/var/amavis/db|/var/spool/amavis/db|g" amavisd-nanny
###
## Install Attention README
###
install -m 0644 %SOURCE7 amavisd-new-README.postfix.ALT
%install
%__mkdir_p \
%buildroot%_initdir \
%buildroot%_sysconfdir/amavis \
%buildroot%_sbindir \
%buildroot%_bindir \
%buildroot%_spooldir/amavis \
%buildroot%_spooldir/amavis/db \
%buildroot%_spooldir/amavis/quarantine \
%buildroot%_spooldir/amavis/tmp \
%buildroot%_var/run/amavis
%__install -m 755 %SOURCE1 %buildroot%_initdir/amavisd
%__install -m 640 amavisd.conf %buildroot%_sysconfdir/amavis/amavisd.conf
%__install -m 640 amavisd.conf-default %buildroot%_sysconfdir/amavis/amavisd.conf-default
%__install -m 640 amavisd.conf-sample %buildroot%_sysconfdir/amavis/amavisd.conf-sample
%__install -m 755 amavisd %buildroot%_sbindir/amavisd
%__install -m 755 amavisd-agent %buildroot%_bindir/amavisd-agent
%__install -m 755 amavisd-nanny %buildroot%_bindir/amavisd-nanny
%__tar -xzf %SOURCE2 -C %buildroot%_sysconfdir/amavis/
%post
%post_service amavisd
%preun
%preun_service amavisd
%files
%doc AAAREADME.first INSTALL LICENSE README_FILES RELEASE_NOTES test-messages
%doc LDAP.schema
%doc amavisd-new-README.postfix.ALT
%config(noreplace) %_initdir/amavisd
%attr(640,root,mail) %config(noreplace) %_sysconfdir/amavis/amavisd.conf
%attr(640,root,mail) %_sysconfdir/amavis/amavisd.conf-*
%attr(640,root,mail) %_sysconfdir/amavis/notify_*
%_sbindir/amavisd
%_bindir/amavisd-*
%attr(775,mail,mail) %dir %_spooldir/amavis
%attr(770,mail,mail) %dir %_spooldir/amavis/db
%attr(750,mail,mail) %dir %_spooldir/amavis/quarantine
%attr(750,mail,mail) %dir %_spooldir/amavis/tmp
%attr(775,root,mail) %dir %_var/run/amavis
%changelog
…
Полный changelog можно просмотреть здесь