rpms/amavisd-new/devel .cvsignore, 1.8, 1.9 amavis-clamd.conf, 1.1, 1.2 amavisd-conf.patch, 1.4, 1.5 amavisd-new.spec, 1.16, 1.17 sources, 1.8, 1.9
Steven Pritchard (steve)
fedora-extras-commits at redhat.com
Sat Jun 23 01:26:42 UTC 2007
Author: steve
Update of /cvs/pkgs/rpms/amavisd-new/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1150
Modified Files:
.cvsignore amavis-clamd.conf amavisd-conf.patch
amavisd-new.spec sources
Log Message:
Update to 2.5.2-rc2.
Sync with F-7 branch.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/amavisd-new/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore 22 Feb 2007 21:48:43 -0000 1.8
+++ .cvsignore 23 Jun 2007 01:26:06 -0000 1.9
@@ -1 +1 @@
-amavisd-new-2.4.5.tar.gz
+amavisd-new-2.5.2-rc2.tar.gz
Index: amavis-clamd.conf
===================================================================
RCS file: /cvs/pkgs/rpms/amavisd-new/devel/amavis-clamd.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- amavis-clamd.conf 26 Jan 2006 22:11:54 -0000 1.1
+++ amavis-clamd.conf 23 Jun 2007 01:26:06 -0000 1.2
@@ -1,5 +1,5 @@
# Use system logger.
-LogSyslog
+LogSyslog yes
# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
@@ -11,7 +11,7 @@
# Remove stale socket after unclean shutdown.
# Default: disabled
-FixStaleSocket
+FixStaleSocket yes
# Run as a selected user (clamd must be started by root).
User amavis
amavisd-conf.patch:
Index: amavisd-conf.patch
===================================================================
RCS file: /cvs/pkgs/rpms/amavisd-new/devel/amavisd-conf.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- amavisd-conf.patch 10 Oct 2006 22:47:43 -0000 1.4
+++ amavisd-conf.patch 23 Jun 2007 01:26:06 -0000 1.5
@@ -1,7 +1,7 @@
---- amavisd-new-2.4.3/amavisd.conf.orig 2006-10-01 19:02:13.000000000 -0500
-+++ amavisd-new-2.4.3/amavisd.conf 2006-10-10 17:46:45.000000000 -0500
-@@ -14,23 +14,23 @@
- # @bypass_spam_checks_maps = (1); # uncomment to DISABLE anti-spam code
+--- amavisd-new-2.5.1/amavisd.conf.orig 2007-05-31 07:09:55.000000000 -0500
++++ amavisd-new-2.5.1/amavisd.conf 2007-06-22 16:35:04.000000000 -0500
+@@ -15,23 +15,23 @@
+ # $bypass_decode_parts = 1; # controls running of decoders&dearchivers
$max_servers = 2; # num of pre-forked children (2..15 is common), -m
-$daemon_user = 'vscan'; # (no default; customary: vscan or amavis), -u
@@ -14,7 +14,7 @@
-# $MYHOME = '/var/amavis'; # a convenient default for other settings, -H
+$MYHOME = '/var/spool/amavisd'; # a convenient default for other settings, -H
$TEMPBASE = "$MYHOME/tmp"; # working directory, needs to exist, -T
- $ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR
+ $ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR, used by SA, etc.
-$QUARANTINEDIR = '/var/virusmails'; # -Q
+$QUARANTINEDIR = undef; # -Q
# $quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine
@@ -29,8 +29,8 @@
+$pid_file = "/var/run/amavisd/amavisd.pid"; # -P
#NOTE: create directories $MYHOME/tmp, $MYHOME/var, $MYHOME/db manually
- @local_domains_maps = ( [".$mydomain"] );
-@@ -77,11 +77,11 @@
+ $log_level = 0; # verbosity 0..5, -d
+@@ -110,11 +110,11 @@
# $timestamp_fmt_mysql = 1; # if using MySQL *and* msgs.time_iso is TIMESTAMP;
# defaults to 0, which is good for non-MySQL or if msgs.time_iso is CHAR(16)
@@ -46,7 +46,7 @@
$mailfrom_to_quarantine = ''; # null return path; uses original sender if undef
@addr_extension_virus_maps = ('virus');
-@@ -115,10 +115,10 @@
+@@ -148,10 +148,10 @@
# $notify_method = 'smtp:[127.0.0.1]:10025';
# $forward_method = 'smtp:[127.0.0.1]:10025'; # set to undef with milter!
@@ -61,7 +61,7 @@
# $os_fingerprint_method = 'p0f:127.0.0.1:2345'; # to query p0f-analyzer.pl
-@@ -318,10 +318,10 @@
+@@ -353,10 +353,10 @@
# ['Sophos SAVI', \&sophos_savi ],
# ### http://www.clamav.net/
Index: amavisd-new.spec
===================================================================
RCS file: /cvs/pkgs/rpms/amavisd-new/devel/amavisd-new.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- amavisd-new.spec 22 Feb 2007 21:10:55 -0000 1.16
+++ amavisd-new.spec 23 Jun 2007 01:26:06 -0000 1.17
@@ -1,9 +1,9 @@
-#%%define prerelease rc1
+%define prerelease rc2
Summary: Email filter with virus scanner and spamassassin support
Name: amavisd-new
-Version: 2.4.5
-Release: 1%{?prerelease:.%{prerelease}}%{?dist}
+Version: 2.5.2
+Release: 0.1%{?prerelease:.%{prerelease}}%{?dist}
License: GPL
Group: Applications/System
URL: http://www.ijs.si/software/amavisd/
@@ -22,15 +22,17 @@
Requires: smtpdaemon
Requires: /usr/sbin/clamd, /etc/clamd.d
Requires: /usr/sbin/tmpwatch, /etc/cron.daily
-Requires: file
-Requires: bzip2
-Requires: gzip
Requires: arj
+Requires: bzip2
+Requires: cabextract
Requires: cpio
+Requires: file
Requires: freeze
+Requires: gzip
Requires: lzop
Requires: nomarch
-Requires: cabextract
+Requires: p7zip
+Requires: tar
Requires: /usr/bin/ar
# We probably should parse the fetch_modules() code in amavisd for this list.
# These are just the dependencies that don't get picked up otherwise.
@@ -61,6 +63,9 @@
Requires: perl(Authen::SASL)
Requires: perl(Mail::SPF::Query)
Requires: perl(Compress::Zlib) >= 1.35
+Requires(pre): /sbin/chkconfig
+Requires(pre): /sbin/service
+Requires: /usr/sbin/useradd
BuildArch: noarch
%description
@@ -119,20 +124,22 @@
%pre
if ! id amavis > /dev/null 2>&1 ; then
- useradd -r -s /sbin/nologin -d /var/spool/amavisd amavis
+ /usr/sbin/useradd -r -s /sbin/nologin -d /var/spool/amavisd amavis
fi
%preun
if [ "$1" = 0 ]; then
- chkconfig --del amavisd
- chkconfig --del clamd.amavisd
+ /sbin/service amavisd stop 2>/dev/null || :
+ /sbin/chkconfig --del amavisd
+ /sbin/service clamd.amavisd stop 2>/dev/null || :
+ /sbin/chkconfig --del clamd.amavisd
fi
%post
-chkconfig --add amavisd
-service amavisd condrestart
-chkconfig --add clamd.amavisd
-service clamd.amavisd condrestart
+/sbin/chkconfig --add amavisd
+/sbin/service amavisd condrestart
+/sbin/chkconfig --add clamd.amavisd
+/sbin/service clamd.amavisd condrestart
%files
%defattr(-,root,root)
@@ -156,6 +163,16 @@
%ghost /var/spool/amavisd/clamd.sock
%changelog
+* Fri Jun 22 2007 Steven Pritchard <steve at kspei.com> 2.5.2-0.1.rc2
+- Update to 2.5.2-rc2.
+
+* Fri Jun 22 2007 Steven Pritchard <steve at kspei.com> 2.5.1-1
+- Update to 2.5.1.
+- Fix amavis-clamd.conf (bug #237252).
+- Update amavisd-conf.patch.
+- Require p7zip and tar.
+- Improve pre/preun/post scripts.
+
* Thu Feb 22 2007 Steven Pritchard <steve at kspei.com> 2.4.5-1
- Update to 2.4.5.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/amavisd-new/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources 22 Feb 2007 21:48:43 -0000 1.8
+++ sources 23 Jun 2007 01:26:06 -0000 1.9
@@ -1 +1 @@
-eef8c03855f9e3a4c6c53c06006d77ea amavisd-new-2.4.5.tar.gz
+88c3083ca889276c00eb739d1f3c07c2 amavisd-new-2.5.2-rc2.tar.gz
More information about the scm-commits
mailing list