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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB8C41581F0 for ; Sat, 11 Jan 2025 06:52:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF1D5E087A; Sat, 11 Jan 2025 06:52:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E35EE0875 for ; Sat, 11 Jan 2025 06:52:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA74D33BF60 for ; Sat, 11 Jan 2025 06:52:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B561202F for ; Sat, 11 Jan 2025 06:52:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1736578324.eb68fe74a1959c47078b9ad7abe7f2934491a225.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/miniupnpc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/miniupnpc/Manifest net-libs/miniupnpc/miniupnpc-2.3.0.ebuild X-VCS-Directories: net-libs/miniupnpc/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: eb68fe74a1959c47078b9ad7abe7f2934491a225 X-VCS-Branch: master Date: Sat, 11 Jan 2025 06:52:19 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 83a67e98-dcd3-46d7-8d32-3d7479195ab9 X-Archives-Hash: 2d505a15785e61277c7260334e0ea985 commit: eb68fe74a1959c47078b9ad7abe7f2934491a225 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 11 05:48:10 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jan 11 06:52:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb68fe74 net-libs/miniupnpc: Bump to 2.3.0 Signed-off-by: Michał Górny gentoo.org> net-libs/miniupnpc/Manifest | 2 + net-libs/miniupnpc/miniupnpc-2.3.0.ebuild | 70 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index 1ae860948ae7..f0d3795503a6 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -2,3 +2,5 @@ DIST miniupnpc-2.2.7.tar.gz 104258 BLAKE2B 5681c1747c8e330442a0ad46d673e1739283b DIST miniupnpc-2.2.7.tar.gz.sig 543 BLAKE2B 6649e5866afd13034b05a9d771c25c419e85631ca17ed7457e5811aee0ba8c38b0ad34033caa5b611cde21a63251e902e3f24cc4748e52a4a379ef075bf59dc5 SHA512 188837275b20c61c05babac916bff86178774030dbc191ecd0e5314c6e9b6dbb627680b512c554a8b27a020bd7503b141be26a134e0ed7e2cc56c7e2c01d9e81 DIST miniupnpc-2.2.8.tar.gz 104603 BLAKE2B eae4d97bdf8c494ea6744edfeb870f9d92df8468d23f974e0e44e735fc7c8925189ea58f60a71c37315aebff1269ae69e9413cdf80dc292c4b90df5f12bf58a4 SHA512 526c9df1485302d4c9c78062fb058cfd433463f6e7a9f4025a9f5228aef41ee61a4b9e7a76b6cfa8779b91cc3c663846a997dc1470902d7108b129155e6a3360 DIST miniupnpc-2.2.8.tar.gz.sig 543 BLAKE2B b4d056972fc7e46c1e41a658d301db8e9a0d3b99af2220c264d06267b4e8ae45847e2bf2cd6583fded67f12c2e0a3c833ba7e38d9c05b5a0cc363e0c1fc8feae SHA512 b5eec0d24a84183021cd16bfd6ecedda587dee0bbb017fe6d107e8c2815ef90cf5f904c6fb9aa32e2e4d5f0b63de8566814c9a0d921b338b26b60ea35c23ecae +DIST miniupnpc-2.3.0.tar.gz 105071 BLAKE2B a5a2d22d99eb9f20fcb0b61107db61b97fec8207f5d8079c7d8e1d7bbc73478c3b575c7ecf32cb3ffe64f82a93673ab1f734139755c512d48439358e314e8762 SHA512 63efda015c7f693499a6f1f28b8356c4bb05ed0354fe2fb79042295607bf4f12c15082a48ced348ca5647fca9d83b99068c28311623f46225e9b09b5dc23a290 +DIST miniupnpc-2.3.0.tar.gz.sig 543 BLAKE2B acbc2fedd1984e2488aac4618a70b2f0e5573ab17beaa84660117fada915b9ee94e419ee4ddbeae30c04e4eff8749d2a8724b4826bd5ce8ac972908fbda1189c SHA512 081d6c77fb08863760e4ddeb5bc1a5414603782b785f1f86efe516e59a113a4da794895ad160922818574029189df32a0c57fe2558c2ce99d521aa2673d40d43 diff --git a/net-libs/miniupnpc/miniupnpc-2.3.0.ebuild b/net-libs/miniupnpc/miniupnpc-2.3.0.ebuild new file mode 100644 index 000000000000..5c80be461765 --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-2.3.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs verify-sig + +DESCRIPTION="UPnP client library and a simple UPnP client" +HOMEPAGE=" + http://miniupnp.free.fr/ + https://miniupnp.tuxfamily.org/ + https://github.com/miniupnp/miniupnp/ +" +SRC_URI=" + https://miniupnp.tuxfamily.org/files/${P}.tar.gz + verify-sig? ( + https://miniupnp.tuxfamily.org/files/${P}.tar.gz.sig + ) +" + +LICENSE="BSD" +SLOT="0/19" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + kernel_linux? ( sys-apps/lsb-release ) + verify-sig? ( sec-keys/openpgp-keys-miniupnp ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/miniupnp.asc + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/miniupnpc-2.2.3-drop-which.patch + ) + default + + local exprs=( + # These bins are not installed, upnpc-static requires building static lib + -e '/EXECUTABLES =/s/ upnpc-static upnp-listdevices-static//' + # Prevent gzipping manpage. + -e '/gzip/d' + # Disable installing the static library + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' + -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' + ) + sed -i "${exprs[@]}" Makefile || die +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake build/upnpc-shared +} + +src_test() { + emake -j1 check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="$(get_libdir)" \ + install + + dodoc README Changelog.txt +}