diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-28 11:33:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-28 11:33:48 +0000 |
commit | 502100da2a04f23301221ff3ab44b57879a44d28 (patch) | |
tree | 0790538d0f3425b27a0cd8a8494cba5e2374d0a4 /sys-block/nbd | |
parent | remove guile-1.8.1 with broken econf (diff) | |
download | gentoo-2-502100da2a04f23301221ff3ab44b57879a44d28.tar.gz gentoo-2-502100da2a04f23301221ff3ab44b57879a44d28.tar.bz2 gentoo-2-502100da2a04f23301221ff3ab44b57879a44d28.zip |
Version bump.
(Portage version: 2.1.2-r4)
Diffstat (limited to 'sys-block/nbd')
-rw-r--r-- | sys-block/nbd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-block/nbd/files/digest-nbd-2.9.2 | 6 | ||||
-rw-r--r-- | sys-block/nbd/files/nbd-2.9.2-gznbd.patch | 13 | ||||
-rw-r--r-- | sys-block/nbd/nbd-2.9.2.ebuild | 45 |
4 files changed, 71 insertions, 1 deletions
diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog index 69c414d1dab1..dc3b92b2244e 100644 --- a/sys-block/nbd/ChangeLog +++ b/sys-block/nbd/ChangeLog @@ -1,6 +1,12 @@ # 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.18 2007/01/09 01:46:18 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.19 2007/01/28 11:33:48 vapier Exp $ + +*nbd-2.9.2 (28 Jan 2007) + + 28 Jan 2007; Mike Frysinger <vapier@gentoo.org> + +files/nbd-2.9.2-gznbd.patch, +nbd-2.9.2.ebuild: + Version bump. 09 Jan 2007; Andrej Kacian <ticho@gentoo.org> nbd-2.9.0.ebuild: Stable on x86, bug #159209. diff --git a/sys-block/nbd/files/digest-nbd-2.9.2 b/sys-block/nbd/files/digest-nbd-2.9.2 new file mode 100644 index 000000000000..4dfc9fa47882 --- /dev/null +++ b/sys-block/nbd/files/digest-nbd-2.9.2 @@ -0,0 +1,6 @@ +MD5 772265215fd3e47139da8d04ab47ac1a nbd-2.9.2.tar.bz2 178100 +RMD160 5ac51a798cd37bd0edf66c427c3e28dded82088a nbd-2.9.2.tar.bz2 178100 +SHA256 9a2d8c70da201ad4934d6f104e13dd49c4901e84a94b6d9858d1df992f082855 nbd-2.9.2.tar.bz2 178100 +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/files/nbd-2.9.2-gznbd.patch b/sys-block/nbd/files/nbd-2.9.2-gznbd.patch new file mode 100644 index 000000000000..1b3f4ff7892d --- /dev/null +++ b/sys-block/nbd/files/nbd-2.9.2-gznbd.patch @@ -0,0 +1,13 @@ +--- gznbd/gznbd.c ++++ gznbd/gznbd.c +@@ -49,8 +49,8 @@ + /* asm/types defines __u??, at least on my system */ + #include <asm/types.h> + +-#define u32 __u32 +-#define u64 __u64 ++#include <syslog.h> ++#define MY_NAME "gznbd" + + /* these headers take care of endianness */ + #include "../config.h" diff --git a/sys-block/nbd/nbd-2.9.2.ebuild b/sys-block/nbd/nbd-2.9.2.ebuild new file mode 100644 index 000000000000..01a1ae40d599 --- /dev/null +++ b/sys-block/nbd/nbd-2.9.2.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.2.ebuild,v 1.1 2007/01/28 11:33:48 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 +} |