Blame amavis.spec

72ebe46
%if 0%{?rhel} == 8
72ebe46
%global with_snmp 0
72ebe46
%else
72ebe46
%global with_snmp 1
72ebe46
%endif
72ebe46
eba5cfa
Summary:        Email filter with virus scanner and spamassassin support
eba5cfa
Name:           amavis
a5d5c6c
Version:        2.12.1
e6fd51c
Release:        3%{?dist}
eba5cfa
# LDAP schema is GFDL, some helpers are BSD, core is GPLv2+
eba5cfa
License:        GPLv2+ and BSD and GFDL
eba5cfa
URL:            https://gitlab.com/amavis/amavis
eba5cfa
Source0:        https://gitlab.com/amavis/amavis/-/archive/v%{version}/amavis-v%{version}.tar.bz2
eba5cfa
Source2:        amavis-clamd.conf
eba5cfa
Source4:        README.fedora
eba5cfa
Source5:        README.quarantine
eba5cfa
Source8:        amavisd-tmpfiles.conf
eba5cfa
Source9:        amavisd.service
eba5cfa
Source10:       amavisd-snmp.service
e6fd51c
Patch0:         amavis-2.12.1-conf.patch
eba5cfa
BuildArch:      noarch
f5e88f0
%if 0%{?fedora}
eba5cfa
BuildRequires:  systemd-rpm-macros
f5e88f0
%else
f5e88f0
BuildRequires:  systemd
f5e88f0
%endif
f5e88f0
BuildRequires:  perl-generators
f5e88f0
%if 0%{?rhel} > 7 || 0%{?fedora} > 24
eba5cfa
Suggests:       %{name}-doc
eba5cfa
Recommends:     clamav-server-systemd
eba5cfa
Recommends:     binutils
eba5cfa
Recommends:     arj
eba5cfa
Recommends:     bzip2
eba5cfa
Recommends:     cabextract
eba5cfa
Recommends:     pax
eba5cfa
Recommends:     freeze
eba5cfa
Recommends:     gzip
eba5cfa
Recommends:     lzop
eba5cfa
Recommends:     nomarch
eba5cfa
Recommends:     p7zip, p7zip-plugins
eba5cfa
Recommends:     tar
eba5cfa
Recommends:     unzoo
f5e88f0
Recommends:     perl(DBD::SQLite)
f5e88f0
Recommends:     perl(DBI)
f5e88f0
Recommends:     perl(Mail::SpamAssassin)
f5e88f0
Recommends:     perl(Net::LDAP)
ec3ee06
Recommends:     perl(Convert::TNEF)
ec3ee06
Recommends:     perl(Convert::UUlib)
f5e88f0
%else
f5e88f0
Requires:       binutils
f5e88f0
Requires:       arj
f5e88f0
Requires:       bzip2
f5e88f0
Requires:       cabextract
f5e88f0
Requires:       pax
f5e88f0
Requires:       freeze
f5e88f0
Requires:       gzip
f5e88f0
Requires:       lzop
f5e88f0
Requires:       nomarch
f5e88f0
Requires:       p7zip, p7zip-plugins
f5e88f0
Requires:       tar
f5e88f0
Requires:       unzoo
f5e88f0
Requires:       perl(DBD::SQLite)
f5e88f0
Requires:       perl(DBI)
f5e88f0
Requires:       perl(Mail::SpamAssassin)
f5e88f0
Requires:       perl(Net::LDAP)
f5e88f0
%endif
f5e88f0
Requires:       clamav-filesystem
f5e88f0
Requires:       altermime
f5e88f0
Requires:       file
eba5cfa
Requires:       perl(Archive::Tar)
eba5cfa
Requires:       perl(Archive::Zip) >= 1.14
eba5cfa
Requires:       perl(Authen::SASL)
eba5cfa
Requires:       perl(Compress::Zlib) >= 1.35
eba5cfa
Requires:       perl(Compress::Raw::Zlib) >= 2.017
eba5cfa
Requires:       perl(Crypt::OpenSSL::RSA)
eba5cfa
Requires:       perl(Digest::MD5) >= 2.22
eba5cfa
Requires:       perl(Digest::SHA)
eba5cfa
Requires:       perl(File::LibMagic)
eba5cfa
Requires:       perl(IO::Socket::IP)
eba5cfa
Requires:       perl(IO::Socket::SSL)
eba5cfa
Requires:       perl(IO::Stringy)
eba5cfa
Requires:       perl(MIME::Base64)
eba5cfa
Requires:       perl(MIME::Body)
eba5cfa
Requires:       perl(MIME::Decoder::Base64)
eba5cfa
Requires:       perl(MIME::Decoder::Binary)
eba5cfa
Requires:       perl(MIME::Decoder::Gzip64)
eba5cfa
Requires:       perl(MIME::Decoder::NBit)
eba5cfa
Requires:       perl(MIME::Decoder::QuotedPrint)
eba5cfa
Requires:       perl(MIME::Decoder::UU)
eba5cfa
Requires:       perl(MIME::Head)
eba5cfa
Requires:       perl(MIME::Parser)
eba5cfa
Requires:       perl(Mail::DKIM) >= 0.31
eba5cfa
Requires:       perl(Mail::Field)
eba5cfa
Requires:       perl(Mail::Header)
eba5cfa
Requires:       perl(Mail::Internet) >= 1.58
eba5cfa
Requires:       perl(Mail::SPF)
eba5cfa
Requires:       perl(Net::DNS)
eba5cfa
Requires:       perl(Net::LibIDN)
eba5cfa
Requires:       perl(Net::SSLeay)
eba5cfa
Requires:       perl(Net::Server) >= 2.0
eba5cfa
Requires:       perl(NetAddr::IP)
eba5cfa
Requires:       perl(Razor2::Client::Version)
eba5cfa
Requires:       perl(Socket6)
eba5cfa
Requires:       perl(Time::HiRes) >= 1.49
eba5cfa
Requires:       perl(Unix::Syslog)
eba5cfa
Requires:       perl(URI)
eba5cfa
Requires(pre):  shadow-utils
eba5cfa
Obsoletes:      amavisd-new-zeromq <= 2.11.0-5
eba5cfa
Obsoletes:      amavisd-new-snmp-zeromq <= 2.11.0-5
eba5cfa
Provides:       amavisd-new = %{version}-%{release}
eba5cfa
Obsoletes:      amavisd-new < 2.12.0-3
eba5cfa
72ebe46
%if %{?with_snmp}
eba5cfa
%package snmp
eba5cfa
Summary:        Exports amavis SNMP data
eba5cfa
Requires:       %{name} = %{version}-%{release}
eba5cfa
Provides:       amavisd-new-snmp = %{version}-%{release}
eba5cfa
Obsoletes:      amavisd-new-snmp < 2.12.0-3
72ebe46
%endif
eba5cfa
eba5cfa
%package doc
eba5cfa
Summary:        Amavis doc files
eba5cfa
Provides:       amavisd-new-doc = %{version}-%{release}
eba5cfa
Obsoletes:      amavisd-new-doc < 2.12.0-3
eba5cfa
eba5cfa
%description
eba5cfa
amavis is a high-performance and reliable interface between mailer
eba5cfa
(MTA) and one or more content checkers: virus scanners, and/or
eba5cfa
Mail::SpamAssassin Perl module. It is written in Perl, assuring high
eba5cfa
reliability, portability and maintainability. It talks to MTA via (E)SMTP
eba5cfa
or LMTP, or by using helper programs. No timing gaps exist in the design
eba5cfa
which could cause a mail loss.
eba5cfa
72ebe46
%if %{?with_snmp}
eba5cfa
%description snmp
eba5cfa
This package contains the program amavisd-snmp-subagent, which can be
eba5cfa
used as a SNMP AgentX, exporting amavisd statistical counters database
eba5cfa
(snmp.db) as well as a child process status database (nanny.db) to a
eba5cfa
SNMP daemon supporting the AgentX protocol (RFC 2741), such as NET-SNMP.
eba5cfa
eba5cfa
It is similar to combined existing utility programs amavisd-agent and
eba5cfa
amavisd-nanny, but instead of writing results as text to stdout, it
eba5cfa
exports data to a SNMP server running on a host (same or remote), making
eba5cfa
them available to SNMP clients (such a Cacti or mrtg) for monitoring or
eba5cfa
alerting purposes.
72ebe46
%endif
eba5cfa
eba5cfa
%description doc
eba5cfa
Documentation files for amavis
eba5cfa
eba5cfa
%prep
eba5cfa
%setup -q -n %{name}-v%{version}
eba5cfa
%patch0 -p1
eba5cfa
eba5cfa
install -p -m 644 %{SOURCE4} %{SOURCE5} README_FILES/
eba5cfa
sed -e 's,/var/amavis/amavisd.sock\>,%{_rundir}/amavisd/amavisd.sock,' -i amavisd-{release,submit}
eba5cfa
eba5cfa
%build
eba5cfa
eba5cfa
%install
eba5cfa
rm -rf %{buildroot}
eba5cfa
eba5cfa
install -D -p -m 755 amavisd %{buildroot}%{_sbindir}/amavisd
72ebe46
%if %{?with_snmp}
eba5cfa
install -D -p -m 755 amavisd-snmp-subagent %{buildroot}%{_sbindir}/amavisd-snmp-subagent
72ebe46
%endif
eba5cfa
eba5cfa
mkdir -p %{buildroot}%{_bindir}
eba5cfa
install -p -m 755 amavisd-{agent,nanny,release,signer,submit} %{buildroot}%{_bindir}/
eba5cfa
eba5cfa
install -D -p -m 644 %{SOURCE9} %{buildroot}%{_unitdir}/amavisd.service
72ebe46
%if %{?with_snmp}
eba5cfa
install -D -p -m 644 %{SOURCE10} %{buildroot}%{_unitdir}/amavisd-snmp.service
72ebe46
%endif
eba5cfa
eba5cfa
mkdir -p -m 0755 %{buildroot}%{_sysconfdir}/clamd.d
eba5cfa
install -D -p -m 644 amavisd.conf %{buildroot}%{_sysconfdir}/amavisd/amavisd.conf
eba5cfa
install -D -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/clamd.d/amavisd.conf
eba5cfa
eba5cfa
mkdir -p %{buildroot}%{_localstatedir}/spool/amavisd/{tmp,db,quarantine}
eba5cfa
mkdir -p %{buildroot}%{_rundir}/{clamd.amavisd,amavisd}
eba5cfa
eba5cfa
install -D -m 644 %{SOURCE8} %{buildroot}%{_tmpfilesdir}/amavisd.conf
eba5cfa
eba5cfa
%pre
eba5cfa
getent group amavis > /dev/null || %{_sbindir}/groupadd -r amavis
eba5cfa
getent passwd amavis > /dev/null || \
eba5cfa
  %{_sbindir}/useradd -r -g amavis -d %{_localstatedir}/spool/amavisd -s /sbin/nologin \
