1 |
commit: 17a97b4190dcdccfdddc49400c07f6caaca6f2ed |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 1 16:37:34 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 1 16:37:34 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a97b41 |
7 |
|
8 |
net-libs/miniupnpc: Version bump, with breaking API change |
9 |
|
10 |
The new version changes the SOVERSION to 14, and introduces additional |
11 |
parameters in discovery functions which makes it API-incompatible with |
12 |
all reverse dependencies. It also carries a few bug fixes, including |
13 |
renaming declspec.h file that collided with net-libs/libnatpmp. |
14 |
|
15 |
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=548148 |
16 |
|
17 |
Package-Manager: portage-2.2.20 |
18 |
|
19 |
net-libs/miniupnpc/Manifest | 1 + |
20 |
net-libs/miniupnpc/miniupnpc-1.9.20150917.ebuild | 54 ++++++++++++++++++++++++ |
21 |
2 files changed, 55 insertions(+) |
22 |
|
23 |
diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest |
24 |
index 31c0e45..8ed2405 100644 |
25 |
--- a/net-libs/miniupnpc/Manifest |
26 |
+++ b/net-libs/miniupnpc/Manifest |
27 |
@@ -3,3 +3,4 @@ DIST miniupnpc-1.6.tar.gz 66454 SHA256 bbd6b756e6af44b5a5b0f9b93eada3fb8922ed1d6 |
28 |
DIST miniupnpc-1.7.tar.gz 68327 SHA256 16dd2456be9b4bf290667c00eeb38c77ad47eb2107569b2dadcfcee8c9af6337 SHA512 ad2a689e91da068f2e291336cced9933963c2adc619b5e82dbb684e496d3683adba6a4634dd17265bf8dcc9d8f6c783b66aee1803ce63383997c27de3c16b194 WHIRLPOOL e9c7eed931fa1247ecfa8d9064d6890f6acca7ff41d79ec32716568f78317d972e14ecdee005a61e2a01914c984d0e18c63607ef9e79fef5a3974a8ca7586909 |
29 |
DIST miniupnpc-1.8.tar.gz 70624 SHA256 bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c SHA512 8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 WHIRLPOOL 5b76ccbb5ed7daa9bb0d481b424b7c31a5f6dc85c5c812ba10175a29aefc0d3924f3db2aa8c3529d1241be59d67d1d4c702d27aad2de8c8a07fecf3857d73169 |
30 |
DIST miniupnpc-1.9.20150427.tar.gz 78424 SHA256 b3207ddc0b0001887d6a29260e8d609d0ad2c35bec99a2358281bb8951919837 SHA512 463758b3c104cdc768d99e044acdf607d457eaaefec12fc20e0086de523b9c61ed6354dd2269052ae367b22957158fd813440dce4f51a8d60f8d251d2c85f336 WHIRLPOOL e6f635d1dd5e728a75e9852e0f2e0e6b8c3dfb200d479133fd183e8741628d7c0dd016ffacc7d0d2bfb13798cd7d2e57b26b48a36e1555c721b4c58038c1c5ee |
31 |
+DIST miniupnpc-1.9.20150917.tar.gz 82609 SHA256 3087c32929c1e9db4947d6a184694e06ec604bca29449b75daec295a5d8f11da SHA512 1fe2613d19cbd16b6f6e9c8205e984548fb96d032a71a849f9b25486dc71b07ee270d2bfc324f218abe80c45f0b13b6af00e59cbf3a9e35b83ea5073bb897f65 WHIRLPOOL 60d0e9c94ddf8ef19106217158d01cc2f3edb854f34326c80c6ae694b65b80f1bc6810cc2b24a7b8525ef7c3982324c9859bdbdcb2e2e944747c371ba2015a6a |
32 |
|
33 |
diff --git a/net-libs/miniupnpc/miniupnpc-1.9.20150917.ebuild b/net-libs/miniupnpc/miniupnpc-1.9.20150917.ebuild |
34 |
new file mode 100644 |
35 |
index 0000000..5aa860c |
36 |
--- /dev/null |
37 |
+++ b/net-libs/miniupnpc/miniupnpc-1.9.20150917.ebuild |
38 |
@@ -0,0 +1,54 @@ |
39 |
+# Copyright 1999-2015 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+# $Id$ |
42 |
+ |
43 |
+EAPI=5 |
44 |
+ |
45 |
+inherit eutils multilib toolchain-funcs |
46 |
+ |
47 |
+DESCRIPTION="UPnP client library and a simple UPnP client" |
48 |
+HOMEPAGE="http://miniupnp.free.fr/" |
49 |
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="BSD" |
52 |
+SLOT="0/14" |
53 |
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
54 |
+IUSE="ipv6 kernel_linux static-libs" |
55 |
+ |
56 |
+RDEPEND="" |
57 |
+DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ epatch_user |
61 |
+ |
62 |
+ # These bins are not installed, upnpc-static requires building static lib |
63 |
+ sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die |
64 |
+ |
65 |
+ if ! use static-libs; then |
66 |
+ sed -i \ |
67 |
+ -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ |
68 |
+ -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \ |
69 |
+ Makefile || die |
70 |
+ fi |
71 |
+} |
72 |
+ |
73 |
+# Upstream cmake causes more trouble than it fixes, |
74 |
+# so we'll just stay with the Makefile for now. |
75 |
+ |
76 |
+src_compile() { |
77 |
+ tc-export CC AR |
78 |
+ emake upnpc-shared $(use static-libs && echo upnpc-static) |
79 |
+} |
80 |
+ |
81 |
+src_test() { |
82 |
+ emake -j1 HAVE_IPV6=$(usex ipv6 yes no) check |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ emake \ |
87 |
+ PREFIX="${D}" \ |
88 |
+ INSTALLDIRLIB="${D}usr/$(get_libdir)" \ |
89 |
+ install |
90 |
+ |
91 |
+ dodoc README Changelog.txt |
92 |
+} |