Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/miniupnpc/
Date: Sun, 07 Nov 2021 08:16:36
Message-Id: 1636272983.e5fe80d359885c96dcf833048037c4238865f7f7.mgorny@gentoo
1 commit: e5fe80d359885c96dcf833048037c4238865f7f7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 7 08:14:35 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 7 08:16:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5fe80d3
7
8 net-libs/miniupnpc: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-libs/miniupnpc/Manifest | 4 --
13 net-libs/miniupnpc/miniupnpc-2.2.1.ebuild | 61 -------------------------------
14 net-libs/miniupnpc/miniupnpc-2.2.2.ebuild | 61 -------------------------------
15 3 files changed, 126 deletions(-)
16
17 diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest
18 index 05cde009b8f..8263aaeaa32 100644
19 --- a/net-libs/miniupnpc/Manifest
20 +++ b/net-libs/miniupnpc/Manifest
21 @@ -1,6 +1,2 @@
22 -DIST miniupnpc-2.2.1.tar.gz 99595 BLAKE2B 07736eb15a985096178273c4578bb3f0cbf32a04632196e9c216d10751a6a5b1269af5fe2cbd447d85145746a7a8ce750ce13f674f5d8f9e4f6921b9d58204bf SHA512 62fc0098890980028199dd16e87b13ce23e78b2cc996433799792dc2a4fa9b5e230139593bde5c721f649c14fcee2e4d8a0558976c5506c21ff26deff6c7c907
23 -DIST miniupnpc-2.2.1.tar.gz.sig 543 BLAKE2B 19da35662cf75d47de9cd16d3d8f767119e3dc04370801bf8893a17cd0af47072456b75bc3415b587371972a7c5c36623665391bbf4b9c655d1da3c0e5b8beb7 SHA512 8b5d41556c66e6330673a63eb3be2397cb057c37f648d950e8dfa0bb00e646f343cfbcbd11a6547198d4fa6b1ca2a82b46724e284ce76e96d96ad6b3b5b41c3f
24 -DIST miniupnpc-2.2.2.tar.gz 100008 BLAKE2B 76bd18ad455be91a2b7680f59f59828a592077f3694ea5ed0f42222370d9e3d0e328dac1a6d530abcf28586384369d7c858c32fc3105f79cacad762ac5bc70fc SHA512 d322ae2a99faf01bee52f50a40d4bc2150c67a2f7e15b6078fe92faf2aecfe7ce10bd98cef3d94a77f6f7d1f7d8451cf4cdbf6fe11c9e7c1854ee066300b0116
25 -DIST miniupnpc-2.2.2.tar.gz.sig 543 BLAKE2B e1089a0c3d937cb4e52b511ed0cc7b43a686a6c08df5ce5e008f1f5ec892b6a4f9f1c45ad4eb252c2aa57fd932a5c5dd4300adfdcee145f27cae51469f244179 SHA512 525f4b5c60ca1375df8a05cfffec3cf8e99ae070510621de2871926b6e84faec28cceb4feb983380e12b7271880872083ea4f4080c74572697476bb7ae795cf7
26 DIST miniupnpc-2.2.3.tar.gz 101360 BLAKE2B d2a7f64d56be524c5c4aadfecd40da4e1ad040fd7eab64be5b5716cb06047e86e3ed6a9c17f697fd3210af0fb0a6ae032b6ef0a5c1f0d96a2e185db97b0d06e8 SHA512 8b9555d336d5dfe8017a16727f964cddacb3f2bf3528fe3dd2416480da5763b24e1740345e470f2123c170d79d88444e41dbbce4536e6069590925e4805bc5ee
27 DIST miniupnpc-2.2.3.tar.gz.sig 543 BLAKE2B d10bcb765e0d7a1eb68dc6269080b71535fced443e801a09677872bc498c866a02f22d851db963fb126331f28d2314542507713f514560d9d6eca2262287dc8b SHA512 636ad425b430629ee91b2755b543e9754aa88e243972f47839a2ad958757a12ff598f962e9328e5ad0fa3e0b2f895854c9cb3ca099048e7c132c8ce27806986e
28
29 diff --git a/net-libs/miniupnpc/miniupnpc-2.2.1.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.1.ebuild
30 deleted file mode 100644
31 index 7ac6dc55a8f..00000000000
32 --- a/net-libs/miniupnpc/miniupnpc-2.2.1.ebuild
33 +++ /dev/null
34 @@ -1,61 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -inherit toolchain-funcs verify-sig
41 -
42 -DESCRIPTION="UPnP client library and a simple UPnP client"
43 -HOMEPAGE="http://miniupnp.free.fr/"
44 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz
45 - verify-sig? ( http://miniupnp.free.fr/files/${P}.tar.gz.sig )"
46 -
47 -LICENSE="BSD"
48 -SLOT="0/17"
49 -KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 ~s390 sparc x86"
50 -IUSE="ipv6 kernel_linux static-libs"
51 -
52 -RDEPEND=""
53 -BDEPEND="
54 - kernel_linux? ( sys-apps/lsb-release sys-apps/which )
55 - verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
56 -
57 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
58 -
59 -src_prepare() {
60 - eapply_user
61 -
62 - # These bins are not installed, upnpc-static requires building static lib
63 - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die
64 - # Prevent gzipping manpage.
65 - sed -i -e '/gzip/d' Makefile || die
66 -
67 - if ! use static-libs; then
68 - sed -i \
69 - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
70 - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \
71 - Makefile || die
72 - fi
73 -}
74 -
75 -# Upstream cmake causes more trouble than it fixes,
76 -# so we'll just stay with the Makefile for now.
77 -
78 -src_compile() {
79 - tc-export CC AR
80 - emake upnpc-shared $(usex static-libs upnpc-static '')
81 -}
82 -
83 -src_test() {
84 - emake -j1 HAVE_IPV6=$(usex ipv6) check
85 -}
86 -
87 -src_install() {
88 - emake \
89 - DESTDIR="${D}" \
90 - PREFIX="${EPREFIX}/usr" \
91 - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \
92 - install
93 -
94 - dodoc README Changelog.txt
95 -}
96
97 diff --git a/net-libs/miniupnpc/miniupnpc-2.2.2.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.2.ebuild
98 deleted file mode 100644
99 index de6ed42db30..00000000000
100 --- a/net-libs/miniupnpc/miniupnpc-2.2.2.ebuild
101 +++ /dev/null
102 @@ -1,61 +0,0 @@
103 -# Copyright 1999-2021 Gentoo Authors
104 -# Distributed under the terms of the GNU General Public License v2
105 -
106 -EAPI=7
107 -
108 -inherit toolchain-funcs verify-sig
109 -
110 -DESCRIPTION="UPnP client library and a simple UPnP client"
111 -HOMEPAGE="http://miniupnp.free.fr/"
112 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz
113 - verify-sig? ( http://miniupnp.free.fr/files/${P}.tar.gz.sig )"
114 -
115 -LICENSE="BSD"
116 -SLOT="0/17"
117 -KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86"
118 -IUSE="ipv6 kernel_linux static-libs"
119 -
120 -RDEPEND=""
121 -BDEPEND="
122 - kernel_linux? ( sys-apps/lsb-release sys-apps/which )
123 - verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
124 -
125 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc
126 -
127 -src_prepare() {
128 - eapply_user
129 -
130 - # These bins are not installed, upnpc-static requires building static lib
131 - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die
132 - # Prevent gzipping manpage.
133 - sed -i -e '/gzip/d' Makefile || die
134 -
135 - if ! use static-libs; then
136 - sed -i \
137 - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
138 - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \
139 - Makefile || die
140 - fi
141 -}
142 -
143 -# Upstream cmake causes more trouble than it fixes,
144 -# so we'll just stay with the Makefile for now.
145 -
146 -src_compile() {
147 - tc-export CC AR
148 - emake upnpc-shared $(usex static-libs upnpc-static '')
149 -}
150 -
151 -src_test() {
152 - emake -j1 HAVE_IPV6=$(usex ipv6) check
153 -}
154 -
155 -src_install() {
156 - emake \
157 - DESTDIR="${D}" \
158 - PREFIX="${EPREFIX}/usr" \
159 - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \
160 - install
161 -
162 - dodoc README Changelog.txt
163 -}