public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2022-12-03 11:06 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-12-03 11:06 UTC (permalink / raw
  To: gentoo-commits

commit:     06c6a67bc5677155681c6f8024573eed72ca92d5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 09:05:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 11:06:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c6a67b

sys-libs/libnbd: new package, add 1.14.1

Signed-off-by: Sam James <sam <AT> gentoo.org>
Co-authored-by: Arsen Arsenović <arsen <AT> aarsen.me>
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libnbd/Manifest             |  1 +
 sys-libs/libnbd/libnbd-1.14.1.ebuild | 64 ++++++++++++++++++++++++++++++++++++
 sys-libs/libnbd/metadata.xml         | 24 ++++++++++++++
 3 files changed, 89 insertions(+)

diff --git a/sys-libs/libnbd/Manifest b/sys-libs/libnbd/Manifest
new file mode 100644
index 000000000000..890270fa6e33
--- /dev/null
+++ b/sys-libs/libnbd/Manifest
@@ -0,0 +1 @@
+DIST libnbd-1.14.1.tar.gz 1257547 BLAKE2B 4c2fc02abc1d069b23fb8cc52b3359f10ebd23f2bc8cb359274a4fc2781413445d64ca1013b3123dff090d359a0e28076aa410220a05b155f95320238d1b99ee SHA512 9d95cf7a66926d00ec9aacfc6d04f2dc885ccfed07c78f1e6693190dd14132d30d6d1ff7d46e46007732a8a20a9fbf648775bc0b3371ad49eff4ce1e44e47209

diff --git a/sys-libs/libnbd/libnbd-1.14.1.ebuild b/sys-libs/libnbd/libnbd-1.14.1.ebuild
new file mode 100644
index 000000000000..67aff2662660
--- /dev/null
+++ b/sys-libs/libnbd/libnbd-1.14.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+DESCRIPTION="NBD client library in userspace"
+HOMEPAGE="https://gitlab.com/nbdkit/libnbd"
+SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="fuse gnutls uri-support test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	fuse? ( sys-fs/fuse:3 )
+	gnutls? ( net-libs/gnutls:= )
+	uri-support? ( dev-libs/libxml2 )
+"
+DEPEND="
+	${RDEPEND}
+	test? ( sys-block/nbd[gnutls?] )
+"
+BDEPEND="dev-lang/perl"
+
+src_prepare() {
+	default
+
+	# Some tests require impossible to provide features, such as fuse.
+	# These are marked by requires_... in the functions.sh shell
+	# library.  Rather than listing these tests, let's list out the
+	# impossible to support features and make them skip.
+	cat <<-EOF >> tests/functions.sh.in || die
+		requires_fuse ()
+		{
+			requires false
+		}
+	EOF
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable fuse)
+		$(use_with gnutls)
+		$(use_with uri-support libxml2)
+		--disable-ocaml
+		--disable-python
+		--disable-golang
+	)
+
+	export bashcompdir="$(get_bashcompdir)"
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -delete || die
+}

diff --git a/sys-libs/libnbd/metadata.xml b/sys-libs/libnbd/metadata.xml
new file mode 100644
index 000000000000..9182ab0c520d
--- /dev/null
+++ b/sys-libs/libnbd/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>arsen@aarsen.me</email>
+		<name>Arsen Arsenović</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="gitlab">nbdkit/libnbd</remote-id>
+		<remote-id type="github">libguestfs/libnbd</remote-id>
+	</upstream>
+	<use>
+		<flag name="uri-support">
+			Enable nbd:// URI support via <pkg>dev-libs/libxml2</pkg>.
+		</flag>
+		<flag name="fuse">
+			Install the <pkg>sys-fs/fuse</pkg> powered nbdfuse.
+		</flag>
+	</use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2022-12-05 19:00 Arthur Zamarin
  0 siblings, 0 replies; 11+ messages in thread
