1 |
commit: 041bd63368c65beca3556709a25dfe0e0dea1207 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 15 15:26:59 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 1 16:03:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041bd633 |
7 |
|
8 |
net-libs/libsrtp: Drop 1.6.0 (r0) |
9 |
|
10 |
Broken by >=OpenSSL-1.1 |
11 |
|
12 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
net-libs/libsrtp/libsrtp-1.6.0.ebuild | 85 ----------------------------------- |
16 |
1 file changed, 85 deletions(-) |
17 |
|
18 |
diff --git a/net-libs/libsrtp/libsrtp-1.6.0.ebuild b/net-libs/libsrtp/libsrtp-1.6.0.ebuild |
19 |
deleted file mode 100644 |
20 |
index 6dedd6b55c7..00000000000 |
21 |
--- a/net-libs/libsrtp/libsrtp-1.6.0.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,85 +0,0 @@ |
24 |
-# Copyright 1999-2019 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=6 |
28 |
- |
29 |
-inherit autotools multilib-minimal |
30 |
- |
31 |
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)" |
32 |
-HOMEPAGE="https://github.com/cisco/libsrtp" |
33 |
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="BSD" |
36 |
-SLOT="0/1" |
37 |
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 -sparc x86 ~ppc-macos ~x64-macos ~x86-macos" |
38 |
-IUSE="aesicm console debug doc libressl openssl static-libs syslog test" |
39 |
-RESTRICT="!test? ( test )" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- openssl? ( |
43 |
- !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) |
44 |
- libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) |
45 |
- ) |
46 |
-" |
47 |
-DEPEND="${RDEPEND}" |
48 |
- |
49 |
-DOCS=( CHANGES README TODO ) |
50 |
- |
51 |
-MULTILIB_WRAPPED_HEADERS=( |
52 |
- /usr/include/srtp/config.h |
53 |
-) |
54 |
-PATCHES=( "${FILESDIR}/${PN}-pcap-automagic-r0.patch" ) |
55 |
- |
56 |
-src_prepare() { |
57 |
- default |
58 |
- |
59 |
- # test/rtpw.c is using /usr/share/dict/words assuming it exists |
60 |
- # using test/rtpw.c guaratees the file exists in any case |
61 |
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c || die |
62 |
- |
63 |
- mv configure.in configure.ac || die |
64 |
- eautoreconf |
65 |
-} |
66 |
- |
67 |
-multilib_src_configure() { |
68 |
- # stdout: default error output for messages in debug |
69 |
- # kernel-linux: breaks the build |
70 |
- # gdoi: disabled by upstream and breaks the build |
71 |
- # pcap: seems to be test-only |
72 |
- ECONF_SOURCE=${S} \ |
73 |
- econf \ |
74 |
- --enable-stdout \ |
75 |
- --disable-kernel-linux \ |
76 |
- --disable-gdoi \ |
77 |
- --disable-pcap \ |
78 |
- $(use_enable aesicm generic-aesicm) \ |
79 |
- $(use_enable console) \ |
80 |
- $(use_enable debug) \ |
81 |
- $(use_enable openssl) \ |
82 |
- $(use_enable syslog) |
83 |
-} |
84 |
- |
85 |
-multilib_src_compile() { |
86 |
- use static-libs && emake ${PN}.a |
87 |
- emake shared_library |
88 |
- use test && emake test |
89 |
-} |
90 |
- |
91 |
-multilib_src_test() { |
92 |
- # work-around tests that do not like out-of-source builds |
93 |
- cp "${S}"/test/{getopt_s,rtpw}.c "${BUILD_DIR}"/test/ || die |
94 |
- |
95 |
- LD_LIBRARY_PATH="${BUILD_DIR}" emake -j1 runtest |
96 |
- |
97 |
- # Makefile.in has '$(testapp): libsrtp.a' |
98 |
- if use !static-libs; then |
99 |
- rm libsrtp.a || die |
100 |
- fi |
101 |
-} |
102 |
- |
103 |
-multilib_src_install_all() { |
104 |
- # libsrtp.pdf can also be generated with doxygen |
105 |
- # but it would be a waste of time as an up-to-date version is built |
106 |
- use doc && DOCS+=( doc/*.txt doc/${PN}.pdf ) |
107 |
- einstalldocs |
108 |
-} |