summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-05-05 03:23:45 +0000
committerMike Frysinger <vapier@gentoo.org>2008-05-05 03:23:45 +0000
commitefb0a46c5041d7f475c34a595371c85c4fd33db6 (patch)
treebb9ab962fa0aa9a97db497187eec037fc00a5fe0 /sys-block/nbd
parentForce disable klibc building #220150 by cJ. (diff)
downloadhistorical-efb0a46c5041d7f475c34a595371c85c4fd33db6.tar.gz
historical-efb0a46c5041d7f475c34a595371c85c4fd33db6.tar.bz2
historical-efb0a46c5041d7f475c34a595371c85c4fd33db6.zip
old
Diffstat (limited to 'sys-block/nbd')
-rw-r--r--sys-block/nbd/files/nbd-2.8.2-gznbd.patch25
-rw-r--r--sys-block/nbd/files/nbd-2.9.0-headers.patch38
-rw-r--r--sys-block/nbd/nbd-2.9.0.ebuild45
-rw-r--r--sys-block/nbd/nbd-2.9.2.ebuild46
4 files changed, 0 insertions, 154 deletions
diff --git a/sys-block/nbd/files/nbd-2.8.2-gznbd.patch b/sys-block/nbd/files/nbd-2.8.2-gznbd.patch
deleted file mode 100644
index 57abf8554923..000000000000
--- a/sys-block/nbd/files/nbd-2.8.2-gznbd.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- gznbd/Makefile
-+++ gznbd/Makefile
-@@ -1,2 +1,7 @@
--gznbd: gznbd.c
-- gcc -s -Wall -O2 -DTRACE gznbd.c -o gznbd -lz
-+CC ?= gcc
-+CFLAGS ?= -s -O2
-+CFLAGS += -Wall -DTRACE
-+LDLIBS += -lz
-+
-+all: gznbd
-+gznbd: gznbd.c
---- 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/files/nbd-2.9.0-headers.patch b/sys-block/nbd/files/nbd-2.9.0-headers.patch
deleted file mode 100644
index b903cac3110d..000000000000
--- a/sys-block/nbd/files/nbd-2.9.0-headers.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-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
deleted file mode 100644
index bdffca8955ad..000000000000
--- a/sys-block/nbd/nbd-2.9.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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.0.ebuild,v 1.4 2007/02/10 13:17:40 beandog 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
-}
diff --git a/sys-block/nbd/nbd-2.9.2.ebuild b/sys-block/nbd/nbd-2.9.2.ebuild
deleted file mode 100644
index 4c907fd10f78..000000000000
--- a/sys-block/nbd/nbd-2.9.2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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.8 2007/08/13 21:54:11 dertobi123 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
- epatch "${FILESDIR}"/${PN}-2.9.2-no-page-header.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
-}