From a3c403d854118e8ef0e2d661383445eb2d7ec732 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 11 Feb 2024 23:35:14 +0000 Subject: gentoo auto-resync : 11:02:2024 - 23:35:13 --- net-libs/Manifest.gz | Bin 31809 -> 31813 bytes net-libs/miniupnpc/Manifest | 4 +- net-libs/miniupnpc/metadata.xml | 3 ++ net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild | 71 +++++++++++++++++++++++++++ net-libs/miniupnpc/miniupnpc-2.2.6.ebuild | 71 --------------------------- 5 files changed, 76 insertions(+), 73 deletions(-) create mode 100644 net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild delete mode 100644 net-libs/miniupnpc/miniupnpc-2.2.6.ebuild (limited to 'net-libs') diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz index d69d4eba9c74..cfada863daae 100644 Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index 2d09e13e363f..7c987d9f1c6d 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -1,5 +1,5 @@ AUX miniupnpc-2.2.3-drop-which.patch 1209 BLAKE2B 32ae4d0eee181cc428bc8afe6aee0ea6097527461c868b7133e1f1ab70c3aeb5c816b2297b8027db06fd9751e6ebf68e8bb560070e75987e72f7c3c60f61b7a6 SHA512 1e8d93c14d5b7f103782a15e007abd0e1223da60b98177d455ceb1a2c6fe5b7c3c22f2fe79da0b4dce54542ac6b3e8ec225d09a0b8bdf8742b07a14cd160b5dc DIST miniupnpc-2.2.6.tar.gz 103949 BLAKE2B bf5ea9ce0194dcff47763989da6eea0282fe2507bab79a14bb699aa1f843730c95b448030d8100241787b899d3cc5e4e7ab4633ee2a97b9121eea05c90b138b0 SHA512 012a7a7c96694890af458933f0bc14573f5c85cc5f3021854e1a965574f993be174ca15c1b0edb224333c2560c3a44cd68a067527db832475a16dbbaaaf48125 DIST miniupnpc-2.2.6.tar.gz.sig 543 BLAKE2B 243d9eacab92a33c6c9bf064333c6d2620c88d2bfb5b6bd1dd5f8360f355e8e4b0c0af596ceccc5783e9beaeb21bc2ba0c24fbf3d7448e92235f4a1a0793859a SHA512 750d0ffef99210552d96383bc67d4200f1306c4200ecac8b0d91f6796882a2c8686e83dbc3fe103d01d957a4212258e660c91a79a76ff87b2a7b0498bc5a822e -EBUILD miniupnpc-2.2.6.ebuild 1608 BLAKE2B 37f013acdb49dbb0ecbc5fb30e92b97dfc32eb5fee31325bfe7bf63615badd6bec3a411eb272b7e7f4422ca587ebdd4f2f2bc581c91dafb53c54365660f8026f SHA512 f29a2a3fb66e54fc64c0b4fc40a22465541a0524f4237217de8bb75c89b60706e675e69819cab584cf9dbe417620909b88fb31c7e5d642b20fa759f310a1ff5e -MISC metadata.xml 330 BLAKE2B 02b7193f99aee0f3cad145954d1a6f7f9b2f63e21cc23d02ae3048d89618050a5a8df2e206d771a3d0853664d4a0de9a09f44660b108eb280618d9136d1c86be SHA512 6a395c2a579f4ce8c891261da25c031284904a8d6366733c14a201a948e6744ae0037067f178f799d6134e4be670f1be3582f257414e067de654e8050963b972 +EBUILD miniupnpc-2.2.6-r1.ebuild 1586 BLAKE2B 76bce45102635f0ac330d406840bd892d9045b023c517f2282c31f46b4bc99ec516a3a6f514eb5690e8ac880342d51616b775a999e4e0ee3953842782030e346 SHA512 02c0b5d5d4505d5983b9e656a02946839672f4c8c5793d719b181c84764748260eb0630babca135124896f2f2744cfd85c4be3fa6706f5045aa4bf4a0ca3249d +MISC metadata.xml 413 BLAKE2B bab9b99ea3968d79852115114a866a7314d1a4c07bd687af93bf4c03ec395930b8749d3fd4b4c41d6a09171af3c5f30e0911ee4cc88290cf2b1fff9fddb829ed SHA512 7094c04f1e663f8b6db9251b04761cbba389046b0ef9a4a548d1dd3ff462524302031a4bf045ac769961827cf35bb9ba845ed81b32af8cf4af52af5915479f11 diff --git a/net-libs/miniupnpc/metadata.xml b/net-libs/miniupnpc/metadata.xml index c89549110c7c..4f701bfb3aff 100644 --- a/net-libs/miniupnpc/metadata.xml +++ b/net-libs/miniupnpc/metadata.xml @@ -8,4 +8,7 @@ miniupnp/miniupnp + + Run tests requiring IPv6-enabled kernel. + diff --git a/net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild new file mode 100644 index 000000000000..fc26588ea5ba --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs verify-sig + +DESCRIPTION="UPnP client library and a simple UPnP client" +HOMEPAGE=" + http://miniupnp.free.fr/ + https://miniupnp.tuxfamily.org/ + https://github.com/miniupnp/miniupnp/ +" +SRC_URI=" + https://miniupnp.tuxfamily.org/files/${P}.tar.gz + verify-sig? ( + https://miniupnp.tuxfamily.org/files/${P}.tar.gz.sig + ) +" + +LICENSE="BSD" +SLOT="0/17" +KEYWORDS="amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="ipv6" + +BDEPEND=" + kernel_linux? ( sys-apps/lsb-release ) + verify-sig? ( sec-keys/openpgp-keys-miniupnp ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/miniupnp.asc + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/miniupnpc-2.2.3-drop-which.patch + ) + default + + local exprs=( + # These bins are not installed, upnpc-static requires building static lib + -e '/EXECUTABLES =/s/ upnpc-static upnp-listdevices-static//' + # Prevent gzipping manpage. + -e '/gzip/d' + # Disable installing the static library + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' + -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' + ) + sed -i "${exprs[@]}" Makefile || die +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake build/upnpc-shared +} + +src_test() { + emake -j1 HAVE_IPV6=$(usex ipv6) check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="$(get_libdir)" \ + install + + dodoc README Changelog.txt +} diff --git a/net-libs/miniupnpc/miniupnpc-2.2.6.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.6.ebuild deleted file mode 100644 index 9d379b60375f..000000000000 --- a/net-libs/miniupnpc/miniupnpc-2.2.6.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs verify-sig - -DESCRIPTION="UPnP client library and a simple UPnP client" -HOMEPAGE=" - http://miniupnp.free.fr/ - https://miniupnp.tuxfamily.org/ - https://github.com/miniupnp/miniupnp/ -" -SRC_URI=" - https://miniupnp.tuxfamily.org/files/${P}.tar.gz - verify-sig? ( - https://miniupnp.tuxfamily.org/files/${P}.tar.gz.sig - ) -" - -LICENSE="BSD" -SLOT="0/17" -KEYWORDS="amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="ipv6" - -BDEPEND=" - kernel_linux? ( sys-apps/lsb-release ) - verify-sig? ( sec-keys/openpgp-keys-miniupnp ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/miniupnp.asc - -src_prepare() { - local PATCHES=( - "${FILESDIR}"/miniupnpc-2.2.3-drop-which.patch - ) - default - - local exprs=( - # These bins are not installed, upnpc-static requires building static lib - -e '/EXECUTABLES =/s/ upnpc-static upnp-listdevices-static//' - # Prevent gzipping manpage. - -e '/gzip/d' - # Disable installing the static library - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' - ) - sed -i "${exprs[@]}" Makefile || die -} - -# Upstream cmake causes more trouble than it fixes, -# so we'll just stay with the Makefile for now. - -src_compile() { - tc-export CC AR - emake build/upnpc-shared -} - -src_test() { - emake -j1 HAVE_IPV6=$(usex ipv6) check -} - -src_install() { - emake \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" \ - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ - install - - dodoc README Changelog.txt -} -- cgit v1.2.3