summaryrefslogtreecommitdiff
path: root/mail/spamassassin-dqs
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
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')
-rw-r--r--mail/spamassassin-dqs/Makefile9
-rw-r--r--mail/spamassassin-dqs/distinfo6
-rw-r--r--mail/spamassassin-dqs/files/pkg-message.in2
3 files changed, 9 insertions, 8 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>
diff --git a/mail/spamassassin-dqs/distinfo b/mail/spamassassin-dqs/distinfo
index 33a1b7cdceaa..fc472338eb27 100644
--- a/mail/spamassassin-dqs/distinfo
+++ b/mail/spamassassin-dqs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1562490275
-SHA256 (spamhaus-spamassassin-dqs-v1.0.2_GH0.tar.gz) = a0721afd6e2d35532fd666c34f8a1b5f9455f7d7e5e103f17d22bf4ea6d676b1
-SIZE (spamhaus-spamassassin-dqs-v1.0.2_GH0.tar.gz) = 13281
+TIMESTAMP = 1562802050
+SHA256 (spamhaus-spamassassin-dqs-v1.0.3_GH0.tar.gz) = 3f15d9a0ef899ea36b4182529eef09d4b83b188c3c46c1cc7fc71791463ac480
+SIZE (spamhaus-spamassassin-dqs-v1.0.3_GH0.tar.gz) = 13714
diff --git a/mail/spamassassin-dqs/files/pkg-message.in b/mail/spamassassin-dqs/files/pkg-message.in
index 37e6ac5f8849..bd0d76a56c49 100644
--- a/mail/spamassassin-dqs/files/pkg-message.in
+++ b/mail/spamassassin-dqs/files/pkg-message.in
@@ -29,7 +29,7 @@ sed -e 's/your_DQS_key/<your key from above>/g' sh.cf.sample >sh.cf
and restart spamassassin
EOM
type: upgrade
- maximum_version: "1.0.2"
+ maximum_version: "1.0.3"
}
]