Date: 7 Oct 2001 05:36:27 -0000 From: svenasse@polaris.ca To: FreeBSD-gnats-submit@freebsd.org Cc: roman@xpert.com Subject: ports/31095: Update port: security/amavis-perl from 10 to 11 Message-ID: <20011007053627.51314.qmail@pris.polaris.ca>
next in thread | raw e-mail | index | archive | help
>Number: 31095 >Category: ports >Synopsis: Update port: security/amavis-perl from 10 to 11 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Oct 06 22:40:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Seamus Venasse >Release: FreeBSD 4.3-STABLE i386 >Organization: Polaris Computing >Environment: System: FreeBSD kaiser-old.polaris.ca 4.3-STABLE FreeBSD 4.3-STABLE #3: Tue Sep 4 01:09:13 PDT 2001 root@kaiser-old.polaris.ca:/usr/obj/usr/src/sys/NEXUS7 i386 >Description: This is also a maintainer update. Roman no longer has time to update this port and has agreed to hand the port to me. Changes include: - support for additional MTAs (currently sendmail and qmail) - proper install/deinstall scripts for the port for all MTAs Removed pkg-deinstall Removed pkg-install Removed pkg-message Added pkg-install.sendmail Added pkg-install.qmail Added pkg-deinstall.sendmail Added pkg-deinstall.qmail Added pkg-message.sendmail Added pkg-message.qmail >How-To-Repeat: >Fix: diff -ruN /usr/ports/security/amavis-perl/Makefile amavis-perl/Makefile --- /usr/ports/security/amavis-perl/Makefile Wed Aug 15 13:33:14 2001 +++ amavis-perl/Makefile Sat Oct 6 20:19:26 2001 @@ -1,22 +1,21 @@ # New ports collection makefile for: amavis -# Date Created: 13 Nov 2000 -# Whom: Roman Shterenzon <roman@xpert.com> +# Date Created: 2001/10/06 +# Whom: Seamus Venasse <svenasse@polaris.ca> # # $FreeBSD: ports/security/amavis-perl/Makefile,v 1.4 2001/08/15 20:33:14 knu Exp $ # PORTNAME= amavis-perl -PORTVERSION= 10 +PORTVERSION= 11 CATEGORIES= security MASTER_SITES= http://www.amavis.org/dist/perl/ -MAINTAINER= roman@xpert.com +MAINTAINER= svenasse@polaris.ca BUILD_DEPENDS= ${LOCALBASE}/bin/uvscan:${PORTSDIR}/security/vscan \ ${LOCALBASE}/bin/lha:${PORTSDIR}/archivers/lha \ ${LOCALBASE}/bin/unarj:${PORTSDIR}/archivers/unarj \ ${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \ - ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \ ${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo \ ${LOCALBASE}/bin/arc:${PORTSDIR}/archivers/arc \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/IO/AtomicFile.pm:${PORTSDIR}/devel/p5-IO-stringy \ @@ -27,26 +26,54 @@ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip .if !exists(/usr/bin/bzip2) BUILD_DEPENDS+= bunzip2:${PORTSDIR}/archivers/bzip2 .endif RUN_DEPENDS= ${BUILD_DEPENDS} GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --disable-qmail --disable-postfix --disable-exim --with-virusdir=/var/spool/quarantine --enable-relay +CONFIGURE_ARGS+= --with-virusdir=/var/spool/quarantine --with-runtime-dir=/var/log/amavis \ + --with-logdir=/var/log/amavis + +.if defined(WITH_QMAIL) +MTA?= qmail +DIROWNER?= qmailq:qmail +CONFIGURE_ARGS+= --enable-qmail +.if exists(${LOCALBASE}/qmail/bin/qmail-send) +QMAIL_DIR?= ${LOCALBASE}/qmail +.else +QMAIL_DIR?= /var/qmail +.endif +BUILD_DEPENDS+= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif + +.if !defined(MTA) +MTA?= sendmail +DIROWNER?= root:daemon +CONFIGURE_ARGS+= --enable-relay +.endif + +PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.${MTA} +PKGINSTALL= ${PKGDIR}/pkg-install.${MTA} do-install: + @${MKDIR} /var/log/amavis + @${MKDIR} /var/spool/quarantine ${INSTALL_SCRIPT} ${WRKSRC}/amavis/amavis ${PREFIX}/sbin .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/amavis -.for i in README README.exim README.postfix README.sendmail README.scanners doc/amavis.txt + @${MKDIR} ${PREFIX}/share/doc/amavis +.for i in README README.exim README.qmail README.milter README.postfix README.sendmail README.scanners doc/amavis.txt ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/amavis .endfor .endif post-install: + @${CHOWN} ${DIROWNER} /var/log/amavis /var/spool/quarantine + @${CHMOD} 0755 /var/log/amavis /var/spool/quarantine @PKG_PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} _ POST-INSTALL - @${CAT} ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE}.${MTA} .include <bsd.port.mk> diff -ruN /usr/ports/security/amavis-perl/distinfo amavis-perl/distinfo --- /usr/ports/security/amavis-perl/distinfo Sat Jan 6 23:38:32 2001 +++ amavis-perl/distinfo Tue Sep 25 19:53:00 2001 @@ -1 +1 @@ -MD5 (amavis-perl-10.tar.gz) = 48acf27fa6d418863b4094dac8bdafe8 +MD5 (amavis-perl-11.tar.gz) = e19bfabb2da4aeccc8227766995442d5 diff -ruN /usr/ports/security/amavis-perl/files/patch-aa amavis-perl/files/patch-aa --- /usr/ports/security/amavis-perl/files/patch-aa Sat Jan 6 23:38:32 2001 +++ amavis-perl/files/patch-aa Sat Oct 6 15:44:11 2001 @@ -1,11 +1,11 @@ ---- configure.orig Thu Dec 7 19:04:06 2000 -+++ configure Sun Dec 31 15:22:09 2000 -@@ -1109,16 +1109,16 @@ +--- configure.orig Tue Sep 25 19:59:02 2001 ++++ configure Sat Oct 6 15:42:18 2001 +@@ -1477,16 +1477,16 @@ { echo "configure: error: Sorry, you need the "file" command" 1>&2; exit 1; } fi -echo $ac_n "checking if file can be brief""... $ac_c" 1>&6 --echo "configure:1114: checking if file can be brief" >&5 +-echo "configure:1482: checking if file can be brief" >&5 -$file -b /bin/sh > /dev/null 2>&1 -if test $? -ne 0 ; then - { echo "configure: error: @@ -15,7 +15,7 @@ - echo "$ac_t""yes" 1>&6 -fi +#echo $ac_n "checking if file can be brief""... $ac_c" 1>&6 -+#echo "configure:1114: checking if file can be brief" >&5 ++#echo "configure:1482: checking if file can be brief" >&5 +#$file -b /bin/sh > /dev/null 2>&1 +#if test $? -ne 0 ; then +# { echo "configure: error: @@ -25,9 +25,9 @@ +# echo "$ac_t""yes" 1>&6 +#fi - for ac_prog in grep + for ac_prog in id do -@@ -1775,7 +1775,7 @@ +@@ -2875,7 +2875,7 @@ if test ! -f "$sendmail_cf_orig" ; then if test -f /etc/sendmail.cf ; then sendmail_cf_orig=/etc/sendmail.orig.cf diff -ruN /usr/ports/security/amavis-perl/files/patch-ab amavis-perl/files/patch-ab --- /usr/ports/security/amavis-perl/files/patch-ab Sat Jan 6 23:38:32 2001 +++ amavis-perl/files/patch-ab Sat Oct 6 15:47:00 2001 @@ -1,15 +1,15 @@ ---- amavis/amavis.in.orig Sun Dec 31 15:16:34 2000 -+++ amavis/amavis.in Sun Dec 31 15:24:31 2000 -@@ -414,7 +414,7 @@ +--- amavis/amavis.in.orig Sat Oct 6 15:44:32 2001 ++++ amavis/amavis.in Sat Oct 6 15:46:24 2001 +@@ -469,7 +469,7 @@ do_exit($REGERR, __LINE__); } - my $filetype = `$file -b $TEMPDIR/parts/$part`; + my $filetype = `$file $TEMPDIR/parts/$part`; chop $filetype; - do_debug("File-type of $part: $filetype\n"); + do_log(4,"File-type of $part: $filetype"); -@@ -609,7 +609,7 @@ +@@ -663,7 +663,7 @@ } # older versions of file report tnef files as data diff -ruN /usr/ports/security/amavis-perl/pkg-deinstall amavis-perl/pkg-deinstall --- /usr/ports/security/amavis-perl/pkg-deinstall Sat Jan 6 23:38:32 2001 +++ amavis-perl/pkg-deinstall Wed Dec 31 16:00:00 1969 @@ -1,28 +0,0 @@ -#!/bin/sh -# $FreeBSD: ports/security/amavis-perl/pkg-deinstall,v 1.1 2001/01/07 07:38:32 will Exp $ - -prefix=/usr/local -PATH="/bin:/usr/bin" - -if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 -fi - -if [ -f /etc/sendmail.cf.pre-amavis ]; then - CFG=/etc -elif [ -f /etc/mail/sendmail.cf.pre-amavis ]; then - CFG=/etc/mail -else - echo "No sendmail.cf.pre-amavis found, are you sure that amavis was installed?" - exit 1 -fi - -rm -f ${CFG}/sendmail.cf -rm -f ${CFG}/sendmail.orig.cf -mv ${CFG}/sendmail.cf.pre-amavis ${CFG}/sendmail.cf -sed /^virusalert/d ${CFG}/aliases > ${CFG}/aliases.tmp -mv ${CFG}/aliases.tmp ${CFG}/aliases -newaliases -rmdir /var/spool/mqamavis 2>/dev/null || echo "You may wish to inspect /var/spool/mqamavis directory by yourself and remove it" -rmdir /var/spool/quarantine 2>/dev/null || echo "You may wish to inspect /var/spool/quarantine directory by yourself and remove it" -exit 0 diff -ruN /usr/ports/security/amavis-perl/pkg-deinstall.qmail amavis-perl/pkg-deinstall.qmail --- /usr/ports/security/amavis-perl/pkg-deinstall.qmail Wed Dec 31 16:00:00 1969 +++ amavis-perl/pkg-deinstall.qmail Sat Oct 6 19:50:20 2001 @@ -0,0 +1,25 @@ +#!/usr/bin/perl + +use strict; + +my $qmailDir; + +# ensure we are running only as post installation +exit 0 if $ARGV[ 1 ] ne "POST-DEINSTALL"; + +# find location of qmail +if ( -f "/var/qmail/bin/qmail-send" ) { + $qmailDir = "/var/qmail"; +} else { + $qmailDir = "/usr/local/qmail"; +} + +print "==> Removing virusalert user\n"; +unlink "${qmailDir}/alias/.qmail-virusalert"; + +print "==> Removing amavis from qmail\n"; +unlink "${qmailDir}/bin/qmail-queue"; +system( "mv ${qmailDir}/bin/qmail-queue-real ${qmailDir}/bin/qmail-queue" ); + +print "==> Removing mode from suidperl\n"; +chmod 0511, "/usr/bin/suidperl"; diff -ruN /usr/ports/security/amavis-perl/pkg-deinstall.sendmail amavis-perl/pkg-deinstall.sendmail --- /usr/ports/security/amavis-perl/pkg-deinstall.sendmail Wed Dec 31 16:00:00 1969 +++ amavis-perl/pkg-deinstall.sendmail Sat Oct 6 16:39:14 2001 @@ -0,0 +1,28 @@ +#!/bin/sh +# $FreeBSD: ports/security/amavis-perl/pkg-deinstall,v 1.1 2001/01/07 07:38:32 will Exp $ + +prefix=/usr/local +PATH="/bin:/usr/bin" + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +if [ -f /etc/sendmail.cf.pre-amavis ]; then + CFG=/etc +elif [ -f /etc/mail/sendmail.cf.pre-amavis ]; then + CFG=/etc/mail +else + echo "No sendmail.cf.pre-amavis found, are you sure that amavis was installed?" + exit 1 +fi + +rm -f ${CFG}/sendmail.cf +rm -f ${CFG}/sendmail.orig.cf +mv ${CFG}/sendmail.cf.pre-amavis ${CFG}/sendmail.cf +sed /^virusalert/d ${CFG}/aliases > ${CFG}/aliases.tmp +mv ${CFG}/aliases.tmp ${CFG}/aliases +newaliases +rmdir /var/spool/mqamavis 2>/dev/null || echo "You may wish to inspect /var/spool/mqamavis directory by yourself and remove it" +rmdir /var/spool/quarantine 2>/dev/null || echo "You may wish to inspect /var/spool/quarantine directory by yourself and remove it" +exit 0 diff -ruN /usr/ports/security/amavis-perl/pkg-descr amavis-perl/pkg-descr --- /usr/ports/security/amavis-perl/pkg-descr Sat Jan 6 23:38:32 2001 +++ amavis-perl/pkg-descr Tue Sep 25 20:38:25 2001 @@ -12,4 +12,4 @@ WWW: http://www.amavis.org/ -Roman Shterenzon <roman@xpert.com> +Seamus Venasse <svenasse@polaris.ca> diff -ruN /usr/ports/security/amavis-perl/pkg-install amavis-perl/pkg-install --- /usr/ports/security/amavis-perl/pkg-install Thu May 31 05:08:54 2001 +++ amavis-perl/pkg-install Wed Dec 31 16:00:00 1969 @@ -1,99 +0,0 @@ -#!/usr/bin/perl -# Roman Shterenzon <roman@xpert.com> 27/12/2000 -# $FreeBSD: ports/security/amavis-perl/pkg-install,v 1.2 2001/05/31 12:08:54 olgeni Exp $ - -use strict; - -$ENV{'PATH'}='/bin:/usr/bin'; - -my $cfg; -my $result; - -exit 0 if $ARGV[1] ne "POST-INSTALL"; - -if ( -f '/etc/mail/sendmail.cf' ) { - $cfg='/etc/mail'; -} -elsif ( -f '/etc/sendmail.cf' ) { - $cfg='/etc'; -} -my $cf="$cfg/sendmail.cf"; -my $new="$cfg/amavis.cf"; - -print "===> Adding necessary hooks to sendmail.cf file\n"; - -open(IN, $cf) || die "Cannot open $cf"; -open(OUT, ">$new") || die "Cannot create $new"; - -my $replace=0; - -while(<IN>) { - if ( /^O QueueDirectory/ ) { - $_="O QueueDirectory=/var/spool/mqamavis\n"; - $replace++; - } - elsif ( /O StatusFile/ ) { - $_="O StatusFile=/var/log/amavis.st\n"; - $replace++; - } - elsif ( /^Mlocal/ ) { - print OUT <<'EOF'; -Mamavis, P=/usr/local/sbin/amavis, F=mlsACDFMS5:/|@qhP, S=0, R=0 - T=DNS/RFC822/X-Unix, - A=amavis $f $u - -EOF - $replace++; - } - elsif ( /\s+final\s+parsing$/ ) { - print OUT "R\$*\t\t\t\$#amavis \$:\$1\n"; - $replace++; - } - s/^(DZ.*)/$1av/; - print OUT; -} -close(OUT); -close(IN); -die "I couldn't patch the sendmail.cf file, its format is unknown to me\n" - unless ( $replace == 4 ); - -print "===> Adding alias for virusalert to the aliases file\n"; -if ( ! -f "$cfg/aliases" ) { - print "Can't find aliases file, you have to add an alias for virusalert by yourself\n"; -} -else { - open (IN, "$cfg/aliases") || die "Cannot open aliases file for reading\n"; - my $found; - while(<IN>) { - $found=1, last if /^virusalert/; - } - close(IN); - unless ($found) { - open(OUT, ">>$cfg/aliases") || die "Cannot open aliases file for writing\n"; - print OUT "virusalert:\troot\n"; - close(OUT); - $result=system("newaliases"); - die "Failed to run newaliases command\n" if $result; - } -} - -print "===> Creating /var/spool/mqamavis directory\n"; -if ( ! -d "/var/spool/mqamavis" ) { - mkdir "/var/spool/mqamavis",0755 || die "Can't create /var/spool/mqamavis\n"; -} -my $gid=getgrnam('daemon'); -chown 0, $gid, "/var/spool/mqamavis"; - -print "===> Creating /var/spool/quarantine directory\n"; -if ( ! -d "/var/spool/quarantine" ) { - mkdir "/var/spool/quarantine",0755 || die "Can't create /var/spool/quarantine\n"; -} -chown 0, $gid, "/var/spool/quarantine"; - -die "There's already a $cf.pre-amavis, is amavis already installed?\n" - if -f "$cf.pre-amavis"; -$result=system("cp $cf $cf.pre-amavis"); -die "Failed to copy $cf to $cf.pre-amavis\n" if $result; -rename "$cf", "${cfg}/sendmail.orig.cf" || - die "Unable to rename $cf to ${cfg}/sendmail.orig.cf\n"; -rename "$new", "$cf" || die "Unable to rename $new to $cf\n"; diff -ruN /usr/ports/security/amavis-perl/pkg-install.qmail amavis-perl/pkg-install.qmail --- /usr/ports/security/amavis-perl/pkg-install.qmail Wed Dec 31 16:00:00 1969 +++ amavis-perl/pkg-install.qmail Sat Oct 6 19:45:52 2001 @@ -0,0 +1,39 @@ +#!/usr/bin/perl + +use strict; + +my $qmailDir; +my ( $uid, $gid ); +local *F; + +# ensure we are running only as post installation +exit 0 if $ARGV[ 1 ] ne "POST-INSTALL"; + +# find location of qmail +if ( -f "/var/qmail/bin/qmail-send" ) { + $qmailDir = "/var/qmail"; +} else { + $qmailDir = "/usr/local/qmail"; +} + +# create virusalert use as root +print "==> Creating virusalert user as root\n"; +open( F, ">${qmailDir}/alias/.qmail-virusalert" ); +print F "root\n"; +close( F ); + +# move qmail-queue to qmail-queue-real +print "==> Moving qmail-queue\n"; +if ( ! -f "${qmailDir}/bin/qmail-queue-real" ) { + system( "mv ${qmailDir}/bin/qmail-queue ${qmailDir}/bin/qmail-queue-real" ); + system( "cp /usr/local/sbin/amavis ${qmailDir}/bin/qmail-queue" ); + ( undef, undef, $uid, $gid ) = getpwnam( "qmailq" ); + chown $uid, $gid, "${qmailDir}/bin/qmail-queue"; + chmod 04711, "${qmailDir}/bin/qmail-queue"; +} else { + print "FAILURE: ${qmailDir}/bin/qmail-queue-real already exists!!\n"; + exit 1; +} + +print "==> Changing permissions on suidperl\n"; +chmod 04755, "/usr/bin/suidperl"; diff -ruN /usr/ports/security/amavis-perl/pkg-install.sendmail amavis-perl/pkg-install.sendmail --- /usr/ports/security/amavis-perl/pkg-install.sendmail Wed Dec 31 16:00:00 1969 +++ amavis-perl/pkg-install.sendmail Sat Oct 6 16:39:48 2001 @@ -0,0 +1,93 @@ +#!/usr/bin/perl +# Roman Shterenzon <roman@xpert.com> 27/12/2000 +# $FreeBSD: ports/security/amavis-perl/pkg-install,v 1.2 2001/05/31 12:08:54 olgeni Exp $ + +use strict; + +$ENV{'PATH'}='/bin:/usr/bin'; + +my $cfg; +my $result; + +exit 0 if $ARGV[1] ne "POST-INSTALL"; + +if ( -f '/etc/mail/sendmail.cf' ) { + $cfg='/etc/mail'; +} +elsif ( -f '/etc/sendmail.cf' ) { + $cfg='/etc'; +} +my $cf="$cfg/sendmail.cf"; +my $new="$cfg/amavis.cf"; + +print "===> Adding necessary hooks to sendmail.cf file\n"; + +open(IN, $cf) || die "Cannot open $cf"; +open(OUT, ">$new") || die "Cannot create $new"; + +my $replace=0; + +while(<IN>) { + if ( /^O QueueDirectory/ ) { + $_="O QueueDirectory=/var/spool/mqamavis\n"; + $replace++; + } + elsif ( /O StatusFile/ ) { + $_="O StatusFile=/var/log/amavis.st\n"; + $replace++; + } + elsif ( /^Mlocal/ ) { + print OUT <<'EOF'; +Mamavis, P=/usr/local/sbin/amavis, F=mlsACDFMS5:/|@qhP, S=0, R=0 + T=DNS/RFC822/X-Unix, + A=amavis $f $u + +EOF + $replace++; + } + elsif ( /\s+final\s+parsing$/ ) { + print OUT "R\$*\t\t\t\$#amavis \$:\$1\n"; + $replace++; + } + s/^(DZ.*)/$1av/; + print OUT; +} +close(OUT); +close(IN); +die "I couldn't patch the sendmail.cf file, its format is unknown to me\n" + unless ( $replace == 4 ); + +print "===> Adding alias for virusalert to the aliases file\n"; +if ( ! -f "$cfg/aliases" ) { + print "Can't find aliases file, you have to add an alias for virusalert by yourself\n"; +} +else { + open (IN, "$cfg/aliases") || die "Cannot open aliases file for reading\n"; + my $found; + while(<IN>) { + $found=1, last if /^virusalert/; + } + close(IN); + unless ($found) { + open(OUT, ">>$cfg/aliases") || die "Cannot open aliases file for writing\n"; + print OUT "virusalert:\troot\n"; + close(OUT); + $result=system("newaliases"); + die "Failed to run newaliases command\n" if $result; + } +} + +print "===> Creating /var/spool/mqamavis directory\n"; +if ( ! -d "/var/spool/mqamavis" ) { + mkdir "/var/spool/mqamavis",0755 || die "Can't create /var/spool/mqamavis\n"; +} +my $gid=getgrnam('daemon'); +chown 0, $gid, "/var/spool/mqamavis"; + +die "There's already a $cf.pre-amavis, is amavis already installed?\n" + if -f "$cf.pre-amavis"; +$result=system("cp $cf $cf.pre-amavis"); +die "Failed to copy $cf to $cf.pre-amavis\n" if $result; +rename "$cf", "${cfg}/sendmail.orig.cf" || + die "Unable to rename $cf to ${cfg}/sendmail.orig.cf\n"; +rename "$new", "$cf" || die "Unable to rename $new to $cf\n"; diff -ruN /usr/ports/security/amavis-perl/pkg-message amavis-perl/pkg-message --- /usr/ports/security/amavis-perl/pkg-message Sat Jan 6 23:38:32 2001 +++ amavis-perl/pkg-message Wed Dec 31 16:00:00 1969 @@ -1,3 +0,0 @@ - -Please read documentation on http://www.amavis.org/ before you start using it. - diff -ruN /usr/ports/security/amavis-perl/pkg-message.qmail amavis-perl/pkg-message.qmail --- /usr/ports/security/amavis-perl/pkg-message.qmail Wed Dec 31 16:00:00 1969 +++ amavis-perl/pkg-message.qmail Sat Oct 6 20:06:34 2001 @@ -0,0 +1,20 @@ + +Please read documentation on http://www.amavis.org/ before you start using it. + +SECURITY NOTES: + +The qmail installation already has bin/qmail-queue as suid qmailq. This port +copies bin/qmail-queue to bin/qmail-queue-real and installs itself as +bin/qmail-queue with suid qmailq. + +Additionally, for this port to properly work with qmail, it requires that +/usr/bin/suidperl be suid root. The following changes were made: + +-rwsr-xr-x 3 root wheel 50760 xxx xx xx:xx /usr/bin/suidperl + +ADDITIONAL NOTES: + +An alias for ~alias/.qmail-virusalert to root was created. Modify this file +to meet your requirements. + + diff -ruN /usr/ports/security/amavis-perl/pkg-message.sendmail amavis-perl/pkg-message.sendmail --- /usr/ports/security/amavis-perl/pkg-message.sendmail Wed Dec 31 16:00:00 1969 +++ amavis-perl/pkg-message.sendmail Sat Jan 6 23:38:32 2001 @@ -0,0 +1,3 @@ + +Please read documentation on http://www.amavis.org/ before you start using it. + diff -ruN /usr/ports/security/amavis-perl/pkg-plist amavis-perl/pkg-plist --- /usr/ports/security/amavis-perl/pkg-plist Tue Jan 16 11:08:34 2001 +++ amavis-perl/pkg-plist Sat Oct 6 16:42:18 2001 @@ -2,7 +2,9 @@ %%PORTDOCS%%share/doc/amavis/amavis.txt %%PORTDOCS%%share/doc/amavis/README %%PORTDOCS%%share/doc/amavis/README.exim +%%PORTDOCS%%share/doc/amavis/README.qmail %%PORTDOCS%%share/doc/amavis/README.postfix %%PORTDOCS%%share/doc/amavis/README.sendmail %%PORTDOCS%%share/doc/amavis/README.scanners +%%PORTDOCS%%share/doc/amavis/README.milter %%PORTDOCS%%@dirrm share/doc/amavis >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011007053627.51314.qmail>