diff options
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/nbd/files/digest-nbd-2.8.2-r1 | 6 | ||||
-rw-r--r-- | sys-block/nbd/files/digest-nbd-2.8.6 | 6 | ||||
-rw-r--r-- | sys-block/nbd/files/digest-nbd-2.8.7 | 6 | ||||
-rw-r--r-- | sys-block/nbd/files/digest-nbd-2.9.1 | 6 | ||||
-rw-r--r-- | sys-block/nbd/files/nbd-2.8.2-buffer-check.patch | 26 | ||||
-rw-r--r-- | sys-block/nbd/files/nbd-2.8.7-headers.patch | 39 | ||||
-rw-r--r-- | sys-block/nbd/nbd-2.8.2-r1.ebuild | 43 | ||||
-rw-r--r-- | sys-block/nbd/nbd-2.8.6.ebuild | 42 | ||||
-rw-r--r-- | sys-block/nbd/nbd-2.8.7.ebuild | 45 | ||||
-rw-r--r-- | sys-block/nbd/nbd-2.9.1.ebuild | 45 |
10 files changed, 0 insertions, 264 deletions
diff --git a/sys-block/nbd/files/digest-nbd-2.8.2-r1 b/sys-block/nbd/files/digest-nbd-2.8.2-r1 deleted file mode 100644 index 5f3336ed1632..000000000000 --- a/sys-block/nbd/files/digest-nbd-2.8.2-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 ca9087568f2d5d3d2d3ed5fe1b506ec4 nbd-2.8.2.tar.gz 154065 -RMD160 b922d739c3111e62a966f875be979245829ce8b2 nbd-2.8.2.tar.gz 154065 -SHA256 6577f70df239f23244f5617f8f31eafc0a2b0119c1f3b2ee58d49f9b612229e2 nbd-2.8.2.tar.gz 154065 -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/digest-nbd-2.8.6 b/sys-block/nbd/files/digest-nbd-2.8.6 deleted file mode 100644 index bd38a9ec5af8..000000000000 --- a/sys-block/nbd/files/digest-nbd-2.8.6 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 854d769c2e1e8aad4045c91e636bc1d4 nbd-2.8.6.tar.gz 196643 -RMD160 e58fa43592a220a6ebe1a3f8d819472c96318fc5 nbd-2.8.6.tar.gz 196643 -SHA256 28d6e99dc9107d4fc46faa260d7707e6bd40f7388694f6362c098aded487e675 nbd-2.8.6.tar.gz 196643 -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/digest-nbd-2.8.7 b/sys-block/nbd/files/digest-nbd-2.8.7 deleted file mode 100644 index 368bb127c476..000000000000 --- a/sys-block/nbd/files/digest-nbd-2.8.7 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 bc7995b4961385269abc645575bcaf4d nbd-2.8.7.tar.bz2 141225 -RMD160 2f3d52e586c7895a1c576b70498228c73e1ffaba nbd-2.8.7.tar.bz2 141225 -SHA256 a69d1690ad587d81b85c34d1ef9bf47abf0ba21dc96876d95dd6a9a193a859f1 nbd-2.8.7.tar.bz2 141225 -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/digest-nbd-2.9.1 b/sys-block/nbd/files/digest-nbd-2.9.1 deleted file mode 100644 index 0b5c9e2d2fbe..000000000000 --- a/sys-block/nbd/files/digest-nbd-2.9.1 +++ /dev/null @@ -1,6 +0,0 @@ -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.8.2-buffer-check.patch b/sys-block/nbd/files/nbd-2.8.2-buffer-check.patch deleted file mode 100644 index 5367b0c0aa14..000000000000 --- a/sys-block/nbd/files/nbd-2.8.2-buffer-check.patch +++ /dev/null @@ -1,26 +0,0 @@ -Kurt Fitzner writes: -There is a buffer size bug in the nbd server from at least version 2.7.5 -and on. - -The buffer size is exactly one megabyte, but nbd-server will accept -requests that are the buffer size. The problem is, the server makes no -allowance that the buffer must also hold the reply header. A read -request that is exactly one megabyte will write past the end of the -buffer by the size of the reply header. - -The allocation of the buffer needs to be BUFSIZE + sizeof(struct nbd_reply). - -http://sourceforge.net/mailarchive/forum.php?thread_id=9201144&forum_id=40388 -http://bugs.gentoo.org/116314 - ---- nbd/nbd-server.c -+++ nbd/nbd-server.c -@@ -677,7 +677,7 @@ int mainloop(CLIENT *client) { - - if (request.magic != htonl(NBD_REQUEST_MAGIC)) - err("Not enough magic."); -- if (len > BUFSIZE) -+ if (len > BUFSIZE - sizeof(struct nbd_reply)) - err("Request too big!"); - #ifdef DODBG - printf("%s from %Lu (%Lu) len %d, ", request.type ? "WRITE" : diff --git a/sys-block/nbd/files/nbd-2.8.7-headers.patch b/sys-block/nbd/files/nbd-2.8.7-headers.patch deleted file mode 100644 index 5d17d0ac84cf..000000000000 --- a/sys-block/nbd/files/nbd-2.8.7-headers.patch +++ /dev/null @@ -1,39 +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,10 +15,6 @@ - #error I need at least some 64-bit type - #endif - --/* 2.6.18 and above use __be* rather than u* */ --#define __be32 u32 --#define __be64 u64 -- - #ifdef NBD_H_LOCAL - #include "nbd.h" - #else diff --git a/sys-block/nbd/nbd-2.8.2-r1.ebuild b/sys-block/nbd/nbd-2.8.2-r1.ebuild deleted file mode 100644 index b3c47131f1b2..000000000000 --- a/sys-block/nbd/nbd-2.8.2-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# 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.8.2-r1.ebuild,v 1.5 2006/02/02 01:39:47 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.gz - mirror://gentoo/nbd-linux-include.h.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -DEPEND=">=dev-libs/glib-2.0" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gznbd.patch - epatch "${FILESDIR}"/${P}-buffer-check.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() { - make install DESTDIR="${D}" || die - dobin gznbd/gznbd || die - dodoc README -} diff --git a/sys-block/nbd/nbd-2.8.6.ebuild b/sys-block/nbd/nbd-2.8.6.ebuild deleted file mode 100644 index ffc7d3a8bf8f..000000000000 --- a/sys-block/nbd/nbd-2.8.6.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# 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.8.6.ebuild,v 1.1 2006/09/26 04:45:19 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.gz - mirror://gentoo/nbd-linux-include.h.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND=">=dev-libs/glib-2.0" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-2.8.2-gznbd.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.8.7.ebuild b/sys-block/nbd/nbd-2.8.7.ebuild deleted file mode 100644 index e10f63a2d8d8..000000000000 --- a/sys-block/nbd/nbd-2.8.7.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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.8.7.ebuild,v 1.2 2006/11/01 01:45:29 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.8.7-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.1.ebuild b/sys-block/nbd/nbd-2.9.1.ebuild deleted file mode 100644 index b54a5424508b..000000000000 --- a/sys-block/nbd/nbd-2.9.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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 -} |