pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34377: Update security/amavisd-new to 2.4.2



>Number:         34377
>Category:       pkg
>Synopsis:       Update security/amavisd-new to 2.4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 29 18:35:00 +0000 2006
>Originator:     eggert%macvaerk.dtu.dk@localhost
>Release:        NetBSD 3.0 / pkgsrc-current
>Organization:
Macvaerk, DTU
>Environment:
System: NetBSD kelvin.macvaerk.dtu.dk 3.0_RC6 NetBSD 3.0_RC6 (MACMINI) #4: Tue 
Dec 13 16:43:10 UTC 2005 
eggert%kelvin.macvaerk.dtu.dk@localhost:/usr/obj/sys/arch/macppc/compile/MACMINI
 macppc
Architecture: powerpc
Machine: macppc
>Description:

amavisd-new is currently at 2.3.3, newest available is 2.4.2.

Various things were updated. See 
<http://www.ijs.si/software/amavisd/release-notes.txt>

Since 2.4.0 DSN (Delivery Status Notifications) are supported, which allows is 
to be used as a pre-buffer filter with Postfix. This is why I updated.

/Daniel


>How-To-Repeat:

n/a

>Fix:

Apply these diffs / new patch file:

--- Makefile.orig       2006-08-29 18:12:58.000000000 +0000
+++ Makefile    2006-08-29 18:14:00.000000000 +0000
@@ -2,14 +2,13 @@
 
 DISTNAME=      amavisd-new-${VERSION}${PATCHLEVEL}
 PKGNAME=       amavisd-new-${VERSION}${PATCHLEVEL:S/-//}
-PKGREVISION=   3
 CATEGORIES=    security mail
 MASTER_SITES=  http://www.ijs.si/software/amavisd/ \
                http://mirrors.catpipe.net/amavisd-new/ \
                http://ftp.cfu.net/pub/amavisd-new/ \
                ftp://ftp.cfu.net/pub/amavisd-new/
 
-VERSION=       2.3.3
+VERSION=       2.4.2
 PATCHLEVEL=    # empty
 
 MAINTAINER=    jdunn%aquezada.com@localhost






--- amavisd.conf.orig   2006-06-27 11:31:50.000000000 +0000
+++ amavisd.conf        2006-08-29 18:20:58.000000000 +0000
@@ -14,15 +14,15 @@
 # @bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam code
 
 $max_servers = 2;            # num of pre-forked children (2..15 is common), -m
-$daemon_user  = 'vscan';     # (no default;  customary: vscan or amavis), -u
-$daemon_group = 'vscan';     # (no default;  customary: vscan or amavis), -g
+$daemon_user  = '@AMAVIS_USER@';     # (no default;  customary: vscan or 
amavis), -u
+$daemon_group = '@AMAVIS_GROUP@';     # (no default;  customary: vscan or 
amavis), -g
 
 $mydomain = 'example.com';   # a convenient default for other settings
 
-# $MYHOME = '/var/amavis';   # a convenient default for other settings, -H
+$MYHOME = '@AMAVIS_DIR@';   # a convenient default for other settings, -H
 $TEMPBASE = "$MYHOME/tmp";   # working directory, needs to exist, -T
 $ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR
-$QUARANTINEDIR = '/var/virusmails';  # -Q
+$QUARANTINEDIR = '@AMAVIS_QUARANTINE@';  # -Q
 # $quarantine_subdir_levels = 1;  # add level of subdirs to disperse quarantine
 
 # $daemon_chroot_dir = $MYHOME;   # chroot directory or undef, -R
@@ -91,7 +91,7 @@
 # $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';
 # $dspam = 'dspam';
 
 $MAXLEVELS = 14;




Home | Main Index | Thread Index | Old Index