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