From nobody Mon Oct 3 03:04:26 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mglzv1dTQz4fFVk; Mon, 3 Oct 2022 03:04:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mglzv1CsNz3FNm; Mon, 3 Oct 2022 03:04:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664766267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=f+3f+INgVmZba66WDgND5VH8GotjcSziVP9OA++B3WM=; b=dq9is2c9kxjj1oi0efxUvdPw5cJgeHmoaTY4Q2C+uRs8iy2gmc/OVmO2tGew5qRdcng1ld nLe74Khmt7w46Au7V3qYtR/8Qnavh6tdqRvYzXYPOoeZL7V3OSFrddllWEUFrtT/Z7DUQi +vfC0TUNzWdd8nyebbcOmpJFCyodxbGbTYeQTVHJ/5xStZYT0EMwzjDcqWJdNhGXDqcQK2 fh9av7801mnNfC1O/SHA8Rs+WgSZ3Z5O7b4hBysv8GH0r2MgBnm65AFvZntxQp5Csp9CyJ fAoXwQZQ2JSJ+2Pjx4YI1Es5JQ8/rVgAzjXs/F550PkvWGPJsJbWhAjxh6DLhQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mglzv0Grtz14Rh; Mon, 3 Oct 2022 03:04:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29334QX4054158; Mon, 3 Oct 2022 03:04:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29334Q48054157; Mon, 3 Oct 2022 03:04:26 GMT (envelope-from git) Date: Mon, 3 Oct 2022 03:04:26 GMT Message-Id: <202210030304.29334Q48054157@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 756375a948e3 - main - mail/spamassassin-devel: Workaround PID not found List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 756375a948e35bcd04627bf5f772508522027040 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664766267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=f+3f+INgVmZba66WDgND5VH8GotjcSziVP9OA++B3WM=; b=Qic7ZdOVKLebe+LPVBKcdiUOZv8arYeuSh8XVbvYQYSy/RQcj8eIbvQUbwvKPkmn/C3jwy ddHhiGMw3rUf1ap9cfvtNawMclYcL3dNGxc6UQy5VMIPzxqGE4f3To0ZygmDSsxe090L3f u6KH9WXa8eI3+79S1fj+bFbbJab1TtSLceVoqcuTXFXfjS023ed9Deja8Wfi6fhm+Ucd11 79W+e3MoDs62PRiFnyK3/pxnQH+QMn5wDYJ38B32YtM4VfYFGcZoAx6sMufJTigPCzRqEh 8jt/mhxNtV/Tqx2pDHuliR3Zj0kBqhByjKdaVQW6np/KuFFE5uXF7u4IrDruow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664766267; a=rsa-sha256; cv=none; b=czNGQYPHsHLSaA4seXrrVyD3LOhGBodyjSGU/IihwxILizTE4l2m4i18pDEBfnmk4e4IHr O9LBhGpPzCkJrcTzD55uoRXyKkvOsPTNO4aAnc4r5MsmQr8xKOSoLCAzVGJXUswpowfhO8 3nvX73QOndJTrEQZPAghr0gpCOubJcFc1ZqARCI3DFmc73zuRDgMW3ZJUJqSfm8fIC6Ryi 5Bya0lNgOptalqfbNYfZpjQoL07VnjHT0ZwOVggq6JFqm7g+/JMnaOwCOmSisI/kcM8EJ6 aslPdXhGQbj7bjuyoCBfiPG9a0v+nJK5jjnmX7KlPZUNrRRIXjmHMrQhksQqhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=756375a948e35bcd04627bf5f772508522027040 commit 756375a948e35bcd04627bf5f772508522027040 Author: Cy Schubert AuthorDate: 2022-10-03 03:01:11 +0000 Commit: Cy Schubert 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()