[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2024-06-22 Thread Michał Górny
commit: f807b67af9b98cf2d1dda674be93f4b3612809ff
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 23 02:49:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 23 02:53:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f807b67a

net-misc/miniupnpd: Bump to 2.3.7

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |   2 +
 net-misc/miniupnpd/miniupnpd-2.3.7.ebuild | 108 ++
 2 files changed, 110 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 1c264826a1b0..b3038b1cf9c6 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -2,3 +2,5 @@ DIST miniupnpd-2.3.5.tar.gz 261952 BLAKE2B 
022ddbc495a2dbb500ab54a3c0569a16acf37
 DIST miniupnpd-2.3.5.tar.gz.sig 543 BLAKE2B 
17394e1da7d95c89771dd7578e4f1e2ce407c04b142f44fe4f110beff908797991553a7275c3ba28df03b09877963d16092cb718d4c75d96211db07226bcb176
 SHA512 
ef21f493da56b9f3fe99003ee299c08b13ddcf433d7136222817ff2e1c775bf7c28cbb47ef3ab60c662380e585c2be0ca4c38e261697de410f5a751c1f4fe2da
 DIST miniupnpd-2.3.6.tar.gz 263018 BLAKE2B 
9e3d6bfdbe71a09a15bf11c1a718b1388db991de52a2ec742aaec70128e4ac5147f441ccfa50e7077f09682ac724040343c4e351b4cc8c3d9e8efe04773651ec
 SHA512 
41ed8d0afcfdba70ab5ec44a33ad4643b226bea2da972fc432035fd3ff3a790227a71c32ca47574558e36eb491b0f6ab7710d3ef0af5ac6a359d899dcb36893c
 DIST miniupnpd-2.3.6.tar.gz.sig 543 BLAKE2B 
5c5c3566a9dfd16d95ca70fa006f7ce7097aebfe76940c03c22047064d5dae92aed73062f2455f08b61a99a747f9615e72c06e178628d948532b987b40fb262f
 SHA512 
312a9db9cbd74912294a7cc2d4ccc69634806fc58702083fda56e11ad1fd978e92ad71f217cadf5f4482e8e655df07e6d7cc52ae494b8167140ae4db74cd352d
+DIST miniupnpd-2.3.7.tar.gz 265329 BLAKE2B 
9d7cbe04644c6811950328f402e4666fc8d51cf022a3ec40e4cc76c0f8a1c89b6703fe4ebe8d5eca7f6cef20acad7efbc47503dad4391d1519a6774ae6b26afd
 SHA512 
7409bd6777c2a572ea501d47be604d9b09c09b1451c0f4150acd2313e3a5b4f7f3567559324a6c634c11a2b7c0ff56886a85217d1b056d5402916d0a8a3408e8
+DIST miniupnpd-2.3.7.tar.gz.sig 543 BLAKE2B 
957b5dad44b020004a38b6f4748ca251deaadfc8ade28332eb12484e4bac408f5afdb38fe9974f18bc17a28dd33aae91a287838c7c15984bc5df7f69a82f9c6f
 SHA512 
b8edd3f69b61e63560fb902f43e0a1730c80908637978782a1141fe8ac910b24f578ee3980127f4726c44e44222491a83670adea36a19984b3ffd726b12fe0dc

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.7.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.7.ebuild
new file mode 100644
index ..ef90208e7b6d
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.3.7.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+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"
+KEYWORDS="~amd64 ~arm ~arm64 ~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=/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 '

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2024-03-19 Thread Michał Górny
commit: 448d07d06a46e5eb6f2ef1cd79d324838c14d486
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 20 05:56:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 20 06:28:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448d07d0

net-misc/miniupnpd: Bump to 2.3.6

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |   2 +
 net-misc/miniupnpd/miniupnpd-2.3.6.ebuild | 108 ++
 2 files changed, 110 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 1c82e9ad5e1d..1c264826a1b0 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,4 @@
 DIST miniupnpd-2.3.5.tar.gz 261952 BLAKE2B 
022ddbc495a2dbb500ab54a3c0569a16acf3726927eac42dc316b7251dd21e705be62e3d0bb2e159ff7a5a72078bae2c04bd279d0a97fe2bf378dc8c039089d8
 SHA512 
bbb82f1b94a68c1bbf65a2e188b39305ec265cb89d9c0f3ab2d3c72eee43ee33c7d6280161344a8d51828cba2e62e2e5f9a54b0c0089503dbed5cd3a154ff0ff
 DIST miniupnpd-2.3.5.tar.gz.sig 543 BLAKE2B 
17394e1da7d95c89771dd7578e4f1e2ce407c04b142f44fe4f110beff908797991553a7275c3ba28df03b09877963d16092cb718d4c75d96211db07226bcb176
 SHA512 
ef21f493da56b9f3fe99003ee299c08b13ddcf433d7136222817ff2e1c775bf7c28cbb47ef3ab60c662380e585c2be0ca4c38e261697de410f5a751c1f4fe2da
+DIST miniupnpd-2.3.6.tar.gz 263018 BLAKE2B 
9e3d6bfdbe71a09a15bf11c1a718b1388db991de52a2ec742aaec70128e4ac5147f441ccfa50e7077f09682ac724040343c4e351b4cc8c3d9e8efe04773651ec
 SHA512 
41ed8d0afcfdba70ab5ec44a33ad4643b226bea2da972fc432035fd3ff3a790227a71c32ca47574558e36eb491b0f6ab7710d3ef0af5ac6a359d899dcb36893c
+DIST miniupnpd-2.3.6.tar.gz.sig 543 BLAKE2B 
5c5c3566a9dfd16d95ca70fa006f7ce7097aebfe76940c03c22047064d5dae92aed73062f2455f08b61a99a747f9615e72c06e178628d948532b987b40fb262f
 SHA512 
312a9db9cbd74912294a7cc2d4ccc69634806fc58702083fda56e11ad1fd978e92ad71f217cadf5f4482e8e655df07e6d7cc52ae494b8167140ae4db74cd352d

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.6.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.6.ebuild
new file mode 100644
index ..ef90208e7b6d
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.3.6.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+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"
+KEYWORDS="~amd64 ~arm ~arm64 ~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=/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)

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2024-03-19 Thread Michał Górny
commit: 40983c7c69f66aee8ee890e7f4cb5f733444ac1b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 20 05:56:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 20 06:28:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40983c7c

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |   4 --
 net-misc/miniupnpd/miniupnpd-2.3.3.ebuild | 108 --
 net-misc/miniupnpd/miniupnpd-2.3.4.ebuild | 108 --
 3 files changed, 220 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index e2e5d12a2963..1c82e9ad5e1d 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,6 +1,2 @@
-DIST miniupnpd-2.3.3.tar.gz 260079 BLAKE2B 
4b32e05bc7002bc7edc946f01b1984f3d184e0e9949a9685ffa5351ece9dacc09dc48567cc6f68972343a1921f4ceb5c541d4b557c4991f311289a511c492efa
 SHA512 
98915e3c1410d6753a58133596bad012fea205f36ae4991c2cf4b358d1e905e029287cfcf1aa97283c2e3c1cb8c20655bff35d49a37ae8756739e33c4ae3e7ef
-DIST miniupnpd-2.3.3.tar.gz.sig 543 BLAKE2B 
33b6166ba64a7a7c1b019c84d8a623d2905f32b41ea6b7cfd96c180e3d8738af264b5f073a9503c037f4609f15cb73f039701368eba63764de9edc79159961f6
 SHA512 
f2b167fec659e2f366ac180e8245c35e2907f5fb6be31fb62aad072e8a67868b995dd9400b4f41ebdfe2dcb46df583e5a1d6260f93c9b3eb25ba46bc7f6106dd
-DIST miniupnpd-2.3.4.tar.gz 260810 BLAKE2B 
7ce722aabcb0142740ffd4669c4326a99ed2903c1a0da984c5c3eb2ce523c4f6919d73b84708857ca51711fb4fdb0f8f00547ba81f3ea0e7bc700d166c07bb69
 SHA512 
7e84fcc7fbbdcb8e40d8ef35c48b331e0189427ca61d67b33c856c0598496cecade2bc7880590581c5eaf77c686496bb3228ed93d3d8edc073e8f5781a03ae9e
-DIST miniupnpd-2.3.4.tar.gz.sig 543 BLAKE2B 
5940c26bc6717e2b6f636dded1a5d7e4625d69e763191fe97fc7c2459ad9957a80d809c5795511ef35ef005817abb01a78e1c0f0af0c2508fea671a1fba17212
 SHA512 
abcea4fa53b31582e2bd8db1a1df53b25142757e760e62c4200c3067d3f8c2f9b6d11211d6d1232cc44565ded8503279e05ed42c3915a16ed432063f555c00e3
 DIST miniupnpd-2.3.5.tar.gz 261952 BLAKE2B 
022ddbc495a2dbb500ab54a3c0569a16acf3726927eac42dc316b7251dd21e705be62e3d0bb2e159ff7a5a72078bae2c04bd279d0a97fe2bf378dc8c039089d8
 SHA512 
bbb82f1b94a68c1bbf65a2e188b39305ec265cb89d9c0f3ab2d3c72eee43ee33c7d6280161344a8d51828cba2e62e2e5f9a54b0c0089503dbed5cd3a154ff0ff
 DIST miniupnpd-2.3.5.tar.gz.sig 543 BLAKE2B 
17394e1da7d95c89771dd7578e4f1e2ce407c04b142f44fe4f110beff908797991553a7275c3ba28df03b09877963d16092cb718d4c75d96211db07226bcb176
 SHA512 
ef21f493da56b9f3fe99003ee299c08b13ddcf433d7136222817ff2e1c775bf7c28cbb47ef3ab60c662380e585c2be0ca4c38e261697de410f5a751c1f4fe2da

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.3.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.3.ebuild
deleted file mode 100644
index b28bd1d20603..
--- a/net-misc/miniupnpd/miniupnpd-2.3.3.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs verify-sig
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-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"
-KEYWORDS="~amd64 ~arm ~arm64 ~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=/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 wr

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2024-03-02 Thread Michał Górny
commit: 9e98dbd7f169bf83731b81cd37d8eac7125df611
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  2 19:17:08 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  2 19:17:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e98dbd7

net-misc/miniupnpd: Bump to 2.3.5

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |   2 +
 net-misc/miniupnpd/miniupnpd-2.3.5.ebuild | 108 ++
 2 files changed, 110 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 20b0126239fa..e2e5d12a2963 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -2,3 +2,5 @@ DIST miniupnpd-2.3.3.tar.gz 260079 BLAKE2B 
4b32e05bc7002bc7edc946f01b1984f3d184e
 DIST miniupnpd-2.3.3.tar.gz.sig 543 BLAKE2B 
33b6166ba64a7a7c1b019c84d8a623d2905f32b41ea6b7cfd96c180e3d8738af264b5f073a9503c037f4609f15cb73f039701368eba63764de9edc79159961f6
 SHA512 
f2b167fec659e2f366ac180e8245c35e2907f5fb6be31fb62aad072e8a67868b995dd9400b4f41ebdfe2dcb46df583e5a1d6260f93c9b3eb25ba46bc7f6106dd
 DIST miniupnpd-2.3.4.tar.gz 260810 BLAKE2B 
7ce722aabcb0142740ffd4669c4326a99ed2903c1a0da984c5c3eb2ce523c4f6919d73b84708857ca51711fb4fdb0f8f00547ba81f3ea0e7bc700d166c07bb69
 SHA512 
7e84fcc7fbbdcb8e40d8ef35c48b331e0189427ca61d67b33c856c0598496cecade2bc7880590581c5eaf77c686496bb3228ed93d3d8edc073e8f5781a03ae9e
 DIST miniupnpd-2.3.4.tar.gz.sig 543 BLAKE2B 
5940c26bc6717e2b6f636dded1a5d7e4625d69e763191fe97fc7c2459ad9957a80d809c5795511ef35ef005817abb01a78e1c0f0af0c2508fea671a1fba17212
 SHA512 
abcea4fa53b31582e2bd8db1a1df53b25142757e760e62c4200c3067d3f8c2f9b6d11211d6d1232cc44565ded8503279e05ed42c3915a16ed432063f555c00e3
+DIST miniupnpd-2.3.5.tar.gz 261952 BLAKE2B 
022ddbc495a2dbb500ab54a3c0569a16acf3726927eac42dc316b7251dd21e705be62e3d0bb2e159ff7a5a72078bae2c04bd279d0a97fe2bf378dc8c039089d8
 SHA512 
bbb82f1b94a68c1bbf65a2e188b39305ec265cb89d9c0f3ab2d3c72eee43ee33c7d6280161344a8d51828cba2e62e2e5f9a54b0c0089503dbed5cd3a154ff0ff
+DIST miniupnpd-2.3.5.tar.gz.sig 543 BLAKE2B 
17394e1da7d95c89771dd7578e4f1e2ce407c04b142f44fe4f110beff908797991553a7275c3ba28df03b09877963d16092cb718d4c75d96211db07226bcb176
 SHA512 
ef21f493da56b9f3fe99003ee299c08b13ddcf433d7136222817ff2e1c775bf7c28cbb47ef3ab60c662380e585c2be0ca4c38e261697de410f5a751c1f4fe2da

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.5.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.5.ebuild
new file mode 100644
index ..ef90208e7b6d
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.3.5.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+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"
+KEYWORDS="~amd64 ~arm ~arm64 ~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=/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 '

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2024-01-03 Thread Michał Górny
commit: 0d4261dd2750534de16c84bded2708ee4e2e3ca5
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan  4 04:27:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  4 04:27:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d4261dd

net-misc/miniupnpd: Bump to 2.3.4

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |   2 +
 net-misc/miniupnpd/miniupnpd-2.3.4.ebuild | 108 ++
 2 files changed, 110 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index a854c3327ea2..20b0126239fa 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,4 @@
 DIST miniupnpd-2.3.3.tar.gz 260079 BLAKE2B 
4b32e05bc7002bc7edc946f01b1984f3d184e0e9949a9685ffa5351ece9dacc09dc48567cc6f68972343a1921f4ceb5c541d4b557c4991f311289a511c492efa
 SHA512 
98915e3c1410d6753a58133596bad012fea205f36ae4991c2cf4b358d1e905e029287cfcf1aa97283c2e3c1cb8c20655bff35d49a37ae8756739e33c4ae3e7ef
 DIST miniupnpd-2.3.3.tar.gz.sig 543 BLAKE2B 
33b6166ba64a7a7c1b019c84d8a623d2905f32b41ea6b7cfd96c180e3d8738af264b5f073a9503c037f4609f15cb73f039701368eba63764de9edc79159961f6
 SHA512 
f2b167fec659e2f366ac180e8245c35e2907f5fb6be31fb62aad072e8a67868b995dd9400b4f41ebdfe2dcb46df583e5a1d6260f93c9b3eb25ba46bc7f6106dd
+DIST miniupnpd-2.3.4.tar.gz 260810 BLAKE2B 
7ce722aabcb0142740ffd4669c4326a99ed2903c1a0da984c5c3eb2ce523c4f6919d73b84708857ca51711fb4fdb0f8f00547ba81f3ea0e7bc700d166c07bb69
 SHA512 
7e84fcc7fbbdcb8e40d8ef35c48b331e0189427ca61d67b33c856c0598496cecade2bc7880590581c5eaf77c686496bb3228ed93d3d8edc073e8f5781a03ae9e
+DIST miniupnpd-2.3.4.tar.gz.sig 543 BLAKE2B 
5940c26bc6717e2b6f636dded1a5d7e4625d69e763191fe97fc7c2459ad9957a80d809c5795511ef35ef005817abb01a78e1c0f0af0c2508fea671a1fba17212
 SHA512 
abcea4fa53b31582e2bd8db1a1df53b25142757e760e62c4200c3067d3f8c2f9b6d11211d6d1232cc44565ded8503279e05ed42c3915a16ed432063f555c00e3

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.4.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.4.ebuild
new file mode 100644
index ..ef90208e7b6d
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.3.4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+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"
+KEYWORDS="~amd64 ~arm ~arm64 ~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=/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)

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2024-01-03 Thread Michał Górny
commit: fdb711cbb44be9313b6e073d48547ba46d5456f4
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan  4 04:25:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  4 04:25:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb711cb

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |   4 --
 net-misc/miniupnpd/miniupnpd-2.3.1.ebuild | 108 --
 net-misc/miniupnpd/miniupnpd-2.3.2.ebuild | 108 --
 3 files changed, 220 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index a52bbc3e8d9b..a854c3327ea2 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,6 +1,2 @@
-DIST miniupnpd-2.3.1.tar.gz 258050 BLAKE2B 
c11e3ecb3f1c6b97dfa1acfbc5f844f0bbdaea65fc91be9aec41e9e152900c6998c0fc132ad4faa07cf0cd7c8e433610a8a34ecab7c409f96a9990b6c17ff1ea
 SHA512 
2b854bb75aad7f5b2ad28eeacb3afc2102edecffe50b293bc798b5ae66a9f3eb80df2e27fa14b9f5f232f78831308a5c0d6c7464697dde1770d60a75d98155f7
-DIST miniupnpd-2.3.1.tar.gz.sig 543 BLAKE2B 
7211174bf1fa2244fafa1df63c3f872a8c557845840fa83f7cdc6264f6692fa5b4919d8c086e78253451497d55fca22300894a8d0e0bde58dbf8baaa6d8e4a26
 SHA512 
c661f8e028f0a3d96cc943dacd85414570473cd6805c2215531d14f355da2cee3695083807c91218eabbb9d40efed3c8f1c0178cff9461bf92202b4a948088c7
-DIST miniupnpd-2.3.2.tar.gz 259686 BLAKE2B 
fe451773be25fd7f5941f89b35a4c94f0bebd5ece93d3b3c526c3c0e1c436773a2c403eb407cde397565ef4ec8f50441a64890bb89a56a9006a6c4556e707cef
 SHA512 
f0956b8f2e52fc9257f6512d780d17c920f6635afaeee604056f3b2afccbfda3f5e65d95d16f1d883bd9e7f4e372856cae620fabcf79c7c87e3f56bbcc089acc
-DIST miniupnpd-2.3.2.tar.gz.sig 543 BLAKE2B 
8c571eb454f6f31757b699c8a06e0b5ade575e058356aad7cdf727caf8f7a6563e98dde31d242cb1fadf136cf2c7bebbc32483c154f2538c1414f04299f40e38
 SHA512 
2a90aef1c1ca6210ddf5e29d75b0b0dc5daca949732b54a9bcd8230ecd8a4c3d5175b6561a68e180caa70547bcbd533994cad08c21630dd294190d0843cb2f8f
 DIST miniupnpd-2.3.3.tar.gz 260079 BLAKE2B 
4b32e05bc7002bc7edc946f01b1984f3d184e0e9949a9685ffa5351ece9dacc09dc48567cc6f68972343a1921f4ceb5c541d4b557c4991f311289a511c492efa
 SHA512 
98915e3c1410d6753a58133596bad012fea205f36ae4991c2cf4b358d1e905e029287cfcf1aa97283c2e3c1cb8c20655bff35d49a37ae8756739e33c4ae3e7ef
 DIST miniupnpd-2.3.3.tar.gz.sig 543 BLAKE2B 
33b6166ba64a7a7c1b019c84d8a623d2905f32b41ea6b7cfd96c180e3d8738af264b5f073a9503c037f4609f15cb73f039701368eba63764de9edc79159961f6
 SHA512 
f2b167fec659e2f366ac180e8245c35e2907f5fb6be31fb62aad072e8a67868b995dd9400b4f41ebdfe2dcb46df583e5a1d6260f93c9b3eb25ba46bc7f6106dd

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild
deleted file mode 100644
index b28bd1d20603..
--- a/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs verify-sig
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-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"
-KEYWORDS="~amd64 ~arm ~arm64 ~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=/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 wr

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2023-01-19 Thread Michał Górny
commit: d79d2ae2df16d26bf3b077e3b9c4d06fe3759a8e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 20 04:23:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 20 04:50:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79d2ae2

net-misc/miniupnpd: Bump to 2.3.2

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |   2 +
 net-misc/miniupnpd/miniupnpd-2.3.2.ebuild | 108 ++
 2 files changed, 110 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 50a564f3a043..7878ec3ab5ec 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,4 @@
 DIST miniupnpd-2.3.1.tar.gz 258050 BLAKE2B 
c11e3ecb3f1c6b97dfa1acfbc5f844f0bbdaea65fc91be9aec41e9e152900c6998c0fc132ad4faa07cf0cd7c8e433610a8a34ecab7c409f96a9990b6c17ff1ea
 SHA512 
2b854bb75aad7f5b2ad28eeacb3afc2102edecffe50b293bc798b5ae66a9f3eb80df2e27fa14b9f5f232f78831308a5c0d6c7464697dde1770d60a75d98155f7
 DIST miniupnpd-2.3.1.tar.gz.sig 543 BLAKE2B 
7211174bf1fa2244fafa1df63c3f872a8c557845840fa83f7cdc6264f6692fa5b4919d8c086e78253451497d55fca22300894a8d0e0bde58dbf8baaa6d8e4a26
 SHA512 
c661f8e028f0a3d96cc943dacd85414570473cd6805c2215531d14f355da2cee3695083807c91218eabbb9d40efed3c8f1c0178cff9461bf92202b4a948088c7
+DIST miniupnpd-2.3.2.tar.gz 259686 BLAKE2B 
fe451773be25fd7f5941f89b35a4c94f0bebd5ece93d3b3c526c3c0e1c436773a2c403eb407cde397565ef4ec8f50441a64890bb89a56a9006a6c4556e707cef
 SHA512 
f0956b8f2e52fc9257f6512d780d17c920f6635afaeee604056f3b2afccbfda3f5e65d95d16f1d883bd9e7f4e372856cae620fabcf79c7c87e3f56bbcc089acc
+DIST miniupnpd-2.3.2.tar.gz.sig 543 BLAKE2B 
8c571eb454f6f31757b699c8a06e0b5ade575e058356aad7cdf727caf8f7a6563e98dde31d242cb1fadf136cf2c7bebbc32483c154f2538c1414f04299f40e38
 SHA512 
2a90aef1c1ca6210ddf5e29d75b0b0dc5daca949732b54a9bcd8230ecd8a4c3d5175b6561a68e180caa70547bcbd533994cad08c21630dd294190d0843cb2f8f

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.2.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.2.ebuild
new file mode 100644
index ..0bed1072de26
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.3.2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+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"
+KEYWORDS="~amd64 ~arm ~arm64 ~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 

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2022-10-21 Thread Michał Górny
commit: a861a91093cf1d784dfb9a7d979a4880934181c4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 22 05:52:26 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 22 06:05:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a861a910

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  2 -
 net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild | 97 
 2 files changed, 99 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index c77a9464d1f8..50a564f3a043 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,4 +1,2 @@
-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
 DIST miniupnpd-2.3.1.tar.gz 258050 BLAKE2B 
c11e3ecb3f1c6b97dfa1acfbc5f844f0bbdaea65fc91be9aec41e9e152900c6998c0fc132ad4faa07cf0cd7c8e433610a8a34ecab7c409f96a9990b6c17ff1ea
 SHA512 
2b854bb75aad7f5b2ad28eeacb3afc2102edecffe50b293bc798b5ae66a9f3eb80df2e27fa14b9f5f232f78831308a5c0d6c7464697dde1770d60a75d98155f7
 DIST miniupnpd-2.3.1.tar.gz.sig 543 BLAKE2B 
7211174bf1fa2244fafa1df63c3f872a8c557845840fa83f7cdc6264f6692fa5b4919d8c086e78253451497d55fca22300894a8d0e0bde58dbf8baaa6d8e4a26
 SHA512 
c661f8e028f0a3d96cc943dacd85414570473cd6805c2215531d14f355da2cee3695083807c91218eabbb9d40efed3c8f1c0178cff9461bf92202b4a948088c7

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild
deleted file mode 100644
index 6eaa3bb39dbd..
--- a/net-misc/miniupnpd/miniupnpd-2.3.0-r1.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 ~arm64 ~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"

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2022-10-21 Thread Michał Górny
commit: 775588aebd2e8c40c9635b165ac282bc4d41e906
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 22 05:53:58 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 22 06:05:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=775588ae

net-misc/miniupnpd: Update URLs

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/miniupnpd-2.3.1.ebuild | 15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild
index 271875f16467..cd058e612f1a 100644
--- a/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild
@@ -2,16 +2,21 @@
 # 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/";
+HOMEPAGE="
+   http://miniupnp.free.fr/
+   https://miniupnp.tuxfamily.org/
+   https://github.com/miniupnp/miniupnp/
+"
 SRC_URI="
-   http://miniupnp.free.fr/files/${MY_P}.tar.gz
-   verify-sig? ( http://miniupnp.free.fr/files/${MY_P}.tar.gz.sig )
+   https://miniupnp.tuxfamily.org/files/${P}.tar.gz
+   verify-sig? (
+   https://miniupnp.tuxfamily.org/files/${P}.tar.gz.sig
+   )
 "
-S=${WORKDIR}/${MY_P}
 
 LICENSE="BSD"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2022-10-18 Thread Michał Górny
commit: ae53c02ebe2714ed70221f0b0b0305406560ae20
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 18 06:53:09 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 18 07:26:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae53c02e

net-misc/miniupnpd: Bump to 2.3.1

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |   2 +
 net-misc/miniupnpd/miniupnpd-2.3.1.ebuild | 103 ++
 2 files changed, 105 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 2263c3ca93b7..c77a9464d1f8 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,4 @@
 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
+DIST miniupnpd-2.3.1.tar.gz 258050 BLAKE2B 
c11e3ecb3f1c6b97dfa1acfbc5f844f0bbdaea65fc91be9aec41e9e152900c6998c0fc132ad4faa07cf0cd7c8e433610a8a34ecab7c409f96a9990b6c17ff1ea
 SHA512 
2b854bb75aad7f5b2ad28eeacb3afc2102edecffe50b293bc798b5ae66a9f3eb80df2e27fa14b9f5f232f78831308a5c0d6c7464697dde1770d60a75d98155f7
+DIST miniupnpd-2.3.1.tar.gz.sig 543 BLAKE2B 
7211174bf1fa2244fafa1df63c3f872a8c557845840fa83f7cdc6264f6692fa5b4919d8c086e78253451497d55fca22300894a8d0e0bde58dbf8baaa6d8e4a26
 SHA512 
c661f8e028f0a3d96cc943dacd85414570473cd6805c2215531d14f355da2cee3695083807c91218eabbb9d40efed3c8f1c0178cff9461bf92202b4a948088c7

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild
new file mode 100644
index ..271875f16467
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.3.1.ebuild
@@ -0,0 +1,103 @@
+# 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 ~arm64 ~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

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2022-07-17 Thread Sam James
commit: f68552fdbf0cd2efdf1586b433d4133cd5193d14
Author: Alfred Persson Forsberg  catcream  org>
AuthorDate: Mon Jul 11 22:56:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 18 00:26:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f68552fd

net-misc/miniupnpd: keyword 2.3.0-r1 for ~arm64

Signed-off-by: Alfred Persson Forsberg  catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/26356
Signed-off-by: Sam James  gentoo.org>

 net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild
index 1ea1f1e65a1e..6eaa3bb39dbd 100644
--- a/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild
@@ -13,7 +13,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2022-05-16 Thread Sam James
commit: 4d2516123d670c287f4d63b5e5c002a60bb0ab63
Author: Sam James  gentoo  org>
AuthorDate: Mon May 16 23:05:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 16 23:05:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d251612

net-misc/miniupnpd: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 net-misc/miniupnpd/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/miniupnpd/metadata.xml b/net-misc/miniupnpd/metadata.xml
index 37183016068f..e1c5b875f102 100644
--- a/net-misc/miniupnpd/metadata.xml
+++ b/net-misc/miniupnpd/metadata.xml
@@ -17,4 +17,7 @@
Check if a port is in use before 
allowing a NAT-PMP client to map it.
Be more strict regarding compliance with 
UPnP specifications.

+   
+   miniupnp/miniupnp
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2022-02-17 Thread Sam James
commit: f41445bf6fd96fa6d70135a0b1a408b4c9bd466a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 12 16:14:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 18 02:40:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41445bf

net-misc/miniupnpd: Use (+) for ipv6 flag deps

At this point, it is reasonable to assume that packages will be enabling
IPv6 unconditionally rather than dropping it altogether.  Update the USE
dependencies to (+) to account for that, in preparation for removal
of the flag in iproute2 and iputils.

Signed-off-by: Michał Górny  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 .../miniupnpd/{miniupnpd-2.3.0.ebuild => miniupnpd-2.3.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild
similarity index 98%
rename from net-misc/miniupnpd/miniupnpd-2.3.0.ebuild
rename to net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild
index 328c65b49bbc..1ea1f1e65a1e 100644
--- a/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.3.0-r1.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
sys-apps/util-linux:=
dev-libs/openssl:0=
!nftables? (
-   >=net-firewall/iptables-1.4.6:0=[ipv6?]
+   >=net-firewall/iptables-1.4.6:0=[ipv6(+)?]
net-libs/libnfnetlink:=
net-libs/libmnl:=
)



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/files/, net-misc/miniupnpd/

2022-02-12 Thread Michał Górny
commit: 2a3608e8175b556b20ed4572a2fa2d4cc368f1fd
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 12 16:12:50 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 12 16:12:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a3608e8

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest|   4 -
 .../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 -
 4 files changed, 206 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 30c492813480..2263c3ca93b7 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,6 +1,2 @@
-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

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..
--- 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..
--- 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
-  

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2022-01-23 Thread Michał Górny
commit: ad50f95fea5f0ec4615947d696bedfc8d97d2e4f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 23 09:25:40 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 23 09:25:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad50f95f

net-misc/miniupnpd: Bump to 2.3.0

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |  2 +
 net-misc/miniupnpd/miniupnpd-2.3.0.ebuild | 97 +++
 2 files changed, 99 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index b26631d98c54..30c492813480 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -2,3 +2,5 @@ DIST miniupnpd-2.2.2.tar.gz 250649 BLAKE2B 
d561916ced9b5c58371382fe0bec68cd0771d
 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

diff --git a/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild
new file mode 100644
index ..328c65b49bbc
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.3.0.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
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2021-12-23 Thread Sam James
commit: 9d8ed05c1c894d113823035bc39a5703ab093cfd
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 23 08:00:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 23 08:13:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d8ed05c

net-misc/miniupnpd: fix build on musl

Closes: https://bugs.gentoo.org/715384
Signed-off-by: Sam James  gentoo.org>

 net-misc/miniupnpd/miniupnpd-2.2.2.ebuild | 3 ++-
 net-misc/miniupnpd/miniupnpd-2.2.3.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild
index ecd348986772..7bc2128632d2 100644
--- a/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild
@@ -31,7 +31,8 @@ RDEPEND="
net-libs/libnftnl:=
net-libs/libmnl:=
)"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   elibc_musl? ( sys-libs/queue-standalone )"
 BDEPEND="
sys-apps/lsb-release
verify-sig? ( sec-keys/openpgp-keys-miniupnp )"

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild
index 5c5f0f516cc3..b71fff94e94a 100644
--- a/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild
@@ -30,7 +30,8 @@ RDEPEND="
net-libs/libnftnl:=
net-libs/libmnl:=
)"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   elibc_musl? ( sys-libs/queue-standalone )"
 BDEPEND="
sys-apps/lsb-release
verify-sig? ( sec-keys/openpgp-keys-miniupnp )"



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/, app-crypt/openpgp-keys-miniupnp/, net-misc/minissdpd/, ...

2021-12-18 Thread Michał Górny
commit: 735af7b864ab289edbaab7fe525f44708202282a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 17 22:15:36 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 18 22:32:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=735af7b8

Move {app-crypt → sec-keys}/openpgp-keys-miniupnp

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/miniupnpc/miniupnpc-2.2.3.ebuild | 2 +-
 net-libs/miniupnpc/miniupnpc-2.2.3.ebuild   | 2 +-
 net-misc/minissdpd/minissdpd-1.5.20200928.ebuild| 2 +-
 net-misc/minissdpd/minissdpd-1.5.20211105.ebuild| 2 +-
 net-misc/miniupnpd/miniupnpd-2.2.2.ebuild   | 2 +-
 net-misc/miniupnpd/miniupnpd-2.2.3.ebuild   | 2 +-
 profiles/updates/4Q-2021| 1 +
 {app-crypt => sec-keys}/openpgp-keys-miniupnp/Manifest  | 0
 {app-crypt => sec-keys}/openpgp-keys-miniupnp/metadata.xml  | 0
 .../openpgp-keys-miniupnp/openpgp-keys-miniupnp-20201006.ebuild | 0
 10 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild 
b/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild
index 85e2362acf0a..6721d93ac38c 100644
--- a/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild
+++ b/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild
@@ -19,7 +19,7 @@ IUSE=""
 
 RDEPEND=">=net-libs/miniupnpc-${PV}:0="
 DEPEND="${RDEPEND}"
-BDEPEND="verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-miniupnp )"
 
 VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
 

diff --git a/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild 
b/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild
index fc6f2fcdf34b..2416d8c66676 100644
--- a/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild
+++ b/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild
@@ -18,7 +18,7 @@ IUSE="ipv6 kernel_linux"
 RDEPEND=""
 BDEPEND="
kernel_linux? ( sys-apps/lsb-release sys-apps/which )
-   verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
+   verify-sig? ( sec-keys/openpgp-keys-miniupnp )"
 
 VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
 

diff --git a/net-misc/minissdpd/minissdpd-1.5.20200928.ebuild 
b/net-misc/minissdpd/minissdpd-1.5.20200928.ebuild
index f6632eade218..b1e836721742 100644
--- a/net-misc/minissdpd/minissdpd-1.5.20200928.ebuild
+++ b/net-misc/minissdpd/minissdpd-1.5.20200928.ebuild
@@ -17,7 +17,7 @@ DEPEND="net-libs/libnfnetlink"
 RDEPEND="${DEPEND}
|| ( net-misc/miniupnpd net-libs/miniupnpc )"
 BDEPEND="
-   verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
+   verify-sig? ( sec-keys/openpgp-keys-miniupnp )"
 
 VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
 

diff --git a/net-misc/minissdpd/minissdpd-1.5.20211105.ebuild 
b/net-misc/minissdpd/minissdpd-1.5.20211105.ebuild
index b07a95967646..cefaa8e598e9 100644
--- a/net-misc/minissdpd/minissdpd-1.5.20211105.ebuild
+++ b/net-misc/minissdpd/minissdpd-1.5.20211105.ebuild
@@ -17,7 +17,7 @@ DEPEND="net-libs/libnfnetlink"
 RDEPEND="${DEPEND}
|| ( net-misc/miniupnpd net-libs/miniupnpc )"
 BDEPEND="
-   verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
+   verify-sig? ( sec-keys/openpgp-keys-miniupnp )"
 
 VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
 

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild
index b2d4b1534d14..ecd348986772 100644
--- a/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild
@@ -34,7 +34,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
sys-apps/lsb-release
-   verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
+   verify-sig? ( sec-keys/openpgp-keys-miniupnp )"
 
 VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
 

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild
index 1042f0c2cb80..5c5f0f516cc3 100644
--- a/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild
@@ -33,7 +33,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
sys-apps/lsb-release
-   verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
+   verify-sig? ( sec-keys/openpgp-keys-miniupnp )"
 
 VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
 

diff --git a/profiles/updates/4Q-2021 b/profiles/updates/4Q-2021
index 1d395d84ce08..0782bab645c0 100644
--- a/profiles/updates/4Q-2021
+++ b/profiles/updates/4Q-2021
@@ -18,3 +18,4 @@ move app-crypt/openpgp-keys-libidn 
sec-keys/openpgp-keys-libidn
 move app-crypt/openpgp-keys-libvirt sec-keys/openpgp-keys-libvirt
 move app-crypt/openpgp-keys-linuxcontainers 
sec-keys/openpgp-keys-linuxcontainers
 move app-crypt/openpgp-keys-midipix sec-keys/openpgp-keys-midipix
+mov

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2021-08-22 Thread Michał Górny
commit: 9125c6c7d3aa5ede8e5fa3ebc2d22ae4d30b8685
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 22 07:14:15 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 22 08:01:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9125c6c7

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |  4 --
 net-misc/miniupnpd/miniupnpd-2.2.0.ebuild | 86 ---
 net-misc/miniupnpd/miniupnpd-2.2.1.ebuild | 86 ---
 3 files changed, 176 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index c6ce7f5720a..cc070f82277 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,6 +1,2 @@
-DIST miniupnpd-2.2.0.tar.gz 249858 BLAKE2B 
ef216c7703cb9806a3719b247d67c5c844879308eafbef0936fc501305dbdada7b32e6fc212e50ee093c6f5728709da3d2d5114e89de52a124c229c63ee03563
 SHA512 
ac8bc3c140f369d0f92d203b94a4f73dde682a486c4395cd25aafda3461577b4a2a1d3160cf8bd37fa8520cda4f86cbdaec925b2ef4e9054e7bf10e04a227d3c
-DIST miniupnpd-2.2.0.tar.gz.sig 543 BLAKE2B 
11778dd70128ece1f80144bb229176c53f3cd89847a8eedd4fe1b75ac55d986ae7c4689edf40f80c4605ba42260bc41f8fd069e99b8c249226ab9e2981d15412
 SHA512 
5e0e053a2a3ab876da001589677b0f5e3a4df8511ea5185dbbaee9b80928f9cb9705029f1c83bd9d26b144e39721fce1c4c8c33983956b6731ae654bc094063c
-DIST miniupnpd-2.2.1.tar.gz 250023 BLAKE2B 
67418a8480f7d3ac3d51a9c18fdcce4a85c33ff6c373051e1f9df121b00d936f02038ed0a5a5a848b7b2c145aa08dc1e2b954b211cc79fae1de09075f55a9f21
 SHA512 
211b608472a72065d892e9197f8bdd8c82e44296bb692244ec5e83ca9b076cbcc3426c806ff27d5e805505b1c82b1a7afd7b4030ddecdb60aa85c37062c10c8a
-DIST miniupnpd-2.2.1.tar.gz.sig 543 BLAKE2B 
fac8c2fd5c50e3201c5fc490d91aed5752bf70297bed101cb3d5ec53d891fdc8f893b3d83e0cf064eb9e9bf16ae9504a849187e18eabc8ed12055574d1e551f5
 SHA512 
da5b52b1c62bf433a165acf87a64195e27c71c98dfa086cfde19f7b1c4046a62926cca5eb2d10f4260eb1b97c428ba08b4b7fcbf280c2a7009c86279a7563e0f
 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

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild
deleted file mode 100644
index 1c2981def4c..000
--- a/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 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}"
-BDEPEND="
-   sys-apps/lsb-release
-   verify-sig? ( app-crypt/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
-   con

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/, net-misc/miniupnpd/files/

2021-08-22 Thread Michał Górny
commit: c1770fa205521b5abfbe16fb46a5ba3383218250
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 22 07:15:56 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 22 08:01:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1770fa2

net-misc/miniupnpd: Bump to 2.2.3

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest|   2 +
 .../files/miniupnpd-2.2.3-testgetifaddr.patch  |  14 +++
 net-misc/miniupnpd/miniupnpd-2.2.3.ebuild  | 100 +
 3 files changed, 116 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index cc070f82277..b26631d98c5 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,4 @@
 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

diff --git a/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch 
b/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch
new file mode 100644
index 000..73e4a87903e
--- /dev/null
+++ b/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch
@@ -0,0 +1,14 @@
+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.3.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild
new file mode 100644
index 000..1042f0c2cb8
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.2.3.ebuild
@@ -0,0 +1,100 @@
+# 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}"
+BDEPEND="
+   sys-apps/lsb-release
+   verify-sig? ( app-crypt/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 i

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2021-05-14 Thread Michał Górny
commit: 6466466bd467eb68f44231c8df8d1d7d64561407
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May 14 07:53:54 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 14 08:14:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6466466b

net-misc/miniupnpd: Bump to 2.2.2

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |  2 +
 net-misc/miniupnpd/miniupnpd-2.2.2.ebuild | 86 +++
 2 files changed, 88 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index d39cff455b0..c6ce7f5720a 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -2,3 +2,5 @@ DIST miniupnpd-2.2.0.tar.gz 249858 BLAKE2B 
ef216c7703cb9806a3719b247d67c5c844879
 DIST miniupnpd-2.2.0.tar.gz.sig 543 BLAKE2B 
11778dd70128ece1f80144bb229176c53f3cd89847a8eedd4fe1b75ac55d986ae7c4689edf40f80c4605ba42260bc41f8fd069e99b8c249226ab9e2981d15412
 SHA512 
5e0e053a2a3ab876da001589677b0f5e3a4df8511ea5185dbbaee9b80928f9cb9705029f1c83bd9d26b144e39721fce1c4c8c33983956b6731ae654bc094063c
 DIST miniupnpd-2.2.1.tar.gz 250023 BLAKE2B 
67418a8480f7d3ac3d51a9c18fdcce4a85c33ff6c373051e1f9df121b00d936f02038ed0a5a5a848b7b2c145aa08dc1e2b954b211cc79fae1de09075f55a9f21
 SHA512 
211b608472a72065d892e9197f8bdd8c82e44296bb692244ec5e83ca9b076cbcc3426c806ff27d5e805505b1c82b1a7afd7b4030ddecdb60aa85c37062c10c8a
 DIST miniupnpd-2.2.1.tar.gz.sig 543 BLAKE2B 
fac8c2fd5c50e3201c5fc490d91aed5752bf70297bed101cb3d5ec53d891fdc8f893b3d83e0cf064eb9e9bf16ae9504a849187e18eabc8ed12055574d1e551f5
 SHA512 
da5b52b1c62bf433a165acf87a64195e27c71c98dfa086cfde19f7b1c4046a62926cca5eb2d10f4260eb1b97c428ba08b4b7fcbf280c2a7009c86279a7563e0f
+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

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild
new file mode 100644
index 000..b2d4b1534d1
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.2.2.ebuild
@@ -0,0 +1,86 @@
+# 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}"
+BDEPEND="
+   sys-apps/lsb-release
+   verify-sig? ( app-crypt/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}"/$

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-12-21 Thread Michał Górny
commit: ff67bf533c42c23a7b862aacf372aa667ce6c631
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 21 09:00:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 21 09:29:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff67bf53

net-misc/miniupnpd: Bump to 2.2.1

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |  2 +
 net-misc/miniupnpd/miniupnpd-2.2.1.ebuild | 86 +++
 2 files changed, 88 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index eddcbe775bf..d39cff455b0 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,4 @@
 DIST miniupnpd-2.2.0.tar.gz 249858 BLAKE2B 
ef216c7703cb9806a3719b247d67c5c844879308eafbef0936fc501305dbdada7b32e6fc212e50ee093c6f5728709da3d2d5114e89de52a124c229c63ee03563
 SHA512 
ac8bc3c140f369d0f92d203b94a4f73dde682a486c4395cd25aafda3461577b4a2a1d3160cf8bd37fa8520cda4f86cbdaec925b2ef4e9054e7bf10e04a227d3c
 DIST miniupnpd-2.2.0.tar.gz.sig 543 BLAKE2B 
11778dd70128ece1f80144bb229176c53f3cd89847a8eedd4fe1b75ac55d986ae7c4689edf40f80c4605ba42260bc41f8fd069e99b8c249226ab9e2981d15412
 SHA512 
5e0e053a2a3ab876da001589677b0f5e3a4df8511ea5185dbbaee9b80928f9cb9705029f1c83bd9d26b144e39721fce1c4c8c33983956b6731ae654bc094063c
+DIST miniupnpd-2.2.1.tar.gz 250023 BLAKE2B 
67418a8480f7d3ac3d51a9c18fdcce4a85c33ff6c373051e1f9df121b00d936f02038ed0a5a5a848b7b2c145aa08dc1e2b954b211cc79fae1de09075f55a9f21
 SHA512 
211b608472a72065d892e9197f8bdd8c82e44296bb692244ec5e83ca9b076cbcc3426c806ff27d5e805505b1c82b1a7afd7b4030ddecdb60aa85c37062c10c8a
+DIST miniupnpd-2.2.1.tar.gz.sig 543 BLAKE2B 
fac8c2fd5c50e3201c5fc490d91aed5752bf70297bed101cb3d5ec53d891fdc8f893b3d83e0cf064eb9e9bf16ae9504a849187e18eabc8ed12055574d1e551f5
 SHA512 
da5b52b1c62bf433a165acf87a64195e27c71c98dfa086cfde19f7b1c4046a62926cca5eb2d10f4260eb1b97c428ba08b4b7fcbf280c2a7009c86279a7563e0f

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.1.ebuild
new file mode 100644
index 000..1c2981def4c
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.2.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 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}"
+BDEPEND="
+   sys-apps/lsb-release
+   verify-sig? ( app-crypt/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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-12-21 Thread Michał Górny
commit: 9e14617e83f89821dcc9cf567c4fd3982bf3ef6f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 21 08:59:17 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 21 09:29:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e14617e

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  5 --
 net-misc/miniupnpd/miniupnpd-2.1.20200510.ebuild | 79 --
 net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild| 86 
 net-misc/miniupnpd/miniupnpd-2.2.0_rc3.ebuild| 86 
 4 files changed, 256 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 3c28d49d393..eddcbe775bf 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,7 +1,2 @@
-DIST miniupnpd-2.1.20200510.tar.gz 245426 BLAKE2B 
17b5335bb4cfb55a517c1f0aeb1eabd7515c729480ee737a8ba525988e59f067e18d2de78393df2ff62cc15201a742d17a17d5632601c1d98ea2a943dcc4a393
 SHA512 
36a5d1844075a93e76f13aba8820b3747bcc8f562c8cbcc562f991ac154e91c951b5caaa9b7c7066cf80534066c3ee6e20a066012b830143f0a7352cb9f5d71b
-DIST miniupnpd-2.2.0-RC2.tar.gz 248756 BLAKE2B 
428f353496f4410ae2ddce96d8edca1d4addf4f77c1e794ba48b5ac7fbe12368f994d91c04eb5d54fbddd24f5e6d36aa87e4cfb4f60b8e3f08f3bf96b5b7f094
 SHA512 
17dd31477c018f3f26b05a9ab5370819f763bcab6c00f3bb13ea87bc3781f5dcd190e294837b85a9e41b4fe7d1bfa0b475ef8da2f1fa48c3fe357c284f585508
-DIST miniupnpd-2.2.0-RC2.tar.gz.sig 543 BLAKE2B 
678b76fcc994d66dad6988a272d99db1f1eb89096b72e171f9ee94c59734ff5a1885316ac2564119614b0a9c653cf7e7d88a6b9f291a6588d4577e669d2b4775
 SHA512 
fa6c93501b6bf5eef763d0ee637233458ddb6e2aac0ec92554c803ed29e6d3fb35e8618a7316fddc07a009a5a7b702351226ef2eaec6dd5404bea47d5fb0ebe2
-DIST miniupnpd-2.2.0-RC3.tar.gz 249879 BLAKE2B 
718c40d9dadc17eca9544c499c75888ced5f058bb75e564d5bf17ef490200dd2055ba43cb265ec26381a14697e814524ca849deead4493b0e5de37bf6121e1b3
 SHA512 
2f946521e922016e58179dc9d6c5ce783a93dab9117066dea05d4f27a854dc9b7a92ea475df6565856294ecf82698a885968aa7b3325244ea87e695901bac3ed
-DIST miniupnpd-2.2.0-RC3.tar.gz.sig 543 BLAKE2B 
4d11b6aa3e39f417e00e9aade4e5f2d0292595f64500a7d22fabc0e04e1784ebebb8616eaea5b7b93fd4ba1d83ee547cf2de7faac4578848b8bc213c54a9e264
 SHA512 
2fe3086103debbcb88774fc2428e09628aac3e0f686d1141f9c1bf38a8f0229e682bfa70bf939435bca6371750c601fd8b6fa2304b4f25fcc6cf4288ece1cf1d
 DIST miniupnpd-2.2.0.tar.gz 249858 BLAKE2B 
ef216c7703cb9806a3719b247d67c5c844879308eafbef0936fc501305dbdada7b32e6fc212e50ee093c6f5728709da3d2d5114e89de52a124c229c63ee03563
 SHA512 
ac8bc3c140f369d0f92d203b94a4f73dde682a486c4395cd25aafda3461577b4a2a1d3160cf8bd37fa8520cda4f86cbdaec925b2ef4e9054e7bf10e04a227d3c
 DIST miniupnpd-2.2.0.tar.gz.sig 543 BLAKE2B 
11778dd70128ece1f80144bb229176c53f3cd89847a8eedd4fe1b75ac55d986ae7c4689edf40f80c4605ba42260bc41f8fd069e99b8c249226ab9e2981d15412
 SHA512 
5e0e053a2a3ab876da001589677b0f5e3a4df8511ea5185dbbaee9b80928f9cb9705029f1c83bd9d26b144e39721fce1c4c8c33983956b6731ae654bc094063c

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20200510.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20200510.ebuild
deleted file mode 100644
index b208d8cce8f..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20200510.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-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}
-   sys-apps/lsb-release"
-
-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}" STR

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-11-01 Thread Michał Górny
commit: e04f98f31ba3fa869caf9a7c2bf8ee8a847c487a
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov  1 07:11:58 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov  1 07:11:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04f98f3