From: Arthur Zamarin @ 2022-12-05 19:00 UTC (permalink / raw
  To: gentoo-commits

commit:     2550700b14fab1ff95dd5655455b4c8ed0887e58
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 19:00:18 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 19:00:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2550700b

sys-libs/libnbd: Keyword 1.14.1 x86, #884187

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-libs/libnbd/libnbd-1.14.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libnbd/libnbd-1.14.1.ebuild b/sys-libs/libnbd/libnbd-1.14.1.ebuild
index 67aff2662660..c04df177ecc6 100644
--- a/sys-libs/libnbd/libnbd-1.14.1.ebuild
+++ b/sys-libs/libnbd/libnbd-1.14.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.g
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="fuse gnutls uri-support test"
 
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2023-02-28  1:30 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2023-02-28  1:30 UTC (permalink / raw
  To: gentoo-commits

commit:     aa1cfb0823bfad0935680cb1fbf045fc913d0a19
Author:     Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Mon Feb 27 18:15:24 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 01:30:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1cfb08

sys-libs/libnbd: Keyword 1.14.1 sparc, #891167

Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libnbd/libnbd-1.14.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libnbd/libnbd-1.14.1.ebuild b/sys-libs/libnbd/libnbd-1.14.1.ebuild
index c04df177ecc6..b2cb9e3aba76 100644
--- a/sys-libs/libnbd/libnbd-1.14.1.ebuild
+++ b/sys-libs/libnbd/libnbd-1.14.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.g
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~sparc ~x86"
 IUSE="fuse gnutls uri-support test"
 
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2023-04-01 16:30 Arthur Zamarin
  0 siblings, 0 replies; 11+ messages in thread
From: Arthur Zamarin @ 2023-04-01 16:30 UTC (permalink / raw
  To: gentoo-commits

commit:     88a2d2f453d6d623d24f597a8c617da87782ccbb
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  1 16:30:16 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  1 16:30:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a2d2f4

sys-libs/libnbd: Stabilize 1.14.1 amd64, #891965

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-libs/libnbd/libnbd-1.14.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libnbd/libnbd-1.14.1.ebuild b/sys-libs/libnbd/libnbd-1.14.1.ebuild
index b2cb9e3aba76..7e6f7e91caf7 100644
--- a/sys-libs/libnbd/libnbd-1.14.1.ebuild
+++ b/sys-libs/libnbd/libnbd-1.14.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.g
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="amd64 ~sparc ~x86"
 IUSE="fuse gnutls uri-support test"
 
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2023-05-14 16:42 Arsen Arsenović
  0 siblings, 0 replies; 11+ messages in thread
From: Arsen Arsenović @ 2023-05-14 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     309cba15a7f84ecf2f64b1d88a69a0a43b02cbeb
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 11:41:57 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun May 14 16:41:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309cba15

sys-libs/libnbd: add 1.16.1

Co-authored-by: INODE64 <ffelix <AT> inode64.com>
Signed-off-by: INODE64 <ffelix <AT> inode64.com>
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 sys-libs/libnbd/Manifest             |  1 +
 sys-libs/libnbd/libnbd-1.16.1.ebuild | 80 ++++++++++++++++++++++++++++++++++++
 sys-libs/libnbd/metadata.xml         |  3 ++
 3 files changed, 84 insertions(+)

diff --git a/sys-libs/libnbd/Manifest b/sys-libs/libnbd/Manifest
index 890270fa6e33..925593c8b6b4 100644
--- a/sys-libs/libnbd/Manifest
+++ b/sys-libs/libnbd/Manifest
@@ -1 +1,2 @@
 DIST libnbd-1.14.1.tar.gz 1257547 BLAKE2B 4c2fc02abc1d069b23fb8cc52b3359f10ebd23f2bc8cb359274a4fc2781413445d64ca1013b3123dff090d359a0e28076aa410220a05b155f95320238d1b99ee SHA512 9d95cf7a66926d00ec9aacfc6d04f2dc885ccfed07c78f1e6693190dd14132d30d6d1ff7d46e46007732a8a20a9fbf648775bc0b3371ad49eff4ce1e44e47209
+DIST libnbd-1.16.1.tar.gz 1379437 BLAKE2B 13020c21663e988d46fb5a048b31c58b0256c7c547fee2b95bde139324043d6102a0a901c98ffa75f88eca38cd0293329c62d6613435b74e65802c083af3c58f SHA512 e840cff964e847015955f0a0dcc7d03899d5e0fb0bdd3f5597ec87169d0b2689213fed72fd3afc84300ec86ed10703e9396599c11750ef10df66cf61853210a5

diff --git a/sys-libs/libnbd/libnbd-1.16.1.ebuild b/sys-libs/libnbd/libnbd-1.16.1.ebuild
new file mode 100644
index 000000000000..279ff95f756a
--- /dev/null
+++ b/sys-libs/libnbd/libnbd-1.16.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit bash-completion-r1 python-single-r1
+
+DESCRIPTION="NBD client library in userspace"
+HOMEPAGE="https://gitlab.com/nbdkit/libnbd"
+SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fuse gnutls go ocaml python test uri-support"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+# libxml2 - URI support
+RDEPEND="
+	dev-libs/libxml2
+	fuse? ( sys-fs/fuse:3 )
+	gnutls? ( net-libs/gnutls:= )
+	python? ( ${PYTHON_DEPS} )
+	go? ( dev-lang/go )
+	ocaml? ( >=dev-lang/ocaml-4.03:=[ocamlopt] )
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		sys-block/nbd[gnutls?]
+		sys-block/nbdkit[gnutls?]
+	)
+"
+BDEPEND="dev-lang/perl"
+
+src_prepare() {
+	default
+
+	# Some tests require impossible to provide features, such as fuse.
+	# These are marked by requires_... in the functions.sh shell
+	# library.  Rather than listing these tests, let's list out the
+	# impossible to support features and make them skip.
+	cat <<-EOF >> tests/functions.sh.in || die
+		requires_fuse ()
+		{
+			requires false
+		}
+	EOF
+
+	# Broken under sandbox.
+	cat <<-EOF > lib/test-fork-safe-execvpe.sh || die
+	#!/bin/sh
+	:
+	EOF
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable fuse)
+		$(use_enable go golang)
+		$(use_enable ocaml)
+		$(use_enable python)
+		$(use_with gnutls)
+		--with-uri-support
+	)
+
+	export bashcompdir="$(get_bashcompdir)"
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -delete || die
+	use python && python_optimize
+}

