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