net-misc/miniupnpd: Bump to 2.2.0

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |  2 +
 net-misc/miniupnpd/miniupnpd-2.2.0.ebuild | 86 +++
 2 files changed, 88 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 0708355aa82..3c28d49d393 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -3,3 +3,5 @@ DIST miniupnpd-2.2.0-RC2.tar.gz 248756 BLAKE2B 
428f353496f4410ae2ddce96d8edca1d4
 DIST miniupnpd-2.2.0-RC2.tar.gz.sig 543 BLAKE2B 
678b76fcc994d66dad6988a272d99db1f1eb89096b72e171f9ee94c59734ff5a1885316ac2564119614b0a9c653cf7e7d88a6b9f291a6588d4577e669d2b4775
 SHA512 
fa6c93501b6bf5eef763d0ee637233458ddb6e2aac0ec92554c803ed29e6d3fb35e8618a7316fddc07a009a5a7b702351226ef2eaec6dd5404bea47d5fb0ebe2
 DIST miniupnpd-2.2.0-RC3.tar.gz 249879 BLAKE2B 
718c40d9dadc17eca9544c499c75888ced5f058bb75e564d5bf17ef490200dd2055ba43cb265ec26381a14697e814524ca849deead4493b0e5de37bf6121e1b3
 SHA512 
