Gentoo Archives: gentoo-commits

From: Ian Whyman <thev00d00@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/
Date: Thu, 25 May 2017 17:15:09
Message-Id: 1495732503.6d815a82e3868fe52c56b8cb15b32ee79bd74aec.thev00d00@gentoo
1 commit: 6d815a82e3868fe52c56b8cb15b32ee79bd74aec
2 Author: Ian Whyman <thev00d00 <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 25 17:14:38 2017 +0000
4 Commit: Ian Whyman <thev00d00 <AT> gentoo <DOT> org>
5 CommitDate: Thu May 25 17:15:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d815a82
7
8 net-libs/libupnp: Version bump to 1.8.1
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 net-libs/libupnp/Manifest | 1 +
13 net-libs/libupnp/libupnp-1.8.1.ebuild | 47 +++++++++++++++++++++++++++++++++++
14 net-libs/libupnp/metadata.xml | 3 +++
15 3 files changed, 51 insertions(+)
16
17 diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest
18 index 0a49354fa3c..ac896552ba3 100644
19 --- a/net-libs/libupnp/Manifest
20 +++ b/net-libs/libupnp/Manifest
21 @@ -1,2 +1,3 @@
22 DIST libupnp-1.6.21.tar.bz2 1245353 SHA256 af3f3c0846a1d75baeadae4aa5a2bda427567e2a1fb4559bf73ccff0a4f9a39b SHA512 65a2989497b941dfa1f7ac09fe44267de4a5231af25a304f0f6e754c7cbb578bdcb3c500188b5ebfbff9f579099db7501817d45e1724ef8e384d6d918bcdcdeb WHIRLPOOL b4869189054ac00d57394e0919ad2f672af64f2c2b0ecc676c2b3fc4a3c22caa25ac38b57bbb5cf1ef12a5857b4cdfd450c6bd5955a5eacaf8bdf95a058c9dab
23 DIST libupnp-1.8.0.tar.gz 1380524 SHA256 1ddfb4e12e947deb5637e0d5e09bbe7835dfc8fb8a57712346026afa029165b1 SHA512 e2ae54352d747191f3ffc15c50481da515665fb35ddf6a9e488b6e1962e47803937bf078d0c2c5d56f8339cfd226ffba7433975363dc312e484ed22f83eda061 WHIRLPOOL c3d4abf54d25e87a1d650a18c475097a47633e8bf7691248695a7682ecff8aca4419c8eb2db4d24d62ca5a7905321971adf924166c20876ee18dd32d846748a1
24 +DIST libupnp-1.8.1.tar.gz 1363979 SHA256 0569e6afd979baa4e533312cb682394cea5b2638b8b412623e28943103593ea0 SHA512 7dd90f0c0332e7171d96a37a50223e18d5325ac1dd8dbe04fadac4655ad7c4d8443c52f904aaa35d3f12d2abd9ee2690ba990d0a93b15cbebb4d3de35d25ffe4 WHIRLPOOL 184e8844fab6a7a04d902d77c9b28141cdb15e4026b1b45105aabcf7616c2f6bbffa81fe14a1e6ddcd3f6494d9505f8f2cf190bf00fa341ca7192668e46e732d
25
26 diff --git a/net-libs/libupnp/libupnp-1.8.1.ebuild b/net-libs/libupnp/libupnp-1.8.1.ebuild
27 new file mode 100644
28 index 00000000000..46ecf192072
29 --- /dev/null
30 +++ b/net-libs/libupnp/libupnp-1.8.1.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit eutils flag-o-matic autotools vcs-snapshot
38 +
39 +DESCRIPTION="An Portable Open Source UPnP Development Kit"
40 +HOMEPAGE="http://pupnp.sourceforge.net/"
41 +SRC_URI="https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="1.8"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
46 +IUSE="debug doc reuseaddr ipv6 static-libs"
47 +
48 +DOCS="NEWS README.md ChangeLog"
49 +
50 +PATCHES=(
51 + "${FILESDIR}"/${PN}-1.8.0-docs-install.patch
52 + "${FILESDIR}"/${PN}-1.6.21-cflags.patch
53 +)
54 +
55 +src_prepare() {
56 + default
57 +
58 + # fix tests
59 + chmod +x ixml/test/test_document.sh || die
60 +
61 + eautoreconf
62 +}
63 +
64 +src_configure() {
65 + use x86-fbsd && append-flags -O1
66 + # w/o docdir to avoid sandbox violations
67 + econf $(use_enable debug) \
68 + $(use_enable ipv6) \
69 + $(use_enable reuseaddr) \
70 + $(use_enable static-libs static) \
71 + $(use_with doc documentation "${EPREFIX}/usr/share/doc/${PF}")
72 +}
73 +
74 +src_install () {
75 + default
76 + dobin upnp/sample/.libs/tv_{combo,ctrlpt,device}-1.8
77 + use static-libs || prune_libtool_files
78 +}
79
80 diff --git a/net-libs/libupnp/metadata.xml b/net-libs/libupnp/metadata.xml
81 index 108d54853cf..4c6479b76fb 100644
82 --- a/net-libs/libupnp/metadata.xml
83 +++ b/net-libs/libupnp/metadata.xml
84 @@ -13,4 +13,7 @@
85 <remote-id type="sourceforge">pupnp</remote-id>
86 <remote-id type="github">mrjimenez/pupnp</remote-id>
87 </upstream>
88 + <use>
89 + <flag name="reuseaddr">Allow clean restarts by binding the socket with SO_REUSEADDR.</flag>
90 + </use>
91 </pkgmetadata>