Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Rings:1-MinimalX
ktexteditor
0001-Disable-KAuth-integration.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Disable-KAuth-integration.patch of Package ktexteditor
From 94f43c59104f54cdc4e50b35ee420035977ea587 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fabian@ritter-vogt.de> Date: Thu, 24 Aug 2017 09:32:10 +0200 Subject: [PATCH] Disable KAuth integration The security team does not want this in openSUSE, as it is an "insane functionality" and an "abuse of the privileged DBUS functionality." (boo#1033055). I disagree, but that does not help much. --- src/CMakeLists.txt | 8 -------- src/buffer/katetextbuffer.cpp | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) Index: ktexteditor-5.49.0git.20180818T165401~3d625891/src/CMakeLists.txt =================================================================== --- ktexteditor-5.49.0git.20180818T165401~3d625891.orig/src/CMakeLists.txt +++ ktexteditor-5.49.0git.20180818T165401~3d625891/src/CMakeLists.txt @@ -360,13 +360,5 @@ ecm_generate_pri_file(BASE_NAME KTextEdi install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) -add_executable(kauth_ktexteditor_helper buffer/katesecuretextbuffer.cpp) -target_link_libraries(kauth_ktexteditor_helper - KF5::Auth -) -install(TARGETS kauth_ktexteditor_helper DESTINATION ${KAUTH_HELPER_INSTALL_DIR} ) -kauth_install_helper_files(kauth_ktexteditor_helper org.kde.ktexteditor.katetextbuffer root) -kauth_install_actions(org.kde.ktexteditor.katetextbuffer buffer/org.kde.ktexteditor.katetextbuffer.actions) - # add part add_subdirectory(part) Index: ktexteditor-5.49.0git.20180818T165401~3d625891/src/buffer/katetextbuffer.cpp =================================================================== --- ktexteditor-5.49.0git.20180818T165401~3d625891.orig/src/buffer/katetextbuffer.cpp +++ ktexteditor-5.49.0git.20180818T165401~3d625891/src/buffer/katetextbuffer.cpp @@ -781,7 +781,7 @@ bool TextBuffer::save(const QString &fil uint ownerId = -2; uint groupId = -2; QScopedPointer<QIODevice> temporaryBuffer; - if (m_alwaysUseKAuthForSave || !saveFile->open(QIODevice::WriteOnly)) { + if (0 && m_alwaysUseKAuthForSave || !saveFile->open(QIODevice::WriteOnly)) { /** * Memorize owner and group. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor