From nobody Sun Aug 13 16:41:22 2023 X-Original-To: dev-commits-ports-main@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 4RP3Fb053Gz4mMVF; Sun, 13 Aug 2023 16:41:23 +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 4RP3FZ565Wz4Rkp; Sun, 13 Aug 2023 16:41:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691944882; 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=r4hNtDmu12qvr6oj1/x4Ywujv4ztPLr6HBs2QurW9oQ=; b=vw1i1PakRxV+EwARyuHVzOaRV9Xe2zRvIyMRpNxIFjUNds2x9Sgl5n/d4myWDhLUJF66a7 mwyJ9Tpy2fNWJUSTPGo+QHmGG0oR0V3XCoAUAn81T9+tCmKI/o2Qtki8iac0h+AhUcjVRY yi7/Xagh6VkgkROKFc4uRYf0OwgRGk22dgkRvEl2uJl9Pk55GzL5BK2FMcWqNkSwDshQ5+ Mw3zytyc9WaFZhCRTeExwUjFPJtDuAkT9heyYLaiDc0PZpbtT98vuyeBe43UvNLWy/CBOO hjMKgbRFlokM7YKKAlXVyMiQrUPle3SpOVDYOqAy6U414WtLPVm13oxts5KEww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691944882; 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=r4hNtDmu12qvr6oj1/x4Ywujv4ztPLr6HBs2QurW9oQ=; b=oQHzcOgNskB0wuaXikIvl8F4VE/2g+zu0VA6NNLnuvsWuuJ3GY1kBYyYEAhlW/lMK5Hh+W PHrUSs1b5bHSduqPKyJawn6cnbY63oLiiH9gk2edWmvdLcuOUfQuf3hOY0kCzoDAkJ4o/5 vKFyqivylfEMdFU3xiNx0x4ouK8JbjvkB9T6KcgMwurq7IFmLlRqYwz4Y+jEGwRokcLAJV 6cKCr1OaTk/lWvdoW3PKawjY8SH6eYvF/cQh5O6iH3MAHOnFVp6PY0zrmbQcOlnO9aik32 pptnMDvRZmSoCmOg1CaQ81VySj1w8+WLjUe2emK2XRBw1JosBQ0SYeAGt6r0Yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691944882; a=rsa-sha256; cv=none; b=HVPNC1HFj3aUOP7blgQg/mnp+OzzCm8M+cWPYwdqFvgZ9hfPx/2n/l6YsCNTQ7vZUo6dkh T1UiWg8GhzItOUpIeEYGzf5sHxbO6bOhNsxSi5+fXqJQ/rq5Xxch31BpONHJRQ2/GbkAoy tLRmGBGB3ikf3l90qIRPNNFYSz+FcvCzR3v7OU0IZ3f6k/oVjbGv73CvGga5ANb4oBc+Pf 8rgUkMgCieypUnUvNfOB4eScNCZQJVuz4Gz62M41CbH7qjGWpexXgOnCBGuzZPWFrTPC69 vo2IA+pIrEPw31EiYjcmJWUoeRTnc7dqf38t/Ep5NU7btBKv4uqPVJppJq5j1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RP3FZ48K6z187B; Sun, 13 Aug 2023 16:41:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37DGfMhs046957; Sun, 13 Aug 2023 16:41:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37DGfMst046954; Sun, 13 Aug 2023 16:41:22 GMT (envelope-from git) Date: Sun, 13 Aug 2023 16:41:22 GMT Message-Id: <202308131641.37DGfMst046954@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: ba7720b45c31 - main - sysutils/incron: fix dependency on hard-coded /bin/bash List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba7720b45c318713be97c1739af97d468e5241eb Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba7720b45c318713be97c1739af97d468e5241eb commit ba7720b45c318713be97c1739af97d468e5241eb Author: Trenton Schulz AuthorDate: 2023-07-31 08:28:05 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-08-13 16:41:05 +0000 sysutils/incron: fix dependency on hard-coded /bin/bash PR: 272800 Reported by: trueos@norwegianrockcat.com Approved by: joh.hendriks@gmail.com (maintainer, timeout > 2 weeks) --- sysutils/incron/Makefile | 2 +- sysutils/incron/files/patch-usertable.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sysutils/incron/Makefile b/sysutils/incron/Makefile index 82a7d3537038..2967f44c7d1f 100644 --- a/sysutils/incron/Makefile +++ b/sysutils/incron/Makefile @@ -1,6 +1,6 @@ PORTNAME= incron DISTVERSION= 2017-11-13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= joh.hendriks@gmail.com diff --git a/sysutils/incron/files/patch-usertable.cpp b/sysutils/incron/files/patch-usertable.cpp new file mode 100644 index 000000000000..3aa95dfec2ee --- /dev/null +++ b/sysutils/incron/files/patch-usertable.cpp @@ -0,0 +1,11 @@ +--- usertable.cpp.orig 2023-07-29 17:29:34 UTC ++++ usertable.cpp +@@ -608,7 +608,7 @@ void UserTable::RunAsUser(std::string cmd) const + } + } + +- execlp("/bin/bash","/bin/bash", "-c", cmd.c_str(), (char *)NULL); ++ execlp("/bin/sh","/bin/sh", "-c", cmd.c_str(), (char *)NULL); + + failed: +