Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/rtmpdump/
Date: Mon, 03 May 2021 09:31:25
Message-Id: 1620034240.6bbce6f9596f93c4ea32fc5d1e03c6c15c0a1069.zlogene@gentoo
1 commit: 6bbce6f9596f93c4ea32fc5d1e03c6c15c0a1069
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 09:30:40 2021 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 09:30:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bbce6f9
7
8 media-video/rtmpdump: remove libressl support
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild | 9 ++++-----
14 media-video/rtmpdump/rtmpdump-2.4_p20190330.ebuild | 15 ++++-----------
15 media-video/rtmpdump/rtmpdump-9999.ebuild | 12 +++---------
16 3 files changed, 11 insertions(+), 25 deletions(-)
17
18 diff --git a/media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild b/media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild
19 index a3b8a59caac..fb6e6d60d9f 100644
20 --- a/media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild
21 +++ b/media-video/rtmpdump/rtmpdump-2.4_p20161210-r3.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI="7"
28 @@ -11,7 +11,7 @@ HOMEPAGE="https://rtmpdump.mplayerhq.hu/"
29 # the library is LGPL-2.1, the command is GPL-2
30 LICENSE="GPL-2 LGPL-2.1"
31 SLOT="0"
32 -IUSE="gnutls ssl static-libs libressl"
33 +IUSE="gnutls ssl static-libs"
34
35 DEPEND="ssl? (
36 gnutls? (
37 @@ -19,8 +19,7 @@ DEPEND="ssl? (
38 dev-libs/nettle:0=[${MULTILIB_USEDEP}]
39 )
40 !gnutls? (
41 - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
42 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
43 + dev-libs/openssl:0=[${MULTILIB_USEDEP}]
44 )
45 >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
46 )"
47 @@ -67,7 +66,7 @@ src_prepare() {
48 -e 's:OPT:OPTS:' \
49 -e 's:CFLAGS=.*:& $(OPT):' librtmp/Makefile \
50 || die "failed to fix Makefile"
51 - use ssl && use !gnutls && use !libressl && eapply "${FILESDIR}/${PN}-openssl-1.1-v2.patch"
52 + use ssl && use !gnutls && eapply "${FILESDIR}/${PN}-openssl-1.1-v2.patch"
53 default
54 multilib_copy_sources
55 }
56
57 diff --git a/media-video/rtmpdump/rtmpdump-2.4_p20190330.ebuild b/media-video/rtmpdump/rtmpdump-2.4_p20190330.ebuild
58 index c5698f9c7a3..839b25613c0 100644
59 --- a/media-video/rtmpdump/rtmpdump-2.4_p20190330.ebuild
60 +++ b/media-video/rtmpdump/rtmpdump-2.4_p20190330.ebuild
61 @@ -1,4 +1,4 @@
62 -# Copyright 1999-2020 Gentoo Authors
63 +# Copyright 1999-2021 Gentoo Authors
64 # Distributed under the terms of the GNU General Public License v2
65
66 EAPI="7"
67 @@ -11,17 +11,14 @@ HOMEPAGE="https://rtmpdump.mplayerhq.hu/"
68 # the library is LGPL-2.1, the command is GPL-2
69 LICENSE="LGPL-2.1 tools? ( GPL-2 )"
70 SLOT="0"
71 -IUSE="gnutls ssl static-libs +tools libressl"
72 -
73 -REQUIRED_USE="?? ( gnutls libressl )"
74 +IUSE="gnutls ssl static-libs +tools"
75
76 DEPEND="ssl? (
77 gnutls? (
78 >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP},nettle(+)]
79 dev-libs/nettle:0=[${MULTILIB_USEDEP}]
80 )
81 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
82 - !gnutls? ( !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) )
83 + !gnutls? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
84 >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
85 )"
86 RDEPEND="${DEPEND}"
87 @@ -47,10 +44,6 @@ pkg_setup() {
88 ewarn "USE='gnutls' is ignored without USE='ssl'."
89 ewarn "Please review the local USE flags for this package."
90 fi
91 - if use libressl; then
92 - ewarn "USE='libressl' is ignored without USE='ssl'."
93 - ewarn "Please review the local USE flags for this package."
94 - fi
95 fi
96 }
97
98 @@ -64,7 +57,7 @@ src_prepare() {
99 -e 's:OPT:OPTS:' \
100 -e 's:CFLAGS=.*:& $(OPT):' librtmp/Makefile \
101 || die "failed to fix Makefile"
102 - use ssl && use !gnutls && use !libressl && eapply "${FILESDIR}/${PN}-openssl-1.1-v2.patch"
103 + use ssl && use !gnutls && eapply "${FILESDIR}/${PN}-openssl-1.1-v2.patch"
104 default
105 multilib_copy_sources
106 }
107
108 diff --git a/media-video/rtmpdump/rtmpdump-9999.ebuild b/media-video/rtmpdump/rtmpdump-9999.ebuild
109 index c5698f9c7a3..8e1443f8b83 100644
110 --- a/media-video/rtmpdump/rtmpdump-9999.ebuild
111 +++ b/media-video/rtmpdump/rtmpdump-9999.ebuild
112 @@ -1,4 +1,4 @@
113 -# Copyright 1999-2020 Gentoo Authors
114 +# Copyright 1999-2021 Gentoo Authors
115 # Distributed under the terms of the GNU General Public License v2
116
117 EAPI="7"
118 @@ -11,17 +11,15 @@ HOMEPAGE="https://rtmpdump.mplayerhq.hu/"
119 # the library is LGPL-2.1, the command is GPL-2
120 LICENSE="LGPL-2.1 tools? ( GPL-2 )"
121 SLOT="0"
122 -IUSE="gnutls ssl static-libs +tools libressl"
123 +IUSE="gnutls ssl static-libs +tools"
124
125 -REQUIRED_USE="?? ( gnutls libressl )"
126
127 DEPEND="ssl? (
128 gnutls? (
129 >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP},nettle(+)]
130 dev-libs/nettle:0=[${MULTILIB_USEDEP}]
131 )
132 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
133 - !gnutls? ( !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) )
134 + !gnutls? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
135 >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
136 )"
137 RDEPEND="${DEPEND}"
138 @@ -47,10 +45,6 @@ pkg_setup() {
139 ewarn "USE='gnutls' is ignored without USE='ssl'."
140 ewarn "Please review the local USE flags for this package."
141 fi
142 - if use libressl; then
143 - ewarn "USE='libressl' is ignored without USE='ssl'."
144 - ewarn "Please review the local USE flags for this package."
145 - fi
146 fi
147 }