From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- net-misc/miniupnpd/Manifest | 9 +- .../files/miniupnpd-2.2.3-testgetifaddr.patch | 14 --- net-misc/miniupnpd/miniupnpd-2.2.2.ebuild | 87 ------------------ net-misc/miniupnpd/miniupnpd-2.2.3.ebuild | 101 --------------------- net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild | 97 ++++++++++++++++++++ net-misc/miniupnpd/miniupnpd-2.3.0.ebuild | 97 -------------------- 6 files changed, 98 insertions(+), 307 deletions(-) delete mode 100644 net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch delete mode 100644 net-misc/miniupnpd/miniupnpd-2.2.2.ebuild delete mode 100644 net-misc/miniupnpd/miniupnpd-2.2.3.ebuild create mode 100644 net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild delete mode 100644 net-misc/miniupnpd/miniupnpd-2.3.0.ebuild (limited to 'net-misc/miniupnpd') diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest index dd3813911b9f..f4802b62cb97 100644 --- a/net-misc/miniupnpd/Manifest +++ b/net-misc/miniupnpd/Manifest @@ -1,13 +1,6 @@ -AUX miniupnpd-2.2.3-testgetifaddr.patch 630 BLAKE2B d5f10c753f471a8f9d658a7c2cbc71ce5c64bc5cb2faae49e280cbaefe1fd6ce34ff0427d7512520a333a63fa4156df76271781cc1193fcd034e9b60d3b1d241 SHA512 6d87c50a64fffdefc3b251174ffc62ad9c855d248b6771343e6bf3e15f36b109c0b9b7eec3f2f47be12f5aac341c04b19c02e72eb30c38dc841c4e75bd5f21bb AUX miniupnpd-conf.d-r2 430 BLAKE2B 4f38d9dcbe3843770cab82b5f26b6bc23067dc58c20cebfbd355364ff6fadb6a9f5787c1f8d22a950774e3b2ebf70670bec0391247c3205a7ab2d926e9598102 SHA512 d011770e3a5aa5c4f45c77009e168c4dd1c25b2abe4b1a93ac3a22c0a6d9903f3b83a87569ec456d79e9d6b3be3af9b3f9c2327f40cc59bead25a3abe29421d9 AUX miniupnpd-init.d-r2 1002 BLAKE2B f697e4cbf3ab08f4b589705ae1cc3ae28f94647103f7a30c8277c02375db6128a2c804c0514ad4cc32fd3d46becc38c0dcd9a7c0ef8befd1ef07ac051509bbfe SHA512 7b773987bdbad18d5c6ff8e2e15484b8f0c28ff3b3be0e832e7b568dc2a93d96eb27acfecb33251b48d92cea557f71b3c5e6c4a6a5e4ae428571d1810e5ce856 -DIST miniupnpd-2.2.2.tar.gz 250649 BLAKE2B d561916ced9b5c58371382fe0bec68cd0771d1dc3b2c7fa7e3701cb2579db69697fbdcd724bea2350abd46381eda1fd257dede6df99f99fa54e423db4ee52717 SHA512 3cc11ad901e93a9879fe07e35a20f8977df466bb402e0270e46d1dbd0b5dc3b5dc22303467d5022103952d7dd789ac590c17d0fa81fc7ec42676b66223d37ee4 -DIST miniupnpd-2.2.2.tar.gz.sig 543 BLAKE2B 461a9149c66b0e314a767405024fc7bfb641a20ae36b908dc467c9211660d5cb0753fb3c99fa9d6df35d693a2f6790efb6a325f0005804572eaa78a02b23a482 SHA512 8ffc9901cd992cbd9d0fa4c5e510fe43f748ab4a7c4732cc8f2f685f19b71a3f087a63a39e1dbf081175ac65de34b5c05dc3ef636a805e550a0406119a5904ef -DIST miniupnpd-2.2.3.tar.gz 254752 BLAKE2B ebdb8d4ce7dc649ef0243d2d698b9f51cb2006055eb3abb70d9ccc839cb57c7113595ef1b9b5886f55bc458d8260edf95ae6e1964a5d5423f9b0b46e07e02775 SHA512 56b1e93e9576fa412202e1940fcd8b7af57584714c15017bbcec1aa4fa7bba7a6fa5d1136048100d7cce3222f31b38837de1eae344b533164314c858cdf08ef9 -DIST miniupnpd-2.2.3.tar.gz.sig 543 BLAKE2B 3ba2e69cfd7e0a27a746f45e5eb10e573e00c4fc20a7d62b94a2e0b7e4e9ad8779d53df72e31547b78dc6e34676204a4848652e81d1e479a68973e150f51f468 SHA512 9f766f3e94de1fbd458c7bda30cc87892198af7544aa9dc0fa4c6b6a1c9434e4bab6f8583eeccf3ae613da240ad599d750425c507e8138d483710459f31a0b21 DIST miniupnpd-2.3.0.tar.gz 256069 BLAKE2B dd21b4ee692cf9958bd996c6fe70e7e1f6cdfe467506676d2335ccf37cd0ed7e55ff435983747cad5d2342019b36597e538fcb9b511872889305330212e88cb0 SHA512 437a4b101bcadd9feb3845d37402c253a0a2114463fd8c5930859c7eae0ffaf7714ef7c9d387be2339c584e2f106fafa008a4364ff347b6640153c9a09919b0a DIST miniupnpd-2.3.0.tar.gz.sig 543 BLAKE2B 312d46521d37c1a2fda146f2c7c964af45ffa4a75bc327dc743b40f96586e0916a674db4a0bb847b5e386f0b781319868d1d6cc74fbffaf3a8e989db18f4f6e6 SHA512 87be539c27d0147fcc62b69a82858518e862f2b593a0e03a9986e3641a0d61f4fa831d79a7ce645b33569234463a9517b9dbbc79ee988c9f561474a4757c4c04 -EBUILD miniupnpd-2.2.2.ebuild 2138 BLAKE2B 44b683c5351bcadb577444cfdc527406840ba7d88e051cbf4f3bdbaafa830fe94982939eb92503c8e5917d7859314c8ec35451b963ba9840fee1c4a897052146 SHA512 1ff9bfd42924d4303cd9d658bfad50e106cd89d0ef7fb4e117bd3bf18434308153b7290c6a237675f4036d3f13f681cd929cfa92c42a71d2ebe37c746cd5b043 -EBUILD miniupnpd-2.2.3.ebuild 2365 BLAKE2B e9330f2e1fe1997f1727a9ec5b7621abbdcad02892973dd8ae5737b91b152a29250b6b5d83c1d0aeb2e379d9480bddd927f5c9a93c4aa786f453cabe2a0ed477 SHA512 194ba80f9f4d1e8f666b0f2bd2e07bc09677939c8fb1f5e2362b67d2a8f50244b8b7c5d9079e53bbd69a4670b6bd6da55f16681b83e61108d583e3f76dc3ad00 -EBUILD miniupnpd-2.3.0.ebuild 2303 BLAKE2B 63acd9ba73444181cf175d0fbbe813a0ef2cab95d2510102b195e8ee3e122bb172a42e90eb676181abdb1d93047b688f4d259ed57442a105530717d839896c88 SHA512 3e0ced2044ffadcd019e3922bd703f29192c40abb2b04c3e135ac931c0e61b6c90917681d84674d93ecd7137f417ee31cdbcdefc089143e974d630c1b85ffe13 +EBUILD miniupnpd-2.3.0-r1.ebuild 2306 BLAKE2B 25d3069c8b96a167d77608c6da46edb4016b1cb2f92a0275ceac123923d2d3d4cb767a7f276b616cfdc31c22b6c30fbdaeddbe130456ebf5a71328f36e54018c SHA512 10718574779b011469ede70cda63994e7f443690e66501725b7f366be67623c1deaa65db402f420d7c412cfd9e8424b286dd5a662d502403f6840aa5e951d262 MISC metadata.xml 903 BLAKE2B 08e36f0ed04a8314bcd5edab87303883dc2dfe454b4ab427bf8f1716922f20465c61971dae2eb95381783589b202b4480f98c0d1f01fb2e7cc8e2a72ee9a294c SHA512 3b253a010b5f5e683c6cd4b60d9e8ef3a1bf6c85856ea18bbb2d97a610af7ca1bfbf0d62096044d3c851067b5203359d1768a58eafe6d06ad48a36013839d811 diff --git a/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch b/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch deleted file mode 100644 index 73e4a87903e8..000000000000 --- a/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/miniupnpd/testgetifaddr.sh b/miniupnpd/testgetifaddr.sh -index 7ad56d9..2a26a24 100755 ---- a/testgetifaddr.sh -+++ b/testgetifaddr.sh -@@ -12,7 +12,8 @@ case $OS in - *) - IP="`which ip`" || exit 1 - EXTIF="`LC_ALL=C $IP -4 route | grep 'default' | sed -e 's/.*dev[[:space:]]*//' -e 's/[[:space:]].*//'`" || exit 1 -- EXTIP="`LC_ALL=C $IP -4 addr show $EXTIF | awk '/inet/ { print $2 }' | cut -d "/" -f 1`" -+ EXTIF="`LC_ALL=C $IP -4 addr show $EXTIF | awk '/[0-9]+:/ { print $2; exit 0 }' | cut -d ":" -f 1`" -+ EXTIP="`LC_ALL=C $IP -4 addr show $EXTIF | awk '/inet/ { print $2; exit 0 }' | cut -d "/" -f 1`" - ;; - esac - diff --git a/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild b/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild deleted file mode 100644 index 7bc2128632d2..000000000000 --- a/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs verify-sig - -MY_P=${P/_rc/-RC} -DESCRIPTION="MiniUPnP IGD Daemon" -HOMEPAGE="http://miniupnp.free.fr/" -SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz - verify-sig? ( http://miniupnp.free.fr/files/${MY_P}.tar.gz.sig )" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict" - -RDEPEND=" - dev-libs/gmp:0= - sys-apps/util-linux:= - dev-libs/openssl:0= - !nftables? ( - >=net-firewall/iptables-1.4.6:0=[ipv6?] - net-libs/libnfnetlink:= - net-libs/libmnl:= - ) - nftables? ( - net-firewall/nftables - net-libs/libnftnl:= - net-libs/libmnl:= - )" -DEPEND="${RDEPEND} - elibc_musl? ( sys-libs/queue-standalone )" -BDEPEND=" - sys-apps/lsb-release - verify-sig? ( sec-keys/openpgp-keys-miniupnp )" - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc - -src_configure() { - local opts=( - --vendorcfg - $(usex igd2 '--igd2' '') - $(usex ipv6 '--ipv6' '') - $(usex leasefile '--leasefile' '') - $(usex portinuse '--portinuse' '') - $(usex pcp-peer '--pcp-peer' '') - $(usex strict '--strict' '') - --firewall=$(usex nftables nftables iptables) - ) - - # custom script - ./configure "${opts[@]}" || die - # prevent gzipping manpage - sed -i -e '/gzip/d' Makefile || die -} - -src_compile() { - # By default, it builds a bunch of unittests that are missing wrapper - # scripts in the tarball - emake CC="$(tc-getCC)" STRIP=true miniupnpd -} - -src_install() { - emake PREFIX="${ED}" STRIP=true install - - local confd_seds=() - if use nftables; then - confd_seds+=( -e 's/^iptables_scripts=/#&/' ) - else - confd_seds+=( -e 's/^nftables_scripts=/#&/' ) - fi - if ! use ipv6 || use nftables; then - confd_seds+=( -e 's/^ip6tables_scripts=/#&/' ) - fi - - newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN} - newconfd - ${PN} < <(sed "${confd_seds[@]}" \ - "${FILESDIR}"/${PN}-conf.d-r2 || die) -} - -pkg_postinst() { - elog "Please correct the external interface in the top of the two" - elog "scripts in /etc/miniupnpd and edit the config file in there too" -} diff --git a/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild b/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild deleted file mode 100644 index b71fff94e94a..000000000000 --- a/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit toolchain-funcs verify-sig - -MY_P=${P/_rc/-RC} -DESCRIPTION="MiniUPnP IGD Daemon" -HOMEPAGE="http://miniupnp.free.fr/" -SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz - verify-sig? ( http://miniupnp.free.fr/files/${MY_P}.tar.gz.sig )" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict" - -RDEPEND=" - dev-libs/gmp:0= - sys-apps/util-linux:= - dev-libs/openssl:0= - !nftables? ( - >=net-firewall/iptables-1.4.6:0=[ipv6?] - net-libs/libnfnetlink:= - net-libs/libmnl:= - ) - nftables? ( - net-firewall/nftables - net-libs/libnftnl:= - net-libs/libmnl:= - )" -DEPEND="${RDEPEND} - elibc_musl? ( sys-libs/queue-standalone )" -BDEPEND=" - sys-apps/lsb-release - verify-sig? ( sec-keys/openpgp-keys-miniupnp )" - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc - -src_prepare() { - local PATCHES=( - "${FILESDIR}"/${P}-testgetifaddr.patch - ) - - default - - # fails without a default route - sed -i -e 's:EXTIF=.*:EXTIF=lo:' testgetifaddr.sh || die -} - -src_configure() { - local opts=( - --vendorcfg - $(usex igd2 '--igd2' '') - $(usex ipv6 '--ipv6' '') - $(usex leasefile '--leasefile' '') - $(usex portinuse '--portinuse' '') - $(usex pcp-peer '--pcp-peer' '') - $(usex strict '--strict' '') - --firewall=$(usex nftables nftables iptables) - ) - - # custom script - ./configure "${opts[@]}" || die - # prevent gzipping manpage - sed -i -e '/gzip/d' Makefile || die -} - -src_compile() { - # By default, it builds a bunch of unittests that are missing wrapper - # scripts in the tarball - emake CC="$(tc-getCC)" STRIP=true miniupnpd -} - -src_test() { - emake CC="$(tc-getCC)" check -} - -src_install() { - emake PREFIX="${ED}" STRIP=true install - - local confd_seds=() - if use nftables; then - confd_seds+=( -e 's/^iptables_scripts=/#&/' ) - else - confd_seds+=( -e 's/^nftables_scripts=/#&/' ) - fi - if ! use ipv6 || use nftables; then - confd_seds+=( -e 's/^ip6tables_scripts=/#&/' ) - fi - - newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN} - newconfd - ${PN} < <(sed "${confd_seds[@]}" \ - "${FILESDIR}"/${PN}-conf.d-r2 || die) -} - -pkg_postinst() { - elog "Please correct the external interface in the top of the two" - elog "scripts in /etc/miniupnpd and edit the config file in there too" -} diff --git a/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild b/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild new file mode 100644 index 000000000000..1ea1f1e65a1e --- /dev/null +++ b/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit toolchain-funcs verify-sig + +MY_P=${P/_rc/-RC} +DESCRIPTION="MiniUPnP IGD Daemon" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz + verify-sig? ( http://miniupnp.free.fr/files/${MY_P}.tar.gz.sig )" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict" + +RDEPEND=" + dev-libs/gmp:0= + sys-apps/util-linux:= + dev-libs/openssl:0= + !nftables? ( + >=net-firewall/iptables-1.4.6:0=[ipv6(+)?] + net-libs/libnfnetlink:= + net-libs/libmnl:= + ) + nftables? ( + net-firewall/nftables + net-libs/libnftnl:= + net-libs/libmnl:= + )" +DEPEND="${RDEPEND} + elibc_musl? ( sys-libs/queue-standalone )" +BDEPEND=" + sys-apps/lsb-release + verify-sig? ( sec-keys/openpgp-keys-miniupnp )" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc + +src_prepare() { + default + + # fails without a default route + sed -i -e 's:EXTIF=.*:EXTIF=lo:' testgetifaddr.sh || die +} + +src_configure() { + local opts=( + --vendorcfg + $(usex igd2 '--igd2' '') + $(usex ipv6 '--ipv6' '') + $(usex leasefile '--leasefile' '') + $(usex portinuse '--portinuse' '') + $(usex pcp-peer '--pcp-peer' '') + $(usex strict '--strict' '') + --firewall=$(usex nftables nftables iptables) + ) + + # custom script + ./configure "${opts[@]}" || die + # prevent gzipping manpage + sed -i -e '/gzip/d' Makefile || die +} + +src_compile() { + # By default, it builds a bunch of unittests that are missing wrapper + # scripts in the tarball + emake CC="$(tc-getCC)" STRIP=true miniupnpd +} + +src_test() { + emake CC="$(tc-getCC)" check +} + +src_install() { + emake PREFIX="${ED}" STRIP=true install + + local confd_seds=() + if use nftables; then + confd_seds+=( -e 's/^iptables_scripts=/#&/' ) + else + confd_seds+=( -e 's/^nftables_scripts=/#&/' ) + fi + if ! use ipv6 || use nftables; then + confd_seds+=( -e 's/^ip6tables_scripts=/#&/' ) + fi + + newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN} + newconfd - ${PN} < <(sed "${confd_seds[@]}" \ + "${FILESDIR}"/${PN}-conf.d-r2 || die) +} + +pkg_postinst() { + elog "Please correct the external interface in the top of the two" + elog "scripts in /etc/miniupnpd and edit the config file in there too" +} diff --git a/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild b/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild deleted file mode 100644 index 328c65b49bbc..000000000000 --- a/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit toolchain-funcs verify-sig - -MY_P=${P/_rc/-RC} -DESCRIPTION="MiniUPnP IGD Daemon" -HOMEPAGE="http://miniupnp.free.fr/" -SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz - verify-sig? ( http://miniupnp.free.fr/files/${MY_P}.tar.gz.sig )" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict" - -RDEPEND=" - dev-libs/gmp:0= - sys-apps/util-linux:= - dev-libs/openssl:0= - !nftables? ( - >=net-firewall/iptables-1.4.6:0=[ipv6?] - net-libs/libnfnetlink:= - net-libs/libmnl:= - ) - nftables? ( - net-firewall/nftables - net-libs/libnftnl:= - net-libs/libmnl:= - )" -DEPEND="${RDEPEND} - elibc_musl? ( sys-libs/queue-standalone )" -BDEPEND=" - sys-apps/lsb-release - verify-sig? ( sec-keys/openpgp-keys-miniupnp )" - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc - -src_prepare() { - default - - # fails without a default route - sed -i -e 's:EXTIF=.*:EXTIF=lo:' testgetifaddr.sh || die -} - -src_configure() { - local opts=( - --vendorcfg - $(usex igd2 '--igd2' '') - $(usex ipv6 '--ipv6' '') - $(usex leasefile '--leasefile' '') - $(usex portinuse '--portinuse' '') - $(usex pcp-peer '--pcp-peer' '') - $(usex strict '--strict' '') - --firewall=$(usex nftables nftables iptables) - ) - - # custom script - ./configure "${opts[@]}" || die - # prevent gzipping manpage - sed -i -e '/gzip/d' Makefile || die -} - -src_compile() { - # By default, it builds a bunch of unittests that are missing wrapper - # scripts in the tarball - emake CC="$(tc-getCC)" STRIP=true miniupnpd -} - -src_test() { - emake CC="$(tc-getCC)" check -} - -src_install() { - emake PREFIX="${ED}" STRIP=true install - - local confd_seds=() - if use nftables; then - confd_seds+=( -e 's/^iptables_scripts=/#&/' ) - else - confd_seds+=( -e 's/^nftables_scripts=/#&/' ) - fi - if ! use ipv6 || use nftables; then - confd_seds+=( -e 's/^ip6tables_scripts=/#&/' ) - fi - - newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN} - newconfd - ${PN} < <(sed "${confd_seds[@]}" \ - "${FILESDIR}"/${PN}-conf.d-r2 || die) -} - -pkg_postinst() { - elog "Please correct the external interface in the top of the two" - elog "scripts in /etc/miniupnpd and edit the config file in there too" -} -- cgit v1.2.3