Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:plasmaregataos
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.56.0git.20200212T090427~0a08d45f/src/CMakeLists.txt =================================================================== --- ktexteditor-5.56.0git.20200212T090427~0a08d45f.orig/src/CMakeLists.txt 2020-02-12 09:04:27.000000000 +0100 +++ ktexteditor-5.56.0git.20200212T090427~0a08d45f/src/CMakeLists.txt 2020-02-14 13:41:26.731436038 +0100 @@ -373,15 +373,6 @@ ecm_generate_pri_file(BASE_NAME KTextEditor LIB_NAME KF5TextEditor DEPS "KParts" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/KTextEditor) install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) - -add_executable(kauth_ktexteditor_helper buffer/katesecuretextbuffer.cpp) -target_link_libraries(kauth_ktexteditor_helper - KF5::AuthCore -) -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.56.0git.20200212T090427~0a08d45f/src/buffer/katetextbuffer.cpp =================================================================== --- ktexteditor-5.56.0git.20200212T090427~0a08d45f.orig/src/buffer/katetextbuffer.cpp 2020-02-12 09:04:27.000000000 +0100 +++ ktexteditor-5.56.0git.20200212T090427~0a08d45f/src/buffer/katetextbuffer.cpp 2020-02-14 13:41:26.731436038 +0100 @@ -869,7 +869,7 @@ TextBuffer::SaveResult TextBuffer::saveBufferUnprivileged(const QString &filename) { - if (m_alwaysUseKAuthForSave) { + if (0 && m_alwaysUseKAuthForSave) { // unit-testing mode, simulate we need privileges return SaveResult::MissingPermissions; }
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