git: 96194a7a6e88 - main - mail/spamassassin*: Remove redundant plist entries

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 25 Oct 2024 14:20:14 UTC
The branch main has been updated by cy:

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

commit 96194a7a6e88c503bbacfd6b3dab5bd581ca0d74
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-10-25 14:18:42 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-10-25 14:18:42 +0000

    mail/spamassassin*: Remove redundant plist entries
    
    /var/lib is no longer used by spamassassin. Remove it.
    
    PR:     282317
    MFH:    2024Q4
---
 mail/spamassassin-devel/Makefile  | 1 +
 mail/spamassassin-devel/pkg-plist | 2 --
 mail/spamassassin/Makefile        | 2 +-
 mail/spamassassin/pkg-plist       | 2 --
 4 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/mail/spamassassin-devel/Makefile b/mail/spamassassin-devel/Makefile
index 416de27286a5..f365155956d9 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/pkg-plist b/mail/spamassassin-devel/pkg-plist
index 5a22957bb6f4..0395c6f85d67 100644
--- a/mail/spamassassin-devel/pkg-plist
+++ b/mail/spamassassin-devel/pkg-plist
@@ -246,8 +246,6 @@ lib/libspamc.so.0
 @comment ##################################################################
 @postunexec rm -rf /var/lib/spamassassin/2* 2>&1 >/dev/null || true
 @dir /var/db/spamassassin
-@dir /var/lib
-@dir /var/lib/spamassassin
 @dir(%%USER%%,%%GROUP%%,) /var/run/spamd
 @comment ##################################################################
 @postunexec [ -d /var/db/spamassassin ] && echo "If you are no longer using SpamAssassin, remove /var/db/spamassassin"
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 63058355b9a2..6aa7b6591fdd 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	spamassassin
 PORTVERSION=	4.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES?=	mail perl5
 MASTER_SITES=	https://archive.apache.org/dist/${PORTNAME}/source/ CPAN/Mail
 DISTNAME=	Mail-SpamAssassin-${PORTVERSION}
diff --git a/mail/spamassassin/pkg-plist b/mail/spamassassin/pkg-plist
index e37a8d5b535e..6838abe7a893 100644
--- a/mail/spamassassin/pkg-plist
+++ b/mail/spamassassin/pkg-plist
@@ -243,8 +243,6 @@ lib/libspamc.so.0
 @comment ##################################################################
 @postunexec rm -rf /var/lib/spamassassin/2* 2>&1 >/dev/null || true
 @dir /var/db/spamassassin
-@dir /var/lib
-@dir /var/lib/spamassassin
 @dir(%%USER%%,%%GROUP%%,) /var/run/spamd
 @comment ##################################################################
 @postunexec [ -d /var/db/spamassassin ] && echo "If you are no longer using SpamAssassin, remove /var/db/spamassassin"