git: 756375a948e3 - main - mail/spamassassin-devel: Workaround PID not found
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 03:04:26 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=756375a948e35bcd04627bf5f772508522027040
commit 756375a948e35bcd04627bf5f772508522027040
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-10-03 03:01:11 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-10-03 03:04:21 +0000
mail/spamassassin-devel: Workaround PID not found
spamd rewrites its argv[0] replacing its commmand interpreter
with "(perl)" (perl in brackets). The _find_processes() shell function in
rc.subr fails to find the process when stopping or verifying status.
---
mail/spamassassin-devel/Makefile | 1 +
mail/spamassassin-devel/files/sa-spamd.in | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/mail/spamassassin-devel/Makefile b/mail/spamassassin-devel/Makefile
index 96ca324facf6..404381136f7e 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/sa-spamd.in b/mail/spamassassin-devel/files/sa-spamd.in
index a7f37032947f..a32ae96ffb3b 100644
--- a/mail/spamassassin-devel/files/sa-spamd.in
+++ b/mail/spamassassin-devel/files/sa-spamd.in
@@ -40,7 +40,6 @@ restart_precmd="precmd"
pidfile=${spamd_pidfile:-"/var/run/${name}/${name}.pid"}
command=%%PREFIX%%/bin/${name}
command_args="-d -r ${pidfile}"
-command_interpreter="%%PREFIX%%/bin/perl"
required_dirs="%%PREFIX%%/share/spamassassin"
precmd()