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: Wed, 10 Apr 2019 15:07:43
Message-Id: 1554908844.ecea21a64f3a73c4df8737cd7bdc4f62eb5fa340.mgorny@gentoo
1 commit: ecea21a64f3a73c4df8737cd7bdc4f62eb5fa340
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 10 14:33:44 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 10 15:07:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecea21a6
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.20190210.ebuild | 65 ------------------------
14 net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild | 65 ------------------------
15 3 files changed, 132 deletions(-)
16
17 diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest
18 index 99f5a49eb1d..c66ad667a8e 100644
19 --- a/net-misc/miniupnpd/Manifest
20 +++ b/net-misc/miniupnpd/Manifest
21 @@ -1,3 +1 @@
22 -DIST miniupnpd-2.1.20190210.tar.gz 235093 BLAKE2B d86b4a73ebfe6b5f3665b92624e7eac36718fffea058c0e7d2cb4af2c0871534c7f7ec56ade6c3cb2e13215a77971173259f912efd61a37e41d0f2f0a4596e5c SHA512 d664d5f61a0e2e71086aa520cb91af9f7f9b8b34268a76d570bbca271d86eab4976655a1fec1d21be80a93e357a0cb185281037604a0cfc00e4944d8e8b6f664
23 -DIST miniupnpd-2.1.20190403.tar.gz 235909 BLAKE2B 121aa74d1337dbdaec280edd13a688c42c7af49e1f6d44cac94701e878fe554adb8b878ac2c075391124cee14b5c01d57987024fadf95e4508ed3b3047bad543 SHA512 63fbd09d769c7a8ffba92cd5724bc04e4553085b95405daa905ac77f95d2fbcf1852fd8ff7171e2fe39aac7ac76ebae87142fe5dc2e57932c89d8d98d472034b
24 DIST miniupnpd-2.1.20190408.tar.gz 235989 BLAKE2B cdfb4fe23a136d9a3e0cc91c174fc4f0ee0a3e136305a2ea6d21c358287f67d34009b37ba8870bef86e53d056e441b45e19a89939e72485051245b5d40b384ff SHA512 f812660c1f626f1fdbcaabd6636125cc18f1306bb4a3a29dae45c06017c97c681e3e056d602fe5444962ecc1aec4d39d9c203621bb11a3aa1f57cda6dc4f19de
25
26 diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild b/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
27 deleted file mode 100644
28 index 673b340fb09..00000000000
29 --- a/net-misc/miniupnpd/miniupnpd-2.1.20190210.ebuild
30 +++ /dev/null
31 @@ -1,65 +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 pcp-peer portinuse strict"
47 -
48 -RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
49 - net-libs/libnfnetlink:=
50 - net-libs/libmnl:=
51 - dev-libs/gmp:0=
52 - sys-apps/util-linux:=
53 - dev-libs/openssl:0="
54 -DEPEND="${RDEPEND}
55 - sys-apps/lsb-release"
56 -
57 -src_prepare() {
58 - default
59 - mv Makefile.linux Makefile || die
60 -
61 - # Prevent gzipping manpage.
62 - sed -i -e '/gzip/d' Makefile || die
63 -}
64 -
65 -src_configure() {
66 - local -a opts
67 - opts=(
68 - --vendorcfg
69 - $(usex igd2 '--igd2' '')
70 - $(usex ipv6 '--ipv6' '')
71 - $(usex leasefile '--leasefile' '')
72 - $(usex portinuse '--portinuse' '')
73 - $(usex pcp-peer '--pcp-peer' '')
74 - $(usex strict '--strict' '')
75 - )
76 -
77 - emake CONFIG_OPTIONS="${opts[*]}" config.h
78 -}
79 -
80 -src_compile() {
81 - # By default, it builds a bunch of unittests that are missing wrapper
82 - # scripts in the tarball
83 - emake CC="$(tc-getCC)" STRIP=true miniupnpd
84 -}
85 -
86 -src_install() {
87 - emake PREFIX="${ED}" STRIP=true install
88 -
89 - newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
90 - newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
91 -}
92 -
93 -pkg_postinst() {
94 - elog "Please correct the external interface in the top of the two"
95 - elog "scripts in /etc/miniupnpd and edit the config file in there too"
96 -}
97
98 diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild b/net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild
99 deleted file mode 100644
100 index 673b340fb09..00000000000
101 --- a/net-misc/miniupnpd/miniupnpd-2.1.20190403.ebuild
102 +++ /dev/null
103 @@ -1,65 +0,0 @@
104 -# Copyright 1999-2019 Gentoo Authors
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI=7
108 -
109 -inherit toolchain-funcs
110 -
111 -DESCRIPTION="MiniUPnP IGD Daemon"
112 -HOMEPAGE="http://miniupnp.free.fr/"
113 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
114 -
115 -LICENSE="BSD"
116 -SLOT="0"
117 -KEYWORDS="~amd64 ~arm ~x86"
118 -IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict"
119 -
120 -RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?]
121 - net-libs/libnfnetlink:=
122 - net-libs/libmnl:=
123 - dev-libs/gmp:0=
124 - sys-apps/util-linux:=
125 - dev-libs/openssl:0="
126 -DEPEND="${RDEPEND}
127 - sys-apps/lsb-release"
128 -
129 -src_prepare() {
130 - default
131 - mv Makefile.linux Makefile || die
132 -
133 - # Prevent gzipping manpage.
134 - sed -i -e '/gzip/d' Makefile || die
135 -}
136 -
137 -src_configure() {
138 - local -a opts
139 - opts=(
140 - --vendorcfg
141 - $(usex igd2 '--igd2' '')
142 - $(usex ipv6 '--ipv6' '')
143 - $(usex leasefile '--leasefile' '')
144 - $(usex portinuse '--portinuse' '')
145 - $(usex pcp-peer '--pcp-peer' '')
146 - $(usex strict '--strict' '')
147 - )
148 -
149 - emake CONFIG_OPTIONS="${opts[*]}" config.h
150 -}
151 -
152 -src_compile() {
153 - # By default, it builds a bunch of unittests that are missing wrapper
154 - # scripts in the tarball
155 - emake CC="$(tc-getCC)" STRIP=true miniupnpd
156 -}
157 -
158 -src_install() {
159 - emake PREFIX="${ED}" STRIP=true install
160 -
161 - newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN}
162 - newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN}
163 -}
164 -
165 -pkg_postinst() {
166 - elog "Please correct the external interface in the top of the two"
167 - elog "scripts in /etc/miniupnpd and edit the config file in there too"
168 -}