Gentoo Archives: gentoo-commits

From: Tony Vroon <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsrtp/
Date: Tue, 31 Jul 2018 07:53:47
Message-Id: 1533023577.3e931507346a375d803a91e6b26f3aa789f52157.chainsaw@gentoo
1 commit: 3e931507346a375d803a91e6b26f3aa789f52157
2 Author: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 31 07:52:57 2018 +0000
4 Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 31 07:52:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e931507
7
8 net-libs/libsrtp: Remove old SLOT=2 ebuilds.
9
10 Now that stabilisation is complete, clear down the long list of SLOT=2 ebuilds.
11 We need SLOT=0 still for Asterisk, pjproject, ortp, qtwebengine &
12 gst-plugins-srtp which means 1.6.0 stays.
13
14 Package-Manager: Portage-2.3.40, Repoman-2.3.9
15
16 net-libs/libsrtp/Manifest | 2 -
17 net-libs/libsrtp/libsrtp-2.0.0-r1.ebuild | 75 --------------------------------
18 net-libs/libsrtp/libsrtp-2.0.0.ebuild | 73 -------------------------------
19 net-libs/libsrtp/libsrtp-2.1.0.ebuild | 74 -------------------------------
20 4 files changed, 224 deletions(-)
21
22 diff --git a/net-libs/libsrtp/Manifest b/net-libs/libsrtp/Manifest
23 index 6c73f314ae5..bc57e86e9e4 100644
24 --- a/net-libs/libsrtp/Manifest
25 +++ b/net-libs/libsrtp/Manifest
26 @@ -1,4 +1,2 @@
27 DIST libsrtp-1.6.0.tar.gz 1648862 BLAKE2B 5526d7659db160df3b6d9f14922bd731d083f04c6dd084ef473c439d720733d0fd8b38bdfe92e30e05a8a94c41df965d04bca52601b2644352428b49b1ed9093 SHA512 5ac712d0d343c3b63ed248503cc7d33c637895a274c4434c91f513be117836f27cd5daba83088b4647bbd9c82d841e216e6346af8d485cb9ddcd35dee21d4887
28 -DIST libsrtp-2.0.0.tar.gz 265564 BLAKE2B ebae4a88fd5c77f3ed656569ee4300e4213d5be5c788efc84d8439a14a7773cfa60dc2b7c35a044ad1b5633af581f1526d1c3caa10e3ec800a2d66d5f837ce96 SHA512 61bba9aba9bb3e888c2bbc150411d0b3d583ed71ca455c5a3d4d6d06ecd383fdd61f86ad1979fb9c04da1b824e3fb9bb63f0d97e50b4a469d56907fb9dbc42d6
29 -DIST libsrtp-2.1.0.tar.gz 306090 BLAKE2B c5055a66bf12997cd1b0d996a930d413d144280ccf40a1bed4b1ef10caa097f9c4fa40910a66a41bd8e33732b810d8ca5f7cb8acd9cb506cc42ab7e5b5adaf6e SHA512 60f4eb6fd37517eb96df80ab8a9c6fd79dfc89d969bdb04673cd98364f7108fbc703a64b1898056f9220a55315574b6f3f796b6814086360f6fd143e3b20fb3f
30 DIST libsrtp-2.2.0.tar.gz 308469 BLAKE2B 4ef318bdf5c69b69b5869f478d5f0b9ee82d7d8a52440d10e931722c75b2f3a62b59f7542bb932cc93a21b7af24e6b253d70b4722833c5e1e5afce052e3b00e2 SHA512 3a5214b02199ae8dff45a2ed225ed9b1dcb75a9c6b07669e23bf86f97ad26e3e22b4930acdf3c56b21b605211a89a53a17c61602195b391a5b29a09823ba868c
31
32 diff --git a/net-libs/libsrtp/libsrtp-2.0.0-r1.ebuild b/net-libs/libsrtp/libsrtp-2.0.0-r1.ebuild
33 deleted file mode 100644
34 index c15b98e7a29..00000000000
35 --- a/net-libs/libsrtp/libsrtp-2.0.0-r1.ebuild
36 +++ /dev/null
37 @@ -1,75 +0,0 @@
38 -# Copyright 1999-2017 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -inherit autotools multilib-minimal
44 -
45 -DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
46 -HOMEPAGE="https://github.com/cisco/libsrtp"
47 -SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="BSD"
50 -SLOT="2/1"
51 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
52 -IUSE="aesicm console debug doc libressl openssl static-libs syslog test"
53 -
54 -RDEPEND="
55 - openssl? (
56 - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
57 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
58 - )
59 -"
60 -DEPEND="${RDEPEND}"
61 -
62 -DOCS=( CHANGES README TODO )
63 -
64 -PATCHES=( "${FILESDIR}/${PN}-pcap-automagic-r0.patch" )
65 -
66 -src_prepare() {
67 - default
68 -
69 - # test/rtpw.c is using /usr/share/dict/words assuming it exists
70 - # using test/rtpw.c guaratees the file exists in any case
71 - sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c || die
72 -
73 - eautoreconf
74 -
75 - # sadly, tests are too broken to even consider using work-arounds
76 - multilib_copy_sources
77 -}
78 -
79 -multilib_src_configure() {
80 - # stdout: default error output for messages in debug
81 - # pcap: seems to be test-only
82 - # openssl-kdf: OpenSSL 1.1.0+
83 - econf \
84 - --enable-stdout \
85 - --disable-pcap \
86 - --disable-openssl-kdf \
87 - $(use_enable aesicm generic-aesicm) \
88 - $(use_enable console) \
89 - $(use_enable debug) \
90 - $(use_enable openssl)
91 -}
92 -
93 -multilib_src_compile() {
94 - use static-libs && emake ${PN}.a
95 - emake shared_library
96 - use test && emake test
97 -}
98 -
99 -multilib_src_test() {
100 - LD_LIBRARY_PATH="${BUILD_DIR}" emake -j1 runtest
101 -
102 - # Makefile.in has '$(testapp): libsrtp2.a'
103 - if use !static-libs; then
104 - rm libsrtp2.a || die
105 - fi
106 -}
107 -
108 -multilib_src_install_all() {
109 - # libsrtp.pdf can be generated with doxygen, but it seems to be broken.
110 - use doc && DOCS+=( doc/*.txt )
111 - einstalldocs
112 -}
113
114 diff --git a/net-libs/libsrtp/libsrtp-2.0.0.ebuild b/net-libs/libsrtp/libsrtp-2.0.0.ebuild
115 deleted file mode 100644
116 index 828aec3146b..00000000000
117 --- a/net-libs/libsrtp/libsrtp-2.0.0.ebuild
118 +++ /dev/null
119 @@ -1,73 +0,0 @@
120 -# Copyright 1999-2017 Gentoo Foundation
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI=6
124 -
125 -inherit autotools
126 -
127 -DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
128 -HOMEPAGE="https://github.com/cisco/libsrtp"
129 -SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
130 -
131 -LICENSE="BSD"
132 -SLOT="2/1"
133 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
134 -IUSE="aesicm console debug doc libressl openssl static-libs syslog test"
135 -
136 -RDEPEND="
137 - openssl? (
138 - !libressl? ( dev-libs/openssl:0= )
139 - libressl? ( dev-libs/libressl:0= )
140 - )
141 -"
142 -DEPEND="${RDEPEND}"
143 -
144 -DOCS=( CHANGES README TODO )
145 -
146 -PATCHES=( "${FILESDIR}/${PN}-pcap-automagic-r0.patch" )
147 -
148 -src_prepare() {
149 - default
150 -
151 - # test/rtpw.c is using /usr/share/dict/words assuming it exists
152 - # using test/rtpw.c guaratees the file exists in any case
153 - sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c || die
154 -
155 - eautoreconf
156 -}
157 -
158 -src_configure() {
159 - # stdout: default error output for messages in debug
160 - # pcap: seems to be test-only
161 - # openssl-kdf: OpenSSL 1.1.0+
162 - econf \
163 - --enable-stdout \
164 - --disable-pcap \
165 - --disable-openssl-kdf \
166 - $(use_enable aesicm generic-aesicm) \
167 - $(use_enable console) \
168 - $(use_enable debug) \
169 - $(use_enable openssl)
170 -}
171 -
172 -src_compile() {
173 - use static-libs && emake ${PN}.a
174 - emake shared_library
175 - use test && emake test
176 -}
177 -
178 -src_test() {
179 - LD_LIBRARY_PATH="${S}" emake -j1 runtest
180 -
181 - # Makefile.in has '$(testapp): libsrtp2.a'
182 - if use !static-libs; then
183 - rm libsrtp2.a || die
184 - fi
185 -}
186 -
187 -src_install() {
188 - # libsrtp.pdf can be generated with doxygen, but it seems to be broken.
189 - use doc && DOCS+=( doc/*.txt )
190 -
191 - default
192 -}
193
194 diff --git a/net-libs/libsrtp/libsrtp-2.1.0.ebuild b/net-libs/libsrtp/libsrtp-2.1.0.ebuild
195 deleted file mode 100644
196 index 0ae62cb07f7..00000000000
197 --- a/net-libs/libsrtp/libsrtp-2.1.0.ebuild
198 +++ /dev/null
199 @@ -1,74 +0,0 @@
200 -# Copyright 1999-2018 Gentoo Foundation
201 -# Distributed under the terms of the GNU General Public License v2
202 -
203 -EAPI=6
204 -
205 -inherit autotools multilib-minimal
206 -
207 -DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
208 -HOMEPAGE="https://github.com/cisco/libsrtp"
209 -SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
210 -
211 -LICENSE="BSD"
212 -SLOT="2/1"
213 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
214 -IUSE="aesicm console debug doc libressl openssl static-libs syslog test"
215 -
216 -RDEPEND="
217 - openssl? (
218 - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
219 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
220 - )
221 -"
222 -DEPEND="${RDEPEND}"
223 -
224 -DOCS=( CHANGES )
225 -
226 -PATCHES=( "${FILESDIR}/${P}-pcap-automagic-r0.patch" )
227 -
228 -src_prepare() {
229 - default
230 -
231 - # test/rtpw.c is using /usr/share/dict/words assuming it exists
232 - # using test/rtpw.c guaratees the file exists in any case
233 - sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c || die
234 -
235 - mv configure.in configure.ac || die
236 - eautoreconf
237 -
238 - # sadly, tests are too broken to even consider using work-arounds
239 - multilib_copy_sources
240 -}
241 -
242 -multilib_src_configure() {
243 - # stdout: default error output for messages in debug
244 - # pcap: seems to be test-only
245 - # openssl-kdf: OpenSSL 1.1.0+
246 - econf \
247 - --enable-log-stdout \
248 - --disable-pcap \
249 - --disable-openssl-kdf \
250 - $(use_enable debug debug-logging) \
251 - $(use_enable openssl)
252 -}
253 -
254 -multilib_src_compile() {
255 - use static-libs && emake ${PN}2.a
256 - emake shared_library
257 - use test && emake test
258 -}
259 -
260 -multilib_src_test() {
261 - LD_LIBRARY_PATH="${BUILD_DIR}" emake -j1 runtest
262 -
263 - # Makefile.in has '$(testapp): libsrtp2.a'
264 - if use !static-libs; then
265 - rm libsrtp2.a || die
266 - fi
267 -}
268 -
269 -multilib_src_install_all() {
270 - # libsrtp.pdf can be generated with doxygen, but it seems to be broken.
271 - use doc && DOCS+=( doc/*.txt )
272 - einstalldocs
273 -}