2f946521e922016e58179dc9d6c5ce783a93dab9117066dea05d4f27a854dc9b7a92ea475df6565856294ecf82698a885968aa7b3325244ea87e695901bac3ed
 DIST miniupnpd-2.2.0-RC3.tar.gz.sig 543 BLAKE2B 
4d11b6aa3e39f417e00e9aade4e5f2d0292595f64500a7d22fabc0e04e1784ebebb8616eaea5b7b93fd4ba1d83ee547cf2de7faac4578848b8bc213c54a9e264
 SHA512 
2fe3086103debbcb88774fc2428e09628aac3e0f686d1141f9c1bf38a8f0229e682bfa70bf939435bca6371750c601fd8b6fa2304b4f25fcc6cf4288ece1cf1d
+DIST miniupnpd-2.2.0.tar.gz 249858 BLAKE2B 
ef216c7703cb9806a3719b247d67c5c844879308eafbef0936fc501305dbdada7b32e6fc212e50ee093c6f5728709da3d2d5114e89de52a124c229c63ee03563
 SHA512 
ac8bc3c140f369d0f92d203b94a4f73dde682a486c4395cd25aafda3461577b4a2a1d3160cf8bd37fa8520cda4f86cbdaec925b2ef4e9054e7bf10e04a227d3c
+DIST miniupnpd-2.2.0.tar.gz.sig 543 BLAKE2B 
11778dd70128ece1f80144bb229176c53f3cd89847a8eedd4fe1b75ac55d986ae7c4689edf40f80c4605ba42260bc41f8fd069e99b8c249226ab9e2981d15412
 SHA512 
5e0e053a2a3ab876da001589677b0f5e3a4df8511ea5185dbbaee9b80928f9cb9705029f1c83bd9d26b144e39721fce1c4c8c33983956b6731ae654bc094063c

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild
new file mode 100644
index 000..1c2981def4c
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 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}"
+BDEPEND="
+   sys-apps/lsb-release
+   verify-sig? ( app-crypt/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[@]}" \
+   "${

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-10-31 Thread Michał Górny
commit: bc49647339fe5fefa518e7db7ae4061ea3876403
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 31 08:00:00 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 31 08:33:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc496473

net-misc/miniupnpd: Bump to 2.2.0-RC3

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |  2 +
 net-misc/miniupnpd/miniupnpd-2.2.0_rc3.ebuild | 86 +++
 2 files changed, 88 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index de05c1338e1..0708355aa82 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1,5 @@
 DIST miniupnpd-2.1.20200510.tar.gz 245426 BLAKE2B 
17b5335bb4cfb55a517c1f0aeb1eabd7515c729480ee737a8ba525988e59f067e18d2de78393df2ff62cc15201a742d17a17d5632601c1d98ea2a943dcc4a393
 SHA512 
36a5d1844075a93e76f13aba8820b3747bcc8f562c8cbcc562f991ac154e91c951b5caaa9b7c7066cf80534066c3ee6e20a066012b830143f0a7352cb9f5d71b
 DIST miniupnpd-2.2.0-RC2.tar.gz 248756 BLAKE2B 
428f353496f4410ae2ddce96d8edca1d4addf4f77c1e794ba48b5ac7fbe12368f994d91c04eb5d54fbddd24f5e6d36aa87e4cfb4f60b8e3f08f3bf96b5b7f094
 SHA512 
17dd31477c018f3f26b05a9ab5370819f763bcab6c00f3bb13ea87bc3781f5dcd190e294837b85a9e41b4fe7d1bfa0b475ef8da2f1fa48c3fe357c284f585508
 DIST miniupnpd-2.2.0-RC2.tar.gz.sig 543 BLAKE2B 
678b76fcc994d66dad6988a272d99db1f1eb89096b72e171f9ee94c59734ff5a1885316ac2564119614b0a9c653cf7e7d88a6b9f291a6588d4577e669d2b4775
 SHA512 
fa6c93501b6bf5eef763d0ee637233458ddb6e2aac0ec92554c803ed29e6d3fb35e8618a7316fddc07a009a5a7b702351226ef2eaec6dd5404bea47d5fb0ebe2
+DIST miniupnpd-2.2.0-RC3.tar.gz 249879 BLAKE2B 
718c40d9dadc17eca9544c499c75888ced5f058bb75e564d5bf17ef490200dd2055ba43cb265ec26381a14697e814524ca849deead4493b0e5de37bf6121e1b3
 SHA512 
2f946521e922016e58179dc9d6c5ce783a93dab9117066dea05d4f27a854dc9b7a92ea475df6565856294ecf82698a885968aa7b3325244ea87e695901bac3ed
+DIST miniupnpd-2.2.0-RC3.tar.gz.sig 543 BLAKE2B 
4d11b6aa3e39f417e00e9aade4e5f2d0292595f64500a7d22fabc0e04e1784ebebb8616eaea5b7b93fd4ba1d83ee547cf2de7faac4578848b8bc213c54a9e264
 SHA512 
2fe3086103debbcb88774fc2428e09628aac3e0f686d1141f9c1bf38a8f0229e682bfa70bf939435bca6371750c601fd8b6fa2304b4f25fcc6cf4288ece1cf1d

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.0_rc3.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.0_rc3.ebuild
new file mode 100644
index 000..1c2981def4c
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.2.0_rc3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 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}"
+BDEPEND="
+   sys-apps/lsb-release
+   verify-sig? ( app-crypt/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_postins

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-10-10 Thread Michał Górny
commit: ae1887b32e79d83d706494a1b35da90545e9e200
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 10 18:05:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 10 18:21:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae1887b3

net-misc/miniupnpd: Use verify-sig.eclass

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |  1 +
 net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild | 16 +++-
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 5cc9be099c4..de05c1338e1 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,3 @@
 DIST miniupnpd-2.1.20200510.tar.gz 245426 BLAKE2B 
17b5335bb4cfb55a517c1f0aeb1eabd7515c729480ee737a8ba525988e59f067e18d2de78393df2ff62cc15201a742d17a17d5632601c1d98ea2a943dcc4a393
 SHA512 
36a5d1844075a93e76f13aba8820b3747bcc8f562c8cbcc562f991ac154e91c951b5caaa9b7c7066cf80534066c3ee6e20a066012b830143f0a7352cb9f5d71b
 DIST miniupnpd-2.2.0-RC2.tar.gz 248756 BLAKE2B 
428f353496f4410ae2ddce96d8edca1d4addf4f77c1e794ba48b5ac7fbe12368f994d91c04eb5d54fbddd24f5e6d36aa87e4cfb4f60b8e3f08f3bf96b5b7f094
 SHA512 
17dd31477c018f3f26b05a9ab5370819f763bcab6c00f3bb13ea87bc3781f5dcd190e294837b85a9e41b4fe7d1bfa0b475ef8da2f1fa48c3fe357c284f585508
+DIST miniupnpd-2.2.0-RC2.tar.gz.sig 543 BLAKE2B 
678b76fcc994d66dad6988a272d99db1f1eb89096b72e171f9ee94c59734ff5a1885316ac2564119614b0a9c653cf7e7d88a6b9f291a6588d4577e669d2b4775
 SHA512 
fa6c93501b6bf5eef763d0ee637233458ddb6e2aac0ec92554c803ed29e6d3fb35e8618a7316fddc07a009a5a7b702351226ef2eaec6dd5404bea47d5fb0ebe2

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild
index e80efef5db1..1c2981def4c 100644
--- a/net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild
@@ -3,12 +3,14 @@
 
 EAPI=7
 
-inherit toolchain-funcs
+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/${P/_rc/-RC}.tar.gz";
-S=${WORKDIR}/${P/_rc/-RC}
+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"
@@ -29,8 +31,12 @@ RDEPEND="
net-libs/libnftnl:=
net-libs/libmnl:=
)"
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-apps/lsb-release
+   verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
 
 src_configure() {
local opts=(



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-09-28 Thread Michał Górny
commit: df4f437735c8007bdc400ce84ca10f4944e0b22d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 29 01:49:50 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 29 02:14:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df4f4377

net-misc/miniupnpd: Bump to 2.2.0-RC2

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest   |  1 +
 net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild | 80 +++
 2 files changed, 81 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 3ad834c9aff..5cc9be099c4 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20200510.tar.gz 245426 BLAKE2B 
17b5335bb4cfb55a517c1f0aeb1eabd7515c729480ee737a8ba525988e59f067e18d2de78393df2ff62cc15201a742d17a17d5632601c1d98ea2a943dcc4a393
 SHA512 
36a5d1844075a93e76f13aba8820b3747bcc8f562c8cbcc562f991ac154e91c951b5caaa9b7c7066cf80534066c3ee6e20a066012b830143f0a7352cb9f5d71b
+DIST miniupnpd-2.2.0-RC2.tar.gz 248756 BLAKE2B 
428f353496f4410ae2ddce96d8edca1d4addf4f77c1e794ba48b5ac7fbe12368f994d91c04eb5d54fbddd24f5e6d36aa87e4cfb4f60b8e3f08f3bf96b5b7f094
 SHA512 
17dd31477c018f3f26b05a9ab5370819f763bcab6c00f3bb13ea87bc3781f5dcd190e294837b85a9e41b4fe7d1bfa0b475ef8da2f1fa48c3fe357c284f585508

diff --git a/net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild
new file mode 100644
index 000..e80efef5db1
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.2.0_rc2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P/_rc/-RC}.tar.gz";
+S=${WORKDIR}/${P/_rc/-RC}
+
+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}
+   sys-apps/lsb-release"
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-09-18 Thread Michał Górny
commit: dc7e15ef9df12c296ccf94aaceb7b142e42c6dd2
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 18 09:32:22 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep 18 09:38:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc7e15ef

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 -
 net-misc/miniupnpd/miniupnpd-2.1.20200329.ebuild | 88 
 2 files changed, 89 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index a9ff957550b..3ad834c9aff 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1 @@
-DIST miniupnpd-2.1.20200329.tar.gz 243725 BLAKE2B 
a9ca048744bc8f397e10bcc5e27638285d700855952cce4c2ba7959b2c9099e18045bd5e9103c67da79c90d04a2e505e064bcb1bbca5574437d4625101a5
 SHA512 
3f6a1a6f08924505a6db5ca5b1dbf7c59f8b48647c59a600799b020146422497248367767e41df0715bd9774129f2d8f95c4a63493af2db849bbe006231e6edf
 DIST miniupnpd-2.1.20200510.tar.gz 245426 BLAKE2B 
17b5335bb4cfb55a517c1f0aeb1eabd7515c729480ee737a8ba525988e59f067e18d2de78393df2ff62cc15201a742d17a17d5632601c1d98ea2a943dcc4a393
 SHA512 
36a5d1844075a93e76f13aba8820b3747bcc8f562c8cbcc562f991ac154e91c951b5caaa9b7c7066cf80534066c3ee6e20a066012b830143f0a7352cb9f5d71b

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20200329.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20200329.ebuild
deleted file mode 100644
index a2f14c2708f..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20200329.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-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}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-
-   # Prevent overriding CFLAGS.
-   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
-
-   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
-
-   # Prevent gzipping manpage.
-   sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   CONFIG_OPTIONS="${opts[*]}" emake config.h
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-05-13 Thread Michał Górny
commit: ed95db20162599e33f062aab3ca2019954bf8652
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May 14 06:22:34 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 14 06:22:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed95db20

net-misc/miniupnpd: Bump to 2.1.20200510

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20200510.ebuild | 79 
 2 files changed, 80 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index a2d5175bf55..a9ff957550b 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20200329.tar.gz 243725 BLAKE2B 
a9ca048744bc8f397e10bcc5e27638285d700855952cce4c2ba7959b2c9099e18045bd5e9103c67da79c90d04a2e505e064bcb1bbca5574437d4625101a5
 SHA512 
3f6a1a6f08924505a6db5ca5b1dbf7c59f8b48647c59a600799b020146422497248367767e41df0715bd9774129f2d8f95c4a63493af2db849bbe006231e6edf
+DIST miniupnpd-2.1.20200510.tar.gz 245426 BLAKE2B 
17b5335bb4cfb55a517c1f0aeb1eabd7515c729480ee737a8ba525988e59f067e18d2de78393df2ff62cc15201a742d17a17d5632601c1d98ea2a943dcc4a393
 SHA512 
