1 |
commit: 3bd3330fc83b5d72f5cffe1e8d9639f1821dc4d8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 22:09:57 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 2 06:18:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bd3330f |
7 |
|
8 |
net-misc/miniupnpd: Clean old up |
9 |
|
10 |
net-misc/miniupnpd/Manifest | 1 - |
11 |
net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild | 62 ------------------------ |
12 |
2 files changed, 63 deletions(-) |
13 |
|
14 |
diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest |
15 |
index affa5b2c967..61f1ab2d750 100644 |
16 |
--- a/net-misc/miniupnpd/Manifest |
17 |
+++ b/net-misc/miniupnpd/Manifest |
18 |
@@ -1,2 +1 @@ |
19 |
-DIST miniupnpd-2.0.20161216.tar.gz 218119 BLAKE2B 9d09f4d2b19c4f808bf527c90a73739baa0eac924f461f6cbbf20866ee851f85248efa920bd6a770173d4a3a8f9e8d771ffacdb17aa684d329295502278f7963 SHA512 af82f060d28033dd670fcc96c8e2895f92d249a8a79d991e0215159eeb57715d7a9152d7d751b836091f7a623ce8a194ea243d1a2fb639349e320c02ce187c27 |
20 |
DIST miniupnpd-2.0.20171212.tar.gz 222617 BLAKE2B 6ac33048b18d9f8aeb5103f57c9982fec956a61155f8592118c38dea70801597d9e867690ef2f1cdfaf848a25d7ddb4891b3ebf37cd391b33518d6b02e6f9b4a SHA512 3ab81c840953736c662bcb6f074421052a846c7827768acd7a961a23906b9e3d3389f5b593fb6f8011c8e717dae6cd3907b6d34e7904d560378671a7fc1dd3b2 |
21 |
|
22 |
diff --git a/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild b/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild |
23 |
deleted file mode 100644 |
24 |
index cbdc231611f..00000000000 |
25 |
--- a/net-misc/miniupnpd/miniupnpd-2.0.20161216.ebuild |
26 |
+++ /dev/null |
27 |
@@ -1,62 +0,0 @@ |
28 |
-# Copyright 1999-2017 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 |
- $(use igd2 && printf -- '--igd2\n') |
63 |
- $(use ipv6 && printf -- '--ipv6\n') |
64 |
- $(use leasefile && printf -- '--leasefile\n') |
65 |
- $(use portinuse && printf -- '--portinuse\n') |
66 |
- $(use pcp-peer && printf -- '--pcp-peer\n') |
67 |
- $(use strict && printf -- '--strict\n') |
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 |
-} |