diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-11-02 01:13:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-11-02 01:13:21 +0000 |
commit | 8fd0d70baa051897b142daeef4addf6716847cc4 (patch) | |
tree | 8811a863a69dae601e1325ea80a92c7574fe3e82 /sys-block/nbd | |
parent | Added to x86 (diff) | |
download | gentoo-2-8fd0d70baa051897b142daeef4addf6716847cc4.tar.gz gentoo-2-8fd0d70baa051897b142daeef4addf6716847cc4.tar.bz2 gentoo-2-8fd0d70baa051897b142daeef4addf6716847cc4.zip |
Version bump.
(Portage version: 2.1.2_rc1-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.0 | 6 | ||||
-rw-r--r-- | sys-block/nbd/files/nbd-2.9.0-headers.patch | 38 | ||||
-rw-r--r-- | sys-block/nbd/nbd-2.9.0.ebuild | 45 |
4 files changed, 96 insertions, 1 deletions
diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog index 23ac79e687a8..4602a4540182 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.15 2006/10/17 20:16:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.16 2006/11/02 01:13:21 vapier Exp $ + +*nbd-2.9.0 (02 Nov 2006) + + 02 Nov 2006; Mike Frysinger <vapier@gentoo.org> + +files/nbd-2.9.0-headers.patch, +nbd-2.9.0.ebuild: + Version bump. *nbd-2.8.7 (17 Oct 2006) diff --git a/sys-block/nbd/files/digest-nbd-2.9.0 b/sys-block/nbd/files/digest-nbd-2.9.0 new file mode 100644 index 000000000000..3e027af204b6 --- /dev/null +++ b/sys-block/nbd/files/digest-nbd-2.9.0 @@ -0,0 +1,6 @@ +MD5 13351e6f92ec3c463a69d4326bd9ae36 nbd-2.9.0.tar.bz2 153357 +RMD160 b75bcab59f4da2849cc7a8c1217b972fc8a977cc nbd-2.9.0.tar.bz2 153357 +SHA256 cb621beb7f8374d4ef51733272fc4a4d6902f1ca957d426db899841552ac74fb nbd-2.9.0.tar.bz2 153357 +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.0-headers.patch b/sys-block/nbd/files/nbd-2.9.0-headers.patch new file mode 100644 index 000000000000..b903cac3110d --- /dev/null +++ b/sys-block/nbd/files/nbd-2.9.0-headers.patch @@ -0,0 +1,38 @@ +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 +--- cliserv.h ++++ cliserv.h +@@ -15,9 +15,6 @@ + #error I need at least some 64-bit type + #endif + +-#define __be32 u32 +-#define __be64 u64 +- + #ifdef NBD_H_LOCAL + #include "nbd.h" + #else diff --git a/sys-block/nbd/nbd-2.9.0.ebuild b/sys-block/nbd/nbd-2.9.0.ebuild new file mode 100644 index 000000000000..40e8336932ab --- /dev/null +++ b/sys-block/nbd/nbd-2.9.0.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.0.ebuild,v 1.1 2006/11/02 01:13:21 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.0-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 +} |