From e0bb0dc2825ae555df337778fb0f6f42eaae72a2 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 4 Aug 2023 17:08:35 +0200 Subject: net-libs/miniupnpc: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- net-libs/miniupnpc/Manifest | 2 - net-libs/miniupnpc/miniupnpc-2.2.4.ebuild | 71 ------------------------------- 2 files changed, 73 deletions(-) delete mode 100644 net-libs/miniupnpc/miniupnpc-2.2.4.ebuild (limited to 'net-libs') diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index d3a8e9d2df1e..aa33491d683f 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -1,4 +1,2 @@ -DIST miniupnpc-2.2.4.tar.gz 102932 BLAKE2B ebfea3fe978280825b7beefb8fe799685a72b0a74c589f5f55c7fde3d8c0d4bbb3d50fa0ff3aed554fa1e24ada0a1ab578328373f0295020415998fe35cde0a0 SHA512 f6515bda86405114016474fef6332c0c09a56b9293cf4391113f549444bab67e7d031af7b94dacff5e7c96d6508527204498c00fb67d6067685ef606b2152595 -DIST miniupnpc-2.2.4.tar.gz.sig 543 BLAKE2B 14a1a1979e2d248bb721c66db3e28c1d6f970477e94235bdfa77763d5f9d4c0da42b23d026e861f48cc34a17e009bf8c57aacc648435ec9e31c3c4b6c3347ffb SHA512 476d1a6cfc519f82461bf4d516f73d40cc3ef27886da68d2e805a24d9c4609c53566e258bd2b622e7716f43c81c14bc0f01b189d23b46b87afc3c76d4e6fa23e DIST miniupnpc-2.2.5.tar.gz 103654 BLAKE2B 9cd3fee7bb4934610d57340d29ef61bbca8a94e230a0d35a26cfe4eec347f6807f7d5ab6edb38354ec82aa11bb7a83869169b3c322931f96a1e3a4dd6eec123c SHA512 32d362c43cf5c9f6c1546d85c2dd780f9701f3137bc78471b3670c4c0862b7fc4f081e6cb6fd14e5c0d3ec0602714756959491688998335c8a7b324e6c53aa2f DIST miniupnpc-2.2.5.tar.gz.sig 543 BLAKE2B ea7b5c254684f52485bc18ad4820c41e7c70a4eb5e552cb5f9d937a4927c9655a4fb959d32930299f1f863d4dbb5894ce76d693ce5a9996a44180038a02a0d5a SHA512 b23d35610d41c9dfc5af78de5329e9c28976685435bdff041759ab6e9f54154e7a082bcd313c682141fda8ba1e1c3b246e49109ad9a5323f003528d0ba71f880 diff --git a/net-libs/miniupnpc/miniupnpc-2.2.4.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.4.ebuild deleted file mode 100644 index ca55d005013d..000000000000 --- a/net-libs/miniupnpc/miniupnpc-2.2.4.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 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/17" -KEYWORDS="amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="ipv6" - -BDEPEND=" - kernel_linux? ( sys-apps/lsb-release ) - verify-sig? ( sec-keys/openpgp-keys-miniupnp ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/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 listdevices//' - # 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 HAVE_IPV6=$(usex ipv6) check -} - -src_install() { - emake \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" \ - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ - install - - dodoc README Changelog.txt -} -- cgit v1.2.3-65-gdbad