diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-02-01 19:05:21 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-02-01 19:06:16 +0100 |
commit | aabcb06c70772b01e1180fa0bec51c6f00ce2f3a (patch) | |
tree | 104f39f0326e91590a52196884387fa73dcd0c2c /sys-block | |
parent | media-libs/mesa: Version bump to 19.0.0_rc1 (diff) | |
download | gentoo-aabcb06c70772b01e1180fa0bec51c6f00ce2f3a.tar.gz gentoo-aabcb06c70772b01e1180fa0bec51c6f00ce2f3a.tar.bz2 gentoo-aabcb06c70772b01e1180fa0bec51c6f00ce2f3a.zip |
sys-block/nbd: Bump to version 3.19
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/nbd/Manifest | 1 | ||||
-rw-r--r-- | sys-block/nbd/nbd-3.19.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/sys-block/nbd/Manifest b/sys-block/nbd/Manifest index 9e2919040ea9..8a6420cb96f8 100644 --- a/sys-block/nbd/Manifest +++ b/sys-block/nbd/Manifest @@ -2,3 +2,4 @@ DIST nbd-3.15.3.tar.xz 505856 BLAKE2B 8536b01908eb84733448382dcafe011e2786fe5e13 DIST nbd-3.16.2.tar.xz 504880 BLAKE2B 12579169755f4f57ec295531dc11b88ff412678270cf77cb80b7c76cf3193d115c4602432b7913e58abe417a6e59a13c3ffaee84bd9b4a1f0f34ae104491ce5c SHA512 ebdf42a837aeed7625420958d136c7a98c0b168d80fbfbab4b96cb6510dbc12ec2410716301f68385d69f68329c751aef3266cc74c6e341540e1df5f6c531349 DIST nbd-3.17.tar.xz 511224 BLAKE2B 9289419e6d1c030d37704e1482f6fbdd2cacb8a1d0f5403e307fbef9b307e842a3bb7ee7240a6b31467ced3ecef1f244fbd916138a32521d26848b3fd1fdc42e SHA512 bcbd025d829d407dc3c0b837cbc1c16f673c5f4c0483d5bee83a52b40d528088499860c775e4e77cf47a8ac1d83dcda24df1092d658dd915ed01c638b3ebc57b DIST nbd-3.18.tar.xz 527436 BLAKE2B 6f87f013ff00b3cb478a038f07a83fba44b41c257a689be498959d90bb44dd39681fdcd005fe8e48f9a79fbe29bfd67d98fc0eb6440e51b1ac3a5de4d002060d SHA512 f9fe221b585c126efa3fb65e2344477a38f2ce42164b04d0dc4681c5a3bfd34d5d3e227454fff24eee9039853eb38a8707ea0aab0337f44906cccf379c185ce8 +DIST nbd-3.19.tar.xz 524412 BLAKE2B 21669bfe3d34789725895511b1b65be83f85c315992d973db6737cb151ffa48c69ca8bef7dbce513d6f12551b22d063a951644fcaadbec5c115672040b2af8e7 SHA512 0916b411857045af6e01032b3093e295e7f3cfb1ae92f25adb03d97d3196741f8805104c627b17ad4f7f4305db3a4bcd5516bfd2c60fbea02b497dc296f97a16 diff --git a/sys-block/nbd/nbd-3.19.ebuild b/sys-block/nbd/nbd-3.19.ebuild new file mode 100644 index 000000000000..51270d903eb3 --- /dev/null +++ b/sys-block/nbd/nbd-3.19.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Userland client/server for kernel network block device" +HOMEPAGE="http://nbd.sourceforge.net/" +if [[ "${PV}" = 9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/NetworkBlockDevice/nbd.git" +else + SRC_URI="mirror://sourceforge/nbd/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +fi +LICENSE="GPL-2" +SLOT="0" +IUSE="debug gnutls netlink zlib" + +RDEPEND=" + >=dev-libs/glib-2.26.0 + gnutls? ( >=net-libs/gnutls-2.12.0 ) + netlink? ( >=dev-libs/libnl-3.1 ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +if [[ "${PV}" = 9999 ]] ; then + DEPEND+=" + app-text/docbook-sgml-dtd:4.5 + app-text/docbook-sgml-utils + " +fi + +src_prepare() { + default + if [[ "${PV}" = 9999 ]] ; then + emake -C man -f Makefile.am \ + nbd-server.1.sh.in \ + nbd-server.5.sh.in \ + nbd-client.8.sh.in \ + nbd-trdump.1.sh.in \ + nbdtab.5.sh.in + emake -C systemd -f Makefile.am nbd@.service.sh.in + eautoreconf + fi +} + +src_configure() { + local myeconfargs=( + --enable-lfs + $(use_enable !debug syslog) + $(use_enable debug) + $(use_enable zlib gznbd) + $(use_with gnutls) + $(use_with netlink libnl) + ) + econf "${myeconfargs[@]}" +} |