1 |
commit: ce9d182975d397f1761ffc867e56f4a0c334f037 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 5 08:13:25 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 5 12:19:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce9d1829 |
7 |
|
8 |
net-libs/miniupnpc: Bump to 2.0.20171102 |
9 |
|
10 |
net-libs/miniupnpc/Manifest | 1 + |
11 |
net-libs/miniupnpc/miniupnpc-2.0.20171102.ebuild | 54 ++++++++++++++++++++++++ |
12 |
2 files changed, 55 insertions(+) |
13 |
|
14 |
diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest |
15 |
index fb97ff414a4..b4a2b1139ec 100644 |
16 |
--- a/net-libs/miniupnpc/Manifest |
17 |
+++ b/net-libs/miniupnpc/Manifest |
18 |
@@ -2,3 +2,4 @@ DIST miniupnpc-1.8.tar.gz 70624 SHA256 bc5f73c7b0056252c1888a80e6075787a1e1e9112 |
19 |
DIST miniupnpc-1.9.20151008.tar.gz 83538 SHA256 e444ac3b587ce82709c4d0cfca1fe71f44f9fc433e9f946b12b9e1bfe667a633 SHA512 b13e6044184f47d0f9e78c4c97d2887ab763121b2b21c86652bf3ea1b05335cfbcfd91eecb8d1dcfb5530f2528e6cf3e9c49c742d5e771dba68a774d2c2ad4ca WHIRLPOOL 839b531eb6cae7ada0bbaa0c4230a1f6889f6a288a114262bf6e27aa27638800636127fea3066427fb030e8f449794681d2bffeb8e2d30876d8ef9e4a3ade3cc |
20 |
DIST miniupnpc-2.0.20161216.tar.gz 85780 SHA256 01e14408d6fc628de9afabc4417b84adeaba4c0ec517e7b8e278cb2993dafd3e SHA512 ed1413fa6cd8eeb0d01e595e5470b255b1119a9bcf28da17765a4a3f0eb2b514409a9bfe9cd041274761b61441389c290754055ff07d599bb653a4efe47e920f WHIRLPOOL fde2dc16f5cfd6e7d066ec49646ac79b6d262988afe928d80aaf47f6b7f868a272ac46d3136c56ed8373e800d1538fe4dd6c34255080e2bd01cc0cb8b56e37fc |
21 |
DIST miniupnpc-2.0.20170509.tar.gz 86055 SHA256 d3c368627f5cdfb66d3ebd64ca39ba54d6ff14a61966dbecb8dd296b7039f16a SHA512 71ec052ef6c8ad0d529e467ddae6eae19a93b9816174eeac753aa90e036cc2f00cf7e8d1cdb188ef8280849a988fe2995e37b63f8e2a361e021c1d1b306bff6f WHIRLPOOL 86c1a7a1d8800dbc0d1eccad66a5cb61a59af38989ca79c3b8df926ed12d9c7760d0b5d0e59d5d3190b45c7801a76c3e209f156836277992131c587b97c1a48c |
22 |
+DIST miniupnpc-2.0.20171102.tar.gz 86363 SHA256 148517020581260c8a2fa532224870bc53e59004777affcaf27ef636a72825d4 SHA512 5af68a58bef587ea5cc405155b1aca4438de3b56d5fb7e11945edd79e5cbdbf44c708b7f1ad3c3fde6bf4710de69782acf30cfcce327c5a906f4eb8f76a6ba37 WHIRLPOOL 80a9d0e487ddb2ac69af8e738144e74985c5b5acf8c4b7736121e58dbd04eaa38d90853e375334d7f05011b6134536e776757737f549410a6291941b0e47bf1e |
23 |
|
24 |
diff --git a/net-libs/miniupnpc/miniupnpc-2.0.20171102.ebuild b/net-libs/miniupnpc/miniupnpc-2.0.20171102.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..918bc210cea |
27 |
--- /dev/null |
28 |
+++ b/net-libs/miniupnpc/miniupnpc-2.0.20171102.ebuild |
29 |
@@ -0,0 +1,54 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="UPnP client library and a simple UPnP client" |
38 |
+HOMEPAGE="http://miniupnp.free.fr/" |
39 |
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="BSD" |
42 |
+SLOT="0/16" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
44 |
+IUSE="ipv6 kernel_linux static-libs" |
45 |
+ |
46 |
+RDEPEND="" |
47 |
+DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ eapply_user |
51 |
+ |
52 |
+ # These bins are not installed, upnpc-static requires building static lib |
53 |
+ sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die |
54 |
+ |
55 |
+ if ! use static-libs; then |
56 |
+ sed -i \ |
57 |
+ -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ |
58 |
+ -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \ |
59 |
+ Makefile || die |
60 |
+ fi |
61 |
+} |
62 |
+ |
63 |
+# Upstream cmake causes more trouble than it fixes, |
64 |
+# so we'll just stay with the Makefile for now. |
65 |
+ |
66 |
+src_compile() { |
67 |
+ tc-export CC AR |
68 |
+ emake upnpc-shared $(usex static-libs upnpc-static '') |
69 |
+} |
70 |
+ |
71 |
+src_test() { |
72 |
+ emake -j1 HAVE_IPV6=$(usex ipv6) check |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ emake \ |
77 |
+ DESTDIR="${D}" \ |
78 |
+ PREFIX="${EPREFIX}/usr" \ |
79 |
+ INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ |
80 |
+ install |
81 |
+ |
82 |
+ dodoc README Changelog.txt |
83 |
+} |