36a5d1844075a93e76f13aba8820b3747bcc8f562c8cbcc562f991ac154e91c951b5caaa9b7c7066cf80534066c3ee6e20a066012b830143f0a7352cb9f5d71b

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20200510.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20200510.ebuild
new file mode 100644
index 000..b208d8cce8f
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20200510.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+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}
+   sys-apps/lsb-release"
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-05-04 Thread Michał Górny
commit: cafde599913563fe5c5a87cb28645e7ceceffe3a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  4 09:29:26 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  4 09:36:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cafde599

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 -
 net-misc/miniupnpd/miniupnpd-2.1.20191006.ebuild | 88 
 2 files changed, 89 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 2bc14b305b9..a2d5175bf55 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1 @@
-DIST miniupnpd-2.1.20191006.tar.gz 243255 BLAKE2B 
38654cfc0238cdd413600216b01465cbecda69589249df5b6500db7e0719053dae351ab8c61d763a7586924f68b6d634266a1020084f30261442ac62fbd17a5e
 SHA512 
5de2dc5ffb6df7b06bcb6ab8d8fbb34aa5a229a8310938e980b4caf6b957ceab104c455cebb57d7083736fde2db9569fcdf98783a36c915d362f7ff2987e3599
 DIST miniupnpd-2.1.20200329.tar.gz 243725 BLAKE2B 
a9ca048744bc8f397e10bcc5e27638285d700855952cce4c2ba7959b2c9099e18045bd5e9103c67da79c90d04a2e505e064bcb1bbca5574437d4625101a5
 SHA512 
3f6a1a6f08924505a6db5ca5b1dbf7c59f8b48647c59a600799b020146422497248367767e41df0715bd9774129f2d8f95c4a63493af2db849bbe006231e6edf

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20191006.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20191006.ebuild
deleted file mode 100644
index 2e0b60b3a3d..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20191006.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-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}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-
-   # Prevent overriding CFLAGS.
-   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
-
-   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
-
-   # Prevent gzipping manpage.
-   sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   CONFIG_OPTIONS="${opts[*]}" emake config.h
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-04-02 Thread Michał Górny
commit: 20ff498fd8b14c387ae39603509450a851b2e379
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  2 07:03:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  2 07:32:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ff498f

net-misc/miniupnpd: Bump to 2.1.20200329

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20200329.ebuild | 88 
 2 files changed, 89 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 1574ecf6cf8..2bc14b305b9 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20191006.tar.gz 243255 BLAKE2B 
38654cfc0238cdd413600216b01465cbecda69589249df5b6500db7e0719053dae351ab8c61d763a7586924f68b6d634266a1020084f30261442ac62fbd17a5e
 SHA512 
5de2dc5ffb6df7b06bcb6ab8d8fbb34aa5a229a8310938e980b4caf6b957ceab104c455cebb57d7083736fde2db9569fcdf98783a36c915d362f7ff2987e3599
+DIST miniupnpd-2.1.20200329.tar.gz 243725 BLAKE2B 
a9ca048744bc8f397e10bcc5e27638285d700855952cce4c2ba7959b2c9099e18045bd5e9103c67da79c90d04a2e505e064bcb1bbca5574437d4625101a5
 SHA512 
3f6a1a6f08924505a6db5ca5b1dbf7c59f8b48647c59a600799b020146422497248367767e41df0715bd9774129f2d8f95c4a63493af2db849bbe006231e6edf

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20200329.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20200329.ebuild
new file mode 100644
index 000..a2f14c2708f
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20200329.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+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}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+
+   # Prevent overriding CFLAGS.
+   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
+
+   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   CONFIG_OPTIONS="${opts[*]}" emake config.h
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2020-04-02 Thread Michał Górny
commit: e255eabfadeb7d33fa9d18a4535119c0d3481709
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  2 07:29:48 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  2 07:32:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e255eabf

net-misc/miniupnpd: Remove redundant longdesc

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net-misc/miniupnpd/metadata.xml b/net-misc/miniupnpd/metadata.xml
index 5f2aabe1313..869bdf4a8a2 100644
--- a/net-misc/miniupnpd/metadata.xml
+++ b/net-misc/miniupnpd/metadata.xml
@@ -9,9 +9,6 @@
mgo...@gentoo.org
Michał Górny

-   
-   MiniUPnP Internet Gateway Device Deamon, used to allow UPnP 
enabled clients to forward ports.
-   

Enable lease file.
Build for IGDv2 instead of an IGDv1



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-12-29 Thread Michał Górny
commit: 70a33777ca6bea84f916e1ccd2f3cef45fd0cca8
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 29 20:48:38 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 29 20:48:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70a33777

net-misc/miniupnpd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  2 -
 net-misc/miniupnpd/miniupnpd-2.1.20190902.ebuild | 88 ---
 net-misc/miniupnpd/miniupnpd-2.1.20190924.ebuild | 91 
 3 files changed, 181 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 6bdc91e4601..1574ecf6cf8 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1 @@
-DIST miniupnpd-2.1.20190902.tar.gz 240742 BLAKE2B 
0b880b1e8a96c56af92726d3fe81da0a26de83861efe4dc266e287623dcac4c6bd4c4ac8d2c6ef7724c1055933d5138e7c86da5c8e3852f2022f69697505f231
 SHA512 
0abeb9df088ecd57909106fbb43de14d90eebd351a46647f413f40c49bc432050bc8ea0d655d2eea0bfcedbdb97719ea2476a8bd9170ef9b74ad97217d26
-DIST miniupnpd-2.1.20190924.tar.gz 241008 BLAKE2B 
392006e71ede0d18dc1dbfd13c46e591f6675fcb02828461f0afc79b4019f953f62ab95669e92cee4724ff502585420c563d555a7948b0f9d25d755efe6bdb2c
 SHA512 
719a3ac741327691170d7e933b170dcc1399da1958d9373327b96ab5d975290d2bfa0f68d96fbb2ac4b3fb9808b50385291705cd393252263f403d43298c4031
 DIST miniupnpd-2.1.20191006.tar.gz 243255 BLAKE2B 
38654cfc0238cdd413600216b01465cbecda69589249df5b6500db7e0719053dae351ab8c61d763a7586924f68b6d634266a1020084f30261442ac62fbd17a5e
 SHA512 
5de2dc5ffb6df7b06bcb6ab8d8fbb34aa5a229a8310938e980b4caf6b957ceab104c455cebb57d7083736fde2db9569fcdf98783a36c915d362f7ff2987e3599

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190902.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190902.ebuild
deleted file mode 100644
index 07c804f3564..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190902.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-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}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-
-   # Prevent overriding CFLAGS.
-   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
-
-   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
-
-   # Prevent gzipping manpage.
-   sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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.1.20190924.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190924.ebuild
deleted file mode 100644
index 8878d99503e..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190924.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-10-07 Thread Michał Górny
commit: 2088c1342b918dfa5deecc64de169fe763b7bed5
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  7 06:55:55 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  7 08:05:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2088c134

net-misc/miniupnpd: Bump to 2.1.20191006

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20191006.ebuild | 88 
 2 files changed, 89 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 86ae703ac63..6bdc91e4601 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,3 @@
 DIST miniupnpd-2.1.20190902.tar.gz 240742 BLAKE2B 
0b880b1e8a96c56af92726d3fe81da0a26de83861efe4dc266e287623dcac4c6bd4c4ac8d2c6ef7724c1055933d5138e7c86da5c8e3852f2022f69697505f231
 SHA512 
0abeb9df088ecd57909106fbb43de14d90eebd351a46647f413f40c49bc432050bc8ea0d655d2eea0bfcedbdb97719ea2476a8bd9170ef9b74ad97217d26
 DIST miniupnpd-2.1.20190924.tar.gz 241008 BLAKE2B 
392006e71ede0d18dc1dbfd13c46e591f6675fcb02828461f0afc79b4019f953f62ab95669e92cee4724ff502585420c563d555a7948b0f9d25d755efe6bdb2c
 SHA512 
719a3ac741327691170d7e933b170dcc1399da1958d9373327b96ab5d975290d2bfa0f68d96fbb2ac4b3fb9808b50385291705cd393252263f403d43298c4031
+DIST miniupnpd-2.1.20191006.tar.gz 243255 BLAKE2B 
38654cfc0238cdd413600216b01465cbecda69589249df5b6500db7e0719053dae351ab8c61d763a7586924f68b6d634266a1020084f30261442ac62fbd17a5e
 SHA512 
5de2dc5ffb6df7b06bcb6ab8d8fbb34aa5a229a8310938e980b4caf6b957ceab104c455cebb57d7083736fde2db9569fcdf98783a36c915d362f7ff2987e3599

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20191006.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20191006.ebuild
new file mode 100644
index 000..2e0b60b3a3d
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20191006.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+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}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+
+   # Prevent overriding CFLAGS.
+   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
+
+   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   CONFIG_OPTIONS="${opts[*]}" emake config.h
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-09-24 Thread Michał Górny
commit: 2f78310cdba40c34c7657895e4754f15799c2e0f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 25 05:37:04 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 25 05:52:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f78310c

net-misc/miniupnpd: Bump to 2.1.20190924

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190924.ebuild | 91 
 2 files changed, 92 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 5e7b552dccf..86ae703ac63 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20190902.tar.gz 240742 BLAKE2B 
0b880b1e8a96c56af92726d3fe81da0a26de83861efe4dc266e287623dcac4c6bd4c4ac8d2c6ef7724c1055933d5138e7c86da5c8e3852f2022f69697505f231
 SHA512 
0abeb9df088ecd57909106fbb43de14d90eebd351a46647f413f40c49bc432050bc8ea0d655d2eea0bfcedbdb97719ea2476a8bd9170ef9b74ad97217d26
+DIST miniupnpd-2.1.20190924.tar.gz 241008 BLAKE2B 
392006e71ede0d18dc1dbfd13c46e591f6675fcb02828461f0afc79b4019f953f62ab95669e92cee4724ff502585420c563d555a7948b0f9d25d755efe6bdb2c
 SHA512 
719a3ac741327691170d7e933b170dcc1399da1958d9373327b96ab5d975290d2bfa0f68d96fbb2ac4b3fb9808b50385291705cd393252263f403d43298c4031

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190924.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190924.ebuild
new file mode 100644
index 000..8878d99503e
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190924.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+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}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+
+   # Prevent overriding CFLAGS.
+   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
+
+   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
+   # meh, we have two Makefiles but genconfig.sh guesses anyway...
+   sed -e "s@\[ -x \"\$(command -v nft)\" \]@$(usex nftables true false)@" 
\
+   -i genconfig.sh || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-09-07 Thread Michał Górny
commit: 0c24d9f1bdabc576978712b05f8f099ea38f1c43
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep  8 06:20:15 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep  8 06:20:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c24d9f1

net-misc/miniupnpd: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  2 -
 net-misc/miniupnpd/miniupnpd-2.1.20190630.ebuild | 88 
 net-misc/miniupnpd/miniupnpd-2.1.20190824.ebuild | 88 
 3 files changed, 178 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 938a3c3fd3c..5e7b552dccf 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1 @@
-DIST miniupnpd-2.1.20190630.tar.gz 240466 BLAKE2B 
fe4d4e59a7dad32bef9ed9b4c58b52e378ec9b26ea2439e84284630a7ef7269c6cd53cabdc632ff274cae88aea2552a8808af2ea349138f8b8ed667baf9e87ee
 SHA512 
cd6006e5487652a258f7320e1e28fea7b0790528cc014071109a1abd0f6c249237cf8d0620987c14ee0ce1cca14f4bb4abd439b1d422e0e49a398cd485eaf970
-DIST miniupnpd-2.1.20190824.tar.gz 240490 BLAKE2B 
c2eaf08b18d4cd27a18a71232fd8d972ced799a68b0e6f3ff1b3d155ab0e27047153dcd81a0c89806f74a6c09c303eb3255825f6fd4083f1ec77605ee4f0d1b3
 SHA512 
f3e591e10b33d2459e55118db11f6692bafd75ae867f934f4a5c6ccf6c9cf21363d0a746d1b319a08381119f382d5941af84c5bfb5c54b97f8945aa9d7372987
 DIST miniupnpd-2.1.20190902.tar.gz 240742 BLAKE2B 
0b880b1e8a96c56af92726d3fe81da0a26de83861efe4dc266e287623dcac4c6bd4c4ac8d2c6ef7724c1055933d5138e7c86da5c8e3852f2022f69697505f231
 SHA512 
0abeb9df088ecd57909106fbb43de14d90eebd351a46647f413f40c49bc432050bc8ea0d655d2eea0bfcedbdb97719ea2476a8bd9170ef9b74ad97217d26

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190630.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190630.ebuild
deleted file mode 100644
index 07c804f3564..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190630.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-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}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-
-   # Prevent overriding CFLAGS.
-   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
-
-   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
-
-   # Prevent gzipping manpage.
-   sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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.1.20190824.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190824.ebuild
deleted file mode 100644
index 07c804f3564..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190824.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-09-01 Thread Michał Górny
commit: 6f27d4be9f37371533ef38ed48feb59de856b250
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep  2 02:33:30 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep  2 02:33:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f27d4be

net-misc/miniupnpd: Bump to 2.1.20190902

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190902.ebuild | 88 
 2 files changed, 89 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index bbb04bab5d9..938a3c3fd3c 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,3 @@
 DIST miniupnpd-2.1.20190630.tar.gz 240466 BLAKE2B 
fe4d4e59a7dad32bef9ed9b4c58b52e378ec9b26ea2439e84284630a7ef7269c6cd53cabdc632ff274cae88aea2552a8808af2ea349138f8b8ed667baf9e87ee
 SHA512 
cd6006e5487652a258f7320e1e28fea7b0790528cc014071109a1abd0f6c249237cf8d0620987c14ee0ce1cca14f4bb4abd439b1d422e0e49a398cd485eaf970
 DIST miniupnpd-2.1.20190824.tar.gz 240490 BLAKE2B 
c2eaf08b18d4cd27a18a71232fd8d972ced799a68b0e6f3ff1b3d155ab0e27047153dcd81a0c89806f74a6c09c303eb3255825f6fd4083f1ec77605ee4f0d1b3
 SHA512 
f3e591e10b33d2459e55118db11f6692bafd75ae867f934f4a5c6ccf6c9cf21363d0a746d1b319a08381119f382d5941af84c5bfb5c54b97f8945aa9d7372987
+DIST miniupnpd-2.1.20190902.tar.gz 240742 BLAKE2B 
0b880b1e8a96c56af92726d3fe81da0a26de83861efe4dc266e287623dcac4c6bd4c4ac8d2c6ef7724c1055933d5138e7c86da5c8e3852f2022f69697505f231
 SHA512 
0abeb9df088ecd57909106fbb43de14d90eebd351a46647f413f40c49bc432050bc8ea0d655d2eea0bfcedbdb97719ea2476a8bd9170ef9b74ad97217d26

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190902.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190902.ebuild
new file mode 100644
index 000..07c804f3564
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190902.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+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}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+
+   # Prevent overriding CFLAGS.
+   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
+
+   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-08-27 Thread Michał Górny
commit: b5a834ce44f4a441964feba3358e836e57aa13a1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Aug 28 05:22:03 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Aug 28 05:36:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a834ce

net-misc/miniupnpd: Bump to 2.1.20190824

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190824.ebuild | 88 
 2 files changed, 89 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 49fd75fafde..bbb04bab5d9 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20190630.tar.gz 240466 BLAKE2B 
fe4d4e59a7dad32bef9ed9b4c58b52e378ec9b26ea2439e84284630a7ef7269c6cd53cabdc632ff274cae88aea2552a8808af2ea349138f8b8ed667baf9e87ee
 SHA512 
cd6006e5487652a258f7320e1e28fea7b0790528cc014071109a1abd0f6c249237cf8d0620987c14ee0ce1cca14f4bb4abd439b1d422e0e49a398cd485eaf970
+DIST miniupnpd-2.1.20190824.tar.gz 240490 BLAKE2B 
c2eaf08b18d4cd27a18a71232fd8d972ced799a68b0e6f3ff1b3d155ab0e27047153dcd81a0c89806f74a6c09c303eb3255825f6fd4083f1ec77605ee4f0d1b3
 SHA512 
f3e591e10b33d2459e55118db11f6692bafd75ae867f934f4a5c6ccf6c9cf21363d0a746d1b319a08381119f382d5941af84c5bfb5c54b97f8945aa9d7372987

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190824.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190824.ebuild
new file mode 100644
index 000..07c804f3564
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190824.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+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}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+
+   # Prevent overriding CFLAGS.
+   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
+
+   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/, net-misc/miniupnpd/files/

2019-07-27 Thread Michał Górny
commit: c908d4d60eed7e6101d144d572d41d00e36618e2
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 28 06:29:22 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 28 06:41:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c908d4d6

net-misc/miniupnpd: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest|  2 -
 net-misc/miniupnpd/files/miniupnpd-conf.d-r1   | 10 ---
 net-misc/miniupnpd/files/miniupnpd-init.d-r1   | 33 
 net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild   | 65 
 .../miniupnpd/miniupnpd-2.1.20190625-r1.ebuild | 88 --
 net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild   | 65 
 6 files changed, 263 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index c76f8b96c1b..49fd75fafde 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1 @@
-DIST miniupnpd-2.1.20190502.tar.gz 236052 BLAKE2B 
9f2f81769d72fad2191969e0e80b4d2e70619d5674fe6b4ef9f4306e09ac4737577a2146bc04ec9960df092252abe3c9a57e32d5d893a763b85863d1c4892045
 SHA512 
6423cef89b5af62b6b6a120a3cd13a0e7755d609b33de8f1671f7f9160fb1b5e68b0ebd3f8b7b5758cf05a1c58b416cde253e37bc5ba0bb423c14b5fb44599f1
-DIST miniupnpd-2.1.20190625.tar.gz 240120 BLAKE2B 
c6cf6b549a1c0c4a411d9487a3dae348d8a37767b9590d29ea763177d876ceb6f521bb7662452e2dff813354fc52f862bcc830079b3ff8af8185de6ee2771e8f
 SHA512 
3b9a14f24c7e753cc71b84622bfbbc0db4a5b5e0fd602ef1129b89b1c729e754c51f5c29b4bf8d1cc37a16f77b33f04cf3f3540afe1ac529105cb91f45fa92c8
 DIST miniupnpd-2.1.20190630.tar.gz 240466 BLAKE2B 
fe4d4e59a7dad32bef9ed9b4c58b52e378ec9b26ea2439e84284630a7ef7269c6cd53cabdc632ff274cae88aea2552a8808af2ea349138f8b8ed667baf9e87ee
 SHA512 
cd6006e5487652a258f7320e1e28fea7b0790528cc014071109a1abd0f6c249237cf8d0620987c14ee0ce1cca14f4bb4abd439b1d422e0e49a398cd485eaf970

diff --git a/net-misc/miniupnpd/files/miniupnpd-conf.d-r1 
b/net-misc/miniupnpd/files/miniupnpd-conf.d-r1
deleted file mode 100644
index 1464bf04bd1..000
--- a/net-misc/miniupnpd/files/miniupnpd-conf.d-r1
+++ /dev/null
@@ -1,10 +0,0 @@
-# /etc/conf.d/miniupnpd: Configuration for miniupnpd init script
-
-# extra arguments to be passed to the command
-#extra_args=""
-
-# the location of the configuration file
-#config_file="/etc/miniupnpd/miniupnpd.conf"
-
-# uncomment to not use included scripts to manipulate iptables
-#no_iptables_scripts=1

diff --git a/net-misc/miniupnpd/files/miniupnpd-init.d-r1 
b/net-misc/miniupnpd/files/miniupnpd-init.d-r1
deleted file mode 100644
index 99406106a86..000
--- a/net-misc/miniupnpd/files/miniupnpd-init.d-r1
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/miniupnpd"
-: "${config_file:=/etc/miniupnpd/miniupnpd.conf}"
-command_args="-f ${config_file:-/etc/miniupnpd/miniupnpd.conf} ${extra_args}"
-: "${pidfile:=/var/run/miniupnpd.pid}"
-
-depend() {
-   need net iptables
-   use minissdpd
-}
-
-start_pre() {
-   local retval=0
-
-   if [[ -z ${no_iptables_scripts} ]]; then
-   /etc/miniupnpd/iptables_init.sh || retval=${?}
-   fi
-   
-   return ${retval}
-}
-
-stop_post() {
-   local retval=0
-
-   if [[ -z ${no_iptables_scripts} ]]; then
-   /etc/miniupnpd/iptables_removeall.sh
-   fi
-
-   return ${retval}
-}

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild
deleted file mode 100644
index 673b340fb09..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux:=
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-
-   # Prevent gzipping manpage.
-   sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   emake CONFIG_OPTIONS="$

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-07-01 Thread Michał Górny
commit: e4088d04fc216ea0b6467c739fca9b8c69e0750c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul  1 06:55:42 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul  1 07:56:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4088d04

net-misc/miniupnpd: Bump to 2.1.20190630

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190630.ebuild | 88 
 2 files changed, 89 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index d75a1d6b4cd..c76f8b96c1b 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,3 @@
 DIST miniupnpd-2.1.20190502.tar.gz 236052 BLAKE2B 
