1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

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
This commit is contained in:
Larry Rosenman 2019-07-10 23:52:14 +00:00
parent 72501976a8
commit 36345998c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506388
3 changed files with 9 additions and 8 deletions

View File

@ -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>

View File

@ -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

View File

@ -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"
}
]