summaryrefslogtreecommitdiff
path: root/mail/spamassassin/Makefile
diff options
context:
space:
mode:
authorheinz <heinz>2002-10-20 20:09:05 +0000
committerheinz <heinz>2002-10-20 20:09:05 +0000
commit608406201d7f545b8176049abaea295b5ea04c74 (patch)
tree8c31d2a1c73b8fdb8571860af4520c98779f7e2c /mail/spamassassin/Makefile
parent299dbaed5ae718feac6e0ab66a2a60d11b82f671 (diff)
downloadpkgsrc-608406201d7f545b8176049abaea295b5ea04c74.tar.gz
Update to 2.43
Item 1) was already provided by 'inofficial' patch-af for 2.42 (now removed). Two new patches (-ag and -ah) from the SpamAssassin-current repository work around a roblem with razor2 timeouts. Logo 'ninjabutton.png' is now in the correct html directory. Official changes: 1) AWL change reverted; instead of decreasing the AWL bias gradually to allow frequently-seen addresses to get into the "nonspam" area, it now behaves like 2.31 did, in that the AWL simply represents the long-term average score from that correspondent. 2) core-dump bug in spamd worked around, _except for the "-m" switch_. The "-m" switch relies on signal handling in the Perl interpreter, which seems to have some bugs we cannot work around reliably on some platforms, so its use is no longer recommended. 3) some portability fixes for SunOS.
Diffstat (limited to 'mail/spamassassin/Makefile')
-rw-r--r--mail/spamassassin/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 90cd5bd2ff2..400323cc5c9 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2002/10/08 16:41:32 heinz Exp $
+# $NetBSD: Makefile,v 1.11 2002/10/20 20:09:05 heinz Exp $
-DISTNAME= Mail-SpamAssassin-2.42
-PKGNAME= spamassassin-2.42
-PKGREVISION= 1
+DISTNAME= Mail-SpamAssassin-2.43
+PKGNAME= spamassassin-2.43
+PKGREVISION= 0
SVR4_PKGNAME= sa
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/} \
@@ -59,8 +59,11 @@ test: build
pre-configure: perl5-configure
post-configure:
-.for f in README lib/Mail/SpamAssassin/Conf.pm spamd/README.spamd-vpopmail
- @${SED} -e "s,/usr/share,${PREFIX}/share," \
+.for f in INSTALL README lib/Mail/SpamAssassin/Conf.pm \
+ spamd/README.spamd-vpopmail sql/README
+ @${SED} -e "s,/usr/share,${PREFIX}/share,g" \
+ -e "s,/usr/bin,${PREFIX}/bin,g" \
+ -e "s,/usr/lib,${PREFIX}/lib,g" \
-e "s,/etc/mail,${PKG_SYSCONFBASE},g" \
${WRKSRC}/${f} > ${WRKSRC}/${f}.fixed && \
${MV} ${WRKSRC}/${f}.fixed ${WRKSRC}/${f}
@@ -68,16 +71,18 @@ post-configure:
pre-install:
${INSTALL_DATA_DIR} ${EGDIR}
-.for d in html masses/lib/Mail spamd sql tools
+.for d in masses/lib/Mail spamd sql tools
${INSTALL_DATA_DIR} ${DOCDIR}/$d
.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/spamassassin
+ ${INSTALL_DATA} ${WRKSRC}/ninjabutton.png \
+ ${PREFIX}/share/doc/html/spamassassin/
.for f in INSTALL License README TRADEMARK sample-nonspam.txt \
sample-spam.txt sql/README sql/spamassassin.sql \
spamd/README.spamd spamd/README.spamd-vpopmail
${INSTALL_DATA} ${WRKSRC}/$f ${DOCDIR}/$f
.endfor
${INSTALL_DATA} ${WRKSRC}/rules/STATISTICS.txt ${DOCDIR}/
- ${INSTALL_DATA} ${WRKSRC}/ninjabutton.png ${DOCDIR}/html/
${INSTALL_DATA} ${WRKSRC}/masses/lib/Mail/ArchiveIterator.pm \
${DOCDIR}/masses/lib/Mail/ArchiveIterator.pm
@(cd ${WRKSRC}/masses/; \