1 |
commit: aabcb06c70772b01e1180fa0bec51c6f00ce2f3a |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 1 18:05:21 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 1 18:06:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabcb06c |
7 |
|
8 |
sys-block/nbd: Bump to version 3.19 |
9 |
|
10 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-block/nbd/Manifest | 1 + |
14 |
sys-block/nbd/nbd-3.19.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/sys-block/nbd/Manifest b/sys-block/nbd/Manifest |
18 |
index 9e2919040ea..8a6420cb96f 100644 |
19 |
--- a/sys-block/nbd/Manifest |
20 |
+++ b/sys-block/nbd/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST nbd-3.15.3.tar.xz 505856 BLAKE2B 8536b01908eb84733448382dcafe011e2786fe5e13 |
22 |
DIST nbd-3.16.2.tar.xz 504880 BLAKE2B 12579169755f4f57ec295531dc11b88ff412678270cf77cb80b7c76cf3193d115c4602432b7913e58abe417a6e59a13c3ffaee84bd9b4a1f0f34ae104491ce5c SHA512 ebdf42a837aeed7625420958d136c7a98c0b168d80fbfbab4b96cb6510dbc12ec2410716301f68385d69f68329c751aef3266cc74c6e341540e1df5f6c531349 |
23 |
DIST nbd-3.17.tar.xz 511224 BLAKE2B 9289419e6d1c030d37704e1482f6fbdd2cacb8a1d0f5403e307fbef9b307e842a3bb7ee7240a6b31467ced3ecef1f244fbd916138a32521d26848b3fd1fdc42e SHA512 bcbd025d829d407dc3c0b837cbc1c16f673c5f4c0483d5bee83a52b40d528088499860c775e4e77cf47a8ac1d83dcda24df1092d658dd915ed01c638b3ebc57b |
24 |
DIST nbd-3.18.tar.xz 527436 BLAKE2B 6f87f013ff00b3cb478a038f07a83fba44b41c257a689be498959d90bb44dd39681fdcd005fe8e48f9a79fbe29bfd67d98fc0eb6440e51b1ac3a5de4d002060d SHA512 f9fe221b585c126efa3fb65e2344477a38f2ce42164b04d0dc4681c5a3bfd34d5d3e227454fff24eee9039853eb38a8707ea0aab0337f44906cccf379c185ce8 |
25 |
+DIST nbd-3.19.tar.xz 524412 BLAKE2B 21669bfe3d34789725895511b1b65be83f85c315992d973db6737cb151ffa48c69ca8bef7dbce513d6f12551b22d063a951644fcaadbec5c115672040b2af8e7 SHA512 0916b411857045af6e01032b3093e295e7f3cfb1ae92f25adb03d97d3196741f8805104c627b17ad4f7f4305db3a4bcd5516bfd2c60fbea02b497dc296f97a16 |
26 |
|
27 |
diff --git a/sys-block/nbd/nbd-3.19.ebuild b/sys-block/nbd/nbd-3.19.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..51270d903eb |
30 |
--- /dev/null |
31 |
+++ b/sys-block/nbd/nbd-3.19.ebuild |
32 |
@@ -0,0 +1,60 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+DESCRIPTION="Userland client/server for kernel network block device" |
39 |
+HOMEPAGE="http://nbd.sourceforge.net/" |
40 |
+if [[ "${PV}" = 9999 ]] ; then |
41 |
+ inherit autotools git-r3 |
42 |
+ EGIT_REPO_URI="https://github.com/NetworkBlockDevice/nbd.git" |
43 |
+else |
44 |
+ SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz" |
45 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
46 |
+fi |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+IUSE="debug gnutls netlink zlib" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/glib-2.26.0 |
53 |
+ gnutls? ( >=net-libs/gnutls-2.12.0 ) |
54 |
+ netlink? ( >=dev-libs/libnl-3.1 ) |
55 |
+ zlib? ( sys-libs/zlib ) |
56 |
+" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ virtual/pkgconfig |
59 |
+" |
60 |
+ |
61 |
+if [[ "${PV}" = 9999 ]] ; then |
62 |
+ DEPEND+=" |
63 |
+ app-text/docbook-sgml-dtd:4.5 |
64 |
+ app-text/docbook-sgml-utils |
65 |
+ " |
66 |
+fi |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ if [[ "${PV}" = 9999 ]] ; then |
71 |
+ emake -C man -f Makefile.am \ |
72 |
+ nbd-server.1.sh.in \ |
73 |
+ nbd-server.5.sh.in \ |
74 |
+ nbd-client.8.sh.in \ |
75 |
+ nbd-trdump.1.sh.in \ |
76 |
+ nbdtab.5.sh.in |
77 |
+ emake -C systemd -f Makefile.am nbd@×××××××××××.in |
78 |
+ eautoreconf |
79 |
+ fi |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ local myeconfargs=( |
84 |
+ --enable-lfs |
85 |
+ $(use_enable !debug syslog) |
86 |
+ $(use_enable debug) |
87 |
+ $(use_enable zlib gznbd) |
88 |
+ $(use_with gnutls) |
89 |
+ $(use_with netlink libnl) |
90 |
+ ) |
91 |
+ econf "${myeconfargs[@]}" |
92 |
+} |