summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/nbd/ChangeLog7
-rw-r--r--sys-block/nbd/files/digest-nbd-2.9.46
-rw-r--r--sys-block/nbd/nbd-2.9.4.ebuild45
3 files changed, 57 insertions, 1 deletions
diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog
index aaeeb36ca746..8fe5731701a0 100644
--- a/sys-block/nbd/ChangeLog
+++ b/sys-block/nbd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/nbd
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.28 2007/06/11 05:22:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.29 2007/06/26 04:18:35 vapier Exp $
+
+*nbd-2.9.4 (26 Jun 2007)
+
+ 26 Jun 2007; Mike Frysinger <vapier@gentoo.org> +nbd-2.9.4.ebuild:
+ Version bump.
*nbd-2.9.3 (11 Jun 2007)
diff --git a/sys-block/nbd/files/digest-nbd-2.9.4 b/sys-block/nbd/files/digest-nbd-2.9.4
new file mode 100644
index 000000000000..3b1ca4f8c19f
--- /dev/null
+++ b/sys-block/nbd/files/digest-nbd-2.9.4
@@ -0,0 +1,6 @@
+MD5 35d63343db240aa32039a63040554a67 nbd-2.9.4.tar.bz2 179728
+RMD160 2a4055f9ce9b08ff270240491cd9f97bec6cc7df nbd-2.9.4.tar.bz2 179728
+SHA256 d271ba2c3edbe3bde808ebd6dcccba0bf93d61828a06296e6c7beb5faaf687dc nbd-2.9.4.tar.bz2 179728
+MD5 3e45be16d413bda30b23bf7dd30c48d7 nbd-linux-include.h.bz2 1248
+RMD160 f20d1ccf6b26a8e8edcb2d7c30ad2766a1a1dc3f nbd-linux-include.h.bz2 1248
+SHA256 df30a55e6cb83ed1a9060db83fd8b908b609c1fc2ce867c4b63b506f065c89fc nbd-linux-include.h.bz2 1248
diff --git a/sys-block/nbd/nbd-2.9.4.ebuild b/sys-block/nbd/nbd-2.9.4.ebuild
new file mode 100644
index 000000000000..27c50da17bb4
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-2.9.4.ebuild,v 1.1 2007/06/26 04:18:35 vapier Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2
+ mirror://gentoo/nbd-linux-include.h.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-2.9.2-gznbd.patch
+ epatch "${FILESDIR}"/${PN}-2.9.1-headers.patch
+
+ mkdir -p "${S}"/inc-after/linux
+ mv "${WORKDIR}"/nbd-linux-include.h "${S}"/inc-after/linux/nbd.h
+ append-flags -idirafter "${S}"/inc-after
+}
+
+src_compile() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ || die
+ emake || die
+ emake -C gznbd || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dobin gznbd/gznbd || die
+ dodoc README
+}