From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 506841580EB for ; Fri, 30 May 2025 14:38:42 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3C4C2343127 for ; Fri, 30 May 2025 14:38:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id AB4AA110480; Fri, 30 May 2025 14:38:37 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A0B97110480 for ; Fri, 30 May 2025 14:38:37 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B51F3430DE for ; Fri, 30 May 2025 14:38:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 969D328EC for ; Fri, 30 May 2025 14:38:35 +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: <1748615890.0923aa672c07d6f846312f5bfc06c16434d5d2db.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.4-r1.ebuild net-analyzer/net-snmp/net-snmp-9999.ebuild X-VCS-Directories: net-analyzer/net-snmp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0923aa672c07d6f846312f5bfc06c16434d5d2db X-VCS-Branch: master Date: Fri, 30 May 2025 14:38:35 +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: 1f6d84ae-3078-46f0-8fc0-783760569c57 X-Archives-Hash: 7391a1776d7f19df20a3f7b919be1340 commit: 0923aa672c07d6f846312f5bfc06c16434d5d2db Author: Sam James gentoo org> AuthorDate: Fri May 30 14:33:42 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 30 14:38:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0923aa67 net-analyzer/net-snmp: unrestrict tests, sync live I suspect this got added because of `eautoconf` (skipping the test confused by that now) but not sure. Passes for me now, anyway. It was added by: commit 01ba51b126378518559db6a0188773d918036753 Author: Diego Elio Pettenò gentoo.org> Date: Sun Aug 19 02:23:59 2012 +0000 Version bump; remove old. This version closes bug #209667 (disabled ucd-snmp compatibility); bug #328177 (lm_sensors 3 is supported by default now); #425990 (added GPL-2 to LICENSE); should close bug #351051 as well, for the most part; add new init scripts to use the new runscript features; restrict tests (tests that might or might not fail are useless); build in pa rallel (upstream fixed it); drop USE flags that added no dependencies. (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) It's very possible that it got fixed substantially since then upstream though. In any case, all fine now. Signed-off-by: Sam James gentoo.org> net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild | 8 +++++++- net-analyzer/net-snmp/net-snmp-9999.ebuild | 11 +++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild b/net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild index 741621409fe0..0125a78a765f 100644 --- a/net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild @@ -34,7 +34,6 @@ REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) rpm? ( bzip2 zlib ) " -RESTRICT="test" COMMON_DEPEND=" virtual/libcrypt:= @@ -117,6 +116,9 @@ src_prepare() { mv "${WORKDIR}"/patches/0005-Respect-LDFLAGS-properly.patch{,.disabled} || die eapply "${WORKDIR}"/patches/*.patch + # Fails because of our eautoconf call + rm testing/fulltests/default/T000configure_simple || die + default eautoconf @@ -175,6 +177,10 @@ src_compile() { use doc && emake docsdox } +src_test() { + emake -Onone test +} + src_install() { # bug #317965 emake -j1 DESTDIR="${D}" install diff --git a/net-analyzer/net-snmp/net-snmp-9999.ebuild b/net-analyzer/net-snmp/net-snmp-9999.ebuild index 6e33a560b72f..b7691c93b893 100644 --- a/net-analyzer/net-snmp/net-snmp-9999.ebuild +++ b/net-analyzer/net-snmp/net-snmp-9999.ebuild @@ -7,7 +7,7 @@ GENTOO_DEPEND_ON_PERL=no PYTHON_COMPAT=( python3_{10..13} ) WANT_AUTOMAKE=none -inherit autotools python-single-r1 perl-module systemd +inherit autotools python-single-r1 libtool perl-module systemd DESCRIPTION="Software for generating and retrieving SNMP data" HOMEPAGE="https://www.net-snmp.org/" @@ -34,7 +34,6 @@ REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) rpm? ( bzip2 zlib ) " -RESTRICT="test" COMMON_DEPEND=" virtual/libcrypt:= @@ -111,9 +110,13 @@ src_prepare() { mv "${WORKDIR}"/patches/0005-Respect-LDFLAGS-properly.patch{,.disabled} || die eapply "${WORKDIR}"/patches/*.patch + # Fails because of our eautoconf call + rm testing/fulltests/default/T000configure_simple || die + default eautoconf + elibtoolize } src_configure() { @@ -169,6 +172,10 @@ src_compile() { use doc && emake docsdox } +src_test() { + emake -Onone test +} + src_install() { # bug #317965 emake -j1 DESTDIR="${D}" install