9f2f81769d72fad2191969e0e80b4d2e70619d5674fe6b4ef9f4306e09ac4737577a2146bc04ec9960df092252abe3c9a57e32d5d893a763b85863d1c4892045
 SHA512 
6423cef89b5af62b6b6a120a3cd13a0e7755d609b33de8f1671f7f9160fb1b5e68b0ebd3f8b7b5758cf05a1c58b416cde253e37bc5ba0bb423c14b5fb44599f1
 DIST miniupnpd-2.1.20190625.tar.gz 240120 BLAKE2B 
c6cf6b549a1c0c4a411d9487a3dae348d8a37767b9590d29ea763177d876ceb6f521bb7662452e2dff813354fc52f862bcc830079b3ff8af8185de6ee2771e8f
 SHA512 
3b9a14f24c7e753cc71b84622bfbbc0db4a5b5e0fd602ef1129b89b1c729e754c51f5c29b4bf8d1cc37a16f77b33f04cf3f3540afe1ac529105cb91f45fa92c8
+DIST miniupnpd-2.1.20190630.tar.gz 240466 BLAKE2B 
fe4d4e59a7dad32bef9ed9b4c58b52e378ec9b26ea2439e84284630a7ef7269c6cd53cabdc632ff274cae88aea2552a8808af2ea349138f8b8ed667baf9e87ee
 SHA512 
cd6006e5487652a258f7320e1e28fea7b0790528cc014071109a1abd0f6c249237cf8d0620987c14ee0ce1cca14f4bb4abd439b1d422e0e49a398cd485eaf970

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190630.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190630.ebuild
new file mode 100644
index 000..07c804f3564
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190630.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+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}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+
+   # Prevent overriding CFLAGS.
+   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
+
+   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/files/, net-misc/miniupnpd/

2019-06-30 Thread Michał Górny
commit: 558047cd7e9293f68003d0af7f411fc77d1ceed0
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 30 07:07:03 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 30 07:39:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=558047cd

net-misc/miniupnpd: Fix bashisms in init.d file

Closes: https://bugs.gentoo.org/646548
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/files/miniupnpd-init.d-r2   | 33 +++
 .../miniupnpd/miniupnpd-2.1.20190625-r1.ebuild | 65 ++
 2 files changed, 98 insertions(+)

diff --git a/net-misc/miniupnpd/files/miniupnpd-init.d-r2 
b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
new file mode 100644
index 000..744f59e6a44
--- /dev/null
+++ b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
@@ -0,0 +1,33 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/miniupnpd"
+: "${config_file:=/etc/miniupnpd/miniupnpd.conf}"
+command_args="-f ${config_file:-/etc/miniupnpd/miniupnpd.conf} ${extra_args}"
+: "${pidfile:=/var/run/miniupnpd.pid}"
+
+depend() {
+   need net iptables
+   use minissdpd
+}
+
+start_pre() {
+   local retval=0
+
+   if [ -z "${no_iptables_scripts}" ]; then
+   /etc/miniupnpd/iptables_init.sh || retval=${?}
+   fi
+   
+   return ${retval}
+}
+
+stop_post() {
+   local retval=0
+
+   if [ -z "${no_iptables_scripts}" ]; then
+   /etc/miniupnpd/iptables_removeall.sh
+   fi
+
+   return ${retval}
+}

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
new file mode 100644
index 000..0e787f99f32
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux:=
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/, net-misc/miniupnpd/files/

2019-06-30 Thread Michał Górny
commit: 47fd8517c3d1af028f7caf8ba09fc9147f57fe3d
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 30 07:18:17 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 30 07:39:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47fd8517

net-misc/miniupnpd: Invert boolean for calling iptables

The negative logic is confusing, and it would get even more confusing
with the incoming ip6tables and nftables support.

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/files/miniupnpd-conf.d-r2| 10 ++
 net-misc/miniupnpd/files/miniupnpd-init.d-r2|  4 ++--
 net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild |  2 +-
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/net-misc/miniupnpd/files/miniupnpd-conf.d-r2 
b/net-misc/miniupnpd/files/miniupnpd-conf.d-r2
new file mode 100644
index 000..2ebd8c56b57
--- /dev/null
+++ b/net-misc/miniupnpd/files/miniupnpd-conf.d-r2
@@ -0,0 +1,10 @@
+# /etc/conf.d/miniupnpd: Configuration for miniupnpd init script
+
+# extra arguments to be passed to the command
+#extra_args=""
+
+# the location of the configuration file
+#config_file="/etc/miniupnpd/miniupnpd.conf"
+
+# enable manipulating iptables on start/stop
+iptables_scripts=1

