Skip to content

Commit

Permalink
mail/spamassassin*: Keep sa-update-keys
Browse files Browse the repository at this point in the history
sa-update-keys was removed in 2015 due to upstream bug #7208. The
requestor asks that they be retained after deinstall to facilite
updates.

Reported by:	ler
  • Loading branch information
cschuber committed Feb 7, 2024
1 parent ba57771 commit 528a08b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mail/spamassassin-devel/Makefile
@@ -1,6 +1,6 @@
PORTNAME= spamassassin
PORTVERSION= ${SA_COMMIT_DATE}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES?= mail perl5
PKGNAMESUFFIX= -devel

Expand Down
3 changes: 3 additions & 0 deletions mail/spamassassin-devel/files/pkg-message.in
Expand Up @@ -23,6 +23,9 @@ You should complete the following post-installation tasks:
5) Install mail/spamass-rules if you want some third-party
spam-catching rulesets

6) Remove %%ETCDIR%%/sa-update-keys if this software is no
longer needed.

SECURITY NOTE:
By default, spamd runs as root (the AS_ROOT option). If you wish
to change this, add the following to /etc/rc.conf:
Expand Down
1 change: 0 additions & 1 deletion mail/spamassassin-devel/pkg-plist
Expand Up @@ -6,7 +6,6 @@ bin/sa-update
bin/spamassassin
bin/spamc
bin/spamd
@preunexec rm -rf %D/%%ETCDIR%%/sa-update-keys 2>&1 >/dev/null || true
@sample %%ETCDIR%%/init.pre.sample
@sample %%ETCDIR%%/local.cf.sample
@sample %%ETCDIR%%/v310.pre.sample
Expand Down
2 changes: 1 addition & 1 deletion mail/spamassassin/Makefile
@@ -1,6 +1,6 @@
PORTNAME= spamassassin
PORTVERSION= 4.0.0
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES?= mail perl5
MASTER_SITES= https://archive.apache.org/dist/${PORTNAME}/source/ CPAN/Mail
DISTNAME= Mail-SpamAssassin-${PORTVERSION}
Expand Down
3 changes: 3 additions & 0 deletions mail/spamassassin/files/pkg-message.in
Expand Up @@ -23,6 +23,9 @@ You should complete the following post-installation tasks:
5) Install mail/spamass-rules if you want some third-party
spam-catching rulesets

6) Remove %%ETCDIR%%/sa-update-keys if this software is no
longer needed.

SECURITY NOTE:
By default, spamd runs as root (the AS_ROOT option). If you wish
to change this, add the following to /etc/rc.conf:
Expand Down
1 change: 0 additions & 1 deletion mail/spamassassin/pkg-plist
Expand Up @@ -6,7 +6,6 @@ bin/sa-update
bin/spamassassin
bin/spamc
bin/spamd
@preunexec rm -rf %D/%%ETCDIR%%/sa-update-keys 2>&1 >/dev/null || true
@sample %%ETCDIR%%/init.pre.sample
@sample %%ETCDIR%%/local.cf.sample
@sample %%ETCDIR%%/v310.pre.sample
Expand Down

0 comments on commit 528a08b

Please sign in to comment.