From nobody Sun Jul 28 17:11:14 2024 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 4WX7LV2JWjz5RHfG; Sun, 28 Jul 2024 17:11:14 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WX7LV1sTNz4s8F; Sun, 28 Jul 2024 17:11:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722186674; 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=5PFJ+ntUELpfTFGr5dgk42JgCd5XxcrlpMq9sIzGLvM=; b=x/iTiWiS94Ht0oJOTK2MwIVpdO+8BWIMSm3xWpkVZ3LyZ+PLBiBE90IOna45K/xhnfbbp8 zPo0EthcFWvdlpyjJ/kcHGXzMgq5I8ota/KdvL1bjUtua3rQIu1jwX2Xj8GK1ZoJteeKlQ jrru6OeZCtyJgeCwHKGy0c59NkrFI+cM6IEYVKLCYQWv5jaBnIJkpcw3+bAmlsKrGTbOqr RClVjObVo3dQEoqY6ZZJxtcvaz5W9TzFUdZm+UXHJZ2Eo+jJUfwwHEiXGhTe5232foV9nU blcYTbyCLhyGDBlldd+E+U6aMWlm0lviaKLuURsfwlqX1AgYKuh6v5Wjaa+dyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722186674; a=rsa-sha256; cv=none; b=wbY6x7pnoFy6mPeUzujfagoAFZj7sZ10PuwhE0WCbYpBRTMS1nsZ//1oCnGrapFYRhP7Wz ZMmy4iXG8bB15nfbO3x9WLiPUwS6rMZJrZC1DvyXuyaFFa4+H2MqVwAsDeRvPVf+Ch0Fg/ v30V4ASJ3EcdTADPqui5WKTLyll+Od8vgBnp1gYFTZ/KFUbI3ObT1XuqlPEEp0rH7ik3gT NdfD+iU+eiCIkJmThHXs3/lqelYiK8hfDuTDI3bPvPRJoCGI3jfACF6EvG2+qDyHTAPBut jUlKZtkSC8PWFOB0l4MZERrMCQAXH3li8PIDiLqX3XIMiSbNFYJWZ7t6XRtROg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722186674; 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=5PFJ+ntUELpfTFGr5dgk42JgCd5XxcrlpMq9sIzGLvM=; b=xEx9iqSHXu30cefn8SPE/o7uRuQeGyyfWDvMxNtqULS320UKtPXOx8VnyecGxAWfKwy6Gv s5RKXREwGPfm1pUlvjyTKxrSiz4QWOC9ItnWC79Daz50DneawE+FVvgEeD9VH0FltLh4Vv TTU07SEjcrcnlzWnzHw3O1WkVlLA+PaUyfJOaHwd1fToaQ/BUsKJV/piUjjxWRTLATkr0i Tml0DzXTk2lRqHLnnh9CIR9hw9rlaV0TPgaI5B8FQUgSMWVs4IaR4Brj9seXKC6iETzL1R Ijd69+kvFUnjIUfAiInzXRwIfVPk6zRkCUftDkQT4yu8goNtvkfQHM1n95U70Q== 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 4WX7LV1SR2z10MG; Sun, 28 Jul 2024 17:11:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46SHBEV9025837; Sun, 28 Jul 2024 17:11:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46SHBEfW025834; Sun, 28 Jul 2024 17:11:14 GMT (envelope-from git) Date: Sun, 28 Jul 2024 17:11:14 GMT Message-Id: <202407281711.46SHBEfW025834@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 6eec36c45b04 - main - net-mgmt/nrpe: Fix permission on /var 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6eec36c45b04c6d437453378dac08171775b2825 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6eec36c45b04c6d437453378dac08171775b2825 commit 6eec36c45b04c6d437453378dac08171775b2825 Author: Muhammad Moinur Rahman AuthorDate: 2024-07-28 17:08:53 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-07-28 17:08:53 +0000 net-mgmt/nrpe: Fix permission on /var - Fix build for ports users [1] PR: 277704, 280180 [1] Reported by: sr@genyosha.net, eugen [1] --- net-mgmt/nrpe/Makefile | 8 +++++--- net-mgmt/nrpe/pkg-plist | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/net-mgmt/nrpe/Makefile b/net-mgmt/nrpe/Makefile index 796f569d74e4..b3db15ff61b4 100644 --- a/net-mgmt/nrpe/Makefile +++ b/net-mgmt/nrpe/Makefile @@ -1,5 +1,6 @@ PORTNAME= nrpe -PORTVERSION= 4.1.0 +DISTVERSION= 4.1.0 +PORTREVISION= 1 DISTVERSIONPREFIX= nrpe- CATEGORIES= net-mgmt @@ -20,8 +21,10 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+=--bindir=${PREFIX}/sbin \ --libexecdir=${PREFIX}/libexec/nagios \ --sysconfdir=${PREFIX}/etc \ + --with-inetd-type=inetd \ --with-nrpe-user=${NAGIOSUSER} \ - --with-nrpe-group=${NAGIOSGROUP} + --with-nrpe-group=${NAGIOSGROUP} \ + --with-piddir=${NRPE_PIDDIR} SUB_FILES= pkg-message SUB_LIST+= PIDDIR=${NRPE_PIDDIR} @@ -62,7 +65,6 @@ post-patch: ${WRKSRC}/sample-config/nrpe.cfg.in do-install: - ${INSTALL} -d ${STAGEDIR}${NRPE_PIDDIR} ${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${STAGEDIR}${PREFIX}/sbin/nrpe ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${STAGEDIR}${PREFIX}/libexec/nagios/check_nrpe diff --git a/net-mgmt/nrpe/pkg-plist b/net-mgmt/nrpe/pkg-plist index d5be1c32b002..c07091b9fb3d 100644 --- a/net-mgmt/nrpe/pkg-plist +++ b/net-mgmt/nrpe/pkg-plist @@ -1,4 +1,3 @@ @sample etc/nrpe.cfg.sample libexec/nagios/check_nrpe sbin/nrpe -@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,755) %%NRPE_PIDDIR%%