Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 01:54:12 +0400 (MSD)
From:      "Andrey V. Pevnev" <andrey@mgul.ac.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44472: Update port: mail/mimedefang from 2.21 to 2.24
Message-ID:  <200210252154.g9PLsCIP002282@ns1.mgul.ac.ru>

next in thread | raw e-mail | index | archive | help

>Number:         44472
>Category:       ports
>Synopsis:       Update port: mail/mimedefang from 2.21 to 2.24
>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 Oct 25 15:00:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrey V. Pevnev
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
Moscow State Forestry University
>Environment:
System: FreeBSD ns1.mgul.ac.ru 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Fri Oct 11 19:04:23 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.21 to 2.24
Many bug fixes and important security fix, also port now editing init-script instead of
patching it.

Removed files:	files/patch-init-script.in

Please, close ports/44183 and commit this instead.

BTW, is it a hard to stay ports-commiter ? ;-)
>How-To-Repeat:
>Fix:
--- mimedefang.diff begins here ---
diff -ruN mimedefang.bak/Makefile mimedefang/Makefile
--- mimedefang.bak/Makefile	Fri Oct 18 02:08:38 2002
+++ mimedefang/Makefile	Sat Oct 26 01:23:35 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mimedefang
-PORTVERSION=	2.21
+PORTVERSION=	2.24
 CATEGORIES=	mail
 MASTER_SITES=	http://www.roaringpenguin.com/mimedefang/
 
@@ -21,6 +21,7 @@
 	${PERL_SITELIBDIR}/Mail/SpamAssassin.pm:${PORTSDIR}/mail/p5-Mail-SpamAssassin
 
 USE_PERL5=	yes
+USE_REINPLACE=	yes
 PERL_SITELIBDIR=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc/mimedefang \
@@ -36,6 +37,9 @@
 .endif
 
 post-install:
+	@${REINPLACE_CMD} -e 's,# MX_USER=,MX_USER=,g ; \
+			s,# MX_MAX_RSS=,MX_MAX_RSS=,g ; \
+			s,# MX_MAX_AS=,MX_MAX_AS=,g' ${WRKSRC}/examples/init-script
 	@${INSTALL_SCRIPT} ${WRKSRC}/examples/init-script ${PREFIX}/etc/rc.d/mimedefang.sh-dist
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${EXAMPLESDIR}
diff -ruN mimedefang.bak/distinfo mimedefang/distinfo
--- mimedefang.bak/distinfo	Fri Oct 18 02:08:38 2002
+++ mimedefang/distinfo	Sat Oct 26 01:23:39 2002
@@ -1 +1 @@
-MD5 (mimedefang-2.21.tar.gz) = 9feefde1796b1f05798d38ded011a560
+MD5 (mimedefang-2.24.tar.gz) = c959a7aaf12c405e74071de826e8b65d
diff -ruN mimedefang.bak/files/patch-init-script.in mimedefang/files/patch-init-script.in
--- mimedefang.bak/files/patch-init-script.in	Fri Oct 18 02:08:38 2002
+++ mimedefang/files/patch-init-script.in	Thu Jan  1 03:00:00 1970
@@ -1,25 +0,0 @@
---- 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=@DEFANGUSER_DEFAULT@
-+MX_USER=@DEFANGUSER_DEFAULT@
- 
- # If you want to keep spool directories around if the filter fails,
- # set the next one to yes
-@@ -99,11 +99,11 @@
- 
- # Limit slave processes' resident-set size to this many kilobytes.  Default
- # is unlimited.
--# MX_MAX_RSS=10000
-+MX_MAX_RSS=10000
- 
- # Limit total size of slave processes' memory space to this many kilobytes.
- # Default is unlimited.
--# MX_MAX_AS=30000
-+MX_MAX_AS=30000
- 
- # Number of seconds a process should be idle before checking for
- # minimum number and killed
diff -ruN mimedefang.bak/pkg-message mimedefang/pkg-message
--- mimedefang.bak/pkg-message	Fri Oct 18 02:08:38 2002
+++ mimedefang/pkg-message	Fri Oct 18 02:25:30 2002
@@ -9,3 +9,8 @@
    define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl
 
    rebuild sendmail.cf and install it.
+
+Also, you can install some anti-virus software to check your mail, for example:
+
+	security/p5-File-Scan (Perl5 anti-virus file scanning package)
+	security/vscan (Evaluation version of a DOS/Windows/Linux file virus scanner)
diff -ruN mimedefang.bak/pkg-plist mimedefang/pkg-plist
--- mimedefang.bak/pkg-plist	Fri Oct 18 02:08:38 2002
+++ mimedefang/pkg-plist	Sat Oct 26 01:23:50 2002
@@ -6,12 +6,12 @@
 etc/mimedefang/mimedefang-filter.example
 @unexec if cmp -s %D/etc/mimedefang/spamassassin/sa-mimedefang.cf %D/etc/mimedefang/spamassassin/sa-mimedefang.cf.example; then rm -f %D/etc/mimedefang/spamassassin/sa-mimedefang.cf; fi
 etc/mimedefang/spamassassin/sa-mimedefang.cf.example
-etc/mimedefang/mimedefang-ip-key
 %%PORTDOCS%%share/doc/mimedefang/README
 %%PORTDOCS%%share/doc/mimedefang/README.ANOMY
 %%PORTDOCS%%share/doc/mimedefang/README.SPAMASSASSIN
 %%PORTDOCS%%share/doc/mimedefang/README.NONROOT
 %%PORTDOCS%%share/doc/mimedefang/README.SECURITY
+%%PORTDOCS%%share/doc/mimedefang/README.IRIX
 %%PORTDOCS%%share/examples/mimedefang/suggested-minimum-filter-for-windows-clients
 %%PORTDOCS%%share/examples/mimedefang/stream-by-domain-filter
 %%PORTDOCS%%share/examples/mimedefang/README
--- 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?200210252154.g9PLsCIP002282>