ports/63912: weekly update of feature requests
Meno Abels
abels at adviser.com
Mon Mar 8 02:50:15 UTC 2004
>Number: 63912
>Category: ports
>Synopsis: weekly update of feature requests
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 07 18:50:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Meno Abels
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
ADVISER Com
>Environment:
System: FreeBSD race 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #6: Mon Feb 23 18:41:05 CET 2004 root at neo.abels.adviser.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
- Make use of b64decode
- Make use of md5 instead of md5sum
- Depends to procmail (formail)
Thank you to Peter Jeremy
>How-To-Repeat:
make deinstall ; make install
>Fix:
diff -ruN /usr/ports/mail/crm114/Makefile /usr/ports/mail/crm114.new/Makefile
--- /usr/ports/mail/crm114/Makefile Mon Mar 1 21:11:38 2004
+++ /usr/ports/mail/crm114.new/Makefile Mon Mar 8 02:28:43 2004
@@ -23,6 +23,9 @@
COMMENT= An Markov based SpamFilter
LIB_DEPENDS= tre.4:${PORTSDIR}/textproc/libtre
+# there is no other then formail on this planet
+RUN_DEPENDS= procmail:${PORTSDIR}/mail/procmail
+
CRM114RELEASENAME=BlameYokohama
@@ -42,11 +45,16 @@
matchtest.crm overalterisolatedtest.crm \
windowtest.crm
+# Peter Jeremy recommended the use of b64decode and md5 20040302
post-build:
${MKDIR} ${WRKSRC}/fbsdinstall
+ ${SED} 's|:mime_decoder: /mewdecode/|:mime_decoder: /b64decode -pr/|' \
+ ${WRKSRC}/mailfilter.cf > ${WRKSRC}/fbsdinstall/mailfilter.cf
.for i in ${CRM_FILES}
${SED} "1s|/usr/bin/crm|${PREFIX}/bin/crm|g" ${WRKSRC}/${i} > ${WRKSRC}/fbsdinstall/${i}
.endfor
+ ${SED} 's|/md5sum/|/md5 -r/|' ${WRKSRC}/mailfilter.crm > ${WRKSRC}/fbsdinstall/mailfilter.crm.md5
+ mv ${WRKSRC}/fbsdinstall/mailfilter.crm.md5 ${WRKSRC}/fbsdinstall/mailfilter.crm
post-install:
.if !defined(NOPORTDOCS)
@@ -56,7 +64,7 @@
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
${MKDIR} ${EXAMPLESDIR}
-.for i in procmailrc.recipe blacklist.mfp mailfilter.cf whitelist.mfp priolist.mfp
+.for i in procmailrc.recipe blacklist.mfp fbsdinstall/mailfilter.cf whitelist.mfp priolist.mfp
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
.endfor
.for i in ${CRM_FILES}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list