Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710866 - RFE: Support compiling dev-qt/qtwebengine with kerberos support
Summary: RFE: Support compiling dev-qt/qtwebengine with kerberos support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-26 13:13 UTC by Phil
Modified: 2020-04-09 21:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil 2020-02-26 13:13:34 UTC
This is available since dev-qt/qtwebengine-5.12.1, see https://bugreports.qt.io/browse/QTBUG-51082

Here's a simple patch to 5.14.1 ebuild:

--- /usr/portage/dev-qt/qtwebengine/qtwebengine-5.14.1.ebuild	2020-02-10 08:09:42.000000000 +0100
+++ /usr/local/portage/dev-qt/qtwebengine/qtwebengine-5.14.1-r99.ebuild	2020-02-26 02:19:37.727168387 +0100
@@ -12,7 +12,7 @@
 	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
-IUSE="alsa bindist designer geolocation jumbo-build pulseaudio +system-ffmpeg +system-icu widgets"
+IUSE="alsa bindist designer geolocation jumbo-build pulseaudio +system-ffmpeg +system-icu widgets kerberos"
 REQUIRED_USE="designer? ( widgets )"
 
 RDEPEND="
@@ -115,6 +115,7 @@
 		$(usex pulseaudio '-pulseaudio' '-no-pulseaudio')
 		$(usex system-ffmpeg '-system-ffmpeg' '-qt-ffmpeg')
 		$(usex system-icu '-webengine-icu' '-no-webengine-icu')
+		$(usex kerberos '-webengine-kerberos' '-no-webengine-kerberos')
 	)
 	qt5-build_src_configure
 }

With this in place and the following config snippet, qutebrowser successfully authenticates via kerberos:

% cat .config/qutebrowser/config.py 
c.qt.args = [
        "auth-server-whitelist=*redhat.com",
#        "enable-logging",
#        "log-level=99"
]
Comment 1 Chiitoo gentoo-dev 2020-04-09 20:35:53 UTC
Thanks for the report!

Took a while to get to it, but this will probably be included quite soon.
Comment 2 Larry the Git Cow gentoo-dev 2020-04-09 20:38:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=7c4e793e33ee97e2a797291245eebb37c56c60ce

commit 7c4e793e33ee97e2a797291245eebb37c56c60ce
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2020-03-03 21:35:50 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2020-04-09 20:33:40 +0000

    dev-qt/qtwebengine: add USE="kerberos"
    
    Bug: https://bugs.gentoo.org/710866
    Package-Manager: Portage-2.3.98, Repoman-2.3.22
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild    | 4 +++-
 dev-qt/qtwebengine/qtwebengine-5.15.0_beta3.ebuild | 4 +++-
 dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild    | 4 +++-
 dev-qt/qtwebengine/qtwebengine-5.9999.ebuild       | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-04-09 21:36:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56acf9bac388533631838ff019e20eb41af0bbe0

