spamassassin/spamassassin.spec

803 lines
26 KiB
RPMSpec
Raw Normal View History

2008-12-16 05:45:33 +00:00
# OVERRIDE RHEL VERSION HERE, RHEL BUILDSYSTEM DOESN'T HAVE DIST TAG
2009-09-10 16:44:31 +00:00
#%%define rhel 4
2008-12-16 05:45:33 +00:00
# Define Variables that must exist
%{?!rhel:%define rhel 0}
%{?!fedora:%define fedora 0}
# Map RHEL to Fedora version
%if 0%{?rhel} == 4
%define fedora 3
%define dist .el4
%endif
%if 0%{?rhel} == 5
%define fedora 6
%define dist .el5
%endif
2009-12-16 19:05:11 +00:00
%if 0%{?rhel} == 6
%define fedora 12
%define dist .el6
%endif
2008-12-16 05:45:33 +00:00
# Define variables to use in conditionals
%define option_ssl 0
%define perl_devel 0
2009-09-17 18:05:19 +00:00
%define dkim_deps 0
%define require_encode_detect 0
2008-12-16 05:45:33 +00:00
# SSL and IPv6 (FC6+, RHEL5+)
%if 0%{?fedora} > 5
%define option_ssl 1
2008-12-16 05:45:33 +00:00
%endif
2008-12-16 05:45:33 +00:00
# Split perl-devel (FC7+)
%if 0%{?fedora} > 6
%define perl_devel 1
%endif
# Encode::Detect, not strictly required but helpful if you enable language detection (FC7+)
%if 0%{?fedora} > 6
%define require_encode_detect 1
%endif
%if 0%{?fedora} >= 10
# We use portreserve to prevent our TCP port being stolen.
# Require the package here so that we know /etc/portreserve/ exists.
Requires: portreserve
%endif
# Mail::DKIM by default (F11+)
%if 0%{?fedora} >= 11
2009-09-17 18:05:19 +00:00
%define dkim_deps 1
%endif
2010-02-15 22:36:55 +00:00
%define real_name Mail-SpamAssassin
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
%global saversion 3.003002
%global svnrev 1071394
2008-12-16 05:45:33 +00:00
Summary: Spam filter for email which can be invoked from mail delivery agents
Name: spamassassin
2010-10-25 16:06:20 +00:00
Version: 3.3.2
Release: 0.4.%{svnrev}%{?dist}
2008-09-04 21:46:30 +00:00
License: ASL 2.0
Group: Applications/Internet
URL: http://spamassassin.apache.org/
2010-10-25 16:06:20 +00:00
#Source0: http://www.apache.org/dist/%{name}/%{real_name}-%{version}.tar.bz2
Source0: %{real_name}-%{version}.tar.bz2
Source1: %{real_name}-rules-%{version}.r%{svnrev}.tgz
Source2: redhat_local.cf
Source3: spamassassin-default.rc
Source4: spamassassin-spamc.rc
Source5: spamassassin.sysconfig
Source6: sa-update.logrotate
Source7: sa-update.crontab
Source8: sa-update.cronscript
Source9: sa-update.force-sysconfig
Source10: spamassassin-helper.sh
Source11: spamassassin-official.conf
Source12: sought.conf
Source13: README.RHEL.Fedora
2005-04-03 10:00:38 +00:00
# Patches 0-99 are RH specific
# none yet
# Patches 100+ are SVN backports (DO NOT REUSE!)
# end of patches
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Buildroot: %{_tmppath}/%{name}-root
Requires: /sbin/chkconfig /sbin/service
2006-06-27 06:12:28 +00:00
Requires(post): diffutils
BuildRequires: perl >= 2:5.8.0
BuildRequires: perl(Net::DNS)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(HTML::Parser)
BuildRequires: perl(NetAddr::IP)
BuildRequires: openssl-devel
Requires: perl(HTTP::Date)
Requires: perl(LWP::UserAgent)
Requires: perl(Net::DNS)
Requires: perl(Time::HiRes)
2005-04-03 10:59:39 +00:00
Requires: perl(DB_File)
2010-06-02 23:38:00 +00:00
Requires: perl(Mail::SPF)
%if %{require_encode_detect}
Requires: perl(Encode::Detect)
%endif
Requires: procmail
2007-02-07 22:23:04 +00:00
Requires: gnupg
# Hard requirements
BuildRequires: perl-HTML-Parser >= 3.43
Requires: perl-HTML-Parser >= 3.43
BuildRequires: perl(Archive::Tar)
Requires: perl(Archive::Tar)
%if %{option_ssl}
# Needed for spamc/spamd SSL
2006-07-17 21:08:44 +00:00
Requires: perl(IO::Socket::SSL)
# Needed for IPv6
2006-07-17 21:08:44 +00:00
Requires: perl(IO::Socket::INET6)
%endif
%if %{perl_devel}
BuildRequires: perl-devel
%endif
2009-09-17 18:05:19 +00:00
# Mail::DKIM for F12+, works from RHEL5+ from EPEL5 but we don't require them
%if %{dkim_deps}
Requires: perl(Mail::DKIM)
%endif
Obsoletes: perl-Mail-SpamAssassin
%description
SpamAssassin provides you with a way to reduce if not completely eliminate
Unsolicited Commercial Email (SPAM) from your incoming email. It can
be invoked by a MDA such as sendmail or postfix, or can be called from
a procmail script, .forward file, etc. It uses a genetic-algorithm
evolved scoring system to identify messages which look spammy, then
adds headers to the message so they can be filtered by the user's mail
reading software. This distribution includes the spamd/spamc components
which create a server that considerably speeds processing of mail.
To enable spamassassin, if you are receiving mail locally, simply add
this line to your ~/.procmailrc:
INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc
To filter spam for all users, add that line to /etc/procmailrc
(creating if necessary).
%prep
2009-09-10 16:44:31 +00:00
%setup -q -n Mail-SpamAssassin-%{version}
2005-04-03 10:00:38 +00:00
# Patches 0-99 are RH specific
# none yet
# Patches 100+ are SVN backports (DO NOT REUSE!)
2009-08-10 04:26:00 +00:00
2005-04-03 10:00:38 +00:00
# end of patches
%build
export CFLAGS="$RPM_OPT_FLAGS"
%{__perl} Makefile.PL DESTDIR=$RPM_BUILD_ROOT/ SYSCONFDIR=%{_sysconfdir} INSTALLDIRS=vendor ENABLE_SSL=yes < /dev/null
2008-12-16 05:45:33 +00:00
%{__make} OPTIMIZE="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall PREFIX=%buildroot/%{prefix} \
2008-12-16 05:45:33 +00:00
INSTALLMAN1DIR=%buildroot/%{_mandir}/man1 \
INSTALLMAN3DIR=%buildroot/%{_mandir}/man3 \
LOCAL_RULES_DIR=%{buildroot}/etc/mail/spamassassin
chmod 755 %buildroot/%{_bindir}/* # allow stripping
install -d %buildroot/%{_initrddir}
install -m 0755 spamd/redhat-rc-script.sh %buildroot/%{_initrddir}/spamassassin
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cron.d
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/local.cf
install -m644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/spamassassin
install -m 0644 %{SOURCE3} %buildroot/etc/mail/spamassassin
install -m 0644 %{SOURCE4} %buildroot/etc/mail/spamassassin
2008-12-16 05:45:33 +00:00
# installed mode 755 as it's executed by users.
install -m 0755 %{SOURCE10} %buildroot/etc/mail/spamassassin
install -m 0644 %{SOURCE6} %buildroot/etc/logrotate.d/sa-update
2008-12-16 05:45:33 +00:00
install -m 0644 %{SOURCE7} %buildroot/etc/cron.d/sa-update
install -m 0644 %{SOURCE9} %buildroot%{_sysconfdir}/sysconfig/sa-update
2008-12-16 05:45:33 +00:00
# installed mode 744 as non root users can't run it, but can read it.
install -m 0744 %{SOURCE8} %buildroot%{_datadir}/spamassassin/sa-update.cron
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
# Default rules from separate tarball
2009-09-10 16:44:31 +00:00
cd $RPM_BUILD_ROOT%{_datadir}/spamassassin/
tar xfvz %{SOURCE1}
sed -i -e 's|\@\@VERSION\@\@|%{saversion}|' *.cf
2009-09-10 16:44:31 +00:00
cd -
find $RPM_BUILD_ROOT/usr -type f -print |
sed "s@^$RPM_BUILD_ROOT@@g" |
grep -v perllocal.pod |
grep -v "\.packlist" > %{name}-%{version}-filelist
if [ "$(cat %{name}-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
find $RPM_BUILD_ROOT%{perl_vendorlib}/* -type d -print |
sed "s@^$RPM_BUILD_ROOT@%dir @g" >> %{name}-%{version}-filelist
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/spamassassin
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/spamassassin
# sa-update channels and keyring directory
mkdir -m 0700 $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/sa-update-keys/
mkdir -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/channel.d/
install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/channel.d/
install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/channel.d/
# Tell portreserve which port we want it to protect.
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/portreserve
echo 783 > $RPM_BUILD_ROOT%{_sysconfdir}/portreserve/spamd
install -m 0644 %{SOURCE13} $RPM_BUILD_DIR/Mail-SpamAssassin-%{version}/
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
2007-03-02 19:10:34 +00:00
%doc LICENSE NOTICE CREDITS Changes README TRADEMARK UPGRADE
%doc USAGE sample-nonspam.txt sample-spam.txt
%doc README.RHEL.Fedora
2008-12-16 05:45:33 +00:00
%{_initrddir}/spamassassin
%config(noreplace) %{_sysconfdir}/mail/spamassassin
%config(noreplace) %{_sysconfdir}/sysconfig/spamassassin
%config(noreplace) %{_sysconfdir}/sysconfig/sa-update
%{_sysconfdir}/cron.d/sa-update
%dir %{_datadir}/spamassassin
%dir %{_localstatedir}/run/spamassassin
%dir %{_localstatedir}/lib/spamassassin
2008-12-16 05:45:33 +00:00
%config(noreplace) %{_sysconfdir}/logrotate.d/sa-update
%config(noreplace) %{_sysconfdir}/portreserve/spamd
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add spamassassin
# -a and --auto-whitelist options were removed from 3.0.0
# prevent service startup failure
TMPFILE=$(/bin/mktemp /etc/sysconfig/spamassassin.XXXXXX) || exit 1
cp /etc/sysconfig/spamassassin $TMPFILE
perl -p -i -e 's/(["\s]-\w+)a/$1/ ; s/(["\s]-)a(\w+)/$1$2/ ; s/(["\s])-a\b/$1/' $TMPFILE
perl -p -i -e 's/ --auto-whitelist//' $TMPFILE
# replace /etc/sysconfig/spamassassin only if it actually changed
cmp /etc/sysconfig/spamassassin $TMPFILE || cp $TMPFILE /etc/sysconfig/spamassassin
rm $TMPFILE
if [ -f /etc/spamassassin.cf ]; then
%{__mv} /etc/spamassassin.cf /etc/mail/spamassassin/migrated.cf
fi
if [ -f /etc/mail/spamassassin.cf ]; then
%{__mv} /etc/mail/spamassassin.cf /etc/mail/spamassassin/migrated.cf
fi
%postun
if [ "$1" -ge "1" ]; then
/sbin/service spamassassin condrestart > /dev/null 2>&1
fi
2005-03-24 16:31:13 +00:00
exit 0
%preun
if [ $1 = 0 ] ; then
/sbin/service spamassassin stop >/dev/null 2>&1
/sbin/chkconfig --del spamassassin
fi
exit 0
%changelog
* Wed Feb 16 2011 Nick Bebout <nb@fedoraproject.org> - 3.3.2-0.4.svn1071394
- replace @@VERSION@@ with current saversion
- restart spampd after sa-update cronjob runs
- update to svn1071394
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-0.3.svn1027144
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Oct 29 2010 Kevin Fenzi <kevin@tummy.com> - 3.3.2-0.2.svn1027144
- Fix sa-update sysconfig script line wrapping
2010-10-25 16:06:20 +00:00
* Mon Oct 25 2010 Nick Bebout <nb@fedoraproject.org> - 3.3.2-0.1.svn1027144
- Update to 3.3.2 - svn1027144 to solve bug
2010-07-03 14:56:33 +00:00
* Sat Jul 03 2010 Dennis Gilmore <dennis@ausil.us> - 3.3.1-5
- rebuild against perl-5.12.0 again
2010-06-02 23:38:00 +00:00
* Wed Jun 02 2010 Nick Bebout <nb@fedoraproject.org> - 3.3.1-4
- Add perl-Mail-SPF dependency
2010-06-02 08:14:07 +00:00
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.3.1-3
- Mass rebuild with perl-5.12.0
* Tue Mar 16 2010 Warren Togami <wtogami@redhat.com> - 3.3.1-2
- 3.3.1 take 2
* Mon Mar 15 2010 Warren Togami <wtogami@redhat.com> - 3.3.1-1
2010-03-15 19:37:22 +00:00
- 3.3.1 bug fix only release
2010-02-17 18:45:25 +00:00
* Wed Feb 17 2010 Warren Togami <wtogami@redhat.com> - 3.3.0-6
- Minor fix to update script
* Thu Jan 21 2010 Warren Togami <wtogami@redhat.com> - 3.3.0-2
2010-01-19 00:16:53 +00:00
- 3.3.0
- README.RHEL.Fedora contains notes specific to our package
2010-01-19 00:16:53 +00:00
* Thu Jan 14 2010 Warren Togami <wtogami@redhat.com> - 3.3.0-0.32.rc3
- 3.3.0-rc3
- if mimedefang is enabled, reload rules after sa-update
2010-01-19 00:16:53 +00:00
* Mon Jan 11 2010 Warren Togami <wtogami@redhat.com> - 3.3.0-0.31.rc2
2010-01-11 19:39:18 +00:00
- 3.3.0-rc2
* Mon Dec 28 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.29.rc1
- sa-update channels defined in /etc/mail/spamassassin/channel.d/*.conf files
* Mon Dec 28 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.27.rc1
- sa-update runs in cron automatically if spamd or amavisd is running
2010-01-19 00:16:53 +00:00
If you use neither, you may force sa-update by editing /etc/sysconfig/sa-update
2009-12-22 20:26:45 +00:00
* Mon Dec 21 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.26.rc1
- 3.3.0-rc1.proposed2 with fixed spamc
* Fri Dec 18 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.23.rc1
- 3.3.0-rc1
- Bug #103401: portreserve protect spamd port 783 on F-10+
2009-12-03 21:13:34 +00:00
* Thu Dec 03 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.21.beta1
- 3.3.0-beta1
2009-11-20 19:28:05 +00:00
* Fri Nov 20 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.20.svn882672
- svn882672 snapshot
2009-11-12 19:53:57 +00:00
* Thu Nov 12 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.19.svn816416
- Encode::Detect is important to spamassassin, require for anything newer than RHEL-5
2009-11-12 19:53:57 +00:00
* Thu Sep 24 2009 Warren Togami <wtogami@redhat.com> - 3.3.3-0.18.svn816416
- Enable SOUGHT ruleset in nightly sa-update http://wiki.apache.org/spamassassin/SoughtRules
You must enable the sa-update cron job manually in /etc/cron.d/sa-update
- Custom channels may be specified in these config files:
/etc/mail/spamassassin/sa-update-channels.txt
/etc/mail/spamassassin/sa-update-keys.txt
2009-09-18 01:25:17 +00:00
* Thu Sep 17 2009 Warren Togami <wtogami@redhat.com> - 3.3.3-0.14.svn816416
- 3.3.0 svn816416 snapshot, pre-alpha3
Upstream just fixed important bug SA#6206. Many other bugs fixed since alpha2.
2009-09-17 18:05:19 +00:00
* Thu Sep 17 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.13.alpha2
- F11+ requires Mail::DKIM
2009-09-17 18:05:19 +00:00
* Sun Sep 13 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.12.alpha2
- require perl(Mail::DKIM), useful due to USER_IN_DEF_DKIM_WL
2009-08-21 15:55:48 +00:00
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 3.3.0-0.6.alpha2
- rebuilt with new openssl
* Mon Aug 10 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.5.alpha1
2009-08-10 04:26:00 +00:00
- 3.3.0-alpha2
* Tue Jul 07 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.2.alpha1
- Include default rules to prevent mass confusion and complaints.
You should really use sa-update though. Really.
Edit /etc/cron.d/sa-update to automate it.
* Mon Jul 06 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.1.alpha1
- 3.3.0-alpha1
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-01-18 12:24:47 +00:00
* Sun Jan 18 2009 Tomas Mraz <tmraz@redhat.com> - 3.2.5-4
- rebuild with new openssl
2008-12-16 05:45:33 +00:00
* Mon Dec 15 2008 Kevin Fenzi <kevin@tummy.com> - 3.2.5-3
- Update for merge review - bug 226426
2008-09-04 21:46:30 +00:00
* Thu Sep 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 3.2.5-2
- fix license tag
2008-06-27 14:17:32 +00:00
* Fri Jun 27 2008 Warren Togami <wtogami@redhat.com> - 3.2.5-1
- 3.2.5
2008-03-02 15:58:03 +00:00
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2.4-4
- Rebuild for perl 5.10 (again)
2008-02-20 06:58:31 +00:00
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.2.4-3
- Autorebuild for GCC 4.3
2008-02-01 03:35:34 +00:00
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> 3.2.4-2
- rebuild for new perl
2008-01-07 18:32:40 +00:00
* Tue Jan 01 2008 Warren Togami <wtogami@redhat.com> 3.2.4-1
- 3.2.4 major bugfix release
2007-12-05 22:14:24 +00:00
2007-08-21 14:12:04 +00:00
* Tue Aug 21 2007 Warren Togami <wtogami@redhat.com> 3.2.3-2
- rebuild
2007-08-13 16:10:22 +00:00
* Mon Aug 13 2007 Warren Togami <wtogami@redhat.com> 3.2.3-1
- 3.2.3 major bugfix release
* Thu Aug 2 2007 Warren Togami <wtogami@redhat.com> 3.2.2-2
- Fix SA#5574 which cripples dcc/pyzor users
2007-07-25 13:48:53 +00:00
* Wed Jul 25 2007 Warren Togami <wtogami@redhat.com> 3.2.2-1
- 3.2.2 minor bugfix release
2007-06-12 00:40:34 +00:00
* Mon Jun 11 2007 Warren Togami <wtogami@redhat.com> 3.2.1-1
- 3.2.1 CVE-2007-2873
2007-05-02 15:49:50 +00:00
* Wed May 02 2007 Warren Togami <wtogami@redhat.com> 3.2.0-1
- 3.2.0
2007-04-23 21:04:19 +00:00
* Mon Apr 13 2007 Warren Togami <wtogami@redhat.com> 3.2.0-0.5.rc3
- 3.2.0 rc3
2007-04-13 14:57:04 +00:00
* Mon Apr 13 2007 Warren Togami <wtogami@redhat.com> 3.2.0-0.4.rc2
- 3.2.0 rc2
2007-04-02 14:54:11 +00:00
* Mon Apr 02 2007 Warren Togami <wtogami@redhat.com> 3.2.0-0.3.rc1
- 3.2.0 rc1
* Tue Mar 06 2007 Warren Togami <wtogami@redhat.com> 3.2.0-0.2.pre2
- Conditional to require perl-devel during build for FC7+ (#226276)
2007-03-02 19:10:34 +00:00
* Fri Mar 02 2007 Warren Togami <wtogami@redhat.com> 3.2.0-0.1.pre2
- 3.2.0-pre2
2007-02-19 16:10:11 +00:00
* Mon Feb 19 2007 Warren Togami <wtogami@redhat.com> 3.1.8-2
- Fix sa-learn regression (#228968)
2007-02-13 20:58:07 +00:00
* Tue Feb 13 2007 Warren Togami <wtogami@redhat.com> 3.1.8-1
- 3.1.8 CVE-2007-0451
2007-02-13 18:32:20 +00:00
* Tue Feb 13 2007 Warren Togami <wtogami@redhat.com> 3.1.7-9
- silence sa-update cron script
* Wed Feb 07 2007 Warren Togami <wtogami@redhat.com> 3.1.7-8
- only restart spamd if necessary after sa-update (#227756)
2007-02-07 22:23:04 +00:00
* Wed Feb 07 2007 Warren Togami <wtogami@redhat.com> 3.1.7-7
- requires gnupg (#227738)
* Sun Jan 28 2007 Warren Togami <wtogami@redhat.com> 3.1.7-6
- explicit requires on perl(HTTP::Date) and perl(LWP::UserAgent)
(Bug #193100)
2007-01-22 17:07:26 +00:00
* Mon Jan 22 2007 Warren Togami <wtogami@redhat.com> 3.1.7-5
- fix typo in logrotate.d (#223817)
* Thu Jan 18 2007 Warren Togami <wtogami@redhat.com>
- Options for RHEL4
* spamc/spamd cannot connect over IPv6 or SSL
* sa-update is disabled
The above functionality requires perl modules not included in RHEL4.
You may still use them if you get those perl modules from elsewhere.
RHEL5 ships these perl modules.
* Thu Dec 14 2006 Warren Togami <wtogami@redhat.com> - 3.1.7-4
- add standardized sa-update cron script, disabled by default
* Thu Dec 14 2006 Warren Togami <wtogami@redhat.com> - 3.1.7-2
- own directory /var/lib/spamassassin
2006-11-21 00:42:09 +00:00
* Mon Nov 20 2006 Warren Togami <wtogami@redhat.com> - 3.1.7-1
- 3.1.7 maintenance release
2006-08-02 17:33:16 +00:00
* Wed Aug 02 2006 Warren Togami <wtogami@redhat.com> - 3.1.4-1
- 3.1.4 maintenance release
2006-07-17 21:08:44 +00:00
* Mon Jul 17 2006 Warren Togami <wtogami@redhat.com> - 3.1.3-5
- req perl-IO-Socket-SSL for spamc/spamd SSL communication
- req perl-IO-Socket-INET6 for IPv6
2006-07-12 08:16:53 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1.3-3.1
- rebuild
2006-06-27 06:12:28 +00:00
* Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 3.1.3-3
- require diffutils for the post script (cmp is used)
* Wed Jun 07 2006 Warren Togami <wtogami@redhat.com> - 3.1.3-2
- start spamd before sendmail (#193818)
- require perl-Archive-Tar (#193100)
2006-06-05 20:53:18 +00:00
* Mon Jun 05 2006 Warren Togami <wtogami@redhat.com> - 3.1.3-1
- CVE-2006-2447
2006-05-26 17:44:21 +00:00
* Fri May 26 2006 Warren Togami <wtogami@redhat.com> - 3.1.2-1
- 3.1.2 bug fix release
* Tue May 09 2006 Warren Togami <wtogami@redhat.com> - 3.0.5-4
- Preserve timestamp and context of /etc/sysconfig/spamassassin (#178580)
2006-03-28 01:14:35 +00:00
* Mon Mar 11 2006 Warren Togami <wtogami@redhat.com> - 3.1.1-1
- 3.1.1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1.0-5
2006-02-11 05:42:56 +00:00
- bump again for double-long bug on ppc(64)
2006-03-28 01:14:35 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1.0-5
2006-02-07 13:52:07 +00:00
- rebuilt for new gcc4.1 snapshot and glibc changes
* Wed Jan 18 2006 Warren Togami <wtogami@redhat.com> - 3.1.0-5
- include SPAM_PID dir (#177788)
2005-12-09 22:43:16 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Thu Dec 01 2005 Warren Togami <wtogami@redhat.com> - 3.1.0-3
- #174579 nls spamd init script (Rudolf Kastl)
* Tue Nov 08 2005 Warren Togami <wtogami@redhat.com> - 3.1.0-2
- #161785 ensure that service restart works
2005-09-14 07:39:55 +00:00
* Tue Sep 13 2005 Warren Togami <wtogami@redhat.com> - 3.1.0-1
- 3.1.0
2005-08-29 01:44:57 +00:00
* Sun Aug 28 2005 Warren Togami <wtogami@redhat.com> - 3.1.0-0.rc2
- 3.1.0-rc2
2005-08-17 04:26:51 +00:00
* Tue Aug 16 2005 Warren Togami <wtogami@redhat.com> - 3.1.0-0.rc1
- 3.1.0-rc1
* Fri Jul 15 2005 Warren Togami <wtogami@redhat.com> - 3.1.0-0.pre4
- 3.1.0-pre4
2005-06-06 05:36:08 +00:00
* Sun Jun 05 2005 Warren Togami <wtogami@redhat.com> - 3.0.4-1
- 3.0.4
2005-06-06 05:36:08 +00:00
* Tue May 17 2005 Warren Togami <wtogami@redhat.com> - 3.0.3-4
- allow user-level disabling of subject rewriting pref (#147464)
* Wed Apr 27 2005 Warren Togami <wtogami@redhat.com> - 3.0.3-3
2005-04-27 21:47:35 +00:00
- 3.0.3
2005-04-28 02:58:16 +00:00
- SA#4287 retval fix
- allow replacement of rc service script during upgrades
* Mon Apr 25 2005 Warren Togami <wtogami@redhat.com> - 3.0.3-0.r164513
2005-04-26 02:00:25 +00:00
- 3.0.3-r164513 (almost final)
* Thu Apr 21 2005 Warren Togami <wtogami@redhat.com> - 3.0.2-9
- SA#4191 uri_to_domain() is broken for urls with empty port
SA#4232 multipart message with 0 parts -> uninitialized in m//
SA#4121 Score for user defined rules become ignored
SA#3944 get_envelope_from not handling received header
* Sun Apr 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 3.0.2-8
- Own /usr/share/spamassassin (#152534).
- Drop no longer needed dependency filter script.
2005-04-03 10:59:39 +00:00
* Sun Apr 02 2005 Warren Togami <wtogami@redhat.com> 3.0.2-7
- req DB_File (#143186)
2005-04-03 10:00:38 +00:00
* Sat Apr 02 2005 Warren Togami <wtogami@redhat.com> 3.0.2-6
- test svn 3.0 stable r122144 snapshot
SA#3826 #4044 #4050 #4048 #4075 #4064 #4075 #4034 #3952
2005-04-03 10:00:38 +00:00
2005-03-24 16:31:13 +00:00
* Thu Mar 24 2005 Florian La Roche <laroche@redhat.com>
- add "exit 0" to postun script
2005-03-24 14:09:17 +00:00
* Thu Mar 24 2005 Joe Orton <jorton@redhat.com> 3.0.2-4
- package the NOTICE file
2005-03-17 20:44:05 +00:00
* Thu Mar 17 2005 Warren Togami <wtogami@redhat.com> - 3.0.2-3
- reinclude ia64, thanks jvdias
* Tue Mar 15 2005 Warren Togami <wtogami@redhat.com> - 3.0.2-2
- exclude ia64 for now due to Bug #151127
2005-03-15 00:31:13 +00:00
2004-12-20 19:59:53 +00:00
* Mon Dec 20 2004 Warren Togami <wtogami@redhat.com> - 3.0.2-1
- 3.0.2
2004-10-31 12:01:19 +00:00
* Sun Oct 31 2004 Warren Togami <wtogami@redhat.com> - 3.0.1-1
- 3.0.1
* Mon Oct 18 2004 Warren Togami <wtogami@redhat.com> - 3.0.0-3
- Fix local.cf rewrite subject option (#133355 Christof Damian)
* Sat Sep 25 2004 Warren Togami <wtogami@redhat.com> - 3.0.0-2
- Update URL, cleanup name (Robert Scheck #133622)
* Thu Sep 23 2004 Warren Togami <wtogami@redhat.com> - 3.0.0-1
- match upstream version
- #133422 Future proof krb5 back compat (Milan Kerslager)
2004-09-23 04:17:15 +00:00
* Wed Sep 22 2004 Warren Togami <wtogami@redhat.com> - 3.0-10
- 3.0.0 final
* Sun Sep 12 2004 Warren Togami <wtogami@redhat.com> - 3.0-9.rc4
- 3.0 rc4
- update krb5 backcompat patch (John Lundin)
* Sat Sep 04 2004 Warren Togami <wtogami@redhat.com> - 3.0-8.rc3
- 3.0 rc3
* Sun Aug 29 2004 Warren Togami <wtogami@redhat.com> - 3.0-7.rc2
- 3.0 rc2
* Sat Aug 21 2004 Warren Togami <wtogami@redhat.com> - 3.0-6.rc1
- fix perl module syntax in req and buildreqs
* Thu Aug 19 2004 Warren Togami <wtogami@redhat.com> - 3.0-5.rc1
- 3.0 rc1
* Sat Aug 07 2004 Warren Togami <wtogami@redhat.com> - 3.0-3.pre4
- 3.0 pre4
* Wed Jul 28 2004 Warren Togami <wtogami@redhat.com> - 3.0-3.pre2
- 3.0 pre2
* Mon Jun 20 2004 Warren Togami <wtogami@redhat.com> - 3.0-2.pre1
- 3.0.0 pre1
- remove unnecessary patches applied upstream
- update krb5 backcompat patch
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon May 31 2004 Warren Togami <wtogami@redhat.com> - 3.0-svn20040530
- svn snapshot 20040530
- #124870 prevent service startup failure due to old -a option
- #124871 more docs
- #124872 unowned directories
* Tue May 24 2004 Warren Togami <wtogami@redhat.com> - 3.0-svn20040524
- #123432 do not start service by default
- #122488 remove CRLF's
- #123706 correct license
- svn snapshot 20040524
- svn snapshot 20040518
* Sun May 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 2.63-8
- #122233
- Require perl(:MODULE_COMPAT_*).
- Use %%{_mandir} and %%{_initrddir}.
- Fix License tag and include License in docs.
- Backslashify multiline init script description.
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Feb 11 2004 Warren Togami <wtogami@redhat.com> 2.63-6
- require sitelib instead
* Wed Jan 21 2004 Warren Togami <wtogami@redhat.com> 2.63-3
- krb5-backcompat.patch so older krb5-devel does not fail
* Wed Jan 21 2004 Warren Togami <wtogami@redhat.com> 2.63-2
- upgrade to 2.63
* Mon Jan 19 2004 Warren Togami <wtogami@redhat.com> 2.62-3
- Ville Skyttä's fixes from #113596 including:
- Fix buildroot traces
- enable openssl
- Trailing slash to DESTDIR (bug 90202 comment 14).
- export optflags so they're honored, affects spamc only.
* Mon Jan 19 2004 Warren Togami <wtogami@redhat.com> 2.62-2
- upgrade to 2.62
- Prereq -> Requires, former is deprecated
- Require current version of perl
- Remove urban myth clean test
- TODO: Get rid of prefix
* Wed Dec 31 2003 Dan Walsh <dwalsh@redhat.com> 2.61-2
- Change sysconfdir to not use full path
* Tue Dec 9 2003 Chip Turner <cturner@redhat.com> 2.61-1
- upgrade to 2.61
* Fri Sep 26 2003 Chip Turner <cturner@redhat.com> 2.60-2
- update to 2.60
* Sat Jul 5 2003 Chip Turner <cturner@redhat.com> 2.55-3
- change perl dependency to more accurate versions with explicit epochs
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Sat May 31 2003 Chip Turner <cturner@redhat.com> 2.55-1
- move to upstream version 2.55
* Tue May 13 2003 Chip Turner <cturner@redhat.com>
- bump for build
- change init.d script to not default to started
* Sun May 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- remove Distribution: tag in spec file
* Wed Apr 16 2003 Chip Turner <cturner@redhat.com> 2.53-5
- remove SIGCHILD patch to properly return it to SIG_IGN now that
waitpid isn't used on Linux
* Mon Apr 14 2003 Chip Turner <cturner@redhat.com> 2.53-4.8.x
- update to 2.53 from upstream
* Fri Mar 21 2003 Chip Turner <cturner@redhat.com> 2.50-3.8.x
- update patch for servicename; should fix restarting/runlevel issues (#85975)
* Thu Mar 13 2003 Chip Turner <cturner@redhat.com> 2.50-2.8.x
- update to 2.50
* Tue Feb 25 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 21 2003 Chip Turner <cturner@redhat.com>
- revert double fix for 84774
* Mon Feb 17 2003 Bill Nottingham <notting@redhat.com>
- fix startup (#84445)
* Thu Feb 13 2003 Bill Nottingham <notting@redhat.com>
- fix paths in initscript (#84216)
* Thu Feb 13 2003 Chip Turner <cturner@redhat.com>
- removing -P option since it is the default now, bug 84144
* Wed Feb 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- fix SIGCHLD handling
* Mon Feb 10 2003 Bill Nottingham <notting@redhat.com>
2008-12-16 05:45:33 +00:00
- move condrestart to %%postun
* Sun Feb 2 2003 Chip Turner <cturner@redhat.com>
- update to 2.44
- add condrestart to service script
* Thu Jan 30 2003 Chip Turner <cturner@redhat.com>
- release bump and rebuild
* Wed Jan 29 2003 Chip Turner <cturner@redhat.com>
- add upstream bsmtp off-by-one patch
* Mon Jan 20 2003 Chip Turner <cturner@redhat.com>
- add wrapper for 'spamassassin -e' for native evolution spam filtering
* Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 2.43-10
- use internal dep generator.
* Wed Jan 1 2003 Chip Turner <cturner@redhat.com>
- rebuild
* Tue Dec 17 2002 Bill Nottingham <notting@redhat.com> 2.43-7
- don't run by default
* Sat Dec 14 2002 Tim Powers <timp@redhat.com> 2.43-6
- don't use rpms internal dep generator
- buildrequire perl-Time-HiRes instead of perl(Time:HiRes) so we can satisfy build deps in the build system
* Fri Nov 22 2002 Tim Powers <timp@redhat.com>
- rebuilt to solve broken perl deps
* Thu Aug 15 2002 Chip Turner <cturner@redhat.com>
- speedup patch from upstream
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Thu Jul 18 2002 Chip Turner <cturner@redhat.com>
2008-12-16 05:45:33 +00:00
- better control of service level, improvement in %%post script.
- (contribs from schirmer@taytron.net)
* Fri Jun 28 2002 Chip Turner <cturner@redhat.com>
- added proper BuildRequire
* Wed Jun 26 2002 Chip Turner <cturner@redhat.com>
- updated to 2.31, added .rc file for procmail to INCLUDERC to enable
* Fri Apr 19 2002 Theo Van Dinter <felicity@kluge.net>
- Updated for 2.20 release
- made /etc/mail/spamassassin a config directory so local.cf doesn't get wiped out
- added a patch to remove findbin stuff
* Wed Feb 27 2002 Craig Hughes <craig@hughes-family.org>
- Updated for 2.1 release
* Sat Feb 02 2002 Theo Van Dinter <felicity@kluge.net>
- Updates for 2.01 release
- Fixed rc file
- RPM now buildable as non-root
- fixed post_service errors
- fixed provides to include perl modules
- use file find instead of manually specifying files
* Tue Jan 15 2002 Craig Hughes <craig@hughes-family.org>
- Updated for 2.0 release
* Wed Dec 05 2001 Craig Hughes <craig@hughes-family.org>
- Updated for final 1.5 distribution.
* Sun Nov 18 2001 Craig Hughes <craig@hughes-family.org>
- first version of rpm.