Date: Mon, 3 Oct 2022 03:04:26 GMT 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: 756375a948e3 - main - mail/spamassassin-devel: Workaround PID not found Message-ID: <202210030304.29334Q48054157@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210030304.29334Q48054157>