summaryrefslogtreecommitdiff
path: root/mail/spamassassin-dqs/Makefile
diff options
context:
space:
mode:
authorLarry Rosenman <ler@FreeBSD.org>2019-07-10 23:52:14 +0000
committerLarry Rosenman <ler@FreeBSD.org>2019-07-10 23:52:14 +0000
commit36345998c5a5d6559557a566a14ebfc6840cdac5 (patch)
tree0e8421d184314f8c2558edf846fa1849fc144b7e /mail/spamassassin-dqs/Makefile
parent72501976a85a1531ba87488f8e9c87e6b3a93649 (diff)
downloadfreebsd-ports-36345998c5a5d6559557a566a14ebfc6840cdac5.zip
mail/spamassassin-dqs: update to 1.0.3.
fixed leaking of the DQS key in reports, added sh.pre file in which the plugin is loaded and removed previous loading from .cf file
Diffstat (limited to 'mail/spamassassin-dqs/Makefile')
-rw-r--r--mail/spamassassin-dqs/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/spamassassin-dqs/Makefile b/mail/spamassassin-dqs/Makefile
index 07f75b6e50c8..6536f8d76fbc 100644
--- a/mail/spamassassin-dqs/Makefile
+++ b/mail/spamassassin-dqs/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= spamassassin-dqs
-PORTREVISION= 1
DISTVERSIONPREFIX= v
-DISTVERSION= 1.0.2
+DISTVERSION= 1.0.3
CATEGORIES= mail
MAINTAINER= ler@FreeBSD.org
@@ -20,17 +19,19 @@ GH_ACCOUNT= spamhaus
SUB_FILES= pkg-message
PLIST_FILES= etc/mail/spamassassin/SH.pm \
"@sample etc/mail/spamassassin/sh.cf.sample" \
- etc/mail/spamassassin/sh_scores.cf
+ etc/mail/spamassassin/sh_scores.cf \
+ etc/mail/spamassassin/sh.pre
NO_ARCH= yes
NO_BUILD= yes
post-patch:
- @${REINPLACE_CMD} -e 's|<config_directory>|${PREFIX}/etc/mail/spamassassin|' ${WRKSRC}/sh.cf
+ @${REINPLACE_CMD} -e 's|<config_directory>|${PREFIX}/etc/mail/spamassassin|' ${WRKSRC}/sh.pre
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail/spamassassin
${INSTALL_DATA} ${WRKSRC}/sh.cf ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/sh.cf.sample
+ ${INSTALL_DATA} ${WRKSRC}/sh.pre ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/
${INSTALL_DATA} ${WRKSRC}/SH.pm ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/
${INSTALL_DATA} ${WRKSRC}/sh_scores.cf ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/
.include <bsd.port.mk>