pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/amavisd-new Update to 2.2.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e16c54bc0d84
branches: trunk
changeset: 484666:e16c54bc0d84
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Nov 28 23:31:49 2004 +0000
description:
Update to 2.2.0.
New in 2.2.0:
MIME traversal now includes MIME container parts (e.g. multipart/*,
message/*), making them visible to banned rules. This version
preserves original zip archives for virus scanners if the archive
contains any zero-length members. New short types 'dll' and 'empty'
makes blocking recent viruses more flexible, including their
unsuccessful propagation attempts. It recognizes standard Unix
archives and unpacks Debian binary packages. The LDAP modules were
rewritten. The handling of double errors was improved. This version
supports mail size limits and Mail::ClamAV 0.12. A new AV entry
'check-jpeg' can test JPEG images for validity.
New in 2.1.2:
This release fixes (hard) blacklisting and whitelisting on static
lookup tables, which was failing to match any sender. The 'neutral'
sender notification, which was joining the Subject and the Message-ID
header fields in some situations, has been fixed. The signal and
error handling in code sections holding BDB locks is now more
thorough. A new %e macro is provided that evaluates to a best guess
of the originator IP address collected from the Received trace.
New in 2.1.1:
The default use of $banned_filename_re, which was lost in 2.1.0,
was added back. A fix was made for inappropriate log entry in SQL
whitelisting, complaining about unexpected wb field value. Missing
import of &ca was added to the amavisd-new-courier.patch. A default
directory is now provided with delivery method "bsmtp", if not
specified. The Mail::SpamAssassin::Plugin::Hashcash module is
pre-loaded with SA 3.0.0, and Mail::SpamAssassin::SpamCopURI with
URI::* is loaded for older SA versions. Small enhancements were
made to amavisd-nanny.
New in 2.1.0:
The use of BerkeleyDB is now optional. The configuration files were
cleaned up, and a small new amavisd-nanny utility that shows the
status of all child processes and checks for vanished or stale
processes was included. Two important bugfixes were made in the
ACL and SQL lookup code along with numerous other fixes and small
improvements. Users of 2.0 should upgrade to this release.
diffstat:
security/amavisd-new/Makefile | 16 +++++++----
security/amavisd-new/PLIST | 5 ++-
security/amavisd-new/distinfo | 8 ++--
security/amavisd-new/patches/patch-aa | 49 ++++++++++++++--------------------
4 files changed, 38 insertions(+), 40 deletions(-)
diffs (165 lines):
diff -r 4f0dd79e31f1 -r e16c54bc0d84 security/amavisd-new/Makefile
--- a/security/amavisd-new/Makefile Sun Nov 28 23:26:21 2004 +0000
+++ b/security/amavisd-new/Makefile Sun Nov 28 23:31:49 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/08/22 19:32:52 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/28 23:31:49 wiz Exp $
DISTNAME= amavisd-new-${VERSION}${PATCHLEVEL}
PKGNAME= amavisd-new-${VERSION}${PATCHLEVEL:S/-//}
@@ -8,7 +8,7 @@
http://ftp.cfu.net/pub/amavisd-new/ \
ftp://ftp.cfu.net/pub/amavisd-new/
-VERSION= 20040701
+VERSION= 2.2.0
PATCHLEVEL= # empty
MAINTAINER= jdunn%aquezada.com@localhost
@@ -22,10 +22,12 @@
DEPENDS+= p5-Convert-TNEF-[0-9]*:../../converters/p5-Convert-TNEF
DEPENDS+= p5-Convert-UUlib-[0-9]*:../../converters/p5-Convert-UUlib
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
-DEPENDS+= p5-MIME-tools>=5.313:../../mail/p5-MIME-tools
-DEPENDS+= p5-Net-[0-9]*:../../net/p5-Net
+DEPENDS+= p5-MIME-tools>=5.415:../../mail/p5-MIME-tools
+DEPENDS+= p5-MailTools>=1.58:../../mail/p5-MailTools
+DEPENDS+= p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
+DEPENDS+= p5-Net>=1.16:../../net/p5-Net
DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server
-DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
+DEPENDS+= p5-Time-HiRes>=1.49:../../time/p5-Time-HiRes
DEPENDS+= p5-Unix-Syslog-[0-9]*:../../sysutils/p5-Unix-Syslog
WRKSRC= ${WRKDIR}/amavisd-new-${VERSION}
@@ -37,7 +39,7 @@
USE_PERL5= yes
PERL5_REQD= 5.8.2
-REPLACE_PERL+= amavisd
+REPLACE_PERL+= amavisd amavisd-nanny
USE_PKGINSTALL= yes
AMAVIS_USER?= vscan
@@ -111,6 +113,7 @@
${INSTALL_PROGRAM} ${WRKSRC}/helper-progs/amavis-milter ${PREFIX}/sbin
.endif
${INSTALL_SCRIPT} ${WRKSRC}/amavisd ${PREFIX}/sbin/amavisd
+ ${INSTALL_SCRIPT} ${WRKSRC}/amavisd-nanny ${PREFIX}/sbin/amavisd-nanny
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/AAAREADME.first ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR}
@@ -118,6 +121,7 @@
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/MANIFEST ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README_FILES/amavisd-new-docs.html ${DOCDIR}
for file in README_FILES/README.*; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCDIR}; \
done
diff -r 4f0dd79e31f1 -r e16c54bc0d84 security/amavisd-new/PLIST
--- a/security/amavisd-new/PLIST Sun Nov 28 23:26:21 2004 +0000
+++ b/security/amavisd-new/PLIST Sun Nov 28 23:31:49 2004 +0000
@@ -1,12 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/06 15:05:54 jlam Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/28 23:31:49 wiz Exp $
${MILTER}sbin/amavis
${MILTER}sbin/amavis-milter
sbin/amavisd
+sbin/amavisd-nanny
share/doc/amavisd-new/AAAREADME.first
share/doc/amavisd-new/INSTALL
share/doc/amavisd-new/LDAP.schema
share/doc/amavisd-new/LICENSE
share/doc/amavisd-new/MANIFEST
+share/doc/amavisd-new/README.banned
share/doc/amavisd-new/README.chroot
share/doc/amavisd-new/README.contributed
share/doc/amavisd-new/README.courier
@@ -26,6 +28,7 @@
share/doc/amavisd-new/README.sendmail
share/doc/amavisd-new/README.sendmail-dual
share/doc/amavisd-new/RELEASE_NOTES
+share/doc/amavisd-new/amavisd-new-docs.html
share/examples/amavisd-new/amavisd.conf-default
share/examples/amavisd-new/amavisd.conf-minimal
share/examples/amavisd-new/amavisd.conf-sample
diff -r 4f0dd79e31f1 -r e16c54bc0d84 security/amavisd-new/distinfo
--- a/security/amavisd-new/distinfo Sun Nov 28 23:26:21 2004 +0000
+++ b/security/amavisd-new/distinfo Sun Nov 28 23:31:49 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/08/06 15:05:54 jlam Exp $
+$NetBSD: distinfo,v 1.2 2004/11/28 23:31:49 wiz Exp $
-SHA1 (amavisd-new-20040701.tar.gz) = 77c037cb13e629f5f2c038d56a62c1cdae904075
-Size (amavisd-new-20040701.tar.gz) = 451622 bytes
-SHA1 (patch-aa) = 4364b6501c0730b623c48afee6f24b6256c6b84f
+SHA1 (amavisd-new-2.2.0.tar.gz) = b40385707ed635346278e0e8f63fbc1371381477
+Size (amavisd-new-2.2.0.tar.gz) = 586935 bytes
+SHA1 (patch-aa) = 30a62b2e8954bcb5b106a9715f1e64837065fbe0
diff -r 4f0dd79e31f1 -r e16c54bc0d84 security/amavisd-new/patches/patch-aa
--- a/security/amavisd-new/patches/patch-aa Sun Nov 28 23:26:21 2004 +0000
+++ b/security/amavisd-new/patches/patch-aa Sun Nov 28 23:31:49 2004 +0000
@@ -1,42 +1,33 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/08/06 15:05:54 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2004/11/28 23:31:49 wiz Exp $
---- amavisd.conf.orig Thu Jul 1 16:04:36 2004
+--- amavisd.conf.orig 2004-11-02 22:22:48.000000000 +0100
+++ amavisd.conf
-@@ -9,7 +9,7 @@ use strict;
- # MUST BE SET (no useful default):
-
- $mydomain = 'example.com';
--$MYHOME = '/var/amavis';
-+$MYHOME = '@AMAVIS_DIR@';
- $TEMPBASE = "$MYHOME/tmp";
-
-
-@@ -19,8 +19,8 @@ $TEMPBASE = "$MYHOME/tmp";
+@@ -12,15 +12,15 @@ use strict;
# @bypass_spam_checks_maps = (1); # uncomment to DISABLE anti-spam code
- $max_servers = 2; # number of pre-forked children
--$daemon_user = 'vscan'; # (no default; customary: vscan or amavis)
--$daemon_group = 'vscan'; # (no default; customary: vscan or amavis)
-+$daemon_user = '@AMAVIS_USER@'; # (no default; customary: vscan or amavis)
-+$daemon_group = '@AMAVIS_GROUP@'; # (no default; customary: vscan or amavis)
- @local_domains_maps = ( [".$mydomain"] );
+ $max_servers = 2; # number of pre-forked children (2..15 is common)
+-$daemon_user = 'vscan'; # (no default; customary: vscan or amavis)
+-$daemon_group = 'vscan'; # (no default; customary: vscan or amavis)
++$daemon_user = '@AMAVIS_USER@'; # (no default; customary: vscan or amavis)
++$daemon_group = '@AMAVIS_GROUP@'; # (no default; customary: vscan or amavis)
- $log_level = 0;
-@@ -28,7 +28,7 @@ $log_recip_templ = undef; # disable b
- $DO_SYSLOG = 1;
- $SYSLOG_LEVEL = 'mail.info';
- $ENV{TMPDIR} = $TEMPBASE;
+ $mydomain = 'example.com'; # a convenient default for other settings
+
+-$MYHOME = '/var/amavis'; # a convenient default for other settings
++$MYHOME = '@AMAVIS_DIR@'; # a convenient default for other settings
+ $TEMPBASE = "$MYHOME/tmp"; # working directory, needs to be created manually
+ $ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR
-$QUARANTINEDIR = '/var/virusmails';
+$QUARANTINEDIR = '@AMAVIS_QUARANTINE@';
- # $daemon_chroot_dir = $MYHOME; # (default is undef, meaning: do not chroot)
+
+ # $daemon_chroot_dir = $MYHOME; # chroot directory or undef
- $inet_socket_port = 10024; # accept SMTP on this local TCP port(s) (Postfix)
-@@ -55,7 +55,7 @@ $mailfrom_notify_spamadmin = "spam.polic
- @addr_extension_banned_maps = ('banned');
- @addr_extension_bad_header_maps = ('badh');
+@@ -72,7 +72,7 @@ $mailfrom_to_quarantine = ''; # null ret
+ # $recipient_delimiter = '+'; # undef disables address extensions altogether
+ # when enabling addr extensions do also Postfix/main.cf: recipient_delimiter=+
-$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
+$path = '@PREFIX@/sbin:@PREFIX@/bin:@LOCALBASE@/sbin:@LOCALBASE@/bin:/usr/sbin:/sbin:/usr/bin:/bin';
- $file = 'file'; # file(1) utility; use 3.41 or later to avoid vulnerability
+ $file = 'file'; # file(1) utility; use recent versions
$gzip = 'gzip';
$bzip2 = 'bzip2';
Home |
Main Index |
Thread Index |
Old Index