From 23817b0abff5534204913d34ed84343dc9908918d9d2c5197bd98aac09932d3e Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Mon, 28 Nov 2022 09:01:50 +0000 Subject: [PATCH 1/2] Accepting request 1038595 from home:Vogtinator:branches:KDE:Frameworks5 - Drop setgid bit on kdesud, no longer needed since 5.99.0 OBS-URL: https://build.opensuse.org/request/show/1038595 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdesu?expand=0&rev=264 --- kdesu.changes | 5 +++++ kdesu.spec | 13 +++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/kdesu.changes b/kdesu.changes index 95481e3..bec2e18 100644 --- a/kdesu.changes +++ b/kdesu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 28 08:53:03 UTC 2022 - Fabian Vogt + +- Drop setgid bit on kdesud, no longer needed since 5.99.0 + ------------------------------------------------------------------- Tue Nov 8 08:35:03 UTC 2022 - Christophe Giboudeaux diff --git a/kdesu.spec b/kdesu.spec index 54c16f0..10fbf0b 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -1,7 +1,7 @@ # # spec file for package kdesu # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -58,8 +58,6 @@ kdessh use it to interface with su and ssh respectively. %package -n %{lname} Summary: User interface for running shell commands with root privileges Group: System/GUI/KDE -Requires(pre): permissions -Requires(pre): group(nogroup) Obsoletes: libKF5Su4 %description -n %{lname} @@ -96,13 +94,8 @@ Development files. %find_lang kdesud5 -%post -n %{lname} -/sbin/ldconfig -%set_permissions %{_kf5_libexecdir}/kdesud - +%post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig -%verifyscript -n %{lname} -%verify_permissions -e %{_kf5_libexecdir}/kdesud %files -n %{lname}-lang -f kdesud5.lang @@ -112,7 +105,7 @@ Development files. %{_kf5_libdir}/libKF5Su.so.* %{_kf5_libexecdir}/kdesu_stub %{_kf5_debugdir}/ksu.categories -%verify(not mode) %attr(2755,root,nogroup) %{_kf5_libexecdir}/kdesud +%{_kf5_libexecdir}/kdesud %files devel %{_kf5_libdir}/libKF5Su.so From c649b147db6c85fdfd70a3853a008de5afa5fc1cf12596bc16bc9f6fcca698b0 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Mon, 28 Nov 2022 10:21:49 +0000 Subject: [PATCH 2/2] Accepting request 1038605 from home:Vogtinator:branches:KDE:Frameworks5 - Drop fpie.patch, works as expected without OBS-URL: https://build.opensuse.org/request/show/1038605 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdesu?expand=0&rev=265 --- fpie.patch | 14 -------------- kdesu.changes | 5 +++++ kdesu.spec | 2 -- 3 files changed, 5 insertions(+), 16 deletions(-) delete mode 100644 fpie.patch diff --git a/fpie.patch b/fpie.patch deleted file mode 100644 index a576713..0000000 --- a/fpie.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: kdesu-5.62.0git.20220827T215947~7188b15/src/kdesud/CMakeLists.txt -=================================================================== ---- kdesu-5.62.0git.20220827T215947~7188b15.orig/src/kdesud/CMakeLists.txt 2022-08-27 21:59:47.000000000 +0200 -+++ kdesu-5.62.0git.20220827T215947~7188b15/src/kdesud/CMakeLists.txt 2022-08-28 22:14:41.623414812 +0200 -@@ -30,6 +30,9 @@ - target_include_directories(kdesud PRIVATE ${X11_X11_INCLUDE_PATH}) - endif() - -+set_property(TARGET kdesud APPEND_STRING PROPERTY COMPILE_FLAGS " -fPIE") -+set_property(TARGET kdesud APPEND_STRING PROPERTY LINK_FLAGS " -pie") -+ - if(BUILD_TESTING) - add_subdirectory(autotests) - endif() diff --git a/kdesu.changes b/kdesu.changes index bec2e18..c1aa3d3 100644 --- a/kdesu.changes +++ b/kdesu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 28 09:10:30 UTC 2022 - Fabian Vogt + +- Drop fpie.patch, works as expected without + ------------------------------------------------------------------- Mon Nov 28 08:53:03 UTC 2022 - Fabian Vogt diff --git a/kdesu.spec b/kdesu.spec index 10fbf0b..b870a7e 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -35,8 +35,6 @@ Source: %{name}-%{version}.tar.xz Source1: %{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif -# PATCH-FIX-OPENSUSE fpie.patch -- make kdesud compile/link with -(f)pie flags -Patch0: fpie.patch # PATCH-FIX-OPENSUSE Patch1: 0001-Unset-QT_QPA_PLATFORM-to-get-xcb.patch BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}