update to SpamAssassin 3.0.2

from Ben Lovett <ben at tilderoot.com>
This commit is contained in:
sturm 2004-12-28 21:03:51 +00:00
parent d63c84df20
commit 49c17544a7
4 changed files with 15 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.31 2004/10/31 08:44:44 sturm Exp $ # $OpenBSD: Makefile,v 1.32 2004/12/28 21:03:51 sturm Exp $
COMMENT= "mailfilter to identify and mark spam" COMMENT= "mailfilter to identify and mark spam"
DISTNAME= Mail-SpamAssassin-3.0.1 DISTNAME= Mail-SpamAssassin-3.0.2
PKGNAME= p5-${DISTNAME} PKGNAME= p5-${DISTNAME}
CATEGORIES= mail perl5 CATEGORIES= mail perl5
@ -43,7 +43,7 @@ FAKE_FLAGS= ${DESTDIRNAME}=${WRKINST} \
# regress insists on creating files in $HOME # regress insists on creating files in $HOME
PORTHOME= ${WRKDIR}/temp-home PORTHOME= ${WRKDIR}/temp-home
FAQS= ${FILESDIR}/OpenBSD-SpamAssassin-mini-howto.html FAQ= OpenBSD-SpamAssassin-mini-howto.html
DOCS= README UPGRADE LICENSE procmailrc.example \ DOCS= README UPGRADE LICENSE procmailrc.example \
sample-nonspam.txt sample-spam.txt sample-nonspam.txt sample-spam.txt
LOCALCF= rules/local.cf LOCALCF= rules/local.cf
@ -54,7 +54,10 @@ post-patch:
post-install: post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/SpamAssassin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/SpamAssassin
${INSTALL_DATA_DIR} ${SAMPLE_CONFDIR} ${INSTALL_DATA_DIR} ${SAMPLE_CONFDIR}
${INSTALL_DATA} ${FAQS} ${PREFIX}/share/doc/SpamAssassin @sed -e "s|@SYSCONFDIR@|${SYSCONFDIR}|" \
-e "s|@PREFIX@|${TRUEPREFIX}|" \
${FILESDIR}/${FAQ} > ${WRKSRC}/${FAQ}
cd ${WRKSRC} && ${INSTALL_DATA} ${FAQ} ${PREFIX}/share/doc/SpamAssassin
cd ${WRKSRC} && ${INSTALL_DATA} ${LOCALCF} ${SAMPLE_CONFDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${LOCALCF} ${SAMPLE_CONFDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/SpamAssassin cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/SpamAssassin
cd ${WRKSRC} && pod2man --section=1 spamc/spamc.pod > \ cd ${WRKSRC} && pod2man --section=1 spamc/spamc.pod > \

View File

@ -1,3 +1,3 @@
MD5 (Mail-SpamAssassin-3.0.1.tar.gz) = 759e0486b07c4a03aa340d4a04e1d849 MD5 (Mail-SpamAssassin-3.0.2.tar.gz) = 2a654d0819a730aab3fbbba83da62bc0
RMD160 (Mail-SpamAssassin-3.0.1.tar.gz) = e18f993d88a9c332f526b4bf0b7e5c7031a8bba8 RMD160 (Mail-SpamAssassin-3.0.2.tar.gz) = 8570a849b78a2f83cb02b9cdcc2c0e92ad066b1b
SHA1 (Mail-SpamAssassin-3.0.1.tar.gz) = a3aebae1bf3c97830e540c42dc64791787d966c9 SHA1 (Mail-SpamAssassin-3.0.2.tar.gz) = be69e72c7351df46de3eeed811219adf35b2964d

View File

@ -10,7 +10,7 @@ making use of the spamc/spamd combination.
<pre><b># useradd -s /usr/bin/false -b /nonexistent -u 506 -g =uid _spamdaemon</b></pre> <pre><b># useradd -s /usr/bin/false -b /nonexistent -u 506 -g =uid _spamdaemon</b></pre>
<p>Add this line to <b><code>/etc/rc.local</b></code>: <p>Add this line to <b><code>/etc/rc.local</b></code>:
<pre><b># /usr/local/bin/spamd -u _spamdaemon -d -L -p 4321 -x</b></pre> <pre><b># @PREFIX@/bin/spamd -u _spamdaemon -d</b></pre>
<br> Use that same line to start spamd now. <br> Use that same line to start spamd now.
<p>The final step: put this at the top of your <b><code>.procmailrc</b></code>. <p>The final step: put this at the top of your <b><code>.procmailrc</b></code>.
@ -20,7 +20,7 @@ If you do not want to use procmail please check the
<ul><pre> <ul><pre>
:0fw :0fw
* < 256000 * < 256000
| spamc -p 4321 | spamc
:0e :0e
{ {
@ -37,7 +37,7 @@ The spam filtering is not perfect. But since the feedback is very extensive you
should be able to do what is necessary to get most spam filtered. should be able to do what is necessary to get most spam filtered.
<p>If you want to add custom settings to spamassassin you can create the <p>If you want to add custom settings to spamassassin you can create the
file<code><b> /etc/spamassassin.cf </b></code>. All possible options are file<code><b> @SYSCONFDIR@/mail/spamassassin/local.cf </b></code>. All possible options are
described in:<code><b> man Mail::SpamAssassin::Conf</b></code> described in:<code><b> man Mail::SpamAssassin::Conf</b></code>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2004/10/31 08:44:44 sturm Exp $ @comment $OpenBSD: PLIST,v 1.15 2004/12/28 21:03:51 sturm Exp $
bin/sa-learn bin/sa-learn
bin/spamassassin bin/spamassassin
bin/spamc bin/spamc
@ -83,8 +83,8 @@ ${P5SITE}/Mail/SpamAssassin/Util/RegistrarBoundaries.pm
@man man/man3p/Mail::SpamAssassin::SQLBasedAddrList.3p @man man/man3p/Mail::SpamAssassin::SQLBasedAddrList.3p
@man man/man8/spamd.8 @man man/man8/spamd.8
share/doc/SpamAssassin/ share/doc/SpamAssassin/
share/doc/SpamAssassin/OpenBSD-SpamAssassin-mini-howto.html
share/doc/SpamAssassin/LICENSE share/doc/SpamAssassin/LICENSE
share/doc/SpamAssassin/OpenBSD-SpamAssassin-mini-howto.html
share/doc/SpamAssassin/README share/doc/SpamAssassin/README
share/doc/SpamAssassin/UPGRADE share/doc/SpamAssassin/UPGRADE
share/doc/SpamAssassin/procmailrc.example share/doc/SpamAssassin/procmailrc.example