From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 218B51396D0 for ; Sun, 20 Aug 2017 12:24:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52F0F1FC014; Sun, 20 Aug 2017 12:24:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D8061FC014 for ; Sun, 20 Aug 2017 12:24:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFC30341853 for ; Sun, 20 Aug 2017 12:24:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E0957C51 for ; Sun, 20 Aug 2017 12:24:20 +0000 (UTC) From: "Ian Whyman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Whyman" Message-ID: <1503231845.5ba4a469022dd7f5a0ddb9cc7cb39f05e21db3cc.thev00d00@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libupnp/Manifest net-libs/libupnp/libupnp-1.8.2.ebuild net-libs/libupnp/metadata.xml X-VCS-Directories: net-libs/libupnp/ X-VCS-Committer: thev00d00 X-VCS-Committer-Name: Ian Whyman X-VCS-Revision: 5ba4a469022dd7f5a0ddb9cc7cb39f05e21db3cc X-VCS-Branch: master Date: Sun, 20 Aug 2017 12:24:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 212c2577-f6a5-4f5b-b187-4d0987a7ec2c X-Archives-Hash: 01f2eb75e86bca5d28fac72635f45245 commit: 5ba4a469022dd7f5a0ddb9cc7cb39f05e21db3cc Author: Ian Whyman gentoo org> AuthorDate: Sun Aug 20 12:24:05 2017 +0000 Commit: Ian Whyman gentoo org> CommitDate: Sun Aug 20 12:24:05 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba4a469 net-libs/libupnp: Version bump Slot manually as they have removed it upstream Package-Manager: Portage-2.3.8, Repoman-2.3.3 net-libs/libupnp/Manifest | 1 + net-libs/libupnp/libupnp-1.8.2.ebuild | 70 +++++++++++++++++++++++++++++++++++ net-libs/libupnp/metadata.xml | 4 +- 3 files changed, 74 insertions(+), 1 deletion(-) diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest index 1de712d79f1..7f605e1fa02 100644 --- a/net-libs/libupnp/Manifest +++ b/net-libs/libupnp/Manifest @@ -1,3 +1,4 @@ DIST libupnp-1.6.21.tar.bz2 1245353 SHA256 af3f3c0846a1d75baeadae4aa5a2bda427567e2a1fb4559bf73ccff0a4f9a39b SHA512 65a2989497b941dfa1f7ac09fe44267de4a5231af25a304f0f6e754c7cbb578bdcb3c500188b5ebfbff9f579099db7501817d45e1724ef8e384d6d918bcdcdeb WHIRLPOOL b4869189054ac00d57394e0919ad2f672af64f2c2b0ecc676c2b3fc4a3c22caa25ac38b57bbb5cf1ef12a5857b4cdfd450c6bd5955a5eacaf8bdf95a058c9dab DIST libupnp-1.6.22.tar.bz2 1242211 SHA256 0bdfacb7fa8d99b78343b550800ff193264f92c66ef67852f87f042fd1a1ebbc SHA512 abf7265155fb819e971e27dd25fd3f8143c04d6373b1b4a2769de9fadbbd3a012758acda866511a443f7e159b66068d9f7f99072c509a8fa06bcfe1275bdd9af WHIRLPOOL e3bfd207adff942d1a60337fb5ff00d2e4a4d52073724fb19415f14aa2def746706d863360779b00d842756ea6d809d5cf2f3cde910a3863398cbcfe49957bec DIST libupnp-1.8.1.tar.gz 1363979 SHA256 0569e6afd979baa4e533312cb682394cea5b2638b8b412623e28943103593ea0 SHA512 7dd90f0c0332e7171d96a37a50223e18d5325ac1dd8dbe04fadac4655ad7c4d8443c52f904aaa35d3f12d2abd9ee2690ba990d0a93b15cbebb4d3de35d25ffe4 WHIRLPOOL 184e8844fab6a7a04d902d77c9b28141cdb15e4026b1b45105aabcf7616c2f6bbffa81fe14a1e6ddcd3f6494d9505f8f2cf190bf00fa341ca7192668e46e732d +DIST libupnp-1.8.2.tar.gz 1379953 SHA256 438ad86bfd933cb1e9be1c41bf3bd69f049daba11d71bbb5d715336e00106cb4 SHA512 026f2568a1ffa56a3a0ebc823b126dceabb7e821acb6db52fbca02c4c02febd5508cb644cd2ac51f65397c3248a22340b3673069951e97dcdd22d4cc321d4511 WHIRLPOOL f1c1c18300ff597cf57837def8f35289aca7a85fa0e86d8307e3859c8eb55a011bf3c37b372aaebb73c79f95283d0f6964a555ba1353ab28f6c706bbf30fd8ad diff --git a/net-libs/libupnp/libupnp-1.8.2.ebuild b/net-libs/libupnp/libupnp-1.8.2.ebuild new file mode 100644 index 00000000000..4e724b79fc2 --- /dev/null +++ b/net-libs/libupnp/libupnp-1.8.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic autotools vcs-snapshot + +DESCRIPTION="An Portable Open Source UPnP Development Kit" +HOMEPAGE="http://pupnp.sourceforge.net/" +SRC_URI="https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="1.8" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="blocking-tcp debug doc ipv6 +reuseaddr samples static-libs" + +DOCS="NEWS README.md ChangeLog" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.19-docs-install.patch + "${FILESDIR}"/${PN}-1.6.21-cflags.patch +) + +src_prepare() { + default + + # fix tests + chmod +x ixml/test/test_document.sh || die + + eautoreconf +} + +src_configure() { + use x86-fbsd && append-flags -O1 + # w/o docdir to avoid sandbox violations + econf $(use_enable debug) \ + $(use_enable blocking-tcp blocking-tcp-connections) \ + $(use_enable ipv6) \ + $(use_enable reuseaddr) \ + $(use_enable static-libs static) \ + $(use_enable samples) \ + $(use_with doc documentation "${EPREFIX}/usr/share/doc/${PF}") +} + +src_install () { + default + + use static-libs || prune_libtool_files + + # Slot samples + if $(use samples); then + for bin in combo ctrlpt device ; do + newbin "upnp/sample/.libs/tv_$bin" "tv_$bin-${SLOT}" + done + fi + + # Slot includes + cd "${D}/usr/include" || die + mv upnp "upnp-${SLOT}" || die + + # Slot pkgconfig + cd "${D}/usr/$(get_libdir)/pkgconfig" || die + mv libupnp.pc "libupnp-${SLOT}.pc" || die + sed -i "s#/upnp#/upnp-${SLOT}#" "libupnp-${SLOT}.pc" || die + + # Slot symlinks + cd "${D}/usr/$(get_libdir)" || die + mv libupnp.so "libupnp-${SLOT}.so" || die + mv libixml.so "libixml-${SLOT}.so" || die +} diff --git a/net-libs/libupnp/metadata.xml b/net-libs/libupnp/metadata.xml index 4c6479b76fb..53c42dd9025 100644 --- a/net-libs/libupnp/metadata.xml +++ b/net-libs/libupnp/metadata.xml @@ -14,6 +14,8 @@ mrjimenez/pupnp - Allow clean restarts by binding the socket with SO_REUSEADDR. + Allow clean restarts by binding the socket with SO_REUSEADDR. + Do not use async socket calls. + Install sample applications.