From nobody Tue Jul 02 20:07:11 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 4WDDTW5WpQz5PF27; Tue, 02 Jul 2024 20:07:11 +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 4WDDTW50tlz4kDq; Tue, 2 Jul 2024 20:07:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719950831; 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=sMl7ii0mv2LLd7BF4n5mz5UkLyb/0ceyfdZqKBo09Yk=; b=q1bqzpR4NsQvI00OA9Z+yX4+FieNY7l0w0jRwQQ+0wUQc3PU0QdKouOYplT3pMkaBzulqv PGeSZMKhcKuxGeXffoHNcJXA4Es0GuikBApLjNvv3gaj/s7akT3UYbA7awz02RX6RuHea/ ji7+9cCd6zG6RVA1vMFQcSg2A3sue1QWVy9Pyj1uZKGpLu6YHVa9qQ2QuCQ2DIEh/lJQIL P/1PyEef5mb59hdi55iJcefB5oxdY0w8qpSPUg7JYv594BS1PcLs7cLncuNY/RSK5FkhqT v8htDGHG/0Cck7WUaqUCYGNow5MMHUWLKjusR0ZDqXkM9bwkC3I05ZhlxCfekw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719950831; a=rsa-sha256; cv=none; b=OeLiPoPdgnn8eK9qEwTPtFNxBzVJ+BjDhrnobBJLvwrgCBYqrkvuiaxnZzAQ//1vYWsG1i 74XC0+BC+liOWoTOHoqALTKquUUdJHbNDZ0Ddx3lKMUh1++VQimtnkDxoIgQZzw/PAz8nQ ofsbqgp270hwfVvFeAjhgV3PaWSIQ2FHYJZGYMwfp4wlvda6ckkN+/Lgpe6ZSqqBGCDyDB QjfgAcgkFt2rVOPlKwF4k6vLL2vYr30q/3i9R+rNEddn6IDcq5s2JqqVoY9AdWrjzCozFY bP+Vk8tsn+7cbDeD/iQlcH1Umd3SBV0vRyF9P/2ubRfajdQfYfeWe+ep3kWuEA== 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=1719950831; 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=sMl7ii0mv2LLd7BF4n5mz5UkLyb/0ceyfdZqKBo09Yk=; b=srA1HUeMFjCzCPNTl2GUwWfKWISxX+pht+9HMF0U+4H8w5D+xYmdZXfb+JIfwbMQiWhoVh UNCssbbOGHWYYCCzBvF+mR0MlIj8PNMr9T8nF73QMs1evsHJDTlqVVC8SVRkpie7h3jlYx kDzwoYgPqYMkbfGsGzFn63UY9wYBGd1w3dUs3RfGWiN9XL18QXsCM/RtWLpuAYypVQx5tj zVd9mb14r1gETQ+FF6JjxqdYbuH9YeYZBkRz+uwds6Ktsi8qDNutXU5Eh+JbxDzhLiMhgV gyyeLayh74A04DnCbq/r9uqykJjRORubFWFBFFlheSK5of4zcvI2kaa9aF4oMw== 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 4WDDTW4d9Nz11sK; Tue, 2 Jul 2024 20:07:11 +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 462K7Bbi099126; Tue, 2 Jul 2024 20:07:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 462K7Bqs099123; Tue, 2 Jul 2024 20:07:11 GMT (envelope-from git) Date: Tue, 2 Jul 2024 20:07:11 GMT Message-Id: <202407022007.462K7Bqs099123@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mark Johnston Subject: git: 3327b2e94adb - main - net-mgmt/net-snmp: Add an upgrade message for running snmpd as non-root 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: markj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3327b2e94adbc1fa1c6299ed04942395e5de650a Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/ports/commit/?id=3327b2e94adbc1fa1c6299ed04942395e5de650a commit 3327b2e94adbc1fa1c6299ed04942395e5de650a Author: Mark Johnston AuthorDate: 2024-07-02 16:49:14 +0000 Commit: Mark Johnston CommitDate: 2024-07-02 20:05:40 +0000 net-mgmt/net-snmp: Add an upgrade message for running snmpd as non-root Explain that snmpd now drops privileges by default, and describe how one can configure snmpd to run without any root privileges at all. Approved by: zi Sponsored by: Klara, Inc. Sponsored by: Stormshield --- net-mgmt/net-snmp/Makefile | 2 +- net-mgmt/net-snmp/files/pkg-message.in | 44 ++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 51b905b330b2..e6b4d2ba83d9 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -1,7 +1,7 @@ PORTNAME= snmp PORTVERSION= 5.9.4 PORTEPOCH= 1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \ ZI diff --git a/net-mgmt/net-snmp/files/pkg-message.in b/net-mgmt/net-snmp/files/pkg-message.in index ca4724c83e32..aec6be19f18c 100644 --- a/net-mgmt/net-snmp/files/pkg-message.in +++ b/net-mgmt/net-snmp/files/pkg-message.in @@ -30,4 +30,48 @@ BATCH="yes" EOM } +{ type: upgrade + message: <