commit 56acf9bac388533631838ff019e20eb41af0bbe0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-04-09 20:00:29 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-04-09 21:36:28 +0000

    dev-qt: Add Qt 5.14.2
    
    Closes: https://bugs.gentoo.org/669994
    Closes: https://bugs.gentoo.org/710866
    Closes: https://bugs.gentoo.org/713722
    Closes: https://bugs.gentoo.org/716754
    Package-Manager: Portage-2.3.98, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/assistant/Manifest                          |   1 +
 dev-qt/assistant/assistant-5.14.2.ebuild           |  55 ++++++
 dev-qt/designer/Manifest                           |   1 +
 dev-qt/designer/designer-5.14.2.ebuild             |  57 +++++++
 dev-qt/linguist-tools/Manifest                     |   1 +
 dev-qt/linguist-tools/linguist-tools-5.14.2.ebuild |  35 ++++
 dev-qt/linguist/Manifest                           |   1 +
 dev-qt/linguist/linguist-5.14.2.ebuild             |  48 ++++++
 dev-qt/pixeltool/Manifest                          |   1 +
 dev-qt/pixeltool/pixeltool-5.14.2.ebuild           |  25 +++
 dev-qt/qdbus/Manifest                              |   1 +
 dev-qt/qdbus/qdbus-5.14.2.ebuild                   |  25 +++
 dev-qt/qdbusviewer/Manifest                        |   1 +
 dev-qt/qdbusviewer/qdbusviewer-5.14.2.ebuild       |  45 +++++
 dev-qt/qdoc/Manifest                               |   1 +
 dev-qt/qdoc/qdoc-5.14.2.ebuild                     |  41 +++++
 dev-qt/qt-docs/Manifest                            |  54 ++++++
 dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild |  89 ++++++++++
 dev-qt/qt3d/Manifest                               |   1 +
 dev-qt/qt3d/qt3d-5.14.2.ebuild                     |  34 ++++
 dev-qt/qtbluetooth/Manifest                        |   1 +
 dev-qt/qtbluetooth/qtbluetooth-5.14.2.ebuild       |  33 ++++
 dev-qt/qtcharts/Manifest                           |   1 +
 dev-qt/qtcharts/qtcharts-5.14.2.ebuild             |  29 ++++
 dev-qt/qtconcurrent/Manifest                       |   1 +
 dev-qt/qtconcurrent/qtconcurrent-5.14.2.ebuild     |  23 +++
 dev-qt/qtcore/Manifest                             |   1 +
 dev-qt/qtcore/metadata.xml                         |   1 +
 dev-qt/qtcore/qtcore-5.14.2.ebuild                 | 101 +++++++++++
 dev-qt/qtdatavis3d/Manifest                        |   1 +
 dev-qt/qtdatavis3d/qtdatavis3d-5.14.2.ebuild       |  31 ++++
 dev-qt/qtdbus/Manifest                             |   1 +
 dev-qt/qtdbus/qtdbus-5.14.2.ebuild                 |  43 +++++
 dev-qt/qtdeclarative/Manifest                      |   1 +
 dev-qt/qtdeclarative/qtdeclarative-5.14.2.ebuild   |  53 ++++++
 dev-qt/qtdiag/Manifest                             |   1 +
 dev-qt/qtdiag/qtdiag-5.14.2.ebuild                 |  36 ++++
 dev-qt/qtgamepad/Manifest                          |   1 +
 dev-qt/qtgamepad/qtgamepad-5.14.2.ebuild           |  35 ++++
 dev-qt/qtgraphicaleffects/Manifest                 |   1 +
 .../qtgraphicaleffects-5.14.2.ebuild               |  21 +++
 dev-qt/qtgui/Manifest                              |   1 +
 dev-qt/qtgui/qtgui-5.14.2.ebuild                   | 184 +++++++++++++++++++++
 dev-qt/qthelp/Manifest                             |   1 +
 dev-qt/qthelp/qthelp-5.14.2.ebuild                 |  29 ++++
 dev-qt/qtimageformats/Manifest                     |   1 +
 dev-qt/qtimageformats/qtimageformats-5.14.2.ebuild |  30 ++++
 dev-qt/qtlocation/Manifest                         |   1 +
 dev-qt/qtlocation/qtlocation-5.14.2.ebuild         |  46 ++++++
 dev-qt/qtmultimedia/Manifest                       |   1 +
 dev-qt/qtmultimedia/qtmultimedia-5.14.2.ebuild     |  68 ++++++++
 dev-qt/qtnetwork/Manifest                          |   1 +
 dev-qt/qtnetwork/metadata.xml                      |   1 +
 dev-qt/qtnetwork/qtnetwork-5.14.2.ebuild           |  62 +++++++
 dev-qt/qtnetworkauth/Manifest                      |   1 +
 dev-qt/qtnetworkauth/qtnetworkauth-5.14.2.ebuild   |  20 +++
 dev-qt/qtopengl/Manifest                           |   1 +
 dev-qt/qtopengl/qtopengl-5.14.2.ebuild             |  34 ++++
 dev-qt/qtpaths/Manifest                            |   1 +
 dev-qt/qtpaths/qtpaths-5.14.2.ebuild               |  23 +++
 dev-qt/qtplugininfo/Manifest                       |   1 +
 dev-qt/qtplugininfo/qtplugininfo-5.14.2.ebuild     |  23 +++
 dev-qt/qtpositioning/Manifest                      |   1 +
 dev-qt/qtpositioning/qtpositioning-5.14.2.ebuild   |  40 +++++
 dev-qt/qtprintsupport/Manifest                     |   1 +
 dev-qt/qtprintsupport/qtprintsupport-5.14.2.ebuild |  42 +++++
 dev-qt/qtquickcontrols/Manifest                    |   1 +
 .../qtquickcontrols/qtquickcontrols-5.14.2.ebuild  |  32 ++++
 dev-qt/qtquickcontrols2/Manifest                   |   1 +
 .../qtquickcontrols2-5.14.2.ebuild                 |  30 ++++
 dev-qt/qtscript/Manifest                           |   1 +
 dev-qt/qtscript/qtscript-5.14.2.ebuild             |  36 ++++
 dev-qt/qtscxml/Manifest                            |   1 +
 dev-qt/qtscxml/qtscxml-5.14.2.ebuild               |  19 +++
 dev-qt/qtsensors/Manifest                          |   1 +
 dev-qt/qtsensors/qtsensors-5.14.2.ebuild           |  28 ++++
 dev-qt/qtserialbus/Manifest                        |   1 +
 dev-qt/qtserialbus/qtserialbus-5.14.2.ebuild       |  20 +++
 dev-qt/qtserialport/Manifest                       |   1 +
 dev-qt/qtserialport/qtserialport-5.14.2.ebuild     |  27 +++
 dev-qt/qtspeech/Manifest                           |   1 +
 dev-qt/qtspeech/qtspeech-5.14.2.ebuild             |  20 +++
 dev-qt/qtsql/Manifest                              |   1 +
 dev-qt/qtsql/qtsql-5.14.2.ebuild                   |  55 ++++++
 dev-qt/qtsvg/Manifest                              |   1 +
 dev-qt/qtsvg/qtsvg-5.14.2.ebuild                   |  23 +++
 dev-qt/qttest/Manifest                             |   1 +
 dev-qt/qttest/qttest-5.14.2.ebuild                 |  33 ++++
 dev-qt/qttranslations/Manifest                     |   1 +
 dev-qt/qttranslations/qttranslations-5.14.2.ebuild |  19 +++
 dev-qt/qtvirtualkeyboard/Manifest                  |   1 +
 .../qtvirtualkeyboard-5.14.2.ebuild                |  43 +++++
 dev-qt/qtwayland/Manifest                          |   1 +
 dev-qt/qtwayland/qtwayland-5.14.2.ebuild           |  45 +++++
 dev-qt/qtwebchannel/Manifest                       |   1 +
 dev-qt/qtwebchannel/qtwebchannel-5.14.2.ebuild     |  26 +++
 dev-qt/qtwebengine/Manifest                        |   1 +
 dev-qt/qtwebengine/qtwebengine-5.14.2.ebuild       | 146 ++++++++++++++++
 dev-qt/qtwebsockets/Manifest                       |   1 +
 dev-qt/qtwebsockets/qtwebsockets-5.14.2.ebuild     |  27 +++
 dev-qt/qtwebview/Manifest                          |   1 +
 dev-qt/qtwebview/qtwebview-5.14.2.ebuild           |  21 +++
 dev-qt/qtwidgets/Manifest                          |   1 +
 dev-qt/qtwidgets/qtwidgets-5.14.2.ebuild           |  57 +++++++
 dev-qt/qtx11extras/Manifest                        |   1 +
 dev-qt/qtx11extras/qtx11extras-5.14.2.ebuild       |  22 +++
 dev-qt/qtxml/Manifest                              |   1 +
 dev-qt/qtxml/qtxml-5.14.2.ebuild                   |  29 ++++
 dev-qt/qtxmlpatterns/Manifest                      |   1 +
 dev-qt/qtxmlpatterns/qtxmlpatterns-5.14.2.ebuild   |  30 ++++
 110 files changed, 2357 insertions(+)