eba5cfa
  -c "User for amavis" amavis
eba5cfa
exit 0
eba5cfa
eba5cfa
%preun
eba5cfa
%systemd_preun amavisd.service
eba5cfa
72ebe46
%if %{?with_snmp}
eba5cfa
%preun snmp
eba5cfa
%systemd_preun amavisd-snmp.service
72ebe46
%endif
eba5cfa
eba5cfa
%post
eba5cfa
%systemd_post amavisd.service
eba5cfa
72ebe46
%if %{?with_snmp}
eba5cfa
%post snmp
eba5cfa
%systemd_post amavisd-snmp.service
72ebe46
%endif
eba5cfa
eba5cfa
%postun
eba5cfa
%systemd_postun_with_restart amavisd.service
eba5cfa
72ebe46
%if %{?with_snmp}
eba5cfa
%postun snmp
eba5cfa
%systemd_postun_with_restart amavisd-snmp.service
72ebe46
%endif
eba5cfa
eba5cfa
%files
eba5cfa
%license LICENSE
eba5cfa
%dir %{_sysconfdir}/amavisd/
eba5cfa
%{_unitdir}/amavisd.service
eba5cfa
%dir %{_sysconfdir}/clamd.d
eba5cfa
%config(noreplace) %{_sysconfdir}/amavisd/amavisd.conf
eba5cfa
%config(noreplace) %{_sysconfdir}/clamd.d/amavisd.conf
eba5cfa
%{_sbindir}/amavisd
eba5cfa
%{_bindir}/amavisd-agent
eba5cfa
%{_bindir}/amavisd-nanny
eba5cfa
%{_bindir}/amavisd-release
eba5cfa
%{_bindir}/amavisd-signer
eba5cfa
%{_bindir}/amavisd-submit
eba5cfa
%dir %attr(750,amavis,amavis) %{_localstatedir}/spool/amavisd
eba5cfa
%dir %attr(750,amavis,amavis) %{_localstatedir}/spool/amavisd/tmp
eba5cfa
%dir %attr(750,amavis,amavis) %{_localstatedir}/spool/amavisd/db
eba5cfa
%dir %attr(750,amavis,amavis) %{_localstatedir}/spool/amavisd/quarantine
eba5cfa
%{_tmpfilesdir}/amavisd.conf
eba5cfa
%dir %attr(755,amavis,amavis) %{_rundir}/amavisd
eba5cfa
%dir %attr(770,amavis,clamupdate) %{_rundir}/clamd.amavisd
eba5cfa
72ebe46
%if %{?with_snmp}
eba5cfa
%files snmp
eba5cfa
%doc AMAVIS-MIB.txt
eba5cfa
%{_unitdir}/amavisd-snmp.service
eba5cfa
%{_sbindir}/amavisd-snmp-subagent
72ebe46
%endif
eba5cfa
eba5cfa
%files doc
eba5cfa
%license LICENSE
eba5cfa
%doc AAAREADME.first LDAP.schema LDAP.ldif RELEASE_NOTES TODO
eba5cfa
%doc README_FILES test-messages amavisd.conf-* amavisd-custom.conf
eba5cfa
eba5cfa
%changelog
e6fd51c
* Tue Nov 17 2020 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.1-3
e6fd51c
- Change ports in configuration file and add a note about SELinux (#1891003)
e6fd51c
72ebe46
* Tue Nov 17 2020 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.1-2
72ebe46
- Disable snmp subpackage in epel8
72ebe46
a5d5c6c
* Tue Nov 17 2020 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.1-1
a5d5c6c
- Version 2.12.1 (#1897574 #1851872)
a5d5c6c
ec3ee06
* Tue Aug 18 2020 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.0-9
ec3ee06
- Drop unused dependency: perl(Digest::SHA1)
ec3ee06
- Make optional: perl(Convert::TNEF), perl(Convert::UUlib)
ec3ee06
f5e88f0
* Tue Aug 18 2020 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.0-8
f5e88f0
- Unify Fedora and EPEL >= 7 spec files
f5e88f0
7dee942
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-7
7dee942
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7dee942
bb85c45
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-6
bb85c45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
bb85c45
36d1ec8
* Sat Sep 28 2019 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.0-5
36d1ec8
- Fix startup of clamd RHBZ#1756570
36d1ec8
eba5cfa
* Tue Sep 24 2019 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.0-4
eba5cfa
- Change /var/run for /run
eba5cfa
- Remove INSTALL file
eba5cfa
eba5cfa
* Wed Aug 28 2019 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.0-3
eba5cfa
- Project renamed from amavisd-new to amavis
eba5cfa
eba5cfa
* Wed Aug 28 2019 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.0-2
eba5cfa
- Drop old patches
eba5cfa
eba5cfa
* Thu Aug 01 2019 Juan Orti Alcaine <jortialc@redhat.com> - 2.12.0-1
eba5cfa
- Version 2.12.0
eba5cfa
- Update patches
eba5cfa
- Update project URL
eba5cfa
- Create doc subpackage
eba5cfa
eba5cfa
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-4
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
eba5cfa
eba5cfa
* Sat Feb 16 2019 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.1-3
eba5cfa
- Drop tmpwatch dependency and use tmpfiles for directory cleanup
eba5cfa
eba5cfa
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-2
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
eba5cfa
eba5cfa
* Fri Oct 12 2018 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.1-1
eba5cfa
- Version 2.11.1
eba5cfa
eba5cfa
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-15
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
eba5cfa
eba5cfa
* Sat Mar 03 2018 Marcel Haerry <mh+fedora@scrit.ch> - 2.11.0-14
eba5cfa
- Fix socket path for amavisd tools (RHBZ#1551203)
eba5cfa
eba5cfa
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-13
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
eba5cfa
eba5cfa
* Tue Dec 12 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-12
eba5cfa
- Modify service unit to honor user and group in config file
eba5cfa
eba5cfa
* Tue Dec 12 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-11
eba5cfa
- Remove lrzip from config
eba5cfa
- Use weak dependencies where possible
eba5cfa
eba5cfa
* Sun Sep 03 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-10
eba5cfa
- Remove lrzip dependency
eba5cfa
eba5cfa
* Fri Aug 25 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-9
eba5cfa
- Disable Avast antivirus in config file (RHBZ#1480861)
eba5cfa
eba5cfa
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-8
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
eba5cfa
eba5cfa
* Sat Jul 08 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-7
eba5cfa
- PrivateDevices=true was causing problems with SELinux transitions
eba5cfa
eba5cfa
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-6
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
eba5cfa
eba5cfa
* Wed Nov 30 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-5
eba5cfa
- Drop subpackages which depend on the deprecated ZMQ::LibZMQ3 library (RHBZ#1394697)
eba5cfa
eba5cfa
* Thu Aug 18 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-4
eba5cfa
- Add patch to fix detection of originating emails (RHBZ#1364730)
eba5cfa
eba5cfa
* Thu Jun 30 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-3
eba5cfa
- Additional systemd hardening (RHBZ#1351354)
eba5cfa
eba5cfa
* Mon Jun 20 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-2
eba5cfa
- Remove NoNewPrivileges from service unit (RHBZ#1346766)
eba5cfa
eba5cfa
* Wed Apr 27 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.11.0-1
eba5cfa
- Version 2.11.0 (RHBZ#1330781)
eba5cfa
eba5cfa
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.1-7
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
eba5cfa
eba5cfa
* Mon Nov 23 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.10.1-6
eba5cfa
- Make clamav a weak dependency and co-own /etc/clamd.d (RHBZ#1265922)
eba5cfa
eba5cfa
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.1-5
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
eba5cfa
eba5cfa
* Mon Apr 27 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.10.1-4
eba5cfa
- Move amavisd socket to /var/run/amavisd
eba5cfa
eba5cfa
* Thu Apr 09 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.10.1-3
eba5cfa
- Use license macro
eba5cfa
eba5cfa
* Thu Feb 26 2015 Robert Scheck <robert@fedoraproject.org> - 2.10.1-2
eba5cfa
- Replaced requirement to cpio by pax (upstream recommendation)
eba5cfa
eba5cfa
* Mon Oct 27 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.10.1-1
eba5cfa
- Update to 2.10.1
eba5cfa
- Patch5 merged upstream
eba5cfa
eba5cfa
* Sat Oct 25 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.10.0-2
eba5cfa
- Improve conf patch to fix amavis-mc daemon
eba5cfa
- Add patch to fix imports when SQL is used
eba5cfa
eba5cfa
* Thu Oct 23 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.10.0-1
eba5cfa
- Update to 2.10.0
eba5cfa
- Replace IO::Socket::INET6 with IO::Socket::IP
eba5cfa
- Review perl dependencies minimum version
eba5cfa
- Add subpackages amavisd-new-zeromq and amavisd-new-snmp-zeromq
eba5cfa
eba5cfa
* Mon Oct 20 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.10.0-0.1.rc2
eba5cfa
- Update to 2.10.0-rc2
eba5cfa
eba5cfa
* Wed Aug 20 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.9.1-3
eba5cfa
- Add ExecReload and Wants=postfix.service to systemd unit
eba5cfa
eba5cfa
* Sun Aug 03 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.9.1-2
eba5cfa
- Add patch to fix releasing mail from sql quarantine
eba5cfa
eba5cfa
* Sat Jun 28 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.9.1-1
eba5cfa
- New version 2.9.1
eba5cfa
eba5cfa
* Fri Jun 27 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.9.0-4
eba5cfa
- Change permissions of /var/spool/amavisd folders to 750. Fix bug #906396
eba5cfa
eba5cfa
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.0-3
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
eba5cfa
eba5cfa
* Mon May 12 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.9.0-2
eba5cfa
- Service unit files hardening
eba5cfa
eba5cfa
* Sun May 11 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.9.0-1
eba5cfa
- Update to version 2.9.0
eba5cfa
- Rework amavisd-conf.patch
eba5cfa
- Enable and start timer units
eba5cfa
eba5cfa
* Wed Mar 19 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.8.1-3
eba5cfa
- Use systemd timer units instead of cronjobs
eba5cfa
- Add PrivateDevices to service unit
eba5cfa
eba5cfa
* Mon Feb 17 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.8.1-2
eba5cfa
- Move clamd socket to /var/run/clamd.amavisd
eba5cfa
- Add permissions to clamupdate to notify clamd
eba5cfa
eba5cfa
* Wed Feb 12 2014 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.8.1-1
eba5cfa
- Update to version 2.8.1
eba5cfa
- Add systemd service units
eba5cfa
- Add missing dependencies
eba5cfa
- Start clamd using instantiated service
eba5cfa
- Place tmpfiles conf in _tmpfilesdir
eba5cfa
- Use _localstatedir macro
eba5cfa
eba5cfa
* Mon Dec 02 2013 Robert Scheck <robert@fedoraproject.org> - 2.8.0-8
eba5cfa
- Commented ripole(1) decoder as the binary is not packaged
eba5cfa
- Commented tnef(1) decoder as the perl module is a dependency
eba5cfa
eba5cfa
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-7
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
eba5cfa
eba5cfa
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.8.0-6
eba5cfa
- Perl 5.18 rebuild
eba5cfa
eba5cfa
* Fri May 10 2013 Adam Williamson <awilliam@redhat.com> - 2.8.0-5
eba5cfa
- init_network.patch: don't source /etc/sysconfig/network in initscript
eba5cfa
eba5cfa
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-4
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eba5cfa
eba5cfa
* Fri Oct 19 2012 Robert Scheck <robert@fedoraproject.org> - 2.8.0-3
eba5cfa
- Added requirements to lrzip and unzoo for unpacking
eba5cfa
eba5cfa
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-2
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eba5cfa
eba5cfa
* Sun Jul 08 2012 Robert Scheck <robert@fedoraproject.org> - 2.8.0-1
eba5cfa
- Upgrade to 2.8.0
eba5cfa
eba5cfa
* Fri Jun 29 2012 Robert Scheck <robert@fedoraproject.org> - 2.6.6-3
eba5cfa
- Various minor spec file cleanups
eba5cfa
eba5cfa
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.6-2
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
eba5cfa
eba5cfa
* Sun Sep 18 2011 Steven Pritchard <steve@kspei.com> - 2.6.6-1
eba5cfa
- Update to 2.6.6.
eba5cfa
- Make /var/spool/amavisd g+x (BZ 548234).
eba5cfa
- %%ghost /var/run/amavisd and add /etc/tmpfiles.d/amavisd-new-tmpfiles.conf
eba5cfa
  (BZ 656544, 676430, 710984, 734271).
eba5cfa
- Also add /var/run/clamd.amavisd (which seems to be a bug itself).  Fixes
eba5cfa
  BZ 696725.
eba5cfa
eba5cfa
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.4-3
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eba5cfa
eba5cfa
* Tue Nov  9 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.6.4-2
eba5cfa
- 561389 patch from Sandro Janke - change stderr to stdout
eba5cfa
eba5cfa
* Mon Aug 10 2009 Steven Pritchard <steve@kspei.com> - 2.6.4-1
eba5cfa
- Update to 2.6.4.
eba5cfa
- Make a snmp sub-package for amavisd-snmp-subagent.
eba5cfa
eba5cfa
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-4
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
eba5cfa
eba5cfa
* Sun Mar 01 2009 Robert Scheck <robert@fedoraproject.org> - 2.6.2-3
eba5cfa
- Re-diffed amavisd-new configuration patch for no fuzz
eba5cfa
eba5cfa
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-2
eba5cfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
eba5cfa
eba5cfa
* Wed Dec 17 2008 Steven Pritchard <steve@kspei.com> - 2.6.2-1
eba5cfa
- Update to 2.6.2.
eba5cfa
- Drop smtpdaemon dependency (BZ# 438078).
eba5cfa
eba5cfa
* Tue Jul 15 2008 Steven Pritchard <steve@kspei.com> - 2.6.1-1
eba5cfa
- Update to 2.6.1.
eba5cfa
- Require Crypt::OpenSSL::RSA, Digest::SHA, Digest::SHA1, IO::Socket::SSL,
eba5cfa
  Mail::DKIM, Net::SSLeay, NetAddr::IP, and Socket6.
eba5cfa
eba5cfa
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.2-3
eba5cfa
- fix license tag
eba5cfa
- fix db patch to apply with fuzz=0
eba5cfa
eba5cfa
* Sun Aug 12 2007 Steven Pritchard <steve@kspei.com> - 2.5.2-2
eba5cfa
- Fix pre/preun/post dependencies and improve scriptlets a bit.
eba5cfa
- Drop dependencies on DBD::mysql and Mail::SPF::Query.
eba5cfa
- Add dependencies on IO::Socket::INET6, Mail::SPF, and altermime.
eba5cfa
eba5cfa
* Sun Jul 08 2007 Steven Pritchard <steve@kspei.com> - 2.5.2-1
eba5cfa
- Update to 2.5.2.
eba5cfa
eba5cfa
* Fri Jun 22 2007 Steven Pritchard <steve@kspei.com> - 2.5.2-0.1.rc2
eba5cfa
- Update to 2.5.2-rc2.
eba5cfa
eba5cfa
* Fri Jun 22 2007 Steven Pritchard <steve@kspei.com> - 2.5.1-1
eba5cfa
- Update to 2.5.1.
eba5cfa
- Fix amavis-clamd.conf (bug #237252).
eba5cfa
- Update amavisd-conf.patch.
eba5cfa
- Require p7zip and tar.
eba5cfa
- Improve pre/preun/post scripts.
eba5cfa
eba5cfa
* Thu Feb 22 2007 Steven Pritchard <steve@kspei.com> - 2.4.5-1
eba5cfa
- Update to 2.4.5.
eba5cfa
eba5cfa
* Mon Dec 18 2006 Steven Pritchard <steve@kspei.com> - 2.4.4-2
eba5cfa
- Fix the path to amavisd.sock in amavisd-release.
eba5cfa
eba5cfa
* Tue Dec 05 2006 Steven Pritchard <steve@kspei.com> - 2.4.4-1
eba5cfa
- Update to 2.4.4.
eba5cfa
eba5cfa
* Fri Dec 01 2006 Steven Pritchard <steve@kspei.com> - 2.4.3-5
eba5cfa
- Add missing amavisd-release script.
eba5cfa
eba5cfa
* Tue Nov 14 2006 Steven Pritchard <steve@kspei.com> - 2.4.3-4
eba5cfa
- Rebuild.
eba5cfa
eba5cfa
* Tue Nov 14 2006 Steven Pritchard <steve@kspei.com> - 2.4.3-3
eba5cfa
- Add dependency on file. (#215492)
eba5cfa
eba5cfa
* Sat Oct 14 2006 Steven Pritchard <steve@kspei.com> - 2.4.3-2
eba5cfa
- Fix permissions on the cron.daily script.
eba5cfa
eba5cfa
* Tue Oct 10 2006 Steven Pritchard <steve@kspei.com> - 2.4.3-1
eba5cfa
- Update to 2.4.3.
eba5cfa
- Add quarantine directory and instructions for enabling it.
eba5cfa
- Add tmpwatch cron script.
eba5cfa
eba5cfa
* Thu Sep 28 2006 Steven Pritchard <steve@kspei.com> - 2.4.2-4
eba5cfa
- Drop lha dependency and add arj.
eba5cfa
eba5cfa
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> - 2.4.2-3
eba5cfa
- Rebuild.
eba5cfa
eba5cfa
* Wed Aug 02 2006 Steven Pritchard <steve@kspei.com> - 2.4.2-2
eba5cfa
- Fix path to clamd socket in amavisd-conf.patch.
eba5cfa
eba5cfa
* Mon Jul 31 2006 Steven Pritchard <steve@kspei.com> - 2.4.2-1
eba5cfa
- Update to 2.4.2
eba5cfa
- Fix permissions on README.fedora (bug #200769)
eba5cfa
eba5cfa
* Tue Jun 20 2006 Steven Pritchard <steve@kspei.com> - 2.4.1-1
eba5cfa
- Update to 2.4.1
eba5cfa
- Drop zoo dependency due to Extras maintainer security concerns
eba5cfa
eba5cfa
* Tue Apr 25 2006 Steven Pritchard <steve@kspei.com> - 2.4.0-1
eba5cfa
- Update to 2.4.0
eba5cfa
eba5cfa
* Thu Feb 02 2006 Steven Pritchard <steve@kspei.com> - 2.3.3-5
eba5cfa
- Add dist to Release
eba5cfa
eba5cfa
* Wed Sep 21 2005 Steven Pritchard <steve@kspei.com> - 2.3.3-4
eba5cfa
- Add TODO and amavisd.conf-* to %%doc
eba5cfa
eba5cfa
* Mon Sep 19 2005 Steven Pritchard <steve@kspei.com> - 2.3.3-3
eba5cfa
- Add amavisd-db.patch to fix the path to the db directory in
eba5cfa
  amavisd-agent and amavisd-nanny.  (Thanks to Julien Tognazzi.)
eba5cfa
eba5cfa
* Fri Sep 02 2005 Steven Pritchard <steve@kspei.com> - 2.3.3-2
eba5cfa
- Requires: perl(Compress::Zlib) >= 1.35
eba5cfa
eba5cfa
* Thu Sep 01 2005 Steven Pritchard <steve@kspei.com> - 2.3.3-1
eba5cfa
- Update to 2.3.3
eba5cfa
- Remove explicit dependencies on core perl modules
eba5cfa
eba5cfa
* Fri Aug 19 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-10
eba5cfa
- Recommend using 127.0.0.1 instead of localhost in README.fedora
eba5cfa
- .deb support requires ar
eba5cfa
eba5cfa
* Wed Aug 17 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-9
eba5cfa
- Set $virus_admin, $mailfrom_notify_admin, $mailfrom_notify_recip,
eba5cfa
  and $mailfrom_notify_spamadmin to undef in the default config to
eba5cfa
  turn off notification emails
eba5cfa
eba5cfa
* Fri Aug 12 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-8
eba5cfa
- Add dependencies for freeze, lzop, nomarch, zoo, cabextract
eba5cfa
eba5cfa
* Wed Jul 27 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-7
eba5cfa
- Add README.fedora with simplified Postfix instructions
eba5cfa
eba5cfa
* Mon Jul 25 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-6
eba5cfa
- Create /var/spool/amavisd/db
eba5cfa
eba5cfa
* Thu Jul 21 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-5
eba5cfa
- Add perl(Mail::SPF::Query) (now packaged for Extras) dependency
eba5cfa
- Drop /var/log/amavisd since we weren't using it
eba5cfa
- Fix paths for clamd.sock and amavisd.pid in a couple of places
eba5cfa
eba5cfa
* Tue Jul 12 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-4
eba5cfa
- Add a bunch of other missing Requires (both actually required modules
eba5cfa
  and optional modules)
eba5cfa
eba5cfa
* Tue Jul 12 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-3
eba5cfa
- Add missing Requires: perl(Convert::TNEF)
eba5cfa
eba5cfa
* Wed Jul 06 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-2
eba5cfa
- Fix init script ordering
eba5cfa
- Don't enable amavisd by default
eba5cfa
eba5cfa
* Wed Jul 06 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-1
eba5cfa
- Update to 2.3.2
eba5cfa
eba5cfa
* Wed Jun 29 2005 Steven Pritchard <steve@kspei.com> - 2.3.2-0.1.rc1
eba5cfa
- Update to 2.3.2-rc1
eba5cfa
- Fedora Extras clamav integration
eba5cfa
- Drop amavisd-syslog.patch (Unix::Syslog is in Extras)
eba5cfa
eba5cfa
* Mon Feb 23 2004 Steven Pritchard <steve@kspei.com> - 0.20030616.p7-0.fdr.0.1
eba5cfa
- Add amavisd-syslog.patch to eliminate Unix::Syslog dependency
eba5cfa
- Add in clamd helper
eba5cfa
- Fix up init script
eba5cfa
- Initial package