install perl library [release 2.13.0-2mamba;Thu Mar 09 2023]
This commit is contained in:
parent
9270d397a5
commit
596d90be67
@ -2,7 +2,7 @@
|
||||
%define vscan_gid 65416
|
||||
|
||||
Name: amavisd-new
|
||||
Version: 2.12.2
|
||||
Version: 2.13.0
|
||||
Release: 2mamba
|
||||
Summary: An interface between mailer (MTA) and content checkers: virus scanners, and/or SpamAssassin
|
||||
Group: System/Servers
|
||||
@ -11,18 +11,27 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.ijs.si/software/amavisd/
|
||||
Source: https://gitlab.com/amavis/amavis/-/archive/v%{version}/amavis-v%{version}.tar.bz2
|
||||
#Source: http://www.ijs.si/software/amavisd/amavisd-new-%{version}.tar.xz
|
||||
Source1: amavisd-new-service
|
||||
Patch0: amavisd-new-2.8.1-initscript-no-deprecated-network.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libperl
|
||||
BuildRequires: perl-Archive-Zip
|
||||
BuildRequires: perl-BerkeleyDB
|
||||
BuildRequires: perl-Crypt-OpenSSL-RSA
|
||||
BuildRequires: perl-DBI
|
||||
BuildRequires: perl-IO-Socket-SSL
|
||||
BuildRequires: perl-JSON
|
||||
BuildRequires: perl-MIME-Tools
|
||||
BuildRequires: perl-Net-LibIDN
|
||||
BuildRequires: perl-Mail-DKIM
|
||||
BuildRequires: perl-Net-DNS
|
||||
BuildRequires: perl-Net-LDAP
|
||||
BuildRequires: perl-Net-Server
|
||||
BuildRequires: perl-NetSNMP
|
||||
BuildRequires: perl-Unix-Syslog
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-libwww
|
||||
BuildRequires: spamassassin
|
||||
## AUTOBUILDREQ-END
|
||||
Requires(pre): postfix
|
||||
Requires(pre): clamd
|
||||
@ -30,10 +39,7 @@ Requires: perl-BerkeleyDB
|
||||
Requires: SpamAssassin
|
||||
Requires: perl-Convert-TNEF
|
||||
Requires: perl-Convert-UUlib
|
||||
Requires: perl-Mail-DKIM
|
||||
Requires: perl-Mail-Tools
|
||||
Requires: perl-MIME-tools
|
||||
Requires: perl-Archive-Zip
|
||||
Requires: perl-File-LibMagic
|
||||
Requires: clamav
|
||||
Requires: clamd
|
||||
@ -67,12 +73,16 @@ amavisd-new is a high-performance interface between mailer (MTA) and content che
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -d %{buildroot}/var/amavis/{tmp,var,db,home}
|
||||
install -D -m0755 amavisd %{buildroot}%{_sbindir}/amavisd
|
||||
#install -D -m0755 amavisd_init.sh %{buildroot}%{_initrddir}/amavisd
|
||||
install -D -m0640 amavisd.conf %{buildroot}%{_sysconfdir}/amavisd.conf
|
||||
install -d %{buildroot}%{_sbindir}
|
||||
cp bin/amavis* %{buildroot}%{_sbindir}/
|
||||
cp contrib/p0f-analyzer.pl %{buildroot}%{_sbindir}/p0f-analyzer.pl
|
||||
install -D -m0640 conf/amavisd.conf %{buildroot}%{_sysconfdir}/amavisd.conf
|
||||
install -d %{buildroot}/var/virusmails
|
||||
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/amavisd.service
|
||||
|
||||
install -d %{buildroot}%{perl_sitelib}
|
||||
cp -a lib/* %{buildroot}%{perl_sitelib}/
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -142,13 +152,26 @@ fi
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%attr(0640,root,vscan) %config(noreplace) %{_sysconfdir}/amavisd.conf
|
||||
%{_sbindir}/amavisd
|
||||
%{_sbindir}/amavisd*
|
||||
%{_sbindir}/amavis-mc
|
||||
%{_sbindir}/amavis-services
|
||||
%{_sbindir}/p0f-analyzer.pl
|
||||
%{_unitdir}/amavisd.service
|
||||
%dir %{perl_sitelib}/Amavis
|
||||
%{perl_sitelib}/Amavis/*
|
||||
%{perl_sitelib}/Amavis.pm
|
||||
%{perl_sitelib}/Mail/SpamAssassin/Logger/Amavislog.pm
|
||||
%attr(0750,vscan,vscan) /var/virusmails
|
||||
%attr(0750,vscan,vscan) /var/amavis
|
||||
%doc LICENSE TODO
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.0-2mamba
|
||||
- install perl library
|
||||
|
||||
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 2.13.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jan 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.2-2mamba
|
||||
- fix re-adding duplicated configuration blocks in post script
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user