diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-27 16:04:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-27 16:04:20 +0000 |
commit | d477aa84b31daf329bedd22c9c0f540ef5c805db (patch) | |
tree | d588f71fac2923344bd891da458e2cd99c224291 /sys-block/nbd | |
parent | Fix bug no. in ChangeLog. (diff) | |
download | gentoo-2-d477aa84b31daf329bedd22c9c0f540ef5c805db.tar.gz gentoo-2-d477aa84b31daf329bedd22c9c0f540ef5c805db.tar.bz2 gentoo-2-d477aa84b31daf329bedd22c9c0f540ef5c805db.zip |
Version bump.
(Portage version: 2.1.2_rc4-r1)
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.1 | 6 | ||||
-rw-r--r-- | sys-block/nbd/files/nbd-2.9.1-headers.patch | 26 | ||||
-rw-r--r-- | sys-block/nbd/nbd-2.9.1.ebuild | 45 |
4 files changed, 84 insertions, 1 deletions
diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog index 4602a4540182..98d364604a4f 100644 --- a/sys-block/nbd/ChangeLog +++ b/sys-block/nbd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-block/nbd # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.16 2006/11/02 01:13:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.17 2006/12/27 16:04:20 vapier Exp $ + +*nbd-2.9.1 (27 Dec 2006) + + 27 Dec 2006; Mike Frysinger <vapier@gentoo.org> + +files/nbd-2.9.1-headers.patch, +nbd-2.9.1.ebuild: + Version bump. *nbd-2.9.0 (02 Nov 2006) diff --git a/sys-block/nbd/files/digest-nbd-2.9.1 b/sys-block/nbd/files/digest-nbd-2.9.1 new file mode 100644 index 000000000000..0b5c9e2d2fbe --- /dev/null +++ b/sys-block/nbd/files/digest-nbd-2.9.1 @@ -0,0 +1,6 @@ +MD5 f2821abeda879916a9117e3c4cff6353 nbd-2.9.1.tar.bz2 156621 +RMD160 065afc80d8c744129e0df5d0485c6eef60b59fcc nbd-2.9.1.tar.bz2 156621 +SHA256 b31dfd6e35436bf11b14c574a5cb184da21e316ba3828d6b38c2d8c816681a3f nbd-2.9.1.tar.bz2 156621 +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.1-headers.patch b/sys-block/nbd/files/nbd-2.9.1-headers.patch new file mode 100644 index 000000000000..c77b344c8ab3 --- /dev/null +++ b/sys-block/nbd/files/nbd-2.9.1-headers.patch @@ -0,0 +1,26 @@ +kernel headers fixes this so no point in hacking the crap out of userspace + +--- configure ++++ configure +@@ -7743,10 +7743,6 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#define u32 int +-#define u64 int +-#define __be32 int +-#define __be64 int + #include "nbd.h" + + int +@@ -7803,10 +7803,6 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#define u32 int +-#define u64 int +-#define __be32 int +-#define __be64 int + #include <linux/nbd.h> + + int diff --git a/sys-block/nbd/nbd-2.9.1.ebuild b/sys-block/nbd/nbd-2.9.1.ebuild new file mode 100644 index 000000000000..b54a5424508b --- /dev/null +++ b/sys-block/nbd/nbd-2.9.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-2.9.1.ebuild,v 1.1 2006/12/27 16:04:20 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.8.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 +} |