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: Sat, 07 Jul 2018 05:31:55
Message-Id: 1530941505.aaaba1c9543a792731cab232a1cbf9125bd4e576.mgorny@gentoo
1 commit: aaaba1c9543a792731cab232a1cbf9125bd4e576
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 7 05:17:34 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 7 05:31:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaaba1c9
7
8 net-misc/miniupnpd: Clean old up
9
10 net-misc/miniupnpd/Manifest | 2 -
11 net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild | 62 ------------------------
12 net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild | 62 ------------------------
13 3 files changed, 126 deletions(-)
14
15 diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
16 index 4e106d645c2..364e949bb86 100644
17 --- a/net-misc/miniupnpd/Manifest
18 +++ b/net-misc/miniupnpd/Manifest
19 @@ -1,4 +1,2 @@
20 -DIST miniupnpd-2.0.20180410.tar.gz 224736 BLAKE2B 76bb4eba8cd3985ff46b1e46543018171a44cee636affb6db75c7b4bfcfa5ef19a678a23467280cf7d199b8fe332cfae6595848c4a2446da2095aecadb82d5f6 SHA512 4a3392b3883e72689e6160941b80533f7254dbaf54407fe2899caef8848d7dbe82ece6079fc39446c162053c1ea1dc10912af0a31d71eb16fbfbec0029dbc645
21 -DIST miniupnpd-2.0.20180422.tar.gz 224942 BLAKE2B 62ec30de6d3551b9f31ed7eb81ceffaf75eeaa91236114f5532218d748e148574fdc195447beecc5cfd6898c2fe28f3e9bf15755979cf34633388194301a51dc SHA512 338ebb03edfd9448a91277c3cc47843a45c1ee9d9e43ba52cd5f897cca8ddc5cbb53dd291056d30a906c68a5dfe0e5eb50169f7ffefab003fcf440de46b83f42
22 DIST miniupnpd-2.0.20180503.tar.gz 225454 BLAKE2B d08c1fe050fce4a6f2348ff17f9d03feae04ca99a1b70fd7cc1734f56374f2be73708c5b495cf1a23ae76bd1f0042a90442793a87adb3ed9d0c49678dd8eb0b8 SHA512 7615f28d8e41bbe5b7343159a526ba33e643d14e2be7c2382461fda36ecfb3420ef2903e0cc9fa92ffe376f8609feb9403a316244eec0459e78a6b5ad96462ee
23 DIST miniupnpd-2.1.20180706.tar.gz 233675 BLAKE2B 641be6dc6a32383a02711139ac56236dc285041f2bda595a909ed5281a5163d1300212892e011f6256c6cf73b877f0e5e2e93efbfb08a77b0ae7d3dde94c28f6 SHA512 90881e08754f9fe3d1ef01da1fe437626d1fef09bea5eab9c1bcf3347e1197038ab87de8c7c454083ba90a86760230a323a6c293307b0fcecefbd5cfb658d227
24
25 diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild b/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild
26 deleted file mode 100644
27 index 9f786c4d43a..00000000000
28 --- a/net-misc/miniupnpd/miniupnpd-2.0.20180410.ebuild
29 +++ /dev/null
30 @@ -1,62 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit toolchain-funcs
37 -
38 -DESCRIPTION="MiniUPnP IGD Daemon"
39 -HOMEPAGE="http://miniupnp.free.fr/"
40 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
41 -
42 -LICENSE="BSD"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~arm ~x86"
45 -IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
46 -
47 -RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
48 - net-libs/libnfnetlink:=
49 - net-libs/libmnl:=
50 - dev-libs/gmp:0=
51 - sys-apps/util-linux
52 - dev-libs/openssl:0="
53 -DEPEND="${RDEPEND}
54 - sys-apps/lsb-release"
55 -
56 -src_prepare() {
57 - default
58 - mv Makefile.linux Makefile || die
59 -}
60 -
61 -src_configure() {
62 - local -a opts
63 - opts=(
64 - --vendorcfg
65 - $(usex igd2 '--igd2' '')
66 - $(usex ipv6 '--ipv6' '')
67 - $(usex leasefile '--leasefile' '')
68 - $(usex portinuse '--portinuse' '')
69 - $(usex pcp-peer '--pcp-peer' '')
70 - $(usex strict '--strict' '')
71 - )
72 -
73 - emake CONFIG_OPTIONS="${opts[*]}" config.h
74 -}
75 -
76 -src_compile() {
77 - # By default, it builds a bunch of unittests that are missing wrapper
78 - # scripts in the tarball
79 - emake CC="$(tc-getCC)" STRIP=true miniupnpd
80 -}
81 -
82 -src_install() {
83 - emake PREFIX="${ED}" STRIP=true install
84 -
85 - newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
86 - newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
87 -}
88 -
89 -pkg_postinst() {
90 - elog "Please correct the external interface in the top of the two"
91 - elog "scripts in /etc/miniupnpd and edit the config file in there too"
92 -}
93
94 diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild b/net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild
95 deleted file mode 100644
96 index 9f786c4d43a..00000000000
97 --- a/net-misc/miniupnpd/miniupnpd-2.0.20180422.ebuild
98 +++ /dev/null
99 @@ -1,62 +0,0 @@
100 -# Copyright 1999-2018 Gentoo Foundation
101 -# Distributed under the terms of the GNU General Public License v2
102 -
103 -EAPI=6
104 -
105 -inherit toolchain-funcs
106 -
107 -DESCRIPTION="MiniUPnP IGD Daemon"
108 -HOMEPAGE="http://miniupnp.free.fr/"
109 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
110 -
111 -LICENSE="BSD"
112 -SLOT="0"
113 -KEYWORDS="~amd64 ~arm ~x86"
114 -IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
115 -
116 -RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
117 - net-libs/libnfnetlink:=
118 - net-libs/libmnl:=
119 - dev-libs/gmp:0=
120 - sys-apps/util-linux
121 - dev-libs/openssl:0="
122 -DEPEND="${RDEPEND}
123 - sys-apps/lsb-release"
124 -
125 -src_prepare() {
126 - default
127 - mv Makefile.linux Makefile || die
128 -}
129 -
130 -src_configure() {
131 - local -a opts
132 - opts=(
133 - --vendorcfg
134 - $(usex igd2 '--igd2' '')
135 - $(usex ipv6 '--ipv6' '')
136 - $(usex leasefile '--leasefile' '')
137 - $(usex portinuse '--portinuse' '')
138 - $(usex pcp-peer '--pcp-peer' '')
139 - $(usex strict '--strict' '')
140 - )
141 -
142 - emake CONFIG_OPTIONS="${opts[*]}" config.h
143 -}
144 -
145 -src_compile() {
146 - # By default, it builds a bunch of unittests that are missing wrapper
147 - # scripts in the tarball
148 - emake CC="$(tc-getCC)" STRIP=true miniupnpd
149 -}
150 -
151 -src_install() {
152 - emake PREFIX="${ED}" STRIP=true install
153 -
154 - newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
155 - newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
156 -}
157 -
158 -pkg_postinst() {
159 - elog "Please correct the external interface in the top of the two"
160 - elog "scripts in /etc/miniupnpd and edit the config file in there too"
161 -}