git: b6ac42b186c0 - main - mail/spamassassin*: Alter pkg-message to remind the user after upgrade

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 07 Feb 2024 00:42:37 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b6ac42b186c0923b0c68f8cd3ddab1540a4d3a69

commit b6ac42b186c0923b0c68f8cd3ddab1540a4d3a69
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-02-07 00:37:29 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-02-07 00:41:33 +0000

    mail/spamassassin*: Alter pkg-message to remind the user after upgrade
    
    pkg-message states sa-update and sa-compile should be run after a
    fresh install. It also tells the user to run these commands
    periodically after install, implying that they should also be
    run after update. Make the lanuage clearer so there is no confusion.
    
    PR:     265316
    MFH:    2024Q1
---
 mail/spamassassin-devel/Makefile             | 1 +
 mail/spamassassin-devel/files/pkg-message.in | 4 ++--
 mail/spamassassin/Makefile                   | 2 +-
 mail/spamassassin/files/pkg-message.in       | 8 ++++----
 4 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/mail/spamassassin-devel/Makefile b/mail/spamassassin-devel/Makefile
index 922275cca371..e755fc037e8a 100644
--- a/mail/spamassassin-devel/Makefile
+++ b/mail/spamassassin-devel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	spamassassin
 PORTVERSION=	${SA_COMMIT_DATE}
+PORTREVISION=	1
 CATEGORIES?=	mail perl5
 PKGNAMESUFFIX=	-devel
 
diff --git a/mail/spamassassin-devel/files/pkg-message.in b/mail/spamassassin-devel/files/pkg-message.in
index d34c13f8ca9d..0a666d5b4407 100644
--- a/mail/spamassassin-devel/files/pkg-message.in
+++ b/mail/spamassassin-devel/files/pkg-message.in
@@ -17,8 +17,8 @@ You should complete the following post-installation tasks:
 
 	4) If this is a new installation, you should run sa-update
 	   and sa-compile. If this isn't a new installation, you
-	   should probably run those commands on a regular basis
-	   anyway.
+	   should run those commands immediately after update and
+           probably run them on a regular basis.
 
 	5) Install mail/spamass-rules if you want some third-party
 	   spam-catching rulesets
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 50053c3ff5e6..dbc859c64884 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	spamassassin
 PORTVERSION=	4.0.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES?=	mail perl5
 MASTER_SITES=	https://archive.apache.org/dist/${PORTNAME}/source/ CPAN/Mail
 DISTNAME=	Mail-SpamAssassin-${PORTVERSION}
diff --git a/mail/spamassassin/files/pkg-message.in b/mail/spamassassin/files/pkg-message.in
index d34c13f8ca9d..e9e9aa9476a8 100644
--- a/mail/spamassassin/files/pkg-message.in
+++ b/mail/spamassassin/files/pkg-message.in
@@ -15,10 +15,10 @@ You should complete the following post-installation tasks:
 	3) To run spamd, add the following to /etc/rc.conf:
 	   spamd_enable="YES"
 
-	4) If this is a new installation, you should run sa-update
-	   and sa-compile. If this isn't a new installation, you
-	   should probably run those commands on a regular basis
-	   anyway.
+        4) If this is a new installation, you should run sa-update
+           and sa-compile. If this isn't a new installation, you
+           should run those commands immediately after update and
+           probably run them on a regular basis.
 
 	5) Install mail/spamass-rules if you want some third-party
 	   spam-catching rulesets