diff --git a/sys-libs/libnbd/metadata.xml b/sys-libs/libnbd/metadata.xml
index 5ef40b52a00e..907f610bee5a 100644
--- a/sys-libs/libnbd/metadata.xml
+++ b/sys-libs/libnbd/metadata.xml
@@ -16,5 +16,8 @@
 		<flag name="fuse">
 			Install the <pkg>sys-fs/fuse</pkg> powered nbdfuse.
 		</flag>
+		<flag name="go">
+			Build bindings for <pkg>dev-lang/go</pkg>
+		</flag>
 	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2023-05-14 18:56 Arsen Arsenović
  0 siblings, 0 replies; 11+ messages in thread
From: Arsen Arsenović @ 2023-05-14 18:56 UTC (permalink / raw
  To: gentoo-commits

commit:     8cf7fc584ee44b442fb69f4aaaaa3b1d9e3d318d
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 18:53:38 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun May 14 18:54:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf7fc58

sys-libs/libnbd: Fix spelling of --with-libxml2

Closes: https://bugs.gentoo.org/906335
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 sys-libs/libnbd/{libnbd-1.16.1.ebuild => libnbd-1.16.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libnbd/libnbd-1.16.1.ebuild b/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
similarity index 98%
rename from sys-libs/libnbd/libnbd-1.16.1.ebuild
rename to sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
index 279ff95f756a..d37ba42025e1 100644
--- a/sys-libs/libnbd/libnbd-1.16.1.ebuild
+++ b/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
@@ -64,7 +64,7 @@ src_configure() {
 		$(use_enable ocaml)
 		$(use_enable python)
 		$(use_with gnutls)
-		--with-uri-support
+		--with-libxml2
 	)
 
 	export bashcompdir="$(get_bashcompdir)"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2023-05-14 19:06 Arsen Arsenović
  0 siblings, 0 replies; 11+ messages in thread
From: Arsen Arsenović @ 2023-05-14 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     436de38e12e9229b93214a0195e44d83b76d7ba9
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 19:02:10 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun May 14 19:03:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436de38e

sys-libs/libnbd: drop unused uri-support IUSE in 1.16.1

Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 sys-libs/libnbd/libnbd-1.16.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild b/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
index d37ba42025e1..625b4a38d242 100644
--- a/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
+++ b/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.g
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="fuse gnutls go ocaml python test uri-support"
+IUSE="fuse gnutls go ocaml python test"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2023-05-17  0:14 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2023-05-17  0:14 UTC (permalink / raw
  To: gentoo-commits

commit:     d517f7a8790da1d4add67ad18ade6b0e39c2421c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 00:14:28 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 17 00:14:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d517f7a8

sys-libs/libnbd: Keyword 1.16.1-r1 sparc, #906331

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/libnbd/libnbd-1.16.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild b/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
index 625b4a38d242..6be886ede4e7 100644
--- a/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
+++ b/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.g
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~sparc ~x86"
 IUSE="fuse gnutls go ocaml python test"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2023-11-13 11:00 Arsen Arsenović
  0 siblings, 0 replies; 11+ messages in thread
From: Arsen Arsenović @ 2023-11-13 11:00 UTC (permalink / raw
  To: gentoo-commits

commit:     2bd36b8ff84d387ec31c43817c5b5d985cf71759
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 13 10:43:23 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Mon Nov 13 10:56:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd36b8f

sys-libs/libnbd: add 1.18.1

Bug: https://bugs.gentoo.org/915353
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 sys-libs/libnbd/Manifest             |  1 +
 sys-libs/libnbd/libnbd-1.18.1.ebuild | 81 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/sys-libs/libnbd/Manifest b/sys-libs/libnbd/Manifest
index 925593c8b6b4..ee6963a1435b 100644
--- a/sys-libs/libnbd/Manifest
+++ b/sys-libs/libnbd/Manifest
@@ -1,2 +1,3 @@
 DIST libnbd-1.14.1.tar.gz 1257547 BLAKE2B 4c2fc02abc1d069b23fb8cc52b3359f10ebd23f2bc8cb359274a4fc2781413445d64ca1013b3123dff090d359a0e28076aa410220a05b155f95320238d1b99ee SHA512 9d95cf7a66926d00ec9aacfc6d04f2dc885ccfed07c78f1e6693190dd14132d30d6d1ff7d46e46007732a8a20a9fbf648775bc0b3371ad49eff4ce1e44e47209
 DIST libnbd-1.16.1.tar.gz 1379437 BLAKE2B 13020c21663e988d46fb5a048b31c58b0256c7c547fee2b95bde139324043d6102a0a901c98ffa75f88eca38cd0293329c62d6613435b74e65802c083af3c58f SHA512 e840cff964e847015955f0a0dcc7d03899d5e0fb0bdd3f5597ec87169d0b2689213fed72fd3afc84300ec86ed10703e9396599c11750ef10df66cf61853210a5
+DIST libnbd-1.18.1.tar.gz 1482736 BLAKE2B d3f0b2993fa1392df93b0bbc5d63805489ad1a82cf5bcc5eb5c3b5b7e7e6c40095471ab8fc964cc0e5c7a99affa7150f7be38cc16c42f27fc4cdc16bd0ca0359 SHA512 f4262666be55d580550e053355f14f80d352bf869ae7241e9fa032a9b5cd9e027eb89a536871c1206422413fc7ed745da7d612b3e1413f76ec17168705fbf12c

diff --git a/sys-libs/libnbd/libnbd-1.18.1.ebuild b/sys-libs/libnbd/libnbd-1.18.1.ebuild
new file mode 100644
index 000000000000..f76fb66e7ebe
--- /dev/null
+++ b/sys-libs/libnbd/libnbd-1.18.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit bash-completion-r1 python-single-r1
+
+DESCRIPTION="NBD client library in userspace"
+HOMEPAGE="https://gitlab.com/nbdkit/libnbd"
+SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="fuse gnutls go ocaml python test"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+# libxml2 - URI support
+RDEPEND="
+	dev-libs/libxml2
+	fuse? ( sys-fs/fuse:3 )
+	gnutls? ( net-libs/gnutls:= )
+	python? ( ${PYTHON_DEPS} )
+	go? ( dev-lang/go )
+	ocaml? ( >=dev-lang/ocaml-4.03:=[ocamlopt] )
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		sys-block/nbd[gnutls?]
+		sys-block/nbdkit[gnutls?]
+	)
+"
+BDEPEND="dev-lang/perl"
+
+src_prepare() {
+	default
+
+	# Some tests require impossible to provide features, such as fuse.
+	# These are marked by requires_... in the functions.sh shell
+	# library.  Rather than listing these tests, let's list out the
+	# impossible to support features and make them skip.
+	cat <<-EOF >> tests/functions.sh.in || die
+		requires_fuse ()
+		{
+			requires false
+		}
+	EOF
+
+	# Broken under sandbox.
+	cat <<-EOF > lib/test-fork-safe-execvpe.sh || die
+	#!/bin/sh
+	:
+	EOF
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable fuse)
+		$(use_enable go golang)
+		$(use_enable ocaml)
+		$(use_enable python)
+		$(use_with gnutls)
+		--disable-rust # TODO(arsen): security bump takes priority
+		--with-libxml2
+	)
+
+	export bashcompdir="$(get_bashcompdir)"
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -delete || die
+	use python && python_optimize
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2023-12-02 10:56 Arthur Zamarin
  0 siblings, 0 replies; 11+ messages in thread
From: Arthur Zamarin @ 2023-12-02 10:56 UTC (permalink / raw
  To: gentoo-commits

commit:     76e091e59ac5b7bffe383ad38f699f79d91cd71f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 10:56:01 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 10:56:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e091e5

sys-libs/libnbd: Keyword 1.18.1 ppc64, #892954

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-libs/libnbd/libnbd-1.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libnbd/libnbd-1.18.1.ebuild b/sys-libs/libnbd/libnbd-1.18.1.ebuild
index f76fb66e7ebe..f113c5cc6050 100644
--- a/sys-libs/libnbd/libnbd-1.18.1.ebuild
+++ b/sys-libs/libnbd/libnbd-1.18.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.g
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
 IUSE="fuse gnutls go ocaml python test"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/
@ 2024-05-03 21:06 Arsen Arsenović
  0 siblings, 0 replies; 11+ messages in thread
From: Arsen Arsenović @ 2024-05-03 21:06 UTC (permalink / raw
  To: gentoo-commits

commit:     360b1b820c825c920d52c32419f4f753059e8d2f
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 30 09:36:28 2024 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Fri May  3 21:05:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360b1b82

sys-libs/libnbd: enable py3.12

Closes: https://bugs.gentoo.org/929856
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 sys-libs/libnbd/libnbd-1.18.1-r1.ebuild | 81 +++++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)

diff --git a/sys-libs/libnbd/libnbd-1.18.1-r1.ebuild b/sys-libs/libnbd/libnbd-1.18.1-r1.ebuild
new file mode 100644
index 000000000000..accecba8e4d2
--- /dev/null
+++ b/sys-libs/libnbd/libnbd-1.18.1-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit bash-completion-r1 python-single-r1
+
+DESCRIPTION="NBD client library in userspace"
+HOMEPAGE="https://gitlab.com/nbdkit/libnbd"
+SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
+IUSE="fuse gnutls go ocaml python test"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+# libxml2 - URI support
+RDEPEND="
+	dev-libs/libxml2
+	fuse? ( sys-fs/fuse:3 )
+	gnutls? ( net-libs/gnutls:= )
+	python? ( ${PYTHON_DEPS} )
+	go? ( dev-lang/go )
+	ocaml? ( >=dev-lang/ocaml-4.03:=[ocamlopt] )
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		sys-block/nbd[gnutls?]
+		sys-block/nbdkit[gnutls?]
+	)
+"
+BDEPEND="dev-lang/perl"
+
+src_prepare() {
+	default
+
+	# Some tests require impossible to provide features, such as fuse.
+	# These are marked by requires_... in the functions.sh shell
+	# library.  Rather than listing these tests, let's list out the
+	# impossible to support features and make them skip.
+	cat <<-EOF >> tests/functions.sh.in || die
+		requires_fuse ()
+		{
+			requires false
+		}
+	EOF
+
+	# Broken under sandbox.
+	cat <<-EOF > lib/test-fork-safe-execvpe.sh || die
+	#!/bin/sh
+	:
+	EOF
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable fuse)
+		$(use_enable go golang)
+		$(use_enable ocaml)
+		$(use_enable python)
+		$(use_with gnutls)
+		--disable-rust # TODO(arsen): security bump takes priority
+		--with-libxml2
+	)
+
+	export bashcompdir="$(get_bashcompdir)"
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -delete || die
+	use python && python_optimize
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-05-03 21:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-28  1:30 [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-05-03 21:06 Arsen Arsenović
2023-12-02 10:56 Arthur Zamarin
2023-11-13 11:00 Arsen Arsenović
2023-05-17  0:14 Sam James
2023-05-14 19:06 Arsen Arsenović
2023-05-14 18:56 Arsen Arsenović
2023-05-14 16:42 Arsen Arsenović
2023-04-01 16:30 Arthur Zamarin
2022-12-05 19:00 Arthur Zamarin
2022-12-03 11:06 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox