summaryrefslogtreecommitdiff
path: root/sys-block/nbd
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/nbd')
-rw-r--r--sys-block/nbd/Manifest1
-rw-r--r--sys-block/nbd/nbd-3.14.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-block/nbd/Manifest b/sys-block/nbd/Manifest
index 3085534c2f6..ec574e8fa04 100644
--- a/sys-block/nbd/Manifest
+++ b/sys-block/nbd/Manifest
@@ -1,3 +1,4 @@
DIST nbd-3.11.tar.xz 451992 SHA256 14420f74cb16dc609a9302ed1efd653064bed7a8357e9d73daabc33608e3f2a0 SHA512 8d0abf673c7a2a7fbc5a57e0ee1093c86ca205eb664ea08143ff4ce3c8fd94b81a0e89491145159d863d181f70e9ba109487b967097c91fc2399316226bcec0a WHIRLPOOL 23f29b0e82e4672f5edfa223b7b26552ceb7505b6ff43efa151e3357811a2d4f1b599d6b9553a89e07b90b7322a3ac88f256a66d5d7e850758ea5cee4125d849
DIST nbd-3.12.1.tar.xz 470676 SHA256 b105b9bedd82d86aee2e81e624bea33461db9918d58ddd79f5f2fd534c8b73de SHA512 8699fc62117a1321d389878dfcfb8552b960bb65aa3751feaa13d4197d9e7f717434f59d1560f1b7e23a647232500e882b31fe196392ba5f2644d23baefd0af8 WHIRLPOOL 6c9d495c77d9a2da4e3ac1a5842c8deaf9139f6ecb3eb13746051582fd6053118f561a5527227ea4a507dae4370cfba92860eaa96ab254b93f3d3d9b61aefa70
DIST nbd-3.13.tar.xz 459756 SHA256 8597cd97a41930dfcbcc6ce7cf910f6b609771718a4f1680713c2f2ba5cc200d SHA512 da1f6c1aab10baf7ef10062481f3a26dfa142f5cfc21fb7abc90f6eb9906df619331dbb36b693c52d4a7a5fe0923f6179b59eea74033cb1278dca99b192cdbff WHIRLPOOL e2d875c31215bc3e1594143b198d8a87abcfe1faf508057db9f766561edd3ca7d35f243330af71938228b61c2fe31250a59ece9f87291d967fdbd0575eec99b9
+DIST nbd-3.14.tar.xz 480260 SHA256 4d3d230ecc0a1302dc08d89f2a12d7596a8745f2b10da9bb035bbeb9ede78631 SHA512 f65c8bfb9f35931da6ec41bbcf94a34268fb7166b5df224ce525319bb053aa3ed174d242369cffc57a2e0d685c6a540cd2498f8044cd25c0c5bdeb92e9f099d0 WHIRLPOOL 7aef5b4ef84a2667ef7bdf1415f0a724acbf9aba8a67996cdb7721754b5ec0209814e46736dc362f49ffd7324163a4a979d94fd339a2055e419625100678eea7
diff --git a/sys-block/nbd/nbd-3.14.ebuild b/sys-block/nbd/nbd-3.14.ebuild
new file mode 100644
index 00000000000..730ec68aa1f
--- /dev/null
+++ b/sys-block/nbd/nbd-3.14.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Fails to build systemd target.
+ # Once this is fixed we don't need autotools.eclass anymore.
+ sed '/^SUBDIRS/s@ systemd@@' -i Makefile.am || die
+ # eautoreconf fails without this
+ sed "s@m4_esyscmd_s(support/genver.sh)@[${PV}]@" -i configure.ac \
+ || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ $(use_enable !debug syslog) \
+ $(use_enable debug) \
+ $(use_enable zlib gznbd)
+}