summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-block/nbd
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-block/nbd')
-rw-r--r--sys-block/nbd/Manifest18
-rw-r--r--sys-block/nbd/files/nbd-3.5-gznbd-printf-u64.patch59
-rw-r--r--sys-block/nbd/files/nbd-3.5-gznbd-zlib.patch38
-rw-r--r--sys-block/nbd/metadata.xml8
-rw-r--r--sys-block/nbd/nbd-2.9.20.ebuild35
-rw-r--r--sys-block/nbd/nbd-2.9.21a.ebuild35
-rw-r--r--sys-block/nbd/nbd-2.9.22.ebuild35
-rw-r--r--sys-block/nbd/nbd-2.9.23.ebuild35
-rw-r--r--sys-block/nbd/nbd-2.9.24.ebuild34
-rw-r--r--sys-block/nbd/nbd-2.9.25.ebuild35
-rw-r--r--sys-block/nbd/nbd-3.0.ebuild35
-rw-r--r--sys-block/nbd/nbd-3.1.1.ebuild35
-rw-r--r--sys-block/nbd/nbd-3.10.ebuild29
-rw-r--r--sys-block/nbd/nbd-3.11.ebuild29
-rw-r--r--sys-block/nbd/nbd-3.2.ebuild38
-rw-r--r--sys-block/nbd/nbd-3.3.ebuild38
-rw-r--r--sys-block/nbd/nbd-3.4.ebuild38
-rw-r--r--sys-block/nbd/nbd-3.5.ebuild43
-rw-r--r--sys-block/nbd/nbd-3.6.ebuild38
-rw-r--r--sys-block/nbd/nbd-3.7.ebuild38
-rw-r--r--sys-block/nbd/nbd-3.8.ebuild38
-rw-r--r--sys-block/nbd/nbd-3.9.1.ebuild29
22 files changed, 760 insertions, 0 deletions
diff --git a/sys-block/nbd/Manifest b/sys-block/nbd/Manifest
new file mode 100644
index 000000000000..031f767777ce
--- /dev/null
+++ b/sys-block/nbd/Manifest
@@ -0,0 +1,18 @@
+DIST nbd-2.9.20.tar.bz2 152395 SHA256 98f0de421f0b2f683d46dff3eb679a3409a41f08e6fad7c2f71f60c5d409939c SHA512 3fb7cc2cd134cc79c352a78875f0579d89eaa3c4d66dc9801126a88ee56e5ff422bce039dddc802bd08fad5b7450d9b95dd3f0590e2c5cb51b59ddf84a5183a6 WHIRLPOOL df0748fec272e74907f13ea4387ec0c80eae500704662792d8d8e48c8fef9396dac9853787bd2f9e1b0881d1c13ef0337dcb00dd0e5cc86e147de1492f91c5e2
+DIST nbd-2.9.21a.tar.bz2 154161 SHA256 9946dd7f4a63cf20ea8617100d0f599211d4a5fd5b6cfb8f50f8975431222bbd SHA512 20b1dacb1503664106e6c1c0a2eb884a104cd484b9bb9396d7b37e1458ef9f824ff1a280edfca37e854818bfa1269379b85d1085b8053349dee9b91e0ff26532 WHIRLPOOL ffd7f5feacea636264be356e6b9f2eae7430a9fb14e3cd253b22344ecf49f742e095e244c8ce13140d3b646270409b0bfff9ad43236dd025536a7bf542a19ecf
+DIST nbd-2.9.22.tar.bz2 490185 SHA256 f9e1a9db1663393fd1f2de2dd70cf15cc4fa17616853b717db7ca6c539f8787d SHA512 7d7d58ca06c9caa5f10836218b27d6889dbb63cd26358eeb84bc3f3c885a7721fbe91782b1fedc13e67e2e66db4c8114175bfb9b92271392ec4d10036be3f912 WHIRLPOOL 0c6598cc0449fb52fc0228ba7ea6aca8a9be10707878c5ef4bdc82adbe600eaabd3005bf3fcb4e4530c7d450b5fd17556d63ff72ba683d7831615e5e74a5c14f
+DIST nbd-2.9.23.tar.bz2 498413 SHA256 0ab44fe9e80c3f41bb1025ecda351a874affd46bf56ba4033ea03700c3b83803 SHA512 dc6e4ce050708fc66058daaf07c70d26ebb644387d7811666f232b33520de289ca6b1cb531c954702528056e78fc1642acf831af7b0eeea4a10d318546bd9388 WHIRLPOOL 737286b3849e24c4d35cde2561ca893f9018a1c69c9118483dd7f619eedb4efcb60a7802905a27aedc79f79c35c1a23f38ec284bd6e8e432829799395e32b949
+DIST nbd-2.9.24.tar.bz2 500247 SHA256 b8f69b3f4cf7961d5c247de9a5c202519563fa2e75b7ada430797166bac6ac08
+DIST nbd-2.9.25.tar.bz2 500483 SHA256 179548406aa2bcb0c6bff3aa0484dbb04136ec055aa385c84fefbe3c9ea96ba4 SHA512 740bf2ecfaedf2c4bda93b7ac9d3e4d8678f7450d6963f7ed97c367b6934684dd6c8100a07fcac6e1d330beeab1f5ca3d9b279c6fbf7867103be15592843fc1f WHIRLPOOL 386e25b0ed5353039036aefe4acd20e410bda63a2aee28a80e2a5b78f5aeb9ab42910e8416ddafd5fd8a56a458d60472d1715c6eb775c0e81205a988aeee2c2a
+DIST nbd-3.0.tar.bz2 505274 SHA256 f7210edfa858f5ae69bdbf76f5467ac9dcaa97074d945e55e2a683e7aa228b93 SHA512 1226ec9bee0148d6af7b6f6dd46382916045a71d87554aab20903aff040a2214286b7b7071f7f34fce12ffde82e660992cd8b75f43864ede64cbfb604ed1248e WHIRLPOOL 1a1567a9d477d60ae91addfcd262418689ff9801a7d801d20ba122bd2116ddeab11046abb99f69bb653d3f9e4797880d0d9a722eff39a1e620bd2d4a990f0757
+DIST nbd-3.1.1.tar.bz2 508444 SHA256 5cd150b874f966aacf4a9dfe1e9de9b2139b295241ce89bae9f70f9aa844220b SHA512 937db191b3cc0800c5a0c31b0d2b634059768f133d42bfd8b13628bb5d6de766b51c5ccc82726b5756e4f7c67878bb36307e04597d8891d175f5334a1b998386 WHIRLPOOL 2a376219f2be2689cccc6ce8277e541ed2154e4dbdd424a6482241b468d432c712b248db0971a7d99dd9aeeb3bd80f6e6b0460ebd824cb53a7c8127a0ec1ffbe
+DIST nbd-3.10.tar.xz 461508 SHA256 6fc53a7a67ab6c786586ee155b76b502d3ff14f4233e9077957968b3bf3847ce SHA512 39b0190e136783ba765079340858c82992392e5711ec046238eb47f9de07163f7d4289b6b1abd35d9d35e61c7ea53fefa3c9dfc7de0deba699663b392277cd4e WHIRLPOOL 81f28e0129291a31b03b0aa57c61acb5a463483f82802a542e0b9d953c7cb7a86337a6ee0145f28740a7e59d21068b8d72d45ad54ac1b6f15d0025387485a0ae
+DIST nbd-3.11.tar.xz 451992 SHA256 14420f74cb16dc609a9302ed1efd653064bed7a8357e9d73daabc33608e3f2a0 SHA512 8d0abf673c7a2a7fbc5a57e0ee1093c86ca205eb664ea08143ff4ce3c8fd94b81a0e89491145159d863d181f70e9ba109487b967097c91fc2399316226bcec0a WHIRLPOOL 23f29b0e82e4672f5edfa223b7b26552ceb7505b6ff43efa151e3357811a2d4f1b599d6b9553a89e07b90b7322a3ac88f256a66d5d7e850758ea5cee4125d849
+DIST nbd-3.2.tar.bz2 508734 SHA256 e297c1883133f04a55d8e9527a2e4344e577a54046cf81694ffabe13f73793db SHA512 dbb751ec74784d8ea89d4df273ba239d66cf1d6fca16fea44a77502d6241132b960bd41dfdde844854e2df68bf27763b215207c0518bde943a2f3c631e4f76ec WHIRLPOOL b863eb8cc0ef7368ac92b8f58748197bf10c93cad06741491cd2ca29eb1d3cab4947272f6a30ac360a054f641dad67f93031f05a609ffaf8636b9a8f34288946
+DIST nbd-3.3.tar.bz2 515909 SHA256 83105718dcab9eee7ea152d6e5f4928095f0d3e21dcf92e43eef183e29a80c19 SHA512 9e43f0f751172a18e9edf0e312ff4e8aee3b0ce303ed6f69308312a4565fb06d4b9e9e528f11470031c6490a8416d41266e18a0d6e249749305e01f200d0b608 WHIRLPOOL 97e994d953c046492216fcc09333b158304df80a310a28e3dceba581d3098962079af82fd3cf7d4816168a06e987b823bb1759be4afab35bd679ad5d4ac3ee91
+DIST nbd-3.4.tar.bz2 582959 SHA256 552a6dfdd69a13217a0c449892acf70fb3a1f0fce745c72ed6d83ee50a0a32cf SHA512 dd08dc2c238a23b3b6e3b0b4422b3b2bface007ed0b4230cff4bf0d2a3f628666d9b34a385883f4ab65d89be05fce3fe7d86598748f294760d61fd2b9bc969a7 WHIRLPOOL 998f2431e0fe580345b4c5ced94fd087aee8564fe7b3e4c48e57e2e33ddd7faf4768ab7433956f8bbdce14b45acb5152d5202f1df45dfd6e1b635b0b9e8bb600
+DIST nbd-3.5.tar.bz2 523049 SHA256 1d3f049d525f50584d012551d138bf6d291f605a92df7d6bb56085ca5a5d363b SHA512 96d055ce56aa2f2f9ed470168e959260c010b05fe8eee47d20a7a01b5c01734a2a85376279fc948e4a0b34a6cf4532d2e8e5b5e189db7830bebe7b96ee847a57 WHIRLPOOL bd5e85d2aea2fa53b72396c9bea046a2bb4230079636c633248e125f3e3e59ba794454560eac995914fa4f8c5d27316fca0636e4dba7e3722cf515b691373c67
+DIST nbd-3.6.tar.xz 454068 SHA256 a6f668a12756ae0cf24980653722a753c6b53553742ac57a309f27e1a9ded8cc SHA512 2ad307e7ce0a3b5b6dc27c19075b61edda384d82dca7f032db285f17c31bda2c5a29db2782ca59b2b34babe35a3d00fea2052df0214f021b4043b6c922160cb8 WHIRLPOOL 9ba42ba54505637f511667edb093f663c31de2b137d902dfa2f053fd93a62aef9f19932149cf43badae5ab96380aeb6f5ec5e7b232b25a122381568af4fde0da
+DIST nbd-3.7.tar.xz 448640 SHA256 0bb4915f468499b98237ec523b97d3f6eb0324c7a94de25159069397cbdb8bcc SHA512 110add829e306855cd981d6a3c8212186e179a9a4fb9cb30c1ae3f59328faf54230b40ad510b218dbf65a276a5b95bf0ffc25fa81296cc4d165e36ad7a6ba8db WHIRLPOOL 48062d84048b11939292f7eea1d81ff190ccc9b81973d6e78e061c34ca4a3d0f2a22d2e5a2d20bf86079310e4158c47e5b489eb4ff83485305c5af3e82cece2c
+DIST nbd-3.8.tar.xz 452624 SHA256 48a223770eb136603dc266587d9a37ed5024132e09e2c8484096d4c46cfed3e2 SHA512 55e0fd0e8c5d244daf82531dc263ddcace7148d0b7dce163cf339a46312ab75d313ea24674b8cb5b8dff4354a69d749f108f5aa79a74ac7fbbc128fbc9bb11de WHIRLPOOL 98342ea0ed0ff619fb3436dace43e3201fe10caa72fc5005599ee1dec1fc8f1e9a6c5b43f1d12c70663e93e7eae306d171b71409345155d38f47afd3747db16e
+DIST nbd-3.9.1.tar.xz 466120 SHA256 99052ff638f7c8ac0ceedc65e4dba78cc8ed0acf8ea7ae99e98cd8be5c1113a0 SHA512 dd8ab066af6761df9ab168e91f421b19a3ffdb230a480fe0d6c311fa356472fd9640d31b2b0e8487b6bb68025859ef31eaada216de6776a31625bd94111dfb5a WHIRLPOOL e32c34e35de3a0c93fa4138a52cccade85e441b484ab4399836225c4c0e0d609b807822ff282cf3bf42700235f1a30a784cfd35642dca20c66caba1d882bbf8a
diff --git a/sys-block/nbd/files/nbd-3.5-gznbd-printf-u64.patch b/sys-block/nbd/files/nbd-3.5-gznbd-printf-u64.patch
new file mode 100644
index 000000000000..eff90faa1962
--- /dev/null
+++ b/sys-block/nbd/files/nbd-3.5-gznbd-printf-u64.patch
@@ -0,0 +1,59 @@
+From 90024f17b682e20a34f35a6ccb437edc10eb5c3b Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 2 Dec 2013 00:22:46 -0500
+Subject: [PATCH 1/2] gznbd: use PRId64 for printing 64bit types
+
+Gcc complains about printing these 64bit types:
+
+gznbd.c:199:1: warning: format '%Ld' expects argument of type 'long long int',
+ but argument 5 has type 'u64' [-Wformat]
+
+Use the standard defines from inttypes.h to avoid this issue.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ gznbd/gznbd.c | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/gznbd/gznbd.c b/gznbd/gznbd.c
+index 09f3d49..bb41156 100644
+--- a/gznbd/gznbd.c
++++ b/gznbd/gznbd.c
+@@ -40,6 +40,7 @@
+ #include <fcntl.h>
+ #include <syslog.h>
+ #include <unistd.h>
++#include <inttypes.h>
+
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
+@@ -95,7 +96,7 @@ int main(int argc, char **argv)
+ fprintf(stderr,"%s: %s does not appear to be a valid size\n",argv[0],argv[3]);
+ exit(1);
+ }
+- printf("%s: file=%s, size=%Ld\n",argv[0],argv[2],size);
++ printf("%s: file=%s, size=%"PRId64"\n",argv[0],argv[2],size);
+ } else {
+ char buffer[BLOCK];
+ int result;
+@@ -110,7 +111,7 @@ int main(int argc, char **argv)
+ }
+
+ if(result==0){
+- printf("size=%Ld\n",size);
++ printf("size=%"PRId64"\n",size);
+ } else {
+ printf("failed\n");
+ if(result<0){
+@@ -195,7 +196,7 @@ int main(int argc, char **argv)
+ from=ntohll(request.from);
+
+ #ifdef TRACE
+-fprintf(stderr,"%s: len=%d, from=%Ld\n",argv[0],len,from);
++fprintf(stderr,"%s: len=%d, from=%"PRId64"\n",argv[0],len,from);
+ #endif
+
+ if(request.magic!=htonl(NBD_REQUEST_MAGIC)){
+--
+1.8.4.3
+
diff --git a/sys-block/nbd/files/nbd-3.5-gznbd-zlib.patch b/sys-block/nbd/files/nbd-3.5-gznbd-zlib.patch
new file mode 100644
index 000000000000..e4609e03ab7a
--- /dev/null
+++ b/sys-block/nbd/files/nbd-3.5-gznbd-zlib.patch
@@ -0,0 +1,38 @@
+From 172a5a7c5824237537051247f203a39cc39e3aef Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 2 Dec 2013 00:24:01 -0500
+Subject: [PATCH 2/2] gznbd: fix warning with newer zlib
+
+When you build against newer zlib, you get a lot of warnings like so:
+
+gznbd.c: In function 'main':
+gznbd.c:87:5: warning: assignment from incompatible pointer type [enabled by default]
+gznbd.c:109:5: warning: passing argument 1 of 'gzread' from incompatible pointer type [enabled by default]
+In file included from gznbd.c:37:0:
+/usr/include/zlib.h:1313:21: note: expected 'gzFile' but argument is of type 'struct gzFile_s **'
+gznbd.c:118:9: warning: passing argument 1 of 'gzerror' from incompatible pointer type [enabled by default]
+
+This is because the zlib API uses just gzFile everywhere, not a pointer
+to a gzFile.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ gznbd/gznbd.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gznbd/gznbd.c b/gznbd/gznbd.c
+index bb41156..803c1c1 100644
+--- a/gznbd/gznbd.c
++++ b/gznbd/gznbd.c
+@@ -68,7 +68,7 @@ int main(int argc, char **argv)
+ int pr[2];
+ int sk;
+ int nbd;
+- gzFile *gz;
++ gzFile gz;
+ int gzerr;
+
+ char chunk[CHUNK];
+--
+1.8.4.3
+
diff --git a/sys-block/nbd/metadata.xml b/sys-block/nbd/metadata.xml
new file mode 100644
index 000000000000..8ce88b90af59
--- /dev/null
+++ b/sys-block/nbd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>base-system</herd>
+ <upstream>
+ <remote-id type="sourceforge">nbd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-block/nbd/nbd-2.9.20.ebuild b/sys-block/nbd/nbd-2.9.20.ebuild
new file mode 100644
index 000000000000..e4057920af3c
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.20.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog
+}
+
+src_compile() {
+ 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.21a.ebuild b/sys-block/nbd/nbd-2.9.21a.ebuild
new file mode 100644
index 000000000000..7f36380e502e
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.21a.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog
+}
+
+src_compile() {
+ 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.22.ebuild b/sys-block/nbd/nbd-2.9.22.ebuild
new file mode 100644
index 000000000000..e4057920af3c
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.22.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog
+}
+
+src_compile() {
+ 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.23.ebuild b/sys-block/nbd/nbd-2.9.23.ebuild
new file mode 100644
index 000000000000..7f36380e502e
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.23.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog
+}
+
+src_compile() {
+ 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.24.ebuild b/sys-block/nbd/nbd-2.9.24.ebuild
new file mode 100644
index 000000000000..707fb257a232
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.24.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog
+}
+
+src_compile() {
+ emake
+ emake -C gznbd
+}
+
+src_install() {
+ default
+ dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-2.9.25.ebuild b/sys-block/nbd/nbd-2.9.25.ebuild
new file mode 100644
index 000000000000..9ec3117081b8
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.25.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.0.ebuild b/sys-block/nbd/nbd-3.0.ebuild
new file mode 100644
index 000000000000..9ec3117081b8
--- /dev/null
+++ b/sys-block/nbd/nbd-3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.1.1.ebuild b/sys-block/nbd/nbd-3.1.1.ebuild
new file mode 100644
index 000000000000..9ec3117081b8
--- /dev/null
+++ b/sys-block/nbd/nbd-3.1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.10.ebuild b/sys-block/nbd/nbd-3.10.ebuild
new file mode 100644
index 000000000000..3698be613bfe
--- /dev/null
+++ b/sys-block/nbd/nbd-3.10.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug) \
+ $(use_enable zlib gznbd)
+}
diff --git a/sys-block/nbd/nbd-3.11.ebuild b/sys-block/nbd/nbd-3.11.ebuild
new file mode 100644
index 000000000000..dd13e25c423c
--- /dev/null
+++ b/sys-block/nbd/nbd-3.11.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug) \
+ $(use_enable zlib gznbd)
+}
diff --git a/sys-block/nbd/nbd-3.2.ebuild b/sys-block/nbd/nbd-3.2.ebuild
new file mode 100644
index 000000000000..b5512bd929ee
--- /dev/null
+++ b/sys-block/nbd/nbd-3.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.3.ebuild b/sys-block/nbd/nbd-3.3.ebuild
new file mode 100644
index 000000000000..ca906ccc4e82
--- /dev/null
+++ b/sys-block/nbd/nbd-3.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.4.ebuild b/sys-block/nbd/nbd-3.4.ebuild
new file mode 100644
index 000000000000..ca906ccc4e82
--- /dev/null
+++ b/sys-block/nbd/nbd-3.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.5.ebuild b/sys-block/nbd/nbd-3.5.ebuild
new file mode 100644
index 000000000000..c59f8ed940c5
--- /dev/null
+++ b/sys-block/nbd/nbd-3.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gznbd-printf-u64.patch
+ epatch "${FILESDIR}"/${P}-gznbd-zlib.patch
+}
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.6.ebuild b/sys-block/nbd/nbd-3.6.ebuild
new file mode 100644
index 000000000000..929466b2f8f6
--- /dev/null
+++ b/sys-block/nbd/nbd-3.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.7.ebuild b/sys-block/nbd/nbd-3.7.ebuild
new file mode 100644
index 000000000000..929466b2f8f6
--- /dev/null
+++ b/sys-block/nbd/nbd-3.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.8.ebuild b/sys-block/nbd/nbd-3.8.ebuild
new file mode 100644
index 000000000000..929466b2f8f6
--- /dev/null
+++ b/sys-block/nbd/nbd-3.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ use zlib && emake -C gznbd CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ use zlib && dobin gznbd/gznbd
+}
diff --git a/sys-block/nbd/nbd-3.9.1.ebuild b/sys-block/nbd/nbd-3.9.1.ebuild
new file mode 100644
index 000000000000..3698be613bfe
--- /dev/null
+++ b/sys-block/nbd/nbd-3.9.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug zlib"
+
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ $(use_enable debug) \
+ $(use_enable zlib gznbd)
+}