From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2C55715806E for ; Tue, 16 May 2023 02:18:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A428E08BD; Tue, 16 May 2023 02:18:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09012E08A2 for ; Tue, 16 May 2023 02:18:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00B15340C54 for ; Tue, 16 May 2023 02:18:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5ACD1A6F for ; Tue, 16 May 2023 02:18:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1684203477.bef6003befdeac91d418fba5f33d86f09345abea.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/net-snmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/net-snmp/net-snmp-5.9.3-r2.ebuild X-VCS-Directories: net-analyzer/net-snmp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bef6003befdeac91d418fba5f33d86f09345abea X-VCS-Branch: master Date: Tue, 16 May 2023 02:18:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ced53daf-d2bc-4f34-b3af-b3fc6cdc8b63 X-Archives-Hash: b216316063028e623a059c01a0d18089 commit: bef6003befdeac91d418fba5f33d86f09345abea Author: Sam James gentoo org> AuthorDate: Tue May 16 02:17:57 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 16 02:17:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef6003b net-analyzer/net-snmp: add Valgrind annotation support Signed-off-by: Sam James gentoo.org> net-analyzer/net-snmp/net-snmp-5.9.3-r2.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net-analyzer/net-snmp/net-snmp-5.9.3-r2.ebuild b/net-analyzer/net-snmp/net-snmp-5.9.3-r2.ebuild index a8d6a634c778..445393a852b7 100644 --- a/net-analyzer/net-snmp/net-snmp-5.9.3-r2.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.9.3-r2.ebuild @@ -30,7 +30,7 @@ LICENSE="HPND BSD GPL-2" SLOT="0/40" IUSE=" X bzip2 doc elf kmem ipv6 lm-sensors mfd-rewrites minimal mysql - netlink pcap pci perl python rpm selinux smux ssl tcpd ucd-compat zlib + netlink pcap pci perl python rpm selinux smux ssl tcpd ucd-compat valgrind zlib " REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) @@ -65,7 +65,10 @@ COMMON_DEPEND=" zlib? ( >=sys-libs/zlib-1.1.4 ) " BDEPEND="doc? ( app-doc/doxygen )" -DEPEND="${COMMON_DEPEND}" +DEPEND=" + ${COMMON_DEPEND} + valgrind? ( dev-util/valgrind ) +" RDEPEND=" ${COMMON_DEPEND} perl? ( @@ -129,6 +132,8 @@ src_configure() { # Assume /etc/mtab is not present with a recent baselayout/openrc (bug #565136) use kernel_linux && export ac_cv_ETC_MNTTAB=/etc/mtab + export ac_cv_header_valgrind_{valgrind,memcheck}_h=$(usex valgrind) + econf \ $(use_enable !ssl internal-md5) \ $(use_enable ipv6) \