From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1518768-garchives=archives.gentoo.org@lists.gentoo.org> 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 45FE415806E for <garchives@archives.gentoo.org>; Tue, 16 May 2023 01:53:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FEA5E08F2; Tue, 16 May 2023 01:52:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 132AEE08F3 for <gentoo-commits@lists.gentoo.org>; Tue, 16 May 2023 01:52:59 +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 4033133C1EA for <gentoo-commits@lists.gentoo.org>; Tue, 16 May 2023 01:52:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62299A74 for <gentoo-commits@lists.gentoo.org>; Tue, 16 May 2023 01:52:55 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1684201940.f1c7a96aac243ac42771066adf7de9d50312f309.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/nbdkit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/nbdkit/nbdkit-1.32.4.ebuild X-VCS-Directories: sys-block/nbdkit/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f1c7a96aac243ac42771066adf7de9d50312f309 X-VCS-Branch: master Date: Tue, 16 May 2023 01:52:55 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7ddf84ba-56c7-4295-900d-518f98b6ae31 X-Archives-Hash: 7680aa2bcdc0a88f910e69fa257da760 commit: f1c7a96aac243ac42771066adf7de9d50312f309 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue May 16 01:43:26 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 16 01:52:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c7a96a sys-block/nbdkit: add Valgrind support It does do at least one thing - suppress dlclose() which confuses Valgrind. Signed-off-by: Sam James <sam <AT> gentoo.org> sys-block/nbdkit/nbdkit-1.32.4.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys-block/nbdkit/nbdkit-1.32.4.ebuild b/sys-block/nbdkit/nbdkit-1.32.4.ebuild index e7c7966aeff5..36d260e9022c 100644 --- a/sys-block/nbdkit/nbdkit-1.32.4.ebuild +++ b/sys-block/nbdkit/nbdkit-1.32.4.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://download.libguestfs.org/nbdkit/$(ver_cut 1-2)-stable/${P}.tar.g LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~x86" -IUSE="curl ext2 nbd gnutls libguestfs libssh libvirt lzma selinux torrent zlib zstd" +IUSE="curl ext2 nbd gnutls libguestfs libssh libvirt lzma selinux torrent valgrind zlib zstd" RDEPEND=" virtual/libiconv @@ -30,7 +30,10 @@ RDEPEND=" ext2? ( sys-fs/e2fsprogs ) torrent? ( net-libs/libtorrent-rasterbar:= ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-util/valgrind ) +" BDEPEND=" dev-lang/perl " @@ -70,9 +73,9 @@ src_configure() { $(use_with libguestfs) $(use_with ext2) $(use_enable torrent) + $(use_enable valgrind) --disable-linuxdisk # Not in Gentoo. - --disable-valgrind # Seems to not do anything? --disable-libfuzzer # Should not be used normally according to upstream # TODO(arsen): Bindings left out