Date: Sat, 7 Sep 2002 02:41:16 +0400 (MSD) From: "Andrey V. Pevnev" <andrey@mgul.ac.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/42494: Update port: mail/mimedefang from 2.19 to 2.20 Message-ID: <200209062241.g86MfGDr038861@ns1.mgul.ac.ru>
next in thread | raw e-mail | index | archive | help
>Number: 42494 >Category: ports >Synopsis: Update port: mail/mimedefang from 2.19 to 2.20 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Sep 06 15:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Andrey V. Pevnev >Release: FreeBSD 4.6.1-RELEASE-p11 i386 >Organization: Moscow State Forestry University >Environment: System: FreeBSD ns1.mgul.ac.ru 4.6.1-RELEASE-p11 FreeBSD 4.6.1-RELEASE-p11 #0: Wed Aug 14 11:23:48 MSD 2002 andrey@ns1.mgul.ac.ru:/usr/obj/.amd_mnt/ns/host/usr/src/sys/NS1 i386 >Description: Update port mail/mimedefang from version 2.19 to 2.20 >How-To-Repeat: >Fix: --- mimedefang.diff begins here --- diff -ruN mimedefang.bak/Makefile mimedefang/Makefile --- mimedefang.bak/Makefile Sat Sep 7 02:01:33 2002 +++ mimedefang/Makefile Sat Sep 7 02:14:35 2002 @@ -6,7 +6,7 @@ # PORTNAME= mimedefang -PORTVERSION= 2.19 +PORTVERSION= 2.20 CATEGORIES= mail MASTER_SITES= http://www.roaringpenguin.com/mimedefang/ @@ -23,7 +23,9 @@ USE_PERL5= yes PERL_SITELIBDIR= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/mimedefang --with-confsubdir= +CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/mimedefang \ + --with-confsubdir= \ + --with-user=mailnull MAN5= mimedefang-filter.5 MAN7= mimedefang-protocol.7 @@ -43,8 +45,6 @@ @${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR} .endif - @${CHOWN} mailnull:mailnull /var/spool/MIMEDefang - @${CHMOD} 700 /var/spool/MIMEDefang @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff -ruN mimedefang.bak/distinfo mimedefang/distinfo --- mimedefang.bak/distinfo Sat Sep 7 02:01:33 2002 +++ mimedefang/distinfo Sat Sep 7 02:03:07 2002 @@ -1 +1 @@ -MD5 (mimedefang-2.19.tar.gz) = 7be1744ce6aae957e8bae21e7c597c5b +MD5 (mimedefang-2.20.tar.gz) = cf1513a79581e622d30a8b569bedf8a2 diff -ruN mimedefang.bak/files/patch-Makefile.in mimedefang/files/patch-Makefile.in --- mimedefang.bak/files/patch-Makefile.in Sat Sep 7 02:01:33 2002 +++ mimedefang/files/patch-Makefile.in Sat Sep 7 02:18:28 2002 @@ -1,8 +1,11 @@ ---- Makefile.in.orig Thu Aug 22 10:50:20 2002 -+++ Makefile.in Thu Aug 22 11:24:27 2002 -@@ -112,9 +112,8 @@ - -mkdir -p $(RPM_INSTALL_ROOT)@SPOOLDIR@ && chmod 700 $(RPM_INSTALL_ROOT)@SPOOLDIR@ - -mkdir -p $(RPM_INSTALL_ROOT)@QDIR@ && chmod 700 $(RPM_INSTALL_ROOT)@QDIR@ +--- Makefile.in.orig Sat Sep 7 02:05:48 2002 ++++ Makefile.in Sat Sep 7 02:18:17 2002 +@@ -128,11 +128,10 @@ + -mkdir -p $(RPM_INSTALL_ROOT)$(MANDIR)/man7 + -mkdir -p $(RPM_INSTALL_ROOT)$(MANDIR)/man8 + -test ! -d $(RPM_INSTALL_ROOT)@SPOOLDIR@ && mkdir -p $(RPM_INSTALL_ROOT)@SPOOLDIR@ && chmod 700 $(RPM_INSTALL_ROOT)@SPOOLDIR@ +- -test ! -d $(RPM_INSTALL_ROOT)@QDIR@ mkdir -p $(RPM_INSTALL_ROOT)@QDIR@ && chmod 700 $(RPM_INSTALL_ROOT)@QDIR@ ++ -test ! -d $(RPM_INSTALL_ROOT)@QDIR@ && mkdir -p $(RPM_INSTALL_ROOT)@QDIR@ && chmod 700 $(RPM_INSTALL_ROOT)@QDIR@ - if test -f $(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter ; then \ - @INSTALL@ -m 644 examples/suggested-minimum-filter-for-windows-clients $(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter.example || exit 1; \ @@ -12,7 +15,7 @@ @INSTALL@ -m 644 examples/suggested-minimum-filter-for-windows-clients $(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter || exit 1; \ fi -@@ -127,10 +126,9 @@ +@@ -145,10 +144,9 @@ @INSTALL@ -m 644 mimedefang-filter.5 $(RPM_INSTALL_ROOT)$(MANDIR)/man5/mimedefang-filter.5 @INSTALL@ -m 644 mimedefang-protocol.7 $(RPM_INSTALL_ROOT)$(MANDIR)/man7/mimedefang-protocol.7 if test "$(HAVE_SPAM_ASSASSIN)" = "yes" ; then \ diff -ruN mimedefang.bak/files/patch-init-script.in mimedefang/files/patch-init-script.in --- mimedefang.bak/files/patch-init-script.in Sat Sep 7 02:01:33 2002 +++ mimedefang/files/patch-init-script.in Sat Sep 7 02:06:38 2002 @@ -1,11 +1,11 @@ ---- examples/init-script.in.orig Sat Jun 15 19:27:26 2002 -+++ examples/init-script.in Sat Jun 15 19:28:03 2002 +--- examples/init-script.in.orig Sat Sep 7 02:04:17 2002 ++++ examples/init-script.in Sat Sep 7 02:05:03 2002 @@ -37,7 +37,7 @@ MULTIPLEXOR=yes # Run the multiplexor and filters as this user, not root. RECOMMENDED --# MX_USER=defang -+MX_USER=mailnull +-# MX_USER=@DEFANGUSER_DEFAULT@ ++MX_USER=@DEFANGUSER_DEFAULT@ # If you want to keep spool directories around if the filter fails, # set the next one to yes --- mimedefang.diff ends here --- >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?200209062241.g86MfGDr038861>