FreeBSD Bugzilla – Attachment 111442 Details for
Bug 152709
[PATCH] mail/mimedefang: remove PERL_SITELIBDIR, respect NOPORTEXAMPLES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mimedefang-2.68.patch
mimedefang-2.68.patch (text/plain), 6.13 KB, created by
Po-Chuan Hsieh
on 2010-11-30 16:30:12 UTC
(
hide
)
Description:
mimedefang-2.68.patch
Filename:
MIME Type:
Creator:
Po-Chuan Hsieh
Created:
2010-11-30 16:30:12 UTC
Size:
6.13 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/mail/mimedefang/Makefile,v >retrieving revision 1.68 >diff -u -u -r1.68 Makefile >--- Makefile 5 Sep 2010 05:04:16 -0000 1.68 >+++ Makefile 30 Nov 2010 16:15:44 -0000 >@@ -14,15 +14,14 @@ > COMMENT= Milter based anti-spam and anti-virus filtering program > > BUILD_DEPENDS= \ >- ${PERL_SITELIBDIR}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \ >+ ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \ > p5-MIME-Tools>=5.417:${PORTSDIR}/mail/p5-MIME-Tools \ >- ${PERL_SITELIBDIR}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \ >- ${PERL_SITELIBDIR}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ >- ${PERL_SITELIBDIR}/Mail/SpamAssassin.pm:${PORTSDIR}/mail/p5-Mail-SpamAssassin >+ ${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \ >+ ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ >+ ${SITE_PERL}/Mail/SpamAssassin.pm:${PORTSDIR}/mail/p5-Mail-SpamAssassin > RUN_DEPENDS= ${BUILD_DEPENDS} > > USE_PERL5= yes >-PERL_SITELIBDIR= ${SITE_PERL} > GNU_CONFIGURE= yes > > MAILUSER?= mailnull >@@ -37,11 +36,10 @@ > --with-quarantinedir=${QUARANTINEDIR} \ > --prefix=${PREFIX} > >- > .if defined (MIMEDEFANG_DISABLE_CLAMAV) > CONFIGURE_ARGS+= --disable-antivirus \ > --disable-clamav \ >- --disable-clamd >+ --disable-clamd > .endif > > MAN5= mimedefang-filter.5 >@@ -49,13 +47,15 @@ > MAN8= mimedefang.8 mimedefang.pl.8 mimedefang-multiplexor.8 \ > md-mx-ctrl.8 watch-mimedefang.8 watch-multiple-mimedefangs.8 > >+SUB_FILES= pkg-message >+ > .include <bsd.port.pre.mk> > > .if !exists( /usr/include/libmilter/mfapi.h ) > BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail > .endif > >-.if exists( /usr/local/include/libmilter/mfapi.h ) >+.if exists( ${LOCALBASE}/include/libmilter/mfapi.h ) > CONFIGURE_ARGS+= --with-milterinc=${LOCALBASE}/include --with-milterlib=${LOCALBASE}/lib > .endif > >@@ -69,12 +69,13 @@ > @${REINPLACE_CMD} -e 's,%%CHMOD%%,${CHMOD},g' ${WRKSRC}/examples/init-script > @${INSTALL_SCRIPT} ${WRKSRC}/examples/init-script ${PREFIX}/etc/rc.d/mimedefang > .if !defined(NOPORTDOCS) >- @${MKDIR} ${EXAMPLESDIR} > @${MKDIR} ${DOCSDIR} >- @${INSTALL_DATA} ${WRKSRC}/examples/stream-by-domain-filter ${EXAMPLESDIR} >- @${INSTALL_DATA} ${WRKSRC}/examples/suggested-minimum-filter-for-windows-clients ${EXAMPLESDIR} >- @${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR} >- @${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR} >+ @${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}/ >+.endif >+.if !defined(NOPORTEXAMPLES) >+ @${MKDIR} ${EXAMPLESDIR} >+ @cd ${WRKSRC}/examples/ && ${INSTALL_DATA} stream-by-domain-filter \ >+ suggested-minimum-filter-for-windows-clients README ${EXAMPLESDIR}/ > .endif > @[ -d ${SPOOLDIR} ] && ${CHGRP} ${MAILUSER} ${SPOOLDIR} > @[ -d ${QUARANTINEDIR} ] && ${CHGRP} ${MAILUSER} ${QUARANTINEDIR} >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/mail/mimedefang/distinfo,v >retrieving revision 1.49 >diff -u -u -r1.49 distinfo >--- distinfo 13 Aug 2010 08:41:13 -0000 1.49 >+++ distinfo 30 Nov 2010 16:15:44 -0000 >@@ -1,3 +1,2 @@ >-MD5 (mimedefang-2.68.tar.gz) = b988d34b7d656fcf007a00c23565ed20 > SHA256 (mimedefang-2.68.tar.gz) = af6d947eef87f00fe513045bf79828808ea42b9cf70eaee033d5e96e73edf61a > SIZE (mimedefang-2.68.tar.gz) = 342973 >Index: pkg-message >=================================================================== >RCS file: pkg-message >diff -N pkg-message >--- pkg-message 6 Feb 2007 04:53:48 -0000 1.5 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,20 +0,0 @@ >-To finish installation please follow these steps: >- >-1. Edit /usr/local/etc/mimedefang/mimedefang-filter >- >-2. Reconfigure sendmail to use MIMEDefang, for example add this lines to >- your sendmail.mc: >- >- MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')dnl >- 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/clamav >- Open source AV package with automatic virus definition updates >- security/f-prot >- F-Prot Antivirus for BSD Workstations >- security/vscan >- Evaluation version of a DOS/Windows/Linux file virus scanner >Index: pkg-plist >=================================================================== >RCS file: /home/ncvs/ports/mail/mimedefang/pkg-plist,v >retrieving revision 1.16 >diff -u -u -r1.16 pkg-plist >--- pkg-plist 13 Aug 2010 08:41:13 -0000 1.16 >+++ pkg-plist 30 Nov 2010 16:15:44 -0000 >@@ -18,11 +18,11 @@ > %%PORTDOCS%%%%DOCSDIR%%/README.TRU64 > %%PORTDOCS%%%%DOCSDIR%%/README.IRIX > %%PORTDOCS%%%%DOCSDIR%%/README.VEXIRA >-%%PORTDOCS%%%%EXAMPLESDIR%%/suggested-minimum-filter-for-windows-clients >-%%PORTDOCS%%%%EXAMPLESDIR%%/stream-by-domain-filter >-%%PORTDOCS%%%%EXAMPLESDIR%%/README >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stream-by-domain-filter >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/suggested-minimum-filter-for-windows-clients >+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% > %%PORTDOCS%%@dirrm %%DOCSDIR%% >-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% > @dirrm etc/mimedefang > @cwd /var/spool > @dirrm MIMEDefang >Index: files/pkg-message.in >=================================================================== >RCS file: files/pkg-message.in >diff -N files/pkg-message.in >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/pkg-message.in 30 Nov 2010 16:15:44 -0000 >@@ -0,0 +1,20 @@ >+To finish installation please follow these steps: >+ >+1. Edit %%ETCDIR%%/mimedefang-filter >+ >+2. Reconfigure sendmail to use MIMEDefang, for example add this lines to >+ your sendmail.mc: >+ >+ MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')dnl >+ 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/clamav >+ Open source AV package with automatic virus definition updates >+ security/f-prot >+ F-Prot Antivirus for BSD Workstations >+ security/vscan >+ Evaluation version of a DOS/Windows/Linux file virus scanner
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 152709
: 111442