summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-11 20:55:41 +0000
committerMike Frysinger <vapier@gentoo.org>2010-04-11 20:55:41 +0000
commite1fbcdfcd88bd4e7fffc27ad52e110bc62d00320 (patch)
treeb64e8867059cd002a52d059adc524c572893fe6a /sys-block/nbd
parentold (diff)
downloadgentoo-2-e1fbcdfcd88bd4e7fffc27ad52e110bc62d00320.tar.gz
gentoo-2-e1fbcdfcd88bd4e7fffc27ad52e110bc62d00320.tar.bz2
gentoo-2-e1fbcdfcd88bd4e7fffc27ad52e110bc62d00320.zip
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-block/nbd')
-rw-r--r--sys-block/nbd/ChangeLog9
-rw-r--r--sys-block/nbd/nbd-2.9.15.ebuild45
2 files changed, 52 insertions, 2 deletions
diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog
index d75e7c8b11ef..fd38edfe9bd5 100644
--- a/sys-block/nbd/ChangeLog
+++ b/sys-block/nbd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/nbd
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.47 2009/10/31 14:19:26 ranger Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.48 2010/04/11 20:55:41 vapier Exp $
+
+*nbd-2.9.15 (11 Apr 2010)
+
+ 11 Apr 2010; Mike Frysinger <vapier@gentoo.org> +nbd-2.9.15.ebuild:
+ Version bump.
31 Oct 2009; Brent Baude <ranger@gentoo.org> nbd-2.9.13.ebuild:
Marking nbd-2.9.13 ppc64 for bug 289523
diff --git a/sys-block/nbd/nbd-2.9.15.ebuild b/sys-block/nbd/nbd-2.9.15.ebuild
new file mode 100644
index 000000000000..4ed98effb7e3
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.15.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-2.9.15.ebuild,v 1.1 2010/04/11 20:55:41 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 ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-2.9.1-headers.patch
+ sed -i 's:/usr/bin/klcc:/suck/it/k/l/c/c:g' configure || die
+
+ 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
+}