From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 22 11:40:09 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A4C416A4CE for ; Mon, 22 Mar 2004 11:40:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59E5A43D39 for ; Mon, 22 Mar 2004 11:40:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2MJe9bv066124 for ; Mon, 22 Mar 2004 11:40:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2MJe9Pd066123; Mon, 22 Mar 2004 11:40:09 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 22 Mar 2004 11:40:09 -0800 (PST) Resent-Message-Id: <200403221940.i2MJe9Pd066123@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Blaz Zupan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6930D16A4CE for ; Mon, 22 Mar 2004 11:39:42 -0800 (PST) Received: from out-1.mail.amis.net (out-1.mail.amis.net [212.18.32.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8198143D31 for ; Mon, 22 Mar 2004 11:39:41 -0800 (PST) (envelope-from blaz.zupan@amis.net) Received: from localhost (in-2.mail.amis.net [212.18.32.19]) by out-1.mail.amis.net (Postfix) with ESMTP id 0528F9B36 for ; Mon, 22 Mar 2004 20:39:35 +0100 (CET) Received: from in-2.mail.amis.net ([127.0.0.1]) by localhost (in-2.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68865-02 for ; Mon, 22 Mar 2004 20:39:33 +0100 (CET) Received: from piranha.amis.net (piranha.amis.net [212.18.32.3]) by in-2.mail.amis.net (Postfix) with ESMTP id 0FC9B228605 for ; Mon, 22 Mar 2004 20:39:33 +0100 (CET) Received: from titanic.medinet.si (titanic.medinet.si [212.18.42.5]) by piranha.amis.net (Postfix) with ESMTP id EB595FE55 for ; Mon, 22 Mar 2004 20:39:32 +0100 (CET) Received: by titanic.medinet.si (Postfix, from userid 1000) id DBFBF55473; Mon, 22 Mar 2004 20:39:32 +0100 (CET) Message-Id: <20040322193932.DBFBF55473@titanic.medinet.si> Date: Mon, 22 Mar 2004 20:39:32 +0100 (CET) From: Blaz Zupan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/64589: MAINTAINER UPDATE: fixes for amavisd-new X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Blaz Zupan List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 19:40:09 -0000 >Number: 64589 >Category: ports >Synopsis: MAINTAINER UPDATE: fixes for amavisd-new >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 22 11:40:08 PST 2004 >Closed-Date: >Last-Modified: >Originator: Blaz Zupan >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD titanic.medinet.si 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #3: Sat Dec 20 15:57:16 CET 2003 root@bigbrother.amis.net:/db/obj/usr/src/sys/TITANIC i386 >Description: - fix dependencies for modules already included in perl 5.8 (PR 64374) - remove dependency on Carp::Heavy module which is not available with stock FreeBSD 4.9 perl - add official post -p8 buglet fixes which will be included in -p9 - add size information to distinfo - bump portrevision >How-To-Repeat: >Fix: diff -urN amavisd-new.orig/Makefile amavisd-new/Makefile --- amavisd-new.orig/Makefile Tue Mar 16 07:14:04 2004 +++ amavisd-new/Makefile Mon Mar 22 20:29:14 2004 @@ -8,6 +8,7 @@ PORTNAME= amavisd-new PORTVERSION= 20030616.p8 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.ijs.si/software/amavisd/ \ http://mirrors.catpipe.net/amavisd-new/ \ @@ -17,15 +18,14 @@ MAINTAINER= blaz@si.FreeBSD.org COMMENT= Performance-enhanced daemonized version of amavis-perl -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ - ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \ + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \ ${SITE_PERL}/MIME/Words.pm:${PORTSDIR}/mail/p5-MIME-Tools \ ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \ ${SITE_PERL}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \ ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \ - ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/Net/Server.pm:${PORTSDIR}/net/p5-Net-Server \ ${SITE_PERL}/Mail/SpamAssassin.pm:${PORTSDIR}/mail/p5-Mail-SpamAssassin \ ${LOCALBASE}/bin/arc:${PORTSDIR}/archivers/arc \ @@ -106,7 +106,12 @@ .include -.if ${PERL_LEVEL} < 500601 +.if ${PERL_LEVEL} < 500800 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ + ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes +.endif + +.if ${PERL_LEVEL} < 500600 RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/UNIX.pm:${PORTSDIR}/devel/p5-IO .endif diff -urN amavisd-new.orig/distinfo amavisd-new/distinfo --- amavisd-new.orig/distinfo Tue Mar 16 07:14:04 2004 +++ amavisd-new/distinfo Mon Mar 22 20:06:19 2004 @@ -1 +1,2 @@ MD5 (amavisd-new-20030616-p8.tar.gz) = 5b55cef4ef4cc717b9ee1ed204a1ed96 +SIZE (amavisd-new-20030616-p8.tar.gz) = 328420 diff -urN amavisd-new.orig/files/patch-amavisd amavisd-new/files/patch-amavisd --- amavisd-new.orig/files/patch-amavisd Thu Nov 20 12:00:19 2003 +++ amavisd-new/files/patch-amavisd Mon Mar 22 20:27:16 2004 @@ -1,11 +1,39 @@ ---- amavisd.orig Mon Nov 10 01:22:13 2003 -+++ amavisd Tue Nov 11 22:42:47 2003 -@@ -6279,7 +6279,7 @@ - my($amavisd_path) = find_program_path($0, [split(/:/, $path, -1)], 0); +--- amavisd.orig Tue Mar 9 03:21:43 2004 ++++ amavisd Mon Mar 22 20:26:59 2004 +@@ -109,7 +109,7 @@ + + BEGIN { + fetch_modules('REQUIRED BASIC MODULES', 1, qw( +- Exporter POSIX Fcntl Socket Errno Carp Carp::Heavy Time::HiRes ++ Exporter POSIX Fcntl Socket Errno Carp Time::HiRes + IO::File IO::Socket IO::Socket::UNIX IO::Socket::INET + IO::Handle IO::Wrap IO::Stringy + Digest::MD5 Unix::Syslog File::Basename File::Copy +@@ -5358,7 +5358,8 @@ + } + section_time('parts'); prolong_timer('decoding'); + } +- if ($any_undecipherable) { # test if undecipherables are banned ++ if ($any_undecipherable && $banned_filename_re) { ++ # test if undecipherables are banned + my($rn) = 'UNDECIPHERABLE'; + my($result,$patt) = $banned_filename_re->lookup_re($rn); + if ($result) { +@@ -5920,7 +5921,7 @@ + $s = $undecipherable_subject_tag; + do_log(3,"adding $undecipherable_subject_tag, $any_undecipherable, $hold"); + } +- $s .= $sa_spam_subject_tag; ++ $s .= $sa_spam_subject_tag if $do_subj; + my($entity) = $msginfo->mime_entity; + if (defined $entity && defined $entity->head->get('Subject',0)) { + $hdr_edits->edit_header('Subject', +@@ -6420,7 +6421,7 @@ + local($1); $amavisd_path = $1 if $amavisd_path=~m{^([A-Za-z0-9/._=+-]+)$(?!\n)}; # untaint -my($config_file) = '/etc/amavisd.conf'; # default location of config file +my($config_file) = '%%PREFIX%%/etc/amavisd.conf'; # default location of config file if (@ARGV >= 2 && $ARGV[0] eq '-c') { # override by command line option -c shift @ARGV; $config_file = shift @ARGV; - $config_file = $1 if $config_file=~m{^([A-Za-z0-9/._=+-]+)$(?!\n)};# untaint + local($1); >Release-Note: >Audit-Trail: >Unformatted: