summaryrefslogtreecommitdiff
path: root/sys-block
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-26 03:04:35 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-26 03:04:35 -0500
commita5b204c853f6ce1d5c74fb57a0c5c64567baeab6 (patch)
tree0f53706c599b08fce57e6d273f4da9ebdba26036 /sys-block
parent4929cb9b608bff3b91ed50301ce7781760c58a88 (diff)
downloadbaldeagleos-repo-a5b204c853f6ce1d5c74fb57a0c5c64567baeab6.tar.gz
baldeagleos-repo-a5b204c853f6ce1d5c74fb57a0c5c64567baeab6.tar.xz
baldeagleos-repo-a5b204c853f6ce1d5c74fb57a0c5c64567baeab6.zip
Adding metadata
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/nbd/Manifest1
-rw-r--r--sys-block/nbd/nbd-3.27.1.ebuild68
-rw-r--r--sys-block/nbd/nbd-9999.ebuild46
3 files changed, 85 insertions, 30 deletions
diff --git a/sys-block/nbd/Manifest b/sys-block/nbd/Manifest
index 71ecec187a88..70cbb7a4abe7 100644
--- a/sys-block/nbd/Manifest
+++ b/sys-block/nbd/Manifest
@@ -1 +1,2 @@
DIST nbd-3.25.tar.xz 566360 BLAKE2B dce56fb91f6358955b0173b589df19ce2682e3cd6810b0bd74eeb973c24e52307ed55e197c13dcb9c2a62ac92e0dddb046fd1f4348862c7f7dc17bc479ba8cad SHA512 e8b83475a698b5c3718331b55a2c28fd10ca031e347aac7c439f1653d78a405fefa5cb2618e60f73b2f170a8c93d68e79a2cd5875e5c6a970cb1ef9d8e08ebda
+DIST nbd-3.27.1.tar.gz 716155 BLAKE2B c01c8a51e9ff2c11f1e1d7cf8b9af624ec95953f9ce92545fc01ccbd4505fc37ef37f259c2b03ab6180f54d5bab744d3f2b2d894e6ac49d6f19821644b14fa49 SHA512 e75372c9214ebeb66f5699d12b43bde98d8d123094a58c8dd07cc55c744523fe741c4ef4a0c54f7a1a64b817539a4817a825f89db36ae6cedeb5932a8867f966
diff --git a/sys-block/nbd/nbd-3.27.1.ebuild b/sys-block/nbd/nbd-3.27.1.ebuild
new file mode 100644
index 000000000000..2d93cc8f94ea
--- /dev/null
+++ b/sys-block/nbd/nbd-3.27.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="https://nbd.sourceforge.io/"
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/NetworkBlockDevice/nbd.git"
+else
+ # Use auto-generated tarballs for now as there's no dist tarball available
+ # See https://github.com/NetworkBlockDevice/nbd/issues/198
+ SRC_URI="https://github.com/NetworkBlockDevice/nbd/archive/refs/tags/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~sparc ~x86"
+fi
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug gnutls +netlink"
+
+RDEPEND="
+ >=dev-libs/glib-2.32.0
+ gnutls? ( >=net-libs/gnutls-2.12.0 )
+ netlink? ( >=dev-libs/libnl-3.1 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sys-devel/bison
+ virtual/pkgconfig
+ app-text/docbook-sgml-dtd:4.5
+ app-text/docbook-sgml-utils
+"
+BDEPEND+="
+ dev-build/autoconf-archive
+"
+
+src_prepare() {
+ default
+
+ emake -C systemd -f Makefile.am nbd@.service.sh.in
+
+ eautoreconf
+}
+
+src_configure() {
+ # Needs Bison
+ unset YACC
+
+ local myeconfargs=(
+ --enable-lfs
+ $(use_enable !debug syslog)
+ $(use_enable debug)
+ $(use_with gnutls)
+ $(use_with netlink libnl)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ systemd_dounit systemd/nbd@.service
+}
diff --git a/sys-block/nbd/nbd-9999.ebuild b/sys-block/nbd/nbd-9999.ebuild
index b222c82a1b60..2d93cc8f94ea 100644
--- a/sys-block/nbd/nbd-9999.ebuild
+++ b/sys-block/nbd/nbd-9999.ebuild
@@ -1,62 +1,50 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit systemd
+inherit autotools systemd
DESCRIPTION="Userland client/server for kernel network block device"
HOMEPAGE="https://nbd.sourceforge.io/"
if [[ ${PV} == 9999 ]] ; then
- inherit autotools git-r3
+ inherit git-r3
EGIT_REPO_URI="https://github.com/NetworkBlockDevice/nbd.git"
else
- SRC_URI="https://github.com/NetworkBlockDevice/nbd/releases/download/${P}/${P}.tar.xz"
- SRC_URI+=" https://downloads.sourceforge.net/nbd/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+ # Use auto-generated tarballs for now as there's no dist tarball available
+ # See https://github.com/NetworkBlockDevice/nbd/issues/198
+ SRC_URI="https://github.com/NetworkBlockDevice/nbd/archive/refs/tags/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~sparc ~x86"
fi
+S="${WORKDIR}/${PN}-${P}"
LICENSE="GPL-2"
SLOT="0"
-IUSE="debug gnutls netlink zlib"
+IUSE="debug gnutls +netlink"
RDEPEND="
>=dev-libs/glib-2.32.0
gnutls? ( >=net-libs/gnutls-2.12.0 )
netlink? ( >=dev-libs/libnl-3.1 )
- zlib? ( virtual/zlib:= )
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/bison
virtual/pkgconfig
+ app-text/docbook-sgml-dtd:4.5
+ app-text/docbook-sgml-utils
+"
+BDEPEND+="
+ dev-build/autoconf-archive
"
-
-if [[ ${PV} == 9999 ]] ; then
- BDEPEND+="
- app-text/docbook-sgml-dtd:4.5
- app-text/docbook-sgml-utils
- dev-build/autoconf-archive
- "
-fi
src_prepare() {
default
- if [[ ${PV} == 9999 ]] ; then
- emake -C man -f mans.mk \
- nbd-server.1.sh.in \
- nbd-server.5.sh.in \
- nbd-client.8.sh.in \
- nbd-trdump.1.sh.in \
- nbd-trplay.1.sh.in \
- nbdtab.5.sh.in
-
- emake -C systemd -f Makefile.am nbd@.service.sh.in
+ emake -C systemd -f Makefile.am nbd@.service.sh.in
- eautoreconf
- fi
+ eautoreconf
}
src_configure() {
@@ -65,8 +53,6 @@ src_configure() {
local myeconfargs=(
--enable-lfs
- # https://github.com/NetworkBlockDevice/nbd/issues/149
- --disable-gznbd
$(use_enable !debug syslog)
$(use_enable debug)
$(use_with gnutls)