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