x11-libs/wxGTK: remove USE=webkit (wxWebView) support from gtk2 based SLOT=3.0
authorMart Raudsepp <leio@gentoo.org>
Thu, 4 Jan 2018 03:31:03 +0000 (05:31 +0200)
committerMart Raudsepp <leio@gentoo.org>
Thu, 4 Jan 2018 17:18:19 +0000 (19:18 +0200)
gtk2 supporting webkit-gtk versions have not received security fixes for years, so
don't allow subjecting oneself to such an unsafe possibility. The only in-tree
wxGTK:3.0[webkit] consumer was ported to wxGTK:3.0-gtk3[webkit], which will have
a security safe version in a subsequent commit.

Bug: https://bugs.gentoo.org/629122
Package-Manager: Portage-2.3.19, Repoman-2.3.6

x11-libs/wxGTK/wxGTK-3.0.3.ebuild

index 2f84b71d6cd2ec2925fae68a96b165b9dfc61d38..316720cf4958ff71a0c145e474e737bf66363807 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidge
        doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
 
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit"
+IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff"
 
 SLOT="3.0"
 
@@ -34,7 +34,6 @@ RDEPEND="
                libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
                opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
                tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-               webkit? ( net-libs/webkit-gtk:2 )
                )
        aqua? (
                x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}]
@@ -92,8 +91,8 @@ multilib_src_configure() {
                        --with-libxpm=sys
                        --with-libjpeg=sys
                        --without-gnomevfs
+                       --disable-webview
                        $(use_enable gstreamer mediactrl)
-                       $(multilib_native_use_enable webkit webview)
                        $(use_with libnotify)
                        $(use_with opengl)
                        $(use_with tiff libtiff sys)"