diff --git a/net-misc/miniupnpd/files/miniupnpd-init.d-r2 
b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
index 2f9dc5fe6f3..8b9f0579f22 100644
--- a/net-misc/miniupnpd/files/miniupnpd-init.d-r2
+++ b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
@@ -15,7 +15,7 @@ depend() {
 start_pre() {
local retval=0
 
-   if [ -z "${no_iptables_scripts}" ]; then
+   if [ -n "${iptables_scripts}" ]; then
/etc/miniupnpd/iptables_init.sh || retval=${?}
fi

@@ -25,7 +25,7 @@ start_pre() {
 stop_post() {
local retval=0
 
-   if [ -z "${no_iptables_scripts}" ]; then
+   if [ -n "${iptables_scripts}" ]; then
/etc/miniupnpd/iptables_removeall.sh
fi
 

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
index 0e787f99f32..30de1d75b8f 100644
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
@@ -56,7 +56,7 @@ src_install() {
emake PREFIX="${ED}" STRIP=true install
 
newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r2 ${PN}
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/files/

2019-06-30 Thread Michał Górny
commit: d25f119a7c8896aa16d183ff385adca8a1ccd7b9
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 30 07:09:18 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 30 07:39:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25f119a

net-misc/miniupnpd: Lower iptables dep to 'use' in init.d

Closes: https://bugs.gentoo.org/415279
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/files/miniupnpd-init.d-r2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/miniupnpd/files/miniupnpd-init.d-r2 
b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
index 744f59e6a44..2f9dc5fe6f3 100644
--- a/net-misc/miniupnpd/files/miniupnpd-init.d-r2
+++ b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
@@ -8,8 +8,8 @@ command_args="-f ${config_file:-/etc/miniupnpd/miniupnpd.conf} 
${extra_args}"
 : "${pidfile:=/var/run/miniupnpd.pid}"
 
 depend() {
-   need net iptables
-   use minissdpd
+   need net
+   use iptables minissdpd
 }
 
 start_pre() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/files/, net-misc/miniupnpd/

2019-06-30 Thread Michał Górny
commit: b6feded288329ccad3bc97f4f427281ba9fb8d55
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 30 07:37:42 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 30 07:39:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6feded2

net-misc/miniupnpd: Support using nftables

Closes: https://bugs.gentoo.org/665078
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/files/miniupnpd-conf.d-r2   |  3 ++
 net-misc/miniupnpd/files/miniupnpd-init.d-r2   |  6 
 net-misc/miniupnpd/metadata.xml|  1 +
 .../miniupnpd/miniupnpd-2.1.20190625-r1.ebuild | 35 +-
 4 files changed, 37 insertions(+), 8 deletions(-)

diff --git a/net-misc/miniupnpd/files/miniupnpd-conf.d-r2 
b/net-misc/miniupnpd/files/miniupnpd-conf.d-r2
index d0f5ce40cdc..656ab8ec00a 100644
--- a/net-misc/miniupnpd/files/miniupnpd-conf.d-r2
+++ b/net-misc/miniupnpd/files/miniupnpd-conf.d-r2
@@ -11,3 +11,6 @@ iptables_scripts=1
 
 # enable manipulating ip6tables on start/stop
 ip6tables_scripts=1
+
+# enable manipulating nftables on start/stop (for USE=nftables)
+nftables_scripts=1

diff --git a/net-misc/miniupnpd/files/miniupnpd-init.d-r2 
b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
index 4671ba067c4..e23c7a81995 100644
--- a/net-misc/miniupnpd/files/miniupnpd-init.d-r2
+++ b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
@@ -21,6 +21,9 @@ start_pre() {
if [ -n "${ip6tables_scripts}" ]; then
/etc/miniupnpd/ip6tables_init.sh || retval=${?}
fi
+   if [ -n "${nftables_scripts}" ]; then
+   /etc/miniupnpd/nft_init.sh || retval=${?}
+   fi

return ${retval}
 }
@@ -34,6 +37,9 @@ stop_post() {
if [ -n "${ip6tables_scripts}" ]; then
/etc/miniupnpd/ip6tables_removeall.sh
fi
+   if [ -n "${nftables_scripts}" ]; then
+   /etc/miniupnpd/nft_removeall.sh
+   fi
 
return ${retval}
 }

diff --git a/net-misc/miniupnpd/metadata.xml b/net-misc/miniupnpd/metadata.xml
index 1b672f18d76..5f2aabe1313 100644
--- a/net-misc/miniupnpd/metadata.xml
+++ b/net-misc/miniupnpd/metadata.xml
@@ -15,6 +15,7 @@

Enable lease file.
Build for IGDv2 instead of an IGDv1
+   Use net-firewall/nftables 
rather than net-firewall/iptables.
Enable support for PCP-PEER to allow 
NAT-PMP clients to mangle their packets.
Check if a port is in use before 
allowing a NAT-PMP client to map it.
Be more strict regarding compliance with 
UPnP specifications.

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
index 3aaa9a02a94..07c804f3564 100644
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
@@ -12,20 +12,32 @@ SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict"
 
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
+RDEPEND="
dev-libs/gmp:0=
sys-apps/util-linux:=
-   dev-libs/openssl:0="
+   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}
sys-apps/lsb-release"
 
 src_prepare() {
default
-   mv Makefile.linux Makefile || die
+
+   # Prevent overriding CFLAGS.
+   sed -i -e '/^CFLAGS =/d' Makefile.linux_nft || die
+
+   mv "Makefile.linux$(usex nftables _nft '')" Makefile || die
 
# Prevent gzipping manpage.
sed -i -e '/gzip/d' Makefile || die
@@ -55,8 +67,15 @@ src_compile() {
 src_install() {
emake PREFIX="${ED}" STRIP=true install
 
-   local confd_seds=( -e ': noop' )
-   use ipv6 || confd_seds+=( -e 's/^ip6tables_scripts=/#&/' )
+   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[@]}" \



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/, net-misc/miniupnpd/files/

2019-06-30 Thread Michał Górny
commit: 139c59e8efd24827e28abe21b2053a591ca082f4
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 30 07:27:47 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 30 07:39:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=139c59e8

net-misc/miniupnpd: Support running ip6tables setup scripts

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/files/miniupnpd-conf.d-r2| 3 +++
 net-misc/miniupnpd/files/miniupnpd-init.d-r2| 8 +++-
 net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild | 6 +-
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/net-misc/miniupnpd/files/miniupnpd-conf.d-r2 
b/net-misc/miniupnpd/files/miniupnpd-conf.d-r2
index 2ebd8c56b57..d0f5ce40cdc 100644
--- a/net-misc/miniupnpd/files/miniupnpd-conf.d-r2
+++ b/net-misc/miniupnpd/files/miniupnpd-conf.d-r2
@@ -8,3 +8,6 @@
 
 # enable manipulating iptables on start/stop
 iptables_scripts=1
+
+# enable manipulating ip6tables on start/stop
+ip6tables_scripts=1

diff --git a/net-misc/miniupnpd/files/miniupnpd-init.d-r2 
b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
index 8b9f0579f22..4671ba067c4 100644
--- a/net-misc/miniupnpd/files/miniupnpd-init.d-r2
+++ b/net-misc/miniupnpd/files/miniupnpd-init.d-r2
@@ -9,7 +9,7 @@ command_args="-f ${config_file:-/etc/miniupnpd/miniupnpd.conf} 
${extra_args}"
 
 depend() {
need net
-   use iptables minissdpd
+   use iptables ip6tables minissdpd
 }
 
 start_pre() {
@@ -18,6 +18,9 @@ start_pre() {
if [ -n "${iptables_scripts}" ]; then
/etc/miniupnpd/iptables_init.sh || retval=${?}
fi
+   if [ -n "${ip6tables_scripts}" ]; then
+   /etc/miniupnpd/ip6tables_init.sh || retval=${?}
+   fi

return ${retval}
 }
@@ -28,6 +31,9 @@ stop_post() {
if [ -n "${iptables_scripts}" ]; then
/etc/miniupnpd/iptables_removeall.sh
fi
+   if [ -n "${ip6tables_scripts}" ]; then
+   /etc/miniupnpd/ip6tables_removeall.sh
+   fi
 
return ${retval}
 }

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
index 30de1d75b8f..3aaa9a02a94 100644
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190625-r1.ebuild
@@ -55,8 +55,12 @@ src_compile() {
 src_install() {
emake PREFIX="${ED}" STRIP=true install
 
+   local confd_seds=( -e ': noop' )
+   use ipv6 || confd_seds+=( -e 's/^ip6tables_scripts=/#&/' )
+
newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r2 ${PN}
+   newconfd - ${PN} < <(sed "${confd_seds[@]}" \
+   "${FILESDIR}"/${PN}-conf.d-r2 || die)
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-06-26 Thread Michał Górny
commit: 1a0ec3e483cf0f483f608496b1f7bfb5656f0fbd
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 26 12:34:24 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 26 15:47:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0ec3e4

net-misc/miniupnpd: Bump to 2.1.20190625

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild | 65 
 2 files changed, 66 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 7b4daa41d1c..d75a1d6b4cd 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20190502.tar.gz 236052 BLAKE2B 
9f2f81769d72fad2191969e0e80b4d2e70619d5674fe6b4ef9f4306e09ac4737577a2146bc04ec9960df092252abe3c9a57e32d5d893a763b85863d1c4892045
 SHA512 
6423cef89b5af62b6b6a120a3cd13a0e7755d609b33de8f1671f7f9160fb1b5e68b0ebd3f8b7b5758cf05a1c58b416cde253e37bc5ba0bb423c14b5fb44599f1
+DIST miniupnpd-2.1.20190625.tar.gz 240120 BLAKE2B 
c6cf6b549a1c0c4a411d9487a3dae348d8a37767b9590d29ea763177d876ceb6f521bb7662452e2dff813354fc52f862bcc830079b3ff8af8185de6ee2771e8f
 SHA512 
3b9a14f24c7e753cc71b84622bfbbc0db4a5b5e0fd602ef1129b89b1c729e754c51f5c29b4bf8d1cc37a16f77b33f04cf3f3540afe1ac529105cb91f45fa92c8

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild
new file mode 100644
index 000..673b340fb09
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190625.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux:=
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-05-24 Thread Michał Górny
commit: 59f6a8c57141c5eaf329fdb661687dc1e378310f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May 24 21:43:26 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 24 21:43:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f6a8c5

net-misc/miniupnpd: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 -
 net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild | 65 
 2 files changed, 66 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 906d0cee55b..7b4daa41d1c 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1 @@
-DIST miniupnpd-2.1.20190408.tar.gz 235989 BLAKE2B 
cdfb4fe23a136d9a3e0cc91c174fc4f0ee0a3e136305a2ea6d21c358287f67d34009b37ba8870bef86e53d056e441b45e19a89939e72485051245b5d40b384ff
 SHA512 
f812660c1f626f1fdbcaabd6636125cc18f1306bb4a3a29dae45c06017c97c681e3e056d602fe5444962ecc1aec4d39d9c203621bb11a3aa1f57cda6dc4f19de
 DIST miniupnpd-2.1.20190502.tar.gz 236052 BLAKE2B 
9f2f81769d72fad2191969e0e80b4d2e70619d5674fe6b4ef9f4306e09ac4737577a2146bc04ec9960df092252abe3c9a57e32d5d893a763b85863d1c4892045
 SHA512 
6423cef89b5af62b6b6a120a3cd13a0e7755d609b33de8f1671f7f9160fb1b5e68b0ebd3f8b7b5758cf05a1c58b416cde253e37bc5ba0bb423c14b5fb44599f1

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild
deleted file mode 100644
index 673b340fb09..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux:=
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-
-   # Prevent gzipping manpage.
-   sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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
-
-   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-05-03 Thread Michał Górny
commit: c7c323c7dd48bcfdb65c692fbdc61d9919e3eca6
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May  3 06:52:24 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May  3 07:15:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c323c7

net-misc/miniupnpd: Bump to 2.1.20190502

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild | 65 
 2 files changed, 66 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index c66ad667a8e..906d0cee55b 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20190408.tar.gz 235989 BLAKE2B 
cdfb4fe23a136d9a3e0cc91c174fc4f0ee0a3e136305a2ea6d21c358287f67d34009b37ba8870bef86e53d056e441b45e19a89939e72485051245b5d40b384ff
 SHA512 
f812660c1f626f1fdbcaabd6636125cc18f1306bb4a3a29dae45c06017c97c681e3e056d602fe5444962ecc1aec4d39d9c203621bb11a3aa1f57cda6dc4f19de
+DIST miniupnpd-2.1.20190502.tar.gz 236052 BLAKE2B 
9f2f81769d72fad2191969e0e80b4d2e70619d5674fe6b4ef9f4306e09ac4737577a2146bc04ec9960df092252abe3c9a57e32d5d893a763b85863d1c4892045
 SHA512 
6423cef89b5af62b6b6a120a3cd13a0e7755d609b33de8f1671f7f9160fb1b5e68b0ebd3f8b7b5758cf05a1c58b416cde253e37bc5ba0bb423c14b5fb44599f1

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild
new file mode 100644
index 000..673b340fb09
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190502.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux:=
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-04-10 Thread Michał Górny
commit: ecea21a64f3a73c4df8737cd7bdc4f62eb5fa340
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 10 14:33:44 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 10 15:07:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecea21a6

net-misc/miniupnpd: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  2 -
 net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild | 65 
 net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild | 65 
 3 files changed, 132 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 99f5a49eb1d..c66ad667a8e 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1 @@
-DIST miniupnpd-2.1.20190210.tar.gz 235093 BLAKE2B 
d86b4a73ebfe6b5f3665b92624e7eac36718fffea058c0e7d2cb4af2c0871534c7f7ec56ade6c3cb2e13215a77971173259f912efd61a37e41d0f2f0a4596e5c
 SHA512 
d664d5f61a0e2e71086aa520cb91af9f7f9b8b34268a76d570bbca271d86eab4976655a1fec1d21be80a93e357a0cb185281037604a0cfc00e4944d8e8b6f664
-DIST miniupnpd-2.1.20190403.tar.gz 235909 BLAKE2B 
121aa74d1337dbdaec280edd13a688c42c7af49e1f6d44cac94701e878fe554adb8b878ac2c075391124cee14b5c01d57987024fadf95e4508ed3b3047bad543
 SHA512 
63fbd09d769c7a8ffba92cd5724bc04e4553085b95405daa905ac77f95d2fbcf1852fd8ff7171e2fe39aac7ac76ebae87142fe5dc2e57932c89d8d98d472034b
 DIST miniupnpd-2.1.20190408.tar.gz 235989 BLAKE2B 
cdfb4fe23a136d9a3e0cc91c174fc4f0ee0a3e136305a2ea6d21c358287f67d34009b37ba8870bef86e53d056e441b45e19a89939e72485051245b5d40b384ff
 SHA512 
f812660c1f626f1fdbcaabd6636125cc18f1306bb4a3a29dae45c06017c97c681e3e056d602fe5444962ecc1aec4d39d9c203621bb11a3aa1f57cda6dc4f19de

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
deleted file mode 100644
index 673b340fb09..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux:=
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-
-   # Prevent gzipping manpage.
-   sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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
-
-   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-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.1.20190403.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild
deleted file mode 100644
index 673b340fb09..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux:=
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-
-   # Prevent gzipping manpage.
-   sed -i -e '/gzip/d' Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
- 

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-04-08 Thread Michał Górny
commit: 7b97e00bfe4f0313c6aa2aaa9c5017adba5c3d7f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr  8 18:50:45 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr  8 19:17:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b97e00b

net-misc/miniupnpd: Bump to 2.1.20190408

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild | 65 
 2 files changed, 66 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 54d2f7c35f9..99f5a49eb1d 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,3 @@
 DIST miniupnpd-2.1.20190210.tar.gz 235093 BLAKE2B 
d86b4a73ebfe6b5f3665b92624e7eac36718fffea058c0e7d2cb4af2c0871534c7f7ec56ade6c3cb2e13215a77971173259f912efd61a37e41d0f2f0a4596e5c
 SHA512 
d664d5f61a0e2e71086aa520cb91af9f7f9b8b34268a76d570bbca271d86eab4976655a1fec1d21be80a93e357a0cb185281037604a0cfc00e4944d8e8b6f664
 DIST miniupnpd-2.1.20190403.tar.gz 235909 BLAKE2B 
121aa74d1337dbdaec280edd13a688c42c7af49e1f6d44cac94701e878fe554adb8b878ac2c075391124cee14b5c01d57987024fadf95e4508ed3b3047bad543
 SHA512 
63fbd09d769c7a8ffba92cd5724bc04e4553085b95405daa905ac77f95d2fbcf1852fd8ff7171e2fe39aac7ac76ebae87142fe5dc2e57932c89d8d98d472034b
+DIST miniupnpd-2.1.20190408.tar.gz 235989 BLAKE2B 
cdfb4fe23a136d9a3e0cc91c174fc4f0ee0a3e136305a2ea6d21c358287f67d34009b37ba8870bef86e53d056e441b45e19a89939e72485051245b5d40b384ff
 SHA512 
f812660c1f626f1fdbcaabd6636125cc18f1306bb4a3a29dae45c06017c97c681e3e056d602fe5444962ecc1aec4d39d9c203621bb11a3aa1f57cda6dc4f19de

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild
new file mode 100644
index 000..673b340fb09
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux:=
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-04-04 Thread Michał Górny
commit: 0eecbfaebbcf3f438e428c97b113f1abcd66670e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Apr  5 05:15:21 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr  5 05:15:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eecbfae

net-misc/miniupnpd: Bump to 2.1.20190403

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild | 65 
 2 files changed, 66 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 8bb0d316b83..54d2f7c35f9 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20190210.tar.gz 235093 BLAKE2B 
d86b4a73ebfe6b5f3665b92624e7eac36718fffea058c0e7d2cb4af2c0871534c7f7ec56ade6c3cb2e13215a77971173259f912efd61a37e41d0f2f0a4596e5c
 SHA512 
d664d5f61a0e2e71086aa520cb91af9f7f9b8b34268a76d570bbca271d86eab4976655a1fec1d21be80a93e357a0cb185281037604a0cfc00e4944d8e8b6f664
+DIST miniupnpd-2.1.20190403.tar.gz 235909 BLAKE2B 
121aa74d1337dbdaec280edd13a688c42c7af49e1f6d44cac94701e878fe554adb8b878ac2c075391124cee14b5c01d57987024fadf95e4508ed3b3047bad543
 SHA512 
63fbd09d769c7a8ffba92cd5724bc04e4553085b95405daa905ac77f95d2fbcf1852fd8ff7171e2fe39aac7ac76ebae87142fe5dc2e57932c89d8d98d472034b

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild
new file mode 100644
index 000..673b340fb09
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux:=
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-03-10 Thread Michał Górny
commit: 2c9c43271800da94ff93981c39eca24c8e3bddda
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 10 07:48:35 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 10 08:06:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9c4327

net-misc/miniupnpd: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 -
 net-misc/miniupnpd/miniupnpd-2.1.20180706.ebuild | 62 
 2 files changed, 63 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index f95f7bc2a90..8bb0d316b83 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1 @@
-DIST miniupnpd-2.1.20180706.tar.gz 233675 BLAKE2B 
641be6dc6a32383a02711139ac56236dc285041f2bda595a909ed5281a5163d1300212892e011f6256c6cf73b877f0e5e2e93efbfb08a77b0ae7d3dde94c28f6
 SHA512 
90881e08754f9fe3d1ef01da1fe437626d1fef09bea5eab9c1bcf3347e1197038ab87de8c7c454083ba90a86760230a323a6c293307b0fcecefbd5cfb658d227
 DIST miniupnpd-2.1.20190210.tar.gz 235093 BLAKE2B 
d86b4a73ebfe6b5f3665b92624e7eac36718fffea058c0e7d2cb4af2c0871534c7f7ec56ade6c3cb2e13215a77971173259f912efd61a37e41d0f2f0a4596e5c
 SHA512 
d664d5f61a0e2e71086aa520cb91af9f7f9b8b34268a76d570bbca271d86eab4976655a1fec1d21be80a93e357a0cb185281037604a0cfc00e4944d8e8b6f664

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20180706.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20180706.ebuild
deleted file mode 100644
index 9f786c4d43a..000
--- a/net-misc/miniupnpd/miniupnpd-2.1.20180706.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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
-
-   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-02-13 Thread Michał Górny
commit: 5f24cde13775417e49f4fb9f90916392ff13dddf
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 13 13:31:59 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 13 14:28:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f24cde1

net-misc/miniupnpd: Bump to 2.1.20190210

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 020b8d4282c..f95f7bc2a90 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.1.20180706.tar.gz 233675 BLAKE2B 
641be6dc6a32383a02711139ac56236dc285041f2bda595a909ed5281a5163d1300212892e011f6256c6cf73b877f0e5e2e93efbfb08a77b0ae7d3dde94c28f6
 SHA512 
90881e08754f9fe3d1ef01da1fe437626d1fef09bea5eab9c1bcf3347e1197038ab87de8c7c454083ba90a86760230a323a6c293307b0fcecefbd5cfb658d227
+DIST miniupnpd-2.1.20190210.tar.gz 235093 BLAKE2B 
d86b4a73ebfe6b5f3665b92624e7eac36718fffea058c0e7d2cb4af2c0871534c7f7ec56ade6c3cb2e13215a77971173259f912efd61a37e41d0f2f0a4596e5c
 SHA512 
d664d5f61a0e2e71086aa520cb91af9f7f9b8b34268a76d570bbca271d86eab4976655a1fec1d21be80a93e357a0cb185281037604a0cfc00e4944d8e8b6f664

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
new file mode 100644
index 000..7937133ad3d
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux:=
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2019-02-13 Thread Michał Górny
commit: a785e94af5330c9b6656cd169342bb78762a2263
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 13 13:49:20 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 13 14:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a785e94a

net-misc/miniupnpd: Bump to EAPI 7, fix compressed manpage

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
index 7937133ad3d..673b340fb09 100644
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit toolchain-funcs
 
@@ -26,6 +26,9 @@ DEPEND="${RDEPEND}
 src_prepare() {
default
mv Makefile.linux Makefile || die
+
+   # Prevent gzipping manpage.
+   sed -i -e '/gzip/d' Makefile || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-09-06 Thread Michał Górny
commit: aafe3daeb1549f6d15dd35150adf7c7667234237
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep  6 20:52:18 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Sep  6 21:22:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafe3dae

net-misc/miniupnpd: Clean old up

 net-misc/miniupnpd/Manifest  |  1 -
 net-misc/miniupnpd/miniupnpd-2.0.20180503.ebuild | 62 
 2 files changed, 63 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 364e949bb86..020b8d4282c 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1 @@
-DIST miniupnpd-2.0.20180503.tar.gz 225454 BLAKE2B 
d08c1fe050fce4a6f2348ff17f9d03feae04ca99a1b70fd7cc1734f56374f2be73708c5b495cf1a23ae76bd1f0042a90442793a87adb3ed9d0c49678dd8eb0b8
 SHA512 
7615f28d8e41bbe5b7343159a526ba33e643d14e2be7c2382461fda36ecfb3420ef2903e0cc9fa92ffe376f8609feb9403a316244eec0459e78a6b5ad96462ee
 DIST miniupnpd-2.1.20180706.tar.gz 233675 BLAKE2B 
641be6dc6a32383a02711139ac56236dc285041f2bda595a909ed5281a5163d1300212892e011f6256c6cf73b877f0e5e2e93efbfb08a77b0ae7d3dde94c28f6
 SHA512 
90881e08754f9fe3d1ef01da1fe437626d1fef09bea5eab9c1bcf3347e1197038ab87de8c7c454083ba90a86760230a323a6c293307b0fcecefbd5cfb658d227

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180503.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180503.ebuild
deleted file mode 100644
index 9f786c4d43a..000
--- a/net-misc/miniupnpd/miniupnpd-2.0.20180503.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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
-
-   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-07-06 Thread Michał Górny
commit: 03f1470d007ba040bc5046ce855bdf43cae4703f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  7 05:17:09 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  7 05:31:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03f1470d

net-misc/miniupnpd: Bump to 2.1.20180706

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.1.20180706.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 2455b87a7b0..4e106d645c2 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1,4 @@
 DIST miniupnpd-2.0.20180410.tar.gz 224736 BLAKE2B 
76bb4eba8cd3985ff46b1e46543018171a44cee636affb6db75c7b4bfcfa5ef19a678a23467280cf7d199b8fe332cfae6595848c4a2446da2095aecadb82d5f6
 SHA512 
4a3392b3883e72689e6160941b80533f7254dbaf54407fe2899caef8848d7dbe82ece6079fc39446c162053c1ea1dc10912af0a31d71eb16fbfbec0029dbc645
 DIST miniupnpd-2.0.20180422.tar.gz 224942 BLAKE2B 
62ec30de6d3551b9f31ed7eb81ceffaf75eeaa91236114f5532218d748e148574fdc195447beecc5cfd6898c2fe28f3e9bf15755979cf34633388194301a51dc
 SHA512 
338ebb03edfd9448a91277c3cc47843a45c1ee9d9e43ba52cd5f897cca8ddc5cbb53dd291056d30a906c68a5dfe0e5eb50169f7ffefab003fcf440de46b83f42
 DIST miniupnpd-2.0.20180503.tar.gz 225454 BLAKE2B 
d08c1fe050fce4a6f2348ff17f9d03feae04ca99a1b70fd7cc1734f56374f2be73708c5b495cf1a23ae76bd1f0042a90442793a87adb3ed9d0c49678dd8eb0b8
 SHA512 
7615f28d8e41bbe5b7343159a526ba33e643d14e2be7c2382461fda36ecfb3420ef2903e0cc9fa92ffe376f8609feb9403a316244eec0459e78a6b5ad96462ee
+DIST miniupnpd-2.1.20180706.tar.gz 233675 BLAKE2B 
641be6dc6a32383a02711139ac56236dc285041f2bda595a909ed5281a5163d1300212892e011f6256c6cf73b877f0e5e2e93efbfb08a77b0ae7d3dde94c28f6
 SHA512 
90881e08754f9fe3d1ef01da1fe437626d1fef09bea5eab9c1bcf3347e1197038ab87de8c7c454083ba90a86760230a323a6c293307b0fcecefbd5cfb658d227

diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20180706.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.1.20180706.ebuild
new file mode 100644
index 000..9f786c4d43a
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.1.20180706.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-07-06 Thread Michał Górny
commit: aaaba1c9543a792731cab232a1cbf9125bd4e576
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  7 05:17:34 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  7 05:31:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaaba1c9

net-misc/miniupnpd: Clean old up

 net-misc/miniupnpd/Manifest  |  2 -
 net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild | 62 
 net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild | 62 
 3 files changed, 126 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 4e106d645c2..364e949bb86 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,4 +1,2 @@
-DIST miniupnpd-2.0.20180410.tar.gz 224736 BLAKE2B 
76bb4eba8cd3985ff46b1e46543018171a44cee636affb6db75c7b4bfcfa5ef19a678a23467280cf7d199b8fe332cfae6595848c4a2446da2095aecadb82d5f6
 SHA512 
4a3392b3883e72689e6160941b80533f7254dbaf54407fe2899caef8848d7dbe82ece6079fc39446c162053c1ea1dc10912af0a31d71eb16fbfbec0029dbc645
-DIST miniupnpd-2.0.20180422.tar.gz 224942 BLAKE2B 
62ec30de6d3551b9f31ed7eb81ceffaf75eeaa91236114f5532218d748e148574fdc195447beecc5cfd6898c2fe28f3e9bf15755979cf34633388194301a51dc
 SHA512 
338ebb03edfd9448a91277c3cc47843a45c1ee9d9e43ba52cd5f897cca8ddc5cbb53dd291056d30a906c68a5dfe0e5eb50169f7ffefab003fcf440de46b83f42
 DIST miniupnpd-2.0.20180503.tar.gz 225454 BLAKE2B 
d08c1fe050fce4a6f2348ff17f9d03feae04ca99a1b70fd7cc1734f56374f2be73708c5b495cf1a23ae76bd1f0042a90442793a87adb3ed9d0c49678dd8eb0b8
 SHA512 
7615f28d8e41bbe5b7343159a526ba33e643d14e2be7c2382461fda36ecfb3420ef2903e0cc9fa92ffe376f8609feb9403a316244eec0459e78a6b5ad96462ee
 DIST miniupnpd-2.1.20180706.tar.gz 233675 BLAKE2B 
641be6dc6a32383a02711139ac56236dc285041f2bda595a909ed5281a5163d1300212892e011f6256c6cf73b877f0e5e2e93efbfb08a77b0ae7d3dde94c28f6
 SHA512 
90881e08754f9fe3d1ef01da1fe437626d1fef09bea5eab9c1bcf3347e1197038ab87de8c7c454083ba90a86760230a323a6c293307b0fcecefbd5cfb658d227

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild
deleted file mode 100644
index 9f786c4d43a..000
--- a/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(usex igd2 '--igd2' '')
-   $(usex ipv6 '--ipv6' '')
-   $(usex leasefile '--leasefile' '')
-   $(usex portinuse '--portinuse' '')
-   $(usex pcp-peer '--pcp-peer' '')
-   $(usex strict '--strict' '')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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
-
-   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-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.0.20180422.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild
deleted file mode 100644
index 9f786c4d43a..000
--- a/net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   op

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-05-05 Thread Michał Górny
commit: 776895123020af6b4ca38d5d5c5f892ef2460bd7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May  5 07:46:07 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May  5 15:27:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77689512

net-misc/miniupnpd: Drop old

 net-misc/miniupnpd/Manifest  |  3 --
 net-misc/miniupnpd/miniupnpd-2.0.20171212.ebuild | 62 
 net-misc/miniupnpd/miniupnpd-2.0.20180203.ebuild | 62 
 net-misc/miniupnpd/miniupnpd-2.0.20180222.ebuild | 62 
 4 files changed, 189 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index bb9d3ac4d92..2455b87a7b0 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,6 +1,3 @@
-DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 
6ac33048b18d9f8aeb5103f57c9982fec956a61155f8592118c38dea70801597d9e867690ef2f1cdfaf848a25d7ddb4891b3ebf37cd391b33518d6b02e6f9b4a
 SHA512 
3ab81c840953736c662bcb6f074421052a846c7827768acd7a961a23906b9e3d3389f5b593fb6f8011c8e717dae6cd3907b6d34e7904d560378671a7fc1dd3b2
-DIST miniupnpd-2.0.20180203.tar.gz 223084 BLAKE2B 
14d7b1f8136be5e211ee2e5374b8ee77dfeb3e64e1308f918d9334a8600234e38581caa293b613cd3736d4a8cfc196a54839cffa8091a36961f4e0e79c727455
 SHA512 
ef02e33cd93225992c193a13be2320de02255610532de77cf704573384c777d82a4cb89c295982bb660ce056e38ef341223ab362bab74b2cb6954ed4e62b0219
-DIST miniupnpd-2.0.20180222.tar.gz 223697 BLAKE2B 
f551c9219a3a0a0eda905c953c5f9f45df3f192d3d253111cb35ce51351561ae2547351cb901b91eafc1765bd89b75760063e109bacfae625ff8090563913883
 SHA512 
a7ee306ccac0673e55780129b3c61de025ec63a653383ae475f08695a95647ae83e5e5978ce6ee166e8d0270a5bd08250613593acaabd0b730178ca2e52dc482
 DIST miniupnpd-2.0.20180410.tar.gz 224736 BLAKE2B 
76bb4eba8cd3985ff46b1e46543018171a44cee636affb6db75c7b4bfcfa5ef19a678a23467280cf7d199b8fe332cfae6595848c4a2446da2095aecadb82d5f6
 SHA512 
4a3392b3883e72689e6160941b80533f7254dbaf54407fe2899caef8848d7dbe82ece6079fc39446c162053c1ea1dc10912af0a31d71eb16fbfbec0029dbc645
 DIST miniupnpd-2.0.20180422.tar.gz 224942 BLAKE2B 
62ec30de6d3551b9f31ed7eb81ceffaf75eeaa91236114f5532218d748e148574fdc195447beecc5cfd6898c2fe28f3e9bf15755979cf34633388194301a51dc
 SHA512 
338ebb03edfd9448a91277c3cc47843a45c1ee9d9e43ba52cd5f897cca8ddc5cbb53dd291056d30a906c68a5dfe0e5eb50169f7ffefab003fcf440de46b83f42
 DIST miniupnpd-2.0.20180503.tar.gz 225454 BLAKE2B 
d08c1fe050fce4a6f2348ff17f9d03feae04ca99a1b70fd7cc1734f56374f2be73708c5b495cf1a23ae76bd1f0042a90442793a87adb3ed9d0c49678dd8eb0b8
 SHA512 
7615f28d8e41bbe5b7343159a526ba33e643d14e2be7c2382461fda36ecfb3420ef2903e0cc9fa92ffe376f8609feb9403a316244eec0459e78a6b5ad96462ee

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20171212.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20171212.ebuild
deleted file mode 100644
index cbdc231611f..000
--- a/net-misc/miniupnpd/miniupnpd-2.0.20171212.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(use igd2 && printf -- '--igd2\n')
-   $(use ipv6 && printf -- '--ipv6\n')
-   $(use leasefile && printf -- '--leasefile\n')
-   $(use portinuse && printf -- '--portinuse\n')
-   $(use pcp-peer && printf -- '--pcp-peer\n')
-   $(use strict && printf -- '--strict\n')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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
-
-   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-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.0.20180203.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180203.ebuild
deleted file mode 100644
index 9f786c4d43a..000
--- a/net-misc/miniupnpd/miniupnpd-2.0.20180203.ebuild
+++ /dev/n

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-05-05 Thread Michał Górny
commit: 2947ba98453e757075dfb1a90f88759b2c6a8d07
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May  5 07:45:04 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May  5 15:27:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2947ba98

net-misc/miniupnpd: Bump to 2.0.20180503

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.0.20180503.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 628d0bb0375..bb9d3ac4d92 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -3,3 +3,4 @@ DIST miniupnpd-2.0.20180203.tar.gz 223084 BLAKE2B 
14d7b1f8136be5e211ee2e5374b8ee
 DIST miniupnpd-2.0.20180222.tar.gz 223697 BLAKE2B 
f551c9219a3a0a0eda905c953c5f9f45df3f192d3d253111cb35ce51351561ae2547351cb901b91eafc1765bd89b75760063e109bacfae625ff8090563913883
 SHA512 
a7ee306ccac0673e55780129b3c61de025ec63a653383ae475f08695a95647ae83e5e5978ce6ee166e8d0270a5bd08250613593acaabd0b730178ca2e52dc482
 DIST miniupnpd-2.0.20180410.tar.gz 224736 BLAKE2B 
76bb4eba8cd3985ff46b1e46543018171a44cee636affb6db75c7b4bfcfa5ef19a678a23467280cf7d199b8fe332cfae6595848c4a2446da2095aecadb82d5f6
 SHA512 
4a3392b3883e72689e6160941b80533f7254dbaf54407fe2899caef8848d7dbe82ece6079fc39446c162053c1ea1dc10912af0a31d71eb16fbfbec0029dbc645
 DIST miniupnpd-2.0.20180422.tar.gz 224942 BLAKE2B 
62ec30de6d3551b9f31ed7eb81ceffaf75eeaa91236114f5532218d748e148574fdc195447beecc5cfd6898c2fe28f3e9bf15755979cf34633388194301a51dc
 SHA512 
338ebb03edfd9448a91277c3cc47843a45c1ee9d9e43ba52cd5f897cca8ddc5cbb53dd291056d30a906c68a5dfe0e5eb50169f7ffefab003fcf440de46b83f42
+DIST miniupnpd-2.0.20180503.tar.gz 225454 BLAKE2B 
d08c1fe050fce4a6f2348ff17f9d03feae04ca99a1b70fd7cc1734f56374f2be73708c5b495cf1a23ae76bd1f0042a90442793a87adb3ed9d0c49678dd8eb0b8
 SHA512 
7615f28d8e41bbe5b7343159a526ba33e643d14e2be7c2382461fda36ecfb3420ef2903e0cc9fa92ffe376f8609feb9403a316244eec0459e78a6b5ad96462ee

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180503.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180503.ebuild
new file mode 100644
index 000..9f786c4d43a
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.0.20180503.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-04-23 Thread Michał Górny
commit: c6c14190e41c2695adb4ad12b3e7ddc008cea7bd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr 23 13:36:21 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr 23 13:44:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c14190

net-misc/miniupnpd: Bump to 2.0.20180422

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index c35776822ba..628d0bb0375 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -2,3 +2,4 @@ DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 
6ac33048b18d9f8aeb5103f57c9982
 DIST miniupnpd-2.0.20180203.tar.gz 223084 BLAKE2B 
14d7b1f8136be5e211ee2e5374b8ee77dfeb3e64e1308f918d9334a8600234e38581caa293b613cd3736d4a8cfc196a54839cffa8091a36961f4e0e79c727455
 SHA512 
ef02e33cd93225992c193a13be2320de02255610532de77cf704573384c777d82a4cb89c295982bb660ce056e38ef341223ab362bab74b2cb6954ed4e62b0219
 DIST miniupnpd-2.0.20180222.tar.gz 223697 BLAKE2B 
f551c9219a3a0a0eda905c953c5f9f45df3f192d3d253111cb35ce51351561ae2547351cb901b91eafc1765bd89b75760063e109bacfae625ff8090563913883
 SHA512 
a7ee306ccac0673e55780129b3c61de025ec63a653383ae475f08695a95647ae83e5e5978ce6ee166e8d0270a5bd08250613593acaabd0b730178ca2e52dc482
 DIST miniupnpd-2.0.20180410.tar.gz 224736 BLAKE2B 
76bb4eba8cd3985ff46b1e46543018171a44cee636affb6db75c7b4bfcfa5ef19a678a23467280cf7d199b8fe332cfae6595848c4a2446da2095aecadb82d5f6
 SHA512 
4a3392b3883e72689e6160941b80533f7254dbaf54407fe2899caef8848d7dbe82ece6079fc39446c162053c1ea1dc10912af0a31d71eb16fbfbec0029dbc645
+DIST miniupnpd-2.0.20180422.tar.gz 224942 BLAKE2B 
62ec30de6d3551b9f31ed7eb81ceffaf75eeaa91236114f5532218d748e148574fdc195447beecc5cfd6898c2fe28f3e9bf15755979cf34633388194301a51dc
 SHA512 
338ebb03edfd9448a91277c3cc47843a45c1ee9d9e43ba52cd5f897cca8ddc5cbb53dd291056d30a906c68a5dfe0e5eb50169f7ffefab003fcf440de46b83f42

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild
new file mode 100644
index 000..9f786c4d43a
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-04-11 Thread Michał Górny
commit: 74859bee8af53b1fc6cba8bc3a434cf79e305809
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 11 06:59:11 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 11 07:01:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74859bee

net-misc/miniupnpd: Version bump to 2.0.20180410

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 05c1f6c5168..c35776822ba 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1,4 @@
 DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 
6ac33048b18d9f8aeb5103f57c9982fec956a61155f8592118c38dea70801597d9e867690ef2f1cdfaf848a25d7ddb4891b3ebf37cd391b33518d6b02e6f9b4a
 SHA512 
3ab81c840953736c662bcb6f074421052a846c7827768acd7a961a23906b9e3d3389f5b593fb6f8011c8e717dae6cd3907b6d34e7904d560378671a7fc1dd3b2
 DIST miniupnpd-2.0.20180203.tar.gz 223084 BLAKE2B 
14d7b1f8136be5e211ee2e5374b8ee77dfeb3e64e1308f918d9334a8600234e38581caa293b613cd3736d4a8cfc196a54839cffa8091a36961f4e0e79c727455
 SHA512 
ef02e33cd93225992c193a13be2320de02255610532de77cf704573384c777d82a4cb89c295982bb660ce056e38ef341223ab362bab74b2cb6954ed4e62b0219
 DIST miniupnpd-2.0.20180222.tar.gz 223697 BLAKE2B 
f551c9219a3a0a0eda905c953c5f9f45df3f192d3d253111cb35ce51351561ae2547351cb901b91eafc1765bd89b75760063e109bacfae625ff8090563913883
 SHA512 
a7ee306ccac0673e55780129b3c61de025ec63a653383ae475f08695a95647ae83e5e5978ce6ee166e8d0270a5bd08250613593acaabd0b730178ca2e52dc482
+DIST miniupnpd-2.0.20180410.tar.gz 224736 BLAKE2B 
76bb4eba8cd3985ff46b1e46543018171a44cee636affb6db75c7b4bfcfa5ef19a678a23467280cf7d199b8fe332cfae6595848c4a2446da2095aecadb82d5f6
 SHA512 
4a3392b3883e72689e6160941b80533f7254dbaf54407fe2899caef8848d7dbe82ece6079fc39446c162053c1ea1dc10912af0a31d71eb16fbfbec0029dbc645

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild
new file mode 100644
index 000..9f786c4d43a
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-03-13 Thread Pacho Ramos
commit: f90aa54917dbd596595f97d69fd5da7fa6baa3cf
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Mar 13 11:56:38 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Mar 13 11:59:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90aa549

net-misc/miniupnpd: Update maintainer due to bug #96159

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/miniupnpd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-misc/miniupnpd/metadata.xml b/net-misc/miniupnpd/metadata.xml
index 1d5d87bb77e..1b672f18d76 100644
--- a/net-misc/miniupnpd/metadata.xml
+++ b/net-misc/miniupnpd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   gurlige...@gentoo.org
-   Bjarke Istrup Pedersen
-   

chutz...@gentoo.org
Patrick McLean



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-02-25 Thread Michał Górny
commit: 23e76e29c3adf1d78aea2099bc13d0e258a0617f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 25 19:15:24 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 25 20:04:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23e76e29

net-misc/miniupnpd: Bump to 2.0.20180222

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.0.20180222.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 7bc51592b92..05c1f6c5168 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,3 @@
 DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 
6ac33048b18d9f8aeb5103f57c9982fec956a61155f8592118c38dea70801597d9e867690ef2f1cdfaf848a25d7ddb4891b3ebf37cd391b33518d6b02e6f9b4a
 SHA512 
3ab81c840953736c662bcb6f074421052a846c7827768acd7a961a23906b9e3d3389f5b593fb6f8011c8e717dae6cd3907b6d34e7904d560378671a7fc1dd3b2
 DIST miniupnpd-2.0.20180203.tar.gz 223084 BLAKE2B 
14d7b1f8136be5e211ee2e5374b8ee77dfeb3e64e1308f918d9334a8600234e38581caa293b613cd3736d4a8cfc196a54839cffa8091a36961f4e0e79c727455
 SHA512 
ef02e33cd93225992c193a13be2320de02255610532de77cf704573384c777d82a4cb89c295982bb660ce056e38ef341223ab362bab74b2cb6954ed4e62b0219
+DIST miniupnpd-2.0.20180222.tar.gz 223697 BLAKE2B 
f551c9219a3a0a0eda905c953c5f9f45df3f192d3d253111cb35ce51351561ae2547351cb901b91eafc1765bd89b75760063e109bacfae625ff8090563913883
 SHA512 
a7ee306ccac0673e55780129b3c61de025ec63a653383ae475f08695a95647ae83e5e5978ce6ee166e8d0270a5bd08250613593acaabd0b730178ca2e52dc482

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180222.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180222.ebuild
new file mode 100644
index 000..9f786c4d43a
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.0.20180222.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-02-04 Thread Michał Górny
commit: 80668753bca257bd42d974c2568d08b1eaaf9c37
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb  4 08:15:19 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  4 08:44:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80668753

net-misc/miniupnpd: Bump to 2.0.20180203

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.0.20180203.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 61f1ab2d750..7bc51592b92 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 
6ac33048b18d9f8aeb5103f57c9982fec956a61155f8592118c38dea70801597d9e867690ef2f1cdfaf848a25d7ddb4891b3ebf37cd391b33518d6b02e6f9b4a
 SHA512 
3ab81c840953736c662bcb6f074421052a846c7827768acd7a961a23906b9e3d3389f5b593fb6f8011c8e717dae6cd3907b6d34e7904d560378671a7fc1dd3b2
+DIST miniupnpd-2.0.20180203.tar.gz 223084 BLAKE2B 
14d7b1f8136be5e211ee2e5374b8ee77dfeb3e64e1308f918d9334a8600234e38581caa293b613cd3736d4a8cfc196a54839cffa8091a36961f4e0e79c727455
 SHA512 
ef02e33cd93225992c193a13be2320de02255610532de77cf704573384c777d82a4cb89c295982bb660ce056e38ef341223ab362bab74b2cb6954ed4e62b0219

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180203.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20180203.ebuild
new file mode 100644
index 000..9f786c4d43a
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.0.20180203.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(usex igd2 '--igd2' '')
+   $(usex ipv6 '--ipv6' '')
+   $(usex leasefile '--leasefile' '')
+   $(usex portinuse '--portinuse' '')
+   $(usex pcp-peer '--pcp-peer' '')
+   $(usex strict '--strict' '')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2018-01-01 Thread Michał Górny
commit: 3bd3330fc83b5d72f5cffe1e8d9639f1821dc4d8
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  1 22:09:57 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan  2 06:18:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bd3330f

net-misc/miniupnpd: Clean old up

 net-misc/miniupnpd/Manifest  |  1 -
 net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild | 62 
 2 files changed, 63 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index affa5b2c967..61f1ab2d750 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1 @@
-DIST miniupnpd-2.0.20161216.tar.gz 218119 BLAKE2B 
9d09f4d2b19c4f808bf527c90a73739baa0eac924f461f6cbbf20866ee851f85248efa920bd6a770173d4a3a8f9e8d771ffacdb17aa684d329295502278f7963
 SHA512 
af82f060d28033dd670fcc96c8e2895f92d249a8a79d991e0215159eeb57715d7a9152d7d751b836091f7a623ce8a194ea243d1a2fb639349e320c02ce187c27
 DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 
6ac33048b18d9f8aeb5103f57c9982fec956a61155f8592118c38dea70801597d9e867690ef2f1cdfaf848a25d7ddb4891b3ebf37cd391b33518d6b02e6f9b4a
 SHA512 
3ab81c840953736c662bcb6f074421052a846c7827768acd7a961a23906b9e3d3389f5b593fb6f8011c8e717dae6cd3907b6d34e7904d560378671a7fc1dd3b2

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild
deleted file mode 100644
index cbdc231611f..000
--- a/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(use igd2 && printf -- '--igd2\n')
-   $(use ipv6 && printf -- '--ipv6\n')
-   $(use leasefile && printf -- '--leasefile\n')
-   $(use portinuse && printf -- '--portinuse\n')
-   $(use pcp-peer && printf -- '--pcp-peer\n')
-   $(use strict && printf -- '--strict\n')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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
-
-   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/files/

2017-12-12 Thread Michał Górny
commit: 34d66fdceb6463d28efb1737c042c96e12d557a4
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 13 07:42:36 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 13 07:56:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d66fdc

net-misc/miniupnpd: Remove unused files

 net-misc/miniupnpd/files/miniupnpd-conf.d |  2 --
 net-misc/miniupnpd/files/miniupnpd-init.d | 22 --
 2 files changed, 24 deletions(-)

diff --git a/net-misc/miniupnpd/files/miniupnpd-conf.d 
b/net-misc/miniupnpd/files/miniupnpd-conf.d
deleted file mode 100644
index 8482ef2d185..000
--- a/net-misc/miniupnpd/files/miniupnpd-conf.d
+++ /dev/null
@@ -1,2 +0,0 @@
-ARGS='-f /etc/miniupnpd/miniupnpd.conf'
-

diff --git a/net-misc/miniupnpd/files/miniupnpd-init.d 
b/net-misc/miniupnpd/files/miniupnpd-init.d
deleted file mode 100644
index 6d1ee24e3d3..000
--- a/net-misc/miniupnpd/files/miniupnpd-init.d
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-   need net iptables
-   use minissdpd
-}
-
-start() {
-   ebegin "Starting miniupnpd"
-   /etc/miniupnpd/iptables_init.sh
-   start-stop-daemon --start --pidfile /var/run/miniupnpd.pid --exec 
/usr/sbin/miniupnpd -- ${ARGS}
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping miniupnpd"
-start-stop-daemon --stop --pidfile /var/run/miniupnpd.pid
-   eend $?
-   /etc/miniupnpd/iptables_removeall.sh
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2017-12-12 Thread Michał Górny
commit: 676bb7e0ca84e781ce6a60603c700a561822c7a6
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 13 07:42:49 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 13 07:56:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676bb7e0

net-misc/miniupnpd: Drop old

 net-misc/miniupnpd/Manifest |  1 -
 net-misc/miniupnpd/miniupnpd-2.0.ebuild | 62 -
 2 files changed, 63 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 0c5fa692dfe..affa5b2c967 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1,2 @@
 DIST miniupnpd-2.0.20161216.tar.gz 218119 BLAKE2B 
9d09f4d2b19c4f808bf527c90a73739baa0eac924f461f6cbbf20866ee851f85248efa920bd6a770173d4a3a8f9e8d771ffacdb17aa684d329295502278f7963
 SHA512 
af82f060d28033dd670fcc96c8e2895f92d249a8a79d991e0215159eeb57715d7a9152d7d751b836091f7a623ce8a194ea243d1a2fb639349e320c02ce187c27
 DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 
6ac33048b18d9f8aeb5103f57c9982fec956a61155f8592118c38dea70801597d9e867690ef2f1cdfaf848a25d7ddb4891b3ebf37cd391b33518d6b02e6f9b4a
 SHA512 
3ab81c840953736c662bcb6f074421052a846c7827768acd7a961a23906b9e3d3389f5b593fb6f8011c8e717dae6cd3907b6d34e7904d560378671a7fc1dd3b2
-DIST miniupnpd-2.0.tar.gz 217802 BLAKE2B 
b70a5e36e7315382d68038da479b0dd8bc87ae01acaccbf784413a32a32719bbc0923297bd6b6d2bf1835dd7ebf9161203120942d5c31cd63f178c4ceda1a1db
 SHA512 
c88036d3f4b065fc855572db8945d921641a71a23ffe8b52cb4ccb1a7cf3e7396841c436d54d7ff5968d034d8c4bfc91630719959000436230bb8c37e5bdc8d4

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.ebuild
deleted file mode 100644
index 1347a12fbd0..000
--- a/net-misc/miniupnpd/miniupnpd-2.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="MiniUPnP IGD Daemon"
-HOMEPAGE="http://miniupnp.free.fr/";
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
-
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
-   net-libs/libnfnetlink:=
-   net-libs/libmnl:=
-   dev-libs/gmp:0=
-   sys-apps/util-linux
-   dev-libs/openssl:0="
-DEPEND="${RDEPEND}
-   sys-apps/lsb-release"
-
-src_prepare() {
-   default
-   mv Makefile.linux Makefile || die
-}
-
-src_configure() {
-   local -a opts
-   opts=(
-   --vendorcfg
-   $(use igd2 && printf -- '--igd2\n')
-   $(use ipv6 && printf -- '--ipv6\n')
-   $(use leasefile && printf -- '--leasefile\n')
-   $(use portinuse && printf -- '--portinuse\n')
-   $(use pcp-peer && printf -- '--pcp-peer\n')
-   $(use strict && printf -- '--strict\n')
-   )
-
-   emake CONFIG_OPTIONS="${opts[*]}" config.h
-}
-
-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
-
-   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2017-12-12 Thread Michał Górny
commit: f9760a8bfe9e249c4c5cf0dac2860b49f482e4b3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 13 07:31:00 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 13 07:56:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9760a8b

net-misc/miniupnpd: Bump to 2.0.20171212

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.0.20171212.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 94e895e4ecd..0c5fa692dfe 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,3 @@
 DIST miniupnpd-2.0.20161216.tar.gz 218119 BLAKE2B 
9d09f4d2b19c4f808bf527c90a73739baa0eac924f461f6cbbf20866ee851f85248efa920bd6a770173d4a3a8f9e8d771ffacdb17aa684d329295502278f7963
 SHA512 
af82f060d28033dd670fcc96c8e2895f92d249a8a79d991e0215159eeb57715d7a9152d7d751b836091f7a623ce8a194ea243d1a2fb639349e320c02ce187c27
+DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 
6ac33048b18d9f8aeb5103f57c9982fec956a61155f8592118c38dea70801597d9e867690ef2f1cdfaf848a25d7ddb4891b3ebf37cd391b33518d6b02e6f9b4a
 SHA512 
3ab81c840953736c662bcb6f074421052a846c7827768acd7a961a23906b9e3d3389f5b593fb6f8011c8e717dae6cd3907b6d34e7904d560378671a7fc1dd3b2
 DIST miniupnpd-2.0.tar.gz 217802 BLAKE2B 
b70a5e36e7315382d68038da479b0dd8bc87ae01acaccbf784413a32a32719bbc0923297bd6b6d2bf1835dd7ebf9161203120942d5c31cd63f178c4ceda1a1db
 SHA512 
c88036d3f4b065fc855572db8945d921641a71a23ffe8b52cb4ccb1a7cf3e7396841c436d54d7ff5968d034d8c4bfc91630719959000436230bb8c37e5bdc8d4

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20171212.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20171212.ebuild
new file mode 100644
index 000..cbdc231611f
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.0.20171212.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(use igd2 && printf -- '--igd2\n')
+   $(use ipv6 && printf -- '--ipv6\n')
+   $(use leasefile && printf -- '--leasefile\n')
+   $(use portinuse && printf -- '--portinuse\n')
+   $(use pcp-peer && printf -- '--pcp-peer\n')
+   $(use strict && printf -- '--strict\n')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2017-11-26 Thread David Seifert
commit: c0ca66f3e70e676a92899ed510dd4d24e26759ea
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 26 12:46:45 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 26 23:21:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ca66f3

net-misc/miniupnpd: [QA] Consistent whitespace in metadata.xml

 net-misc/miniupnpd/metadata.xml | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/net-misc/miniupnpd/metadata.xml b/net-misc/miniupnpd/metadata.xml
index c4e9cf4a54d..1d5d87bb77e 100644
--- a/net-misc/miniupnpd/metadata.xml
+++ b/net-misc/miniupnpd/metadata.xml
@@ -16,11 +16,11 @@

MiniUPnP Internet Gateway Device Deamon, used to allow UPnP 
enabled clients to forward ports.

-  
-Enable lease file.
-Build for IGDv2 instead of an IGDv1
-Enable support for PCP-PEER to allow NAT-PMP clients 
to mangle their packets.
-Check if a port is in use before allowing a NAT-PMP 
client to map it.
-Be more strict regarding compliance with UPnP 
specifications.
-  
+   
+   Enable lease file.
+   Build for IGDv2 instead of an IGDv1
+   Enable support for PCP-PEER to allow 
NAT-PMP clients to mangle their packets.
+   Check if a port is in use before 
allowing a NAT-PMP client to map it.
+   Be more strict regarding compliance with 
UPnP specifications.
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2017-01-26 Thread Michał Górny
commit: 12b15ac08c9b73f866b8ce72346d518a836a483d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 26 20:01:20 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 26 20:14:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b15ac0

net-misc/miniupnpd: Bump to 2.0.20161216

 net-misc/miniupnpd/Manifest  |  1 +
 net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild | 63 
 2 files changed, 64 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index a384c0e..3df3ed9 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
+DIST miniupnpd-2.0.20161216.tar.gz 218119 SHA256 
9e73d50ac830b5e08b6eb1df4e4c917833a5ab54351809f615d15d0f30cdeef3 SHA512 
af82f060d28033dd670fcc96c8e2895f92d249a8a79d991e0215159eeb57715d7a9152d7d751b836091f7a623ce8a194ea243d1a2fb639349e320c02ce187c27
 WHIRLPOOL 
478a56b137b86ba1dca70e15c7dbdef2969a2d089e1ae0bac7ff01c18e753c8c3cca8b89ef415d54c3a009b89156eb507e97ba1949223bdd37914042c5124be1
 DIST miniupnpd-2.0.tar.gz 217802 SHA256 
d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7 SHA512 
c88036d3f4b065fc855572db8945d921641a71a23ffe8b52cb4ccb1a7cf3e7396841c436d54d7ff5968d034d8c4bfc91630719959000436230bb8c37e5bdc8d4
 WHIRLPOOL 
d6aec880c9ef3c70002fdf9a98a0e8f4de95d8b3c9c6a18e328bc94d7dc3b8c130829c8ea6117e27e5b0aac1cd4526bbc9d9de21bd13e7b5527db54a656a1fff

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild
new file mode 100644
index ..1e69bf1
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(use igd2 && printf -- '--igd2\n')
+   $(use ipv6 && printf -- '--ipv6\n')
+   $(use leasefile && printf -- '--leasefile\n')
+   $(use portinuse && printf -- '--portinuse\n')
+   $(use pcp-peer && printf -- '--pcp-peer\n')
+   $(use strict && printf -- '--strict\n')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2016-05-24 Thread Michał Górny
commit: 9bd7c20154995fe79c47fe4a92ff4d18839e7d95
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 24 07:50:52 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 24 07:57:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd7c201

net-misc/miniupnpd: Add myself as co-maintainer

 net-misc/miniupnpd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-misc/miniupnpd/metadata.xml b/net-misc/miniupnpd/metadata.xml
index 902c940..c4e9cf4 100644
--- a/net-misc/miniupnpd/metadata.xml
+++ b/net-misc/miniupnpd/metadata.xml
@@ -9,6 +9,10 @@
chutz...@gentoo.org
Patrick McLean

+   
+   mgo...@gentoo.org
+   Michał Górny
+   

MiniUPnP Internet Gateway Device Deamon, used to allow UPnP 
enabled clients to forward ports.




[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/files/, net-misc/miniupnpd/

2016-05-23 Thread Bjarke Istrup Pedersen
commit: 0111f20451cfdba067d1cd91c3a0b0680d11ce67
Author: Bjarke Istrup Pedersen  gentoo  org>
AuthorDate: Mon May 23 08:28:32 2016 +
Commit: Bjarke Istrup Pedersen  gentoo  org>
CommitDate: Mon May 23 08:29:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0111f204

net-misc/miniupnpd: Removing old versions

Package-Manager: portage-2.3.0_rc1

 net-misc/miniupnpd/Manifest|   2 -
 .../miniupnpd/files/miniupnpd-1.10-build.patch |  83 --
 .../files/miniupnpd-1.10_pre20160222-build.patch   | 125 -
 .../miniupnpd/miniupnpd-1.10_pre20150721.ebuild|  63 ---
 .../miniupnpd/miniupnpd-1.10_pre20160222.ebuild|  76 -
 5 files changed, 349 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index a75232f..a384c0e 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,3 +1 @@
-DIST miniupnpd-1.9.20150721.tar.gz 207562 SHA256 
9340224e5023ecb5d1b7f45e4d69734dcfbadbe41a80d1f0182347e6b8104470 SHA512 
ed060a19bfb8f285c10d0c86ca54b646d8cad6baf29266bb395fe75ec23de63986a51362281213e9a14cd14225cc19a33cf404a139a55c7b0f72ced78581c660
 WHIRLPOOL 
9050b20f6118c63fe9d1cce8c8710e47e9e491ff28a1df29bf4b7a1e4e57fa537b06ce8ed667c1bc138e63dc23ba95a793980a32586c84a4728aa5977d10c6d4
-DIST miniupnpd-1.9.20160222.tar.gz 217541 SHA256 
e7d9d071876ac2ed41a04fe4436f8a8d4329c5c31d940e98cca26823c960 SHA512 
ebc24a69fde793a537c46bc1e2107f94a17b0d8818aa23a4b6faeb2b735f35db840a6ccc49efbe62a3960ad1f346bbb183b6d06eb5ac42c98c2d56c02869fdda
 WHIRLPOOL 
12ef3a7861b2238cd806836a972438c2b60c9f2558aee2a36eb8f6dbea149dc289447697d55b11147c20cee9fde5f1bc7fbd13e86190b82a47d7d2242482774b
 DIST miniupnpd-2.0.tar.gz 217802 SHA256 
d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7 SHA512 
c88036d3f4b065fc855572db8945d921641a71a23ffe8b52cb4ccb1a7cf3e7396841c436d54d7ff5968d034d8c4bfc91630719959000436230bb8c37e5bdc8d4
 WHIRLPOOL 
d6aec880c9ef3c70002fdf9a98a0e8f4de95d8b3c9c6a18e328bc94d7dc3b8c130829c8ea6117e27e5b0aac1cd4526bbc9d9de21bd13e7b5527db54a656a1fff

diff --git a/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch 
b/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch
deleted file mode 100644
index 8b0fefc..000
--- a/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch
+++ /dev/null
@@ -1,83 +0,0 @@
 a/Makefile.linux
-+++ b/Makefile.linux
-@@ -75,70 +75,10 @@ LDFLAGS += $(shell $(PKG_CONFIG) --libs-
- LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other libiptc)
- else
- 
--ifeq "$(wildcard /etc/gentoo-release )" ""
--LDLIBS ?= -liptc
--else # gentoo
--# the following is better, at least on gentoo with iptables 1.4.6
--# see http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=1618
--# and http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=2183
--LDLIBS ?= -lip4tc
--CPPFLAGS := -DIPTABLES_143 $(CPPFLAGS)
--endif
--
--ARCH ?= $(shell uname -m | grep -q "x86_64" && echo 64)
--ifdef IPTABLESPATH
--CPPFLAGS := $(CPPFLAGS) -I$(IPTABLESPATH)/include/
--LDFLAGS := $(LDFLAFGS) -L$(IPTABLESPATH)/libiptc/
--# get iptables version and set IPTABLES_143 macro if needed
--ifeq ($(TARGET_OPENWRT),)
--IPTABLESVERSION := $(shell grep "\#define VERSION" $(IPTABLESPATH)/config.h | 
tr -d \" |cut -d" " -f3 )
--IPTABLESVERSION1 := $(shell echo $(IPTABLESVERSION) | cut -d. -f1 )
--IPTABLESVERSION2 := $(shell echo $(IPTABLESVERSION) | cut -d. -f2 )
--IPTABLESVERSION3 := $(shell echo $(IPTABLESVERSION) | cut -d. -f3 )
--# test if iptables version >= 1.4.3
--TEST := $(shell [ \( \( $(IPTABLESVERSION1) -ge 1 \) -a \( 
$(IPTABLESVERSION2) -ge 4 \) \) -a \( $(IPTABLESVERSION3) -ge 3 \) ] && echo 1 )
--ifeq ($(TEST), 1)
--CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
--# the following sucks, but works
--LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libip4tc.o
--#LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libiptc.a
--else # ifeq ($(TEST), 1)
--LDLIBS = $(IPTABLESPATH)/libiptc/libiptc.a
--endif # ifeq ($(TEST), 1)
--else # ($(TARGET_OPENWRT),)
--# openWRT :
--# check for system-wide iptables files. Test if iptables version >= 1.4.3
--# the following test has to be verified :
--TEST := $(shell test -f /usr/include/iptables/internal.h && grep -q "\#define 
IPTABLES_VERSION" /usr/include/iptables/internal.h && echo 1)
--ifeq ($(TEST), 1)
--CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
--LDLIBS = -liptc
--endif  # ($(TEST), 1)
--TEST_LIB := $(shell test -f /usr/lib$(ARCH)/libiptc.a && echo 1)
--ifeq ($(TEST_LIB), 1)
--LDLIBS = -liptc /usr/lib$(ARCH)/libiptc.a
--endif # ($(TEST_LIB), 1)
--endif # ($(TARGET_OPENWRT),)
--else # ifdef IPTABLESPATH
--# IPTABLESPATH not defined
--# the following test has to be verified :
--TEST := $(shell test -f /usr/include/xtables.h && grep -q 
"XTABLES_VERSION_CODE" /usr/include/xtables.h && echo 1)
--ifeq ($(TEST), 1)
--CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
--LDLIBS = -liptc
--TESTIP4TC := $(shell test -f /lib/libip4tc.so && echo 1)
--ifeq ($(TESTIP4TC), 1)
--LDLIBS := $(LDLI

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2016-04-20 Thread Patrick McLean
commit: 2187756b73abcf021189d14697ef42acde0104fb
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Apr 20 18:52:22 2016 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Apr 20 18:52:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2187756b

net-misc/miniupnpd: Version bump to 2.0

Package-Manager: portage-2.2.28

 net-misc/miniupnpd/Manifest |  1 +
 net-misc/miniupnpd/miniupnpd-2.0.ebuild | 63 +
 2 files changed, 64 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 521d049..a75232f 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1,2 +1,3 @@
 DIST miniupnpd-1.9.20150721.tar.gz 207562 SHA256 
9340224e5023ecb5d1b7f45e4d69734dcfbadbe41a80d1f0182347e6b8104470 SHA512 
ed060a19bfb8f285c10d0c86ca54b646d8cad6baf29266bb395fe75ec23de63986a51362281213e9a14cd14225cc19a33cf404a139a55c7b0f72ced78581c660
 WHIRLPOOL 
9050b20f6118c63fe9d1cce8c8710e47e9e491ff28a1df29bf4b7a1e4e57fa537b06ce8ed667c1bc138e63dc23ba95a793980a32586c84a4728aa5977d10c6d4
 DIST miniupnpd-1.9.20160222.tar.gz 217541 SHA256 
e7d9d071876ac2ed41a04fe4436f8a8d4329c5c31d940e98cca26823c960 SHA512 
ebc24a69fde793a537c46bc1e2107f94a17b0d8818aa23a4b6faeb2b735f35db840a6ccc49efbe62a3960ad1f346bbb183b6d06eb5ac42c98c2d56c02869fdda
 WHIRLPOOL 
12ef3a7861b2238cd806836a972438c2b60c9f2558aee2a36eb8f6dbea149dc289447697d55b11147c20cee9fde5f1bc7fbd13e86190b82a47d7d2242482774b
+DIST miniupnpd-2.0.tar.gz 217802 SHA256 
d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7 SHA512 
c88036d3f4b065fc855572db8945d921641a71a23ffe8b52cb4ccb1a7cf3e7396841c436d54d7ff5968d034d8c4bfc91630719959000436230bb8c37e5bdc8d4
 WHIRLPOOL 
d6aec880c9ef3c70002fdf9a98a0e8f4de95d8b3c9c6a18e328bc94d7dc3b8c130829c8ea6117e27e5b0aac1cd4526bbc9d9de21bd13e7b5527db54a656a1fff

diff --git a/net-misc/miniupnpd/miniupnpd-2.0.ebuild 
b/net-misc/miniupnpd/miniupnpd-2.0.ebuild
new file mode 100644
index 000..a02aa5b
--- /dev/null
+++ b/net-misc/miniupnpd/miniupnpd-2.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="MiniUPnP IGD Daemon"
+HOMEPAGE="http://miniupnp.free.fr/";
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
+
+RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
+   net-libs/libnfnetlink:=
+   net-libs/libmnl:=
+   dev-libs/gmp:0=
+   sys-apps/util-linux
+   dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+   sys-apps/lsb-release"
+
+src_prepare() {
+   default
+   mv Makefile.linux Makefile || die
+}
+
+src_configure() {
+   local -a opts
+   opts=(
+   --vendorcfg
+   $(use igd2 && printf -- '--igd2\n')
+   $(use ipv6 && printf -- '--ipv6\n')
+   $(use leasefile && printf -- '--leasefile\n')
+   $(use portinuse && printf -- '--portinuse\n')
+   $(use pcp-peer && printf -- '--pcp-peer\n')
+   $(use strict && printf -- '--strict\n')
+   )
+
+   emake CONFIG_OPTIONS="${opts[*]}" config.h
+}
+
+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
+
+   newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/, net-misc/miniupnpd/files/

2016-04-12 Thread Patrick McLean
commit: 128b74fe25d08b3f8d17e3ee793d87131eba9c37
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Apr 13 01:11:47 2016 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Apr 13 01:12:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=128b74fe

net-misc/miniupnpd: Version bump, expose several options through USE flags

This also reworks the init script to be more modern and allows skipping of the
iptables manipulation scripts.

Package-Manager: portage-2.2.28

 net-misc/miniupnpd/Manifest|   1 +
 .../files/miniupnpd-1.10_pre20160222-build.patch   | 125 +
 net-misc/miniupnpd/files/miniupnpd-conf.d-r1   |  10 ++
 net-misc/miniupnpd/files/miniupnpd-init.d-r1   |  33 ++
 net-misc/miniupnpd/metadata.xml|   7 ++
 .../miniupnpd/miniupnpd-1.10_pre20160222.ebuild|  76 +
 6 files changed, 252 insertions(+)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 9915e8c..521d049 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1,2 @@
 DIST miniupnpd-1.9.20150721.tar.gz 207562 SHA256 
9340224e5023ecb5d1b7f45e4d69734dcfbadbe41a80d1f0182347e6b8104470 SHA512 
ed060a19bfb8f285c10d0c86ca54b646d8cad6baf29266bb395fe75ec23de63986a51362281213e9a14cd14225cc19a33cf404a139a55c7b0f72ced78581c660
 WHIRLPOOL 
9050b20f6118c63fe9d1cce8c8710e47e9e491ff28a1df29bf4b7a1e4e57fa537b06ce8ed667c1bc138e63dc23ba95a793980a32586c84a4728aa5977d10c6d4
+DIST miniupnpd-1.9.20160222.tar.gz 217541 SHA256 
e7d9d071876ac2ed41a04fe4436f8a8d4329c5c31d940e98cca26823c960 SHA512 
ebc24a69fde793a537c46bc1e2107f94a17b0d8818aa23a4b6faeb2b735f35db840a6ccc49efbe62a3960ad1f346bbb183b6d06eb5ac42c98c2d56c02869fdda
 WHIRLPOOL 
12ef3a7861b2238cd806836a972438c2b60c9f2558aee2a36eb8f6dbea149dc289447697d55b11147c20cee9fde5f1bc7fbd13e86190b82a47d7d2242482774b

diff --git a/net-misc/miniupnpd/files/miniupnpd-1.10_pre20160222-build.patch 
b/net-misc/miniupnpd/files/miniupnpd-1.10_pre20160222-build.patch
new file mode 100644
index 000..3323b1c
--- /dev/null
+++ b/net-misc/miniupnpd/files/miniupnpd-1.10_pre20160222-build.patch
@@ -0,0 +1,125 @@
+diff --git a/Makefile.linux b/Makefile.linux
+index ce6b994..e535c38 100644
+--- a/Makefile.linux
 b/Makefile.linux
+@@ -36,6 +36,7 @@ INSTALL = install
+ STRIP ?= strip
+ PKG_CONFIG ?= pkg-config
+ CP = cp
++LDLIBS_IPV6 :=
+ 
+ 
+ INSTALLPREFIX ?= $(PREFIX)/usr
+@@ -55,90 +56,8 @@ NETFILTEROBJS = netfilter/iptcrdr.o netfilter/iptpinhole.o 
netfilter/nfct_get.o
+ 
+ ALLOBJS = $(BASEOBJS) $(LNXOBJS) $(NETFILTEROBJS)
+ 
+-PCFILE_FOUND := $(shell $(PKG_CONFIG) --exists libiptc; echo $$?)
+-
+-ifeq (${PCFILE_FOUND},0)
+-
+-IPTABLESVERSION := $(shell $(PKG_CONFIG) --modversion libiptc)
+-IPTABLESVERSION1 := $(shell echo $(IPTABLESVERSION) | cut -d. -f1 )
+-IPTABLESVERSION2 := $(shell echo $(IPTABLESVERSION) | cut -d. -f2 )
+-IPTABLESVERSION3 := $(shell echo $(IPTABLESVERSION) | cut -d. -f3 )
+-# test if iptables version >= 1.4.3
+-TEST := $(shell [ \( \( $(IPTABLESVERSION1) -ge 1 \) -a \( 
$(IPTABLESVERSION2) -ge 4 \) \) -a \( $(IPTABLESVERSION3) -ge 3 \) ] && echo 1 )
+-ifeq ($(TEST), 1)
++LDLIBS += -lip4tc $(LDLIBS_IPV6)
+ CPPFLAGS += -DIPTABLES_143
+-endif
+-
+-CFLAGS  += $(shell $(PKG_CONFIG) --cflags libiptc)
+-LDLIBS  += $(shell $(PKG_CONFIG) --static --libs-only-l libiptc)
+-LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L libiptc)
+-LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other libiptc)
+-else
+-
+-ifeq "$(wildcard /etc/gentoo-release )" ""
+-LDLIBS ?= -liptc
+-else # gentoo
+-# the following is better, at least on gentoo with iptables 1.4.6
+-# see http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=1618
+-# and http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=2183
+-LDLIBS ?= -lip4tc
+-CPPFLAGS := -DIPTABLES_143 $(CPPFLAGS)
+-endif
+-
+-ARCH ?= $(shell uname -m | grep -q "x86_64" && echo 64)
+-ifdef IPTABLESPATH
+-CPPFLAGS := $(CPPFLAGS) -I$(IPTABLESPATH)/include/
+-LDFLAGS := $(LDFLAFGS) -L$(IPTABLESPATH)/libiptc/
+-# get iptables version and set IPTABLES_143 macro if needed
+-ifeq ($(TARGET_OPENWRT),)
+-IPTABLESVERSION := $(shell grep "\#define VERSION" $(IPTABLESPATH)/config.h | 
tr -d \" |cut -d" " -f3 )
+-IPTABLESVERSION1 := $(shell echo $(IPTABLESVERSION) | cut -d. -f1 )
+-IPTABLESVERSION2 := $(shell echo $(IPTABLESVERSION) | cut -d. -f2 )
+-IPTABLESVERSION3 := $(shell echo $(IPTABLESVERSION) | cut -d. -f3 )
+-# test if iptables version >= 1.4.3
+-TEST := $(shell [ \( \( $(IPTABLESVERSION1) -ge 1 \) -a \( 
$(IPTABLESVERSION2) -ge 4 \) \) -a \( $(IPTABLESVERSION3) -ge 3 \) ] && echo 1 )
+-ifeq ($(TEST), 1)
+-CPPFLAGS := $(CPPFLAGS) -DIPTABLES_143
+-# the following sucks, but works
+-LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libip4tc.o
+-#LDLIBS = $(IPTABLESPATH)/libiptc/.libs/libiptc.a
+-else # ifeq ($(TEST), 1)
+-LDLIBS = $(IPTABLESPATH)/libiptc/libiptc.a
+-endif # ifeq ($(TEST), 1)
+-else # ($(TARGET_OPENWRT),)
+-# 

[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/

2016-04-12 Thread Patrick McLean
commit: ed79e231f7f1b5e581f8a65704f5a6306ffc6971
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Apr 13 00:31:58 2016 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Apr 13 01:12:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed79e231

net-misc/miniupnpd: Add myself as co-maintainer

Package-Manager: portage-2.2.28

 net-misc/miniupnpd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-misc/miniupnpd/metadata.xml b/net-misc/miniupnpd/metadata.xml
index eaaaddf..d788fe6 100644
--- a/net-misc/miniupnpd/metadata.xml
+++ b/net-misc/miniupnpd/metadata.xml
@@ -5,6 +5,10 @@
gurlige...@gentoo.org
Bjarke Istrup Pedersen

+   
+   chutz...@gentoo.org
+   Patrick McLean
+   

MiniUPnP Internet Gateway Device Deamon, used to allow UPnP 
enabled clients to forward ports.




[gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/, net-misc/miniupnpd/files/

2015-09-14 Thread Bjarke Istrup Pedersen
commit: b505f0a193503005d12b915f5c5d5588109979d4
Author: Bjarke Istrup Pedersen  gentoo  org>
AuthorDate: Mon Sep 14 10:46:04 2015 +
Commit: Bjarke Istrup Pedersen  gentoo  org>
CommitDate: Mon Sep 14 10:46:27 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b505f0a1

net-irc/miniupnpd: Bumping to 1.10_pre20150721

Package-Manager: portage-2.2.20.1

 net-misc/miniupnpd/Manifest   | 2 +-
 net-misc/miniupnpd/files/miniupnpd-1.10-build.patch   | 4 ++--
 ...pnpd-1.10_pre20141209.ebuild => miniupnpd-1.10_pre20150721.ebuild} | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
index 331feec..9915e8c 100644
--- a/net-misc/miniupnpd/Manifest
+++ b/net-misc/miniupnpd/Manifest
@@ -1 +1 @@
-DIST miniupnpd-1.9.20141209.tar.gz 193183 SHA256 
e2bc8040e912574af122cd295012b566b574032e39d76086c5ad1968bbc9aba3 SHA512 
c2cd66a48401c735f6e36909c6d69cf55c13ff559bcd1324e971ec03e062591477499590019d122a483531d95df7255ec1cd552f6a512c581046f61118fbdbd2
 WHIRLPOOL 
7000b2aa67fbdcd869a2bfa1e2f7ac1430cf7cffd926cff37add5c5101c8b97d521ea23b2b0749885f73c6e97ff24cd8076b4eea5388de76f3df27d20b366f06
+DIST miniupnpd-1.9.20150721.tar.gz 207562 SHA256 
9340224e5023ecb5d1b7f45e4d69734dcfbadbe41a80d1f0182347e6b8104470 SHA512 
ed060a19bfb8f285c10d0c86ca54b646d8cad6baf29266bb395fe75ec23de63986a51362281213e9a14cd14225cc19a33cf404a139a55c7b0f72ced78581c660
 WHIRLPOOL 
9050b20f6118c63fe9d1cce8c8710e47e9e491ff28a1df29bf4b7a1e4e57fa537b06ce8ed667c1bc138e63dc23ba95a793980a32586c84a4728aa5977d10c6d4

diff --git a/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch 
b/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch
index cd23507..8b0fefc 100644
--- a/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch
+++ b/net-misc/miniupnpd/files/miniupnpd-1.10-build.patch
@@ -67,8 +67,8 @@
 -endif # ifdef IPTABLESPATH
  endif # ifdef PCFILE_FOUND
  
--LDLIBS += -lnfnetlink
-+LDLIBS += -lip4tc -lnfnetlink
+-#LDLIBS += -lnfnetlink
++LDLIBS += -lip4tc
 +CPPFLAGS += -DIPTABLES_143
  
  TEST := $(shell $(PKG_CONFIG) --atleast-version=1.0.2 libnetfilter_conntrack 
&& $(PKG_CONFIG) --atleast-version=1.0.3 libmnl && echo 1)

diff --git a/net-misc/miniupnpd/miniupnpd-1.10_pre20141209.ebuild 
b/net-misc/miniupnpd/miniupnpd-1.10_pre20150721.ebuild
similarity index 95%
rename from net-misc/miniupnpd/miniupnpd-1.10_pre20141209.ebuild
rename to net-misc/miniupnpd/miniupnpd-1.10_pre20150721.ebuild
index 97e3a7c..52ecfc1 100644
--- a/net-misc/miniupnpd/miniupnpd-1.10_pre20141209.ebuild
+++ b/net-misc/miniupnpd/miniupnpd-1.10_pre20150721.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,7 @@ EAPI="5"
 
 inherit eutils toolchain-funcs
 
-MY_PV=1.9.20141209
+MY_PV=1.9.20150721
 MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="MiniUPnP IGD Daemon"