* [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/, net-libs/libupnp/files/
@ 2016-07-03 15:29 Andrew Savchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Savchenko @ 2016-07-03 15:29 UTC (permalink / raw
To: gentoo-commits
commit: d9e5273308c0b71372b2a1876b4f506454d4c582
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 3 15:25:11 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 15:27:46 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e52733
net-libs/libupnp: fix bug 556604
Remove duplicates from sources listings, so that examples may be
installed.
Package-Manager: portage-2.3.0
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch | 13 +++++++++++++
net-libs/libupnp/libupnp-1.6.19.ebuild | 5 +++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch b/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch
new file mode 100644
index 0000000..622f58a
--- /dev/null
+++ b/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch
@@ -0,0 +1,13 @@
+--- libupnp-1.6.19/upnp/sample/Makefile.am.orig 2013-11-15 19:50:02.000000000 +0400
++++ libupnp-1.6.19/upnp/sample/Makefile.am 2016-06-03 20:30:43.545081667 +0300
+@@ -65,8 +65,8 @@
+ if WITH_DOCUMENTATION
+ examplesdir = $(docdir)/examples
+ examples_DATA = \
+- $(tv_ctrlpt_SOURCES) \
+- $(tv_device_SOURCES)
++ $(sort $(tv_ctrlpt_SOURCES) \
++ $(tv_device_SOURCES) )
+ endif
+
+ EXTRA_DIST = \
diff --git a/net-libs/libupnp/libupnp-1.6.19.ebuild b/net-libs/libupnp/libupnp-1.6.19.ebuild
index 161fa7e..c589c65 100644
--- a/net-libs/libupnp/libupnp-1.6.19.ebuild
+++ b/net-libs/libupnp/libupnp-1.6.19.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -18,7 +18,8 @@ IUSE="debug doc ipv6 static-libs"
DOCS="NEWS README ChangeLog"
src_prepare() {
- epatch "${FILESDIR}"/${P}-suse.patch
+ epatch "${FILESDIR}"/${P}-suse.patch \
+ "${FILESDIR}"/${P}-docs-install.patch
# fix tests
chmod +x ixml/test/test_document.sh || die
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/, net-libs/libupnp/files/
@ 2021-10-03 13:06 Conrad Kostecki
0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2021-10-03 13:06 UTC (permalink / raw
To: gentoo-commits
commit: 05d9a1ee2b98375bc7cc3f0b6979fb643ab60247
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 3 13:06:01 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Oct 3 13:06:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d9a1ee
net-libs/libupnp: bump to version 1.14.12
I am also taking ownership, as this package has been dropped to m-n.
Both tests, 'test_init' and 'test_url', have been disabled, as they
required network and can't run in our network sandbox. Rest will just
run fine.
Closes: https://bugs.gentoo.org/628392
Closes: https://bugs.gentoo.org/733750
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-libs/libupnp/Manifest | 1 +
.../libupnp-1.14.12-disable-network-tests.patch | 15 +++++++
net-libs/libupnp/libupnp-1.14.12.ebuild | 50 ++++++++++++++++++++++
net-libs/libupnp/metadata.xml | 30 +++++++------
4 files changed, 83 insertions(+), 13 deletions(-)
diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest
index f3c0cc8ddcb..a4442cccbb0 100644
--- a/net-libs/libupnp/Manifest
+++ b/net-libs/libupnp/Manifest
@@ -1 +1,2 @@
+DIST libupnp-1.14.12.tar.gz 788299 BLAKE2B 721c10f9fa4ffc60743b4ebf8be566ea595931cb1f2a2448d8e3cecfc787abfb855cb16256eaaa10ce6a901cd5e5b3d14672610841b2a718d5dd003ccfd3c2f0 SHA512 aab17aa12f15d110bfab20cbcbae5f54926b6ca7a30bce10b9287cd39919a06a5e9f1493405e1d561c0d58ba46926f87009df891e4e4f37097df1c3c67635ca9
DIST libupnp-1.14.7.tar.gz 785084 BLAKE2B 539388737dda0dd037cb50fbc1cca8bcdc43d1d706bdb7da19d1a184cfd61f3d585d9beef2a9c8c33f2cb2640a8479210ad6c358abd7193f304509df574e912c SHA512 92dd80d1bbaa64e6d3909c5bce73d0340fcd3a3c1d247a634bd48ec077ba0ce0b8224d1a670a66f6a8c591e31a54f15526071d62ae5460e85d582d7b6b67c674
diff --git a/net-libs/libupnp/files/libupnp-1.14.12-disable-network-tests.patch b/net-libs/libupnp/files/libupnp-1.14.12-disable-network-tests.patch
new file mode 100644
index 00000000000..4c602c02d8d
--- /dev/null
+++ b/net-libs/libupnp/files/libupnp-1.14.12-disable-network-tests.patch
@@ -0,0 +1,15 @@
+--- a/upnp/Makefile.am
++++ b/upnp/Makefile.am
+@@ -203,10 +203,8 @@
+
+
+ # check / distcheck tests
+-check_PROGRAMS = test_init test_url test_log test_list
+-TESTS = test_init test_url test_log test_list
+-test_init_SOURCES = test/test_init.c
+-test_url_SOURCES = test/test_url.c
++check_PROGRAMS = test_log test_list
++TESTS = test_log test_list
+ test_log_SOURCES = test/test_log.c
+ test_list_SOURCES = test/test_list.c
+
diff --git a/net-libs/libupnp/libupnp-1.14.12.ebuild b/net-libs/libupnp/libupnp-1.14.12.ebuild
new file mode 100644
index 00000000000..a7af6a46ad6
--- /dev/null
+++ b/net-libs/libupnp/libupnp-1.14.12.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN="pupnp"
+
+DESCRIPTION="An Portable Open Source UPnP Development Kit"
+HOMEPAGE="http://pupnp.sourceforge.net/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-release-${PV}"
+
+LICENSE="BSD"
+SLOT="0/17"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
+IUSE="blocking-tcp debug doc +ipv6 +reuseaddr samples +ssl static-libs tools"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/${PN}-1.14.12-disable-network-tests.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable blocking-tcp blocking-tcp-connections)
+ $(use_enable debug)
+ $(use_enable ipv6)
+ $(use_enable reuseaddr)
+ $(use_enable samples)
+ $(use_enable ssl open_ssl)
+ $(use_enable static-libs static)
+ $(use_enable tools)
+ )
+
+ econf ${myeconfargs[@]}
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/net-libs/libupnp/metadata.xml b/net-libs/libupnp/metadata.xml
index 0fb34d993c6..f11aa55da64 100644
--- a/net-libs/libupnp/metadata.xml
+++ b/net-libs/libupnp/metadata.xml
@@ -1,17 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <slots>
- <subslots>Reflect ABI of libupnp.so.</subslots>
- </slots>
- <upstream>
- <remote-id type="sourceforge">pupnp</remote-id>
- <remote-id type="github">pupnp/pupnp</remote-id>
- </upstream>
- <use>
- <flag name="reuseaddr">Allow clean restarts by binding the socket with SO_REUSEADDR</flag>
- <flag name="blocking-tcp">Do not use async socket calls</flag>
- <flag name="samples">Install sample applications</flag>
- </use>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <slots>
+ <subslots>Reflect ABI of libupnp.so</subslots>
+ </slots>
+ <upstream>
+ <remote-id type="sourceforge">pupnp</remote-id>
+ <remote-id type="github">pupnp/pupnp</remote-id>
+ </upstream>
+ <use>
+ <flag name="blocking-tcp">Do not use async socket calls</flag>
+ <flag name="reuseaddr">Allow clean restarts by binding the socket with SO_REUSEADDR</flag>
+ <flag name="samples">Install sample applications</flag>
+ <flag name="tools">Install additional tools</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-03 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-03 15:29 [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/, net-libs/libupnp/files/ Andrew Savchenko
-- strict thread matches above, loose matches on Subject: below --
2021-10-03 13:06 Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox