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: Wed, 28 Aug 2019 05:36:55
Message-Id: 1566970602.2aa1a54df90994e1e711ebfb081c7c589b236ba3.mgorny@gentoo
1 commit: 2aa1a54df90994e1e711ebfb081c7c589b236ba3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 28 05:19:43 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 28 05:36:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa1a54d
7
8 net-libs/miniupnpc: Drop old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-libs/miniupnpc/Manifest | 2 -
13 net-libs/miniupnpc/miniupnpc-2.1.20190210.ebuild | 56 ------------------------
14 net-libs/miniupnpc/miniupnpc-2.1.20190408.ebuild | 56 ------------------------
15 3 files changed, 114 deletions(-)
16
17 diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest
18 index 2f4d80d3671..03c38330242 100644
19 --- a/net-libs/miniupnpc/Manifest
20 +++ b/net-libs/miniupnpc/Manifest
21 @@ -1,3 +1 @@
22 -DIST miniupnpc-2.1.20190210.tar.gz 94125 BLAKE2B 1cb8e4cd4d015d82eb15eec20e93b14a9f280aeabfc54e96ff9511db7fddf9713b9bffd0893c17f29beede29c6bfe73e6a459f7b20c9e4b33c88753b39cb7a0e SHA512 51f662c2a7a78cd99a793ff8b89097d895c80aaca696109c06106f8bb2601465207e068a410134cc66a61b4c0e11d4635bac6e9efdfe3fe8c4f813ac9e7a2fc2
23 -DIST miniupnpc-2.1.20190408.tar.gz 94216 BLAKE2B 19b0bee46d2f738939fda31c465779a6e6c7c04b2e975aed77c3a642bbfd1c61813367da5f2aa3f351fe1e5a71a842bfcd7b54c4faf589e345ddb1551bc322c6 SHA512 faa0f1363ebb59ca636b6c974188c52903ad07652f8268563c9c1a5826fafc2458d9f521efd3546fbbd4b71b3b14a50ba89dda52757adad1db81c31d9ba0987a
24 DIST miniupnpc-2.1.20190625.tar.gz 94461 BLAKE2B 26c881c2ef99640e99a5c9cb138cc88dc29a25cd57fffaeaffcf521ded11402fd34ad1001639cd0659fdef9debd247dded5c1903b69f36b74b059c1e282bcdfb SHA512 d55a959bb2fce2c1747fa95da53d9993220403d2c511b12f489b80a7941b28238561f90a1cd60be9fa2bd62777fbfd3cef370db694b9970f73ccbdf3ef49aa48
25
26 diff --git a/net-libs/miniupnpc/miniupnpc-2.1.20190210.ebuild b/net-libs/miniupnpc/miniupnpc-2.1.20190210.ebuild
27 deleted file mode 100644
28 index bfae17481af..00000000000
29 --- a/net-libs/miniupnpc/miniupnpc-2.1.20190210.ebuild
30 +++ /dev/null
31 @@ -1,56 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit toolchain-funcs
38 -
39 -DESCRIPTION="UPnP client library and a simple UPnP client"
40 -HOMEPAGE="http://miniupnp.free.fr/"
41 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
42 -
43 -LICENSE="BSD"
44 -SLOT="0/17"
45 -KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd"
46 -IUSE="ipv6 kernel_linux static-libs"
47 -
48 -RDEPEND=""
49 -DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )"
50 -
51 -src_prepare() {
52 - eapply_user
53 -
54 - # These bins are not installed, upnpc-static requires building static lib
55 - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die
56 - # Prevent gzipping manpage.
57 - sed -i -e '/gzip/d' Makefile || die
58 -
59 - if ! use static-libs; then
60 - sed -i \
61 - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
62 - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \
63 - Makefile || die
64 - fi
65 -}
66 -
67 -# Upstream cmake causes more trouble than it fixes,
68 -# so we'll just stay with the Makefile for now.
69 -
70 -src_compile() {
71 - tc-export CC AR
72 - emake upnpc-shared $(usex static-libs upnpc-static '')
73 -}
74 -
75 -src_test() {
76 - emake -j1 HAVE_IPV6=$(usex ipv6) check
77 -}
78 -
79 -src_install() {
80 - emake \
81 - DESTDIR="${D}" \
82 - PREFIX="${EPREFIX}/usr" \
83 - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \
84 - install
85 -
86 - dodoc README Changelog.txt
87 -}
88
89 diff --git a/net-libs/miniupnpc/miniupnpc-2.1.20190408.ebuild b/net-libs/miniupnpc/miniupnpc-2.1.20190408.ebuild
90 deleted file mode 100644
91 index 84a21887ff3..00000000000
92 --- a/net-libs/miniupnpc/miniupnpc-2.1.20190408.ebuild
93 +++ /dev/null
94 @@ -1,56 +0,0 @@
95 -# Copyright 1999-2019 Gentoo Authors
96 -# Distributed under the terms of the GNU General Public License v2
97 -
98 -EAPI=6
99 -
100 -inherit toolchain-funcs
101 -
102 -DESCRIPTION="UPnP client library and a simple UPnP client"
103 -HOMEPAGE="http://miniupnp.free.fr/"
104 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
105 -
106 -LICENSE="BSD"
107 -SLOT="0/17"
108 -KEYWORDS="amd64 ~arm arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd"
109 -IUSE="ipv6 kernel_linux static-libs"
110 -
111 -RDEPEND=""
112 -DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )"
113 -
114 -src_prepare() {
115 - eapply_user
116 -
117 - # These bins are not installed, upnpc-static requires building static lib
118 - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die
119 - # Prevent gzipping manpage.
120 - sed -i -e '/gzip/d' Makefile || die
121 -
122 - if ! use static-libs; then
123 - sed -i \
124 - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
125 - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \
126 - Makefile || die
127 - fi
128 -}
129 -
130 -# Upstream cmake causes more trouble than it fixes,
131 -# so we'll just stay with the Makefile for now.
132 -
133 -src_compile() {
134 - tc-export CC AR
135 - emake upnpc-shared $(usex static-libs upnpc-static '')
136 -}
137 -
138 -src_test() {
139 - emake -j1 HAVE_IPV6=$(usex ipv6) check
140 -}
141 -
142 -src_install() {
143 - emake \
144 - DESTDIR="${D}" \
145 - PREFIX="${EPREFIX}/usr" \
146 - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \
147 - install
148 -
149 - dodoc README Changelog.txt
150 -}