media-video/rtmpdump: Drop polarssl support
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 4 Nov 2017 20:30:32 +0000 (21:30 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 4 Nov 2017 20:31:12 +0000 (21:31 +0100)
Closes: https://github.com/gentoo/gentoo/pull/4895
Closes: https://bugs.gentoo.org/618360

Package-Manager: Portage-2.3.13, Repoman-2.3.4

media-video/rtmpdump/metadata.xml
media-video/rtmpdump/rtmpdump-2.4_p20161210-r1.ebuild
media-video/rtmpdump/rtmpdump-2.4_p20161210.ebuild
media-video/rtmpdump/rtmpdump-9999.ebuild

index 1abcb135fb33626012c9ea68a298fb5ef79b97e5..724b1cb49d6607b9d84965ed73883af3c34a7bf6 100644 (file)
@@ -7,6 +7,5 @@
 </maintainer>
 <use>
        <flag name="gnutls">Use GnuTLS library instead of the default OpenSSL</flag>
-       <flag name="polarssl">Use PolarSSL library instead of the default OpenSSL</flag>
 </use>
 </pkgmetadata>
index 13ae3a45a58916b7886b8233c690f585d48b1938..5ab69865de61e4c30ba5b84e69107032970efec0 100644 (file)
@@ -13,19 +13,18 @@ SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="gnutls polarssl ssl libressl"
+IUSE="gnutls ssl libressl"
 
 DEPEND="ssl? (
                gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP},nettle(+)] )
-               polarssl? ( !gnutls? ( >=net-libs/polarssl-1.3.4[${MULTILIB_USEDEP}] ) )
-               !gnutls? ( !polarssl? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) libressl? ( dev-libs/libressl ) ) )
+               !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) libressl? ( dev-libs/libressl ) )
                >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
        )"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {
-       if ! use ssl && { use gnutls || use polarssl; }; then
-               ewarn "USE='gnutls polarssl' are ignored without USE='ssl'."
+       if ! use ssl && use gnutls ; then
+               ewarn "USE='gnutls' is ignored without USE='ssl'."
                ewarn "Please review the local USE flags for this package."
        fi
 }
@@ -54,8 +53,6 @@ multilib_src_compile() {
        if use ssl ; then
                if use gnutls ; then
                        crypto="GNUTLS"
-               elif use polarssl ; then
-                       crypto="POLARSSL"
                else
                        crypto="OPENSSL"
                fi
index 89a24d3c7872fa427d8b34ecf7110b36c0bbb424..eec4bbc9a07c2af520c8050480b025762b15050d 100644 (file)
@@ -13,19 +13,18 @@ SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="gnutls polarssl ssl libressl"
+IUSE="gnutls ssl libressl"
 
 DEPEND="ssl? (
                gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP},nettle(+)] )
-               polarssl? ( !gnutls? ( >=net-libs/polarssl-1.3.4[${MULTILIB_USEDEP}] ) )
-               !gnutls? ( !polarssl? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) libressl? ( dev-libs/libressl ) ) )
+               !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) libressl? ( dev-libs/libressl ) )
                >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
        )"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {
-       if ! use ssl && { use gnutls || use polarssl; }; then
-               ewarn "USE='gnutls polarssl' are ignored without USE='ssl'."
+       if ! use ssl && use gnutls ; then
+               ewarn "USE='gnutls' is ignored without USE='ssl'."
                ewarn "Please review the local USE flags for this package."
        fi
 }
@@ -54,8 +53,6 @@ multilib_src_compile() {
        if use ssl ; then
                if use gnutls ; then
                        crypto="GNUTLS"
-               elif use polarssl ; then
-                       crypto="POLARSSL"
                else
                        crypto="OPENSSL"
                fi
index 4d69e6e3a3c45ed975c76b5b9a779900746ec187..ccd765a7d625d9437618320284c7baa7b942bd7f 100644 (file)
@@ -13,19 +13,18 @@ EGIT_REPO_URI="https://git.ffmpeg.org/rtmpdump.git"
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS=""
-IUSE="gnutls polarssl ssl libressl"
+IUSE="gnutls ssl libressl"
 
 DEPEND="ssl? (
                gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP},nettle(+)] )
-               polarssl? ( !gnutls? ( >=net-libs/polarssl-1.3.4[${MULTILIB_USEDEP}] ) )
-               !gnutls? ( !polarssl? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) libressl? ( dev-libs/libressl ) ) )
+               !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) libressl? ( dev-libs/libressl ) )
                >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
        )"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {
-       if ! use ssl && { use gnutls || use polarssl; }; then
-               ewarn "USE='gnutls polarssl' are ignored without USE='ssl'."
+       if ! use ssl && use gnutls ; then
+               ewarn "USE='gnutls' is ignored without USE='ssl'."
                ewarn "Please review the local USE flags for this package."
        fi
 }
@@ -48,8 +47,6 @@ multilib_src_compile() {
        if use ssl ; then
                if use gnutls ; then
                        crypto="GNUTLS"
-               elif use polarssl ; then
-                       crypto="POLARSSL"
                else
                        crypto="OPENSSL"
                fi