Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 02:48:44 +0400 (MSD)
From:      "Andrey V. Pevnev" <andrey@mgul.ac.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44183: Update port: mail/mimedefang from 2.21 to 2.22
Message-ID:  <200210172248.g9HMmi0l025662@ns1.mgul.ac.ru>

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

>Number:         44183
>Category:       ports
>Synopsis:       Update port: mail/mimedefang from 2.21 to 2.22
>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:   Thu Oct 17 15:50: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 from version 2.21 to 2.22, added a note about anti-virus software and now we are editing
init-script instead of patching it.

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

>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	Fri Oct 18 02:09:17 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mimedefang
-PORTVERSION=	2.21
+PORTVERSION=	2.22
 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	Fri Oct 18 01:49:49 2002
@@ -1 +1 @@
-MD5 (mimedefang-2.21.tar.gz) = 9feefde1796b1f05798d38ded011a560
+MD5 (mimedefang-2.22.tar.gz) = 3e5f40f1fd6631f5d532a567ccd85fef
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	Fri Oct 18 01:54:20 2002
@@ -12,6 +12,7 @@
 %%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?200210172248.g9HMmi0l025662>