Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2026 03:17:56 +0000
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: caab64feb183 - main - mail/spamassassin*: Ensure process name is renamed even in debug mode
Message-ID:  <69e83de4.38580.af0fdc1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by cy:

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

commit caab64feb183b6b9d47da46813f4d6d189f4d75b
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2026-04-20 14:35:07 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-04-22 03:17:35 +0000

    mail/spamassassin*: Ensure process name is renamed even in debug mode
    
    Some customers run spamassassin in debug mode. This breaks rc's ability
    to manage the process because the process name is unexpectedly "perl".
    When in debug mode, also set the process name to spamd.
    
    Reported by:    Dan Mahoney <danm@prime.gushi.org>
    Upstream bug:   https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8384
---
 mail/spamassassin-devel/Makefile                    |  2 +-
 mail/spamassassin-devel/files/patch-spamd_spamd.raw | 11 +++++++++++
 mail/spamassassin/Makefile                          |  2 +-
 mail/spamassassin/files/patch-spamd_spamd.raw       | 11 +++++++++++
 4 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/mail/spamassassin-devel/Makefile b/mail/spamassassin-devel/Makefile
index ca0453fa0a4d..03fe696043ac 100644
--- a/mail/spamassassin-devel/Makefile
+++ b/mail/spamassassin-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	spamassassin
 PORTVERSION=	${SA_COMMIT_DATE}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES?=	mail perl5
 PKGNAMESUFFIX=	-devel
 
diff --git a/mail/spamassassin-devel/files/patch-spamd_spamd.raw b/mail/spamassassin-devel/files/patch-spamd_spamd.raw
new file mode 100644
index 000000000000..02fb822db52f
--- /dev/null
+++ b/mail/spamassassin-devel/files/patch-spamd_spamd.raw
@@ -0,0 +1,11 @@
+--- spamd/spamd.raw.orig	2026-03-25 01:30:23.000000000 -0700
++++ spamd/spamd.raw	2026-04-20 07:30:49.970044000 -0700
+@@ -3109,7 +3109,7 @@
+ 
+ sub daemonize {
+   # bug 8036 - ensure ps legacy name shows up as spamd even if command line call was perl path_to_spamd
+-  $0 = 'spamd' unless would_log("dbg");
++  $0 = 'spamd';
+ 
+   # be a nice daemon and chdir to the root so we don't block any
+   # unmount attempts
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 609d5ddc400a..6d49861ed994 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	spamassassin
 PORTVERSION=	4.0.2
-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/files/patch-spamd_spamd.raw b/mail/spamassassin/files/patch-spamd_spamd.raw
new file mode 100644
index 000000000000..f1c003d5cdfd
--- /dev/null
+++ b/mail/spamassassin/files/patch-spamd_spamd.raw
@@ -0,0 +1,11 @@
+--- spamd/spamd.raw.orig	2025-08-27 06:17:51.000000000 -0700
++++ spamd/spamd.raw	2026-04-20 07:30:51.485319000 -0700
+@@ -3109,7 +3109,7 @@
+ 
+ sub daemonize {
+   # bug 8036 - ensure ps legacy name shows up as spamd even if command line call was perl path_to_spamd
+-  $0 = 'spamd' unless would_log("dbg");
++  $0 = 'spamd';
+ 
+   # be a nice daemon and chdir to the root so we don't block any
+   # unmount attempts


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e83de4.38580.af0fdc1>