1 |
commit: 59f6a8c57141c5eaf329fdb661687dc1e378310f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 24 21:43:26 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 24 21:43:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f6a8c5 |
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 | 1 - |
13 |
net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild | 65 ------------------------ |
14 |
2 files changed, 66 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest |
17 |
index 906d0cee55b..7b4daa41d1c 100644 |
18 |
--- a/net-misc/miniupnpd/Manifest |
19 |
+++ b/net-misc/miniupnpd/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST miniupnpd-2.1.20190408.tar.gz 235989 BLAKE2B cdfb4fe23a136d9a3e0cc91c174fc4f0ee0a3e136305a2ea6d21c358287f67d34009b37ba8870bef86e53d056e441b45e19a89939e72485051245b5d40b384ff SHA512 f812660c1f626f1fdbcaabd6636125cc18f1306bb4a3a29dae45c06017c97c681e3e056d602fe5444962ecc1aec4d39d9c203621bb11a3aa1f57cda6dc4f19de |
22 |
DIST miniupnpd-2.1.20190502.tar.gz 236052 BLAKE2B 9f2f81769d72fad2191969e0e80b4d2e70619d5674fe6b4ef9f4306e09ac4737577a2146bc04ec9960df092252abe3c9a57e32d5d893a763b85863d1c4892045 SHA512 6423cef89b5af62b6b6a120a3cd13a0e7755d609b33de8f1671f7f9160fb1b5e68b0ebd3f8b7b5758cf05a1c58b416cde253e37bc5ba0bb423c14b5fb44599f1 |
23 |
|
24 |
diff --git a/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild b/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild |
25 |
deleted file mode 100644 |
26 |
index 673b340fb09..00000000000 |
27 |
--- a/net-misc/miniupnpd/miniupnpd-2.1.20190408.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,65 +0,0 @@ |
30 |
-# Copyright 1999-2019 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-inherit toolchain-funcs |
36 |
- |
37 |
-DESCRIPTION="MiniUPnP IGD Daemon" |
38 |
-HOMEPAGE="http://miniupnp.free.fr/" |
39 |
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" |
40 |
- |
41 |
-LICENSE="BSD" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~amd64 ~arm ~x86" |
44 |
-IUSE="+leasefile igd2 ipv6 pcp-peer portinuse strict" |
45 |
- |
46 |
-RDEPEND=">=net-firewall/iptables-1.4.6:0=[ipv6?] |
47 |
- net-libs/libnfnetlink:= |
48 |
- net-libs/libmnl:= |
49 |
- dev-libs/gmp:0= |
50 |
- sys-apps/util-linux:= |
51 |
- dev-libs/openssl:0=" |
52 |
-DEPEND="${RDEPEND} |
53 |
- sys-apps/lsb-release" |
54 |
- |
55 |
-src_prepare() { |
56 |
- default |
57 |
- mv Makefile.linux Makefile || die |
58 |
- |
59 |
- # Prevent gzipping manpage. |
60 |
- sed -i -e '/gzip/d' Makefile || die |
61 |
-} |
62 |
- |
63 |
-src_configure() { |
64 |
- local -a opts |
65 |
- opts=( |
66 |
- --vendorcfg |
67 |
- $(usex igd2 '--igd2' '') |
68 |
- $(usex ipv6 '--ipv6' '') |
69 |
- $(usex leasefile '--leasefile' '') |
70 |
- $(usex portinuse '--portinuse' '') |
71 |
- $(usex pcp-peer '--pcp-peer' '') |
72 |
- $(usex strict '--strict' '') |
73 |
- ) |
74 |
- |
75 |
- emake CONFIG_OPTIONS="${opts[*]}" config.h |
76 |
-} |
77 |
- |
78 |
-src_compile() { |
79 |
- # By default, it builds a bunch of unittests that are missing wrapper |
80 |
- # scripts in the tarball |
81 |
- emake CC="$(tc-getCC)" STRIP=true miniupnpd |
82 |
-} |
83 |
- |
84 |
-src_install() { |
85 |
- emake PREFIX="${ED}" STRIP=true install |
86 |
- |
87 |
- newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN} |
88 |
- newconfd "${FILESDIR}"/${PN}-conf.d-r1 ${PN} |
89 |
-} |
90 |
- |
91 |
-pkg_postinst() { |
92 |
- elog "Please correct the external interface in the top of the two" |
93 |
- elog "scripts in /etc/miniupnpd and edit the config file in there too" |
94 |
-} |