Update to 3.3.2-0.1.xvn1027144
This commit is contained in:
parent
a557be32c2
commit
8b502a9d2b
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
Mail-SpamAssassin-3.3.1.tar.bz2
|
Mail-SpamAssassin-3.3.1.tar.bz2
|
||||||
Mail-SpamAssassin-rules-3.3.1.r923114.tgz
|
Mail-SpamAssassin-rules-3.3.1.r923114.tgz
|
||||||
|
/Mail-SpamAssassin-3.3.2.tar.bz2
|
||||||
|
/Mail-SpamAssassin-rules-3.3.2.r1004932.tgz
|
||||||
|
@ -6,8 +6,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Proceed with sa-update if spam daemon is running or forced in /etc/sysconfig/sa-update
|
# Proceed with sa-update if spam daemon is running or forced in /etc/sysconfig/sa-update
|
||||||
unset SAUPDATE
|
unset SAUPDATE OPTIONS DEBUG NOTIFY_UPD
|
||||||
[ -f /etc/sysconfig/sa-update ] && . /etc/sysconfig/sa-update
|
[ -f /etc/sysconfig/sa-update ] && . /etc/sysconfig/sa-update
|
||||||
|
[ "$SAUPDATE" = "no" ] && exit 0
|
||||||
for daemon in spamd amavisd; do
|
for daemon in spamd amavisd; do
|
||||||
/sbin/pidof $daemon >& /dev/null
|
/sbin/pidof $daemon >& /dev/null
|
||||||
[ $? -eq 0 ] && SAUPDATE=yes
|
[ $? -eq 0 ] && SAUPDATE=yes
|
||||||
@ -55,9 +56,39 @@ done
|
|||||||
for keyid in $KEYLIST; do
|
for keyid in $KEYLIST; do
|
||||||
arglist="$arglist --gpgkey $keyid"
|
arglist="$arglist --gpgkey $keyid"
|
||||||
done
|
done
|
||||||
/usr/bin/sa-update $arglist
|
/usr/bin/sa-update $OPTIONS $arglist
|
||||||
if [ $? -eq 0 ]; then
|
status=$?
|
||||||
/sbin/service spamassassin condrestart > /dev/null
|
now=`date +"%d-%b-%Y %T"`
|
||||||
[ -f /etc/init.d/amavisd ] && /sbin/service amavisd condrestart > /dev/null
|
# cron runs this script tee /var/log/sa-update.log
|
||||||
[ -f /var/run/mimedefang.pid ] && /sbin/service mimedefang reload > /dev/null
|
# We want to always write to the log, but only send mail
|
||||||
|
# as configured.
|
||||||
|
if [ $status -eq 0 ]; then
|
||||||
|
if [ -n "$DEBUG" -o -n "$NOTIFY_UPD" ]; then
|
||||||
|
echo "$now: SpamAssassin: Update processed successfully"
|
||||||
|
else
|
||||||
|
echo "$now: SpamAssassin: Update processed successfully" >>/var/log/sa-update.log
|
||||||
|
fi
|
||||||
|
/sbin/service spamassassin condrestart > /dev/null
|
||||||
|
[ -f /etc/init.d/amavisd ] && /sbin/service amavisd condrestart > /dev/null
|
||||||
|
[ -f /var/run/mimedefang.pid ] && /sbin/service mimedefang reload > /dev/null
|
||||||
|
exit $status
|
||||||
fi
|
fi
|
||||||
|
if [ $status -eq 1 ]; then
|
||||||
|
if [ -n "$DEBUG" ]; then
|
||||||
|
echo "$now: SpamAssassin: No update available"
|
||||||
|
else
|
||||||
|
echo "$now: SpamAssassin: No update available" >>/var/log/sa-update.log
|
||||||
|
fi
|
||||||
|
exit $status
|
||||||
|
fi
|
||||||
|
if [ $status -eq 2 ]; then
|
||||||
|
echo "$now: SpamAssassin: Problem applying update - pre files failed lint check"
|
||||||
|
exit $status
|
||||||
|
fi
|
||||||
|
if [ $status -eq 4 ]; then
|
||||||
|
echo "$now: SpamAssassin: Update available, but download or extract failed"
|
||||||
|
exit $status
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$now: SpamAssassin: Unknown error code $status from sa-update"
|
||||||
|
exit $status
|
||||||
|
@ -1,4 +1,23 @@
|
|||||||
# Uncomment below to force nightly sa-update
|
# sa-update configuration
|
||||||
# (you don't need to do this if you use spamd or amavisd)
|
#
|
||||||
|
# Note that the opposite of "yes" is the empty string, NOT "no"
|
||||||
|
|
||||||
|
# Don't run sa-update even if it's in /etc/cron.d/ - as installed
|
||||||
|
#SAUPDATE=no
|
||||||
|
|
||||||
|
# Run sa-update even if no daemon is detected
|
||||||
#SAUPDATE=yes
|
#SAUPDATE=yes
|
||||||
|
|
||||||
|
# Default: Run only if a daemon is detected
|
||||||
|
|
||||||
|
# Options for the actual sa-update command
|
||||||
|
# These are added to the channel configuration from
|
||||||
|
/etc/mail/spamassassin/channel.d/*.conf
|
||||||
|
# OPTIONS=-v
|
||||||
|
|
||||||
|
# Debug script - send mail even if no update available
|
||||||
|
# DEBUG=yes
|
||||||
|
|
||||||
|
# Send mail when updates successfully processed
|
||||||
|
# Default: send mail only on error
|
||||||
|
#NOTIFY_UPD=yes
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
bb977900c3b2627db13e9f44f9b5bfc8 Mail-SpamAssassin-3.3.1.tar.bz2
|
5507dea43039b26640f65626ef7eeefd Mail-SpamAssassin-3.3.2.tar.bz2
|
||||||
3e6ae5a39b9dd2de7ec05a2b315c396b Mail-SpamAssassin-rules-3.3.1.r923114.tgz
|
11e340894be58fc49c0fbcea623e6f0c Mail-SpamAssassin-rules-3.3.2.r1004932.tgz
|
||||||
|
@ -56,13 +56,14 @@ Requires: portreserve
|
|||||||
|
|
||||||
Summary: Spam filter for email which can be invoked from mail delivery agents
|
Summary: Spam filter for email which can be invoked from mail delivery agents
|
||||||
Name: spamassassin
|
Name: spamassassin
|
||||||
Version: 3.3.1
|
Version: 3.3.2
|
||||||
Release: 5%{?dist}
|
Release: 0.1.svn1027144%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
URL: http://spamassassin.apache.org/
|
URL: http://spamassassin.apache.org/
|
||||||
Source0: http://www.apache.org/dist/%{name}/%{real_name}-%{version}.tar.bz2
|
#Source0: http://www.apache.org/dist/%{name}/%{real_name}-%{version}.tar.bz2
|
||||||
Source1: Mail-SpamAssassin-rules-3.3.1.r923114.tgz
|
Source0: %{real_name}-%{version}.tar.bz2
|
||||||
|
Source1: Mail-SpamAssassin-rules-3.3.2.r1004932.tgz
|
||||||
Source2: redhat_local.cf
|
Source2: redhat_local.cf
|
||||||
Source3: spamassassin-default.rc
|
Source3: spamassassin-default.rc
|
||||||
Source4: spamassassin-spamc.rc
|
Source4: spamassassin-spamc.rc
|
||||||
@ -273,6 +274,9 @@ fi
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 25 2010 Nick Bebout <nb@fedoraproject.org> - 3.3.2-0.1.svn1027144
|
||||||
|
- Update to 3.3.2 - svn1027144 to solve bug
|
||||||
|
|
||||||
* Sat Jul 03 2010 Dennis Gilmore <dennis@ausil.us> - 3.3.1-5
|
* Sat Jul 03 2010 Dennis Gilmore <dennis@ausil.us> - 3.3.1-5
|
||||||
- rebuild against perl-5.12.0 again
|
- rebuild against perl-5.12.0 again
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user