Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/miniupnpd/
Date: Sun, 22 Aug 2021 08:01:49
Message-Id: 1629619298.9125c6c7d3aa5ede8e5fa3ebc2d22ae4d30b8685.mgorny@gentoo
1 commit: 9125c6c7d3aa5ede8e5fa3ebc2d22ae4d30b8685
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 07:14:15 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 08:01:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9125c6c7
7
8 net-misc/miniupnpd: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-misc/miniupnpd/Manifest | 4 --
13 net-misc/miniupnpd/miniupnpd-2.2.0.ebuild | 86 -------------------------------
14 net-misc/miniupnpd/miniupnpd-2.2.1.ebuild | 86 -------------------------------
15 3 files changed, 176 deletions(-)
16
17 diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
18 index c6ce7f5720a..cc070f82277 100644
19 --- a/net-misc/miniupnpd/Manifest
20 +++ b/net-misc/miniupnpd/Manifest
21 @@ -1,6 +1,2 @@
22 -DIST miniupnpd-2.2.0.tar.gz 249858 BLAKE2B ef216c7703cb9806a3719b247d67c5c844879308eafbef0936fc501305dbdada7b32e6fc212e50ee093c6f5728709da3d2d5114e89de52a124c229c63ee03563 SHA512 ac8bc3c140f369d0f92d203b94a4f73dde682a486c4395cd25aafda3461577b4a2a1d3160cf8bd37fa8520cda4f86cbdaec925b2ef4e9054e7bf10e04a227d3c
23 -DIST miniupnpd-2.2.0.tar.gz.sig 543 BLAKE2B 11778dd70128ece1f80144bb229176c53f3cd89847a8eedd4fe1b75ac55d986ae7c4689edf40f80c4605ba42260bc41f8fd069e99b8c249226ab9e2981d15412 SHA512 5e0e053a2a3ab876da001589677b0f5e3a4df8511ea5185dbbaee9b80928f9cb9705029f1c83bd9d26b144e39721fce1c4c8c33983956b6731ae654bc094063c
24 -DIST miniupnpd-2.2.1.tar.gz 250023 BLAKE2B 67418a8480f7d3ac3d51a9c18fdcce4a85c33ff6c373051e1f9df121b00d936f02038ed0a5a5a848b7b2c145aa08dc1e2b954b211cc79fae1de09075f55a9f21 SHA512 211b608472a72065d892e9197f8bdd8c82e44296bb692244ec5e83ca9b076cbcc3426c806ff27d5e805505b1c82b1a7afd7b4030ddecdb60aa85c37062c10c8a
25 -DIST miniupnpd-2.2.1.tar.gz.sig 543 BLAKE2B fac8c2fd5c50e3201c5fc490d91aed5752bf70297bed101cb3d5ec53d891fdc8f893b3d83e0cf064eb9e9bf16ae9504a849187e18eabc8ed12055574d1e551f5 SHA512 da5b52b1c62bf433a165acf87a64195e27c71c98dfa086cfde19f7b1c4046a62926cca5eb2d10f4260eb1b97c428ba08b4b7fcbf280c2a7009c86279a7563e0f
26 DIST miniupnpd-2.2.2.tar.gz 250649 BLAKE2B d561916ced9b5c58371382fe0bec68cd0771d1dc3b2c7fa7e3701cb2579db69697fbdcd724bea2350abd46381eda1fd257dede6df99f99fa54e423db4ee52717 SHA512 3cc11ad901e93a9879fe07e35a20f8977df466bb402e0270e46d1dbd0b5dc3b5dc22303467d5022103952d7dd789ac590c17d0fa81fc7ec42676b66223d37ee4
27 DIST miniupnpd-2.2.2.tar.gz.sig 543 BLAKE2B 461a9149c66b0e314a767405024fc7bfb641a20ae36b908dc467c9211660d5cb0753fb3c99fa9d6df35d693a2f6790efb6a325f0005804572eaa78a02b23a482 SHA512 8ffc9901cd992cbd9d0fa4c5e510fe43f748ab4a7c4732cc8f2f685f19b71a3f087a63a39e1dbf081175ac65de34b5c05dc3ef636a805e550a0406119a5904ef
28
29 diff --git a/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild b/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild
30 deleted file mode 100644
31 index 1c2981def4c..00000000000
32 --- a/net-misc/miniupnpd/miniupnpd-2.2.0.ebuild
33 +++ /dev/null
34 @@ -1,86 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -inherit toolchain-funcs verify-sig
41 -
42 -MY_P=${P/_rc/-RC}
43 -DESCRIPTION="MiniUPnP IGD Daemon"
44 -HOMEPAGE="http://miniupnp.free.fr/"
45 -SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz
46 - verify-sig? ( http://miniupnp.free.fr/files/${MY_P}.tar.gz.sig )"
47 -S=${WORKDIR}/${MY_P}
48 -
49 -LICENSE="BSD"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~arm ~x86"
52 -IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict"
53 -
54 -RDEPEND="
55 - dev-libs/gmp:0=
56 - sys-apps/util-linux:=
57 - dev-libs/openssl:0=
58 - !nftables? (
59 - >=net-firewall/iptables-1.4.6:0=[ipv6?]
60 - net-libs/libnfnetlink:=
61 - net-libs/libmnl:=
62 - )
63 - nftables? (
64 - net-firewall/nftables
65 - net-libs/libnftnl:=
66 - net-libs/libmnl:=
67 - )"
68 -DEPEND="${RDEPEND}"
69 -BDEPEND="
70 - sys-apps/lsb-release
71 - verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
72 -
73 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
74 -
75 -src_configure() {
76 - local opts=(
77 - --vendorcfg
78 - $(usex igd2 '--igd2' '')
79 - $(usex ipv6 '--ipv6' '')
80 - $(usex leasefile '--leasefile' '')
81 - $(usex portinuse '--portinuse' '')
82 - $(usex pcp-peer '--pcp-peer' '')
83 - $(usex strict '--strict' '')
84 - --firewall=$(usex nftables nftables iptables)
85 - )
86 -
87 - # custom script
88 - ./configure "${opts[@]}" || die
89 - # prevent gzipping manpage
90 - sed -i -e '/gzip/d' Makefile || die
91 -}
92 -
93 -src_compile() {
94 - # By default, it builds a bunch of unittests that are missing wrapper
95 - # scripts in the tarball
96 - emake CC="$(tc-getCC)" STRIP=true miniupnpd
97 -}
98 -
99 -src_install() {
100 - emake PREFIX="${ED}" STRIP=true install
101 -
102 - local confd_seds=()
103 - if use nftables; then
104 - confd_seds+=( -e 's/^iptables_scripts=/#&/' )
105 - else
106 - confd_seds+=( -e 's/^nftables_scripts=/#&/' )
107 - fi
108 - if ! use ipv6 || use nftables; then
109 - confd_seds+=( -e 's/^ip6tables_scripts=/#&/' )
110 - fi
111 -
112 - newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN}
113 - newconfd - ${PN} < <(sed "${confd_seds[@]}" \
114 - "${FILESDIR}"/${PN}-conf.d-r2 || die)
115 -}
116 -
117 -pkg_postinst() {
118 - elog "Please correct the external interface in the top of the two"
119 - elog "scripts in /etc/miniupnpd and edit the config file in there too"
120 -}
121
122 diff --git a/net-misc/miniupnpd/miniupnpd-2.2.1.ebuild b/net-misc/miniupnpd/miniupnpd-2.2.1.ebuild
123 deleted file mode 100644
124 index 1c2981def4c..00000000000
125 --- a/net-misc/miniupnpd/miniupnpd-2.2.1.ebuild
126 +++ /dev/null
127 @@ -1,86 +0,0 @@
128 -# Copyright 1999-2020 Gentoo Authors
129 -# Distributed under the terms of the GNU General Public License v2
130 -
131 -EAPI=7
132 -
133 -inherit toolchain-funcs verify-sig
134 -
135 -MY_P=${P/_rc/-RC}
136 -DESCRIPTION="MiniUPnP IGD Daemon"
137 -HOMEPAGE="http://miniupnp.free.fr/"
138 -SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz
139 - verify-sig? ( http://miniupnp.free.fr/files/${MY_P}.tar.gz.sig )"
140 -S=${WORKDIR}/${MY_P}
141 -
142 -LICENSE="BSD"
143 -SLOT="0"
144 -KEYWORDS="~amd64 ~arm ~x86"
145 -IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict"
146 -
147 -RDEPEND="
148 - dev-libs/gmp:0=
149 - sys-apps/util-linux:=
150 - dev-libs/openssl:0=
151 - !nftables? (
152 - >=net-firewall/iptables-1.4.6:0=[ipv6?]
153 - net-libs/libnfnetlink:=
154 - net-libs/libmnl:=
155 - )
156 - nftables? (
157 - net-firewall/nftables
158 - net-libs/libnftnl:=
159 - net-libs/libmnl:=
160 - )"
161 -DEPEND="${RDEPEND}"
162 -BDEPEND="
163 - sys-apps/lsb-release
164 - verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
165 -
166 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
167 -
168 -src_configure() {
169 - local opts=(
170 - --vendorcfg
171 - $(usex igd2 '--igd2' '')
172 - $(usex ipv6 '--ipv6' '')
173 - $(usex leasefile '--leasefile' '')
174 - $(usex portinuse '--portinuse' '')
175 - $(usex pcp-peer '--pcp-peer' '')
176 - $(usex strict '--strict' '')
177 - --firewall=$(usex nftables nftables iptables)
178 - )
179 -
180 - # custom script
181 - ./configure "${opts[@]}" || die
182 - # prevent gzipping manpage
183 - sed -i -e '/gzip/d' Makefile || die
184 -}
185 -
186 -src_compile() {
187 - # By default, it builds a bunch of unittests that are missing wrapper
188 - # scripts in the tarball
189 - emake CC="$(tc-getCC)" STRIP=true miniupnpd
190 -}
191 -
192 -src_install() {
193 - emake PREFIX="${ED}" STRIP=true install
194 -
195 - local confd_seds=()
196 - if use nftables; then
197 - confd_seds+=( -e 's/^iptables_scripts=/#&/' )
198 - else
199 - confd_seds+=( -e 's/^nftables_scripts=/#&/' )
200 - fi
201 - if ! use ipv6 || use nftables; then
202 - confd_seds+=( -e 's/^ip6tables_scripts=/#&/' )
203 - fi
204 -
205 - newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN}
206 - newconfd - ${PN} < <(sed "${confd_seds[@]}" \
207 - "${FILESDIR}"/${PN}-conf.d-r2 || die)
208 -}
209 -
210 -pkg_postinst() {
211 - elog "Please correct the external interface in the top of the two"
212 - elog "scripts in /etc/miniupnpd and edit the config file in there too"
213 -}