Hello community, here is the log from the commit of package kdesu for openSUSE:Factory checked in at 2016-11-17 12:30:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdesu (Old) and /work/SRC/openSUSE:Factory/.kdesu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdesu" Changes: -------- --- /work/SRC/openSUSE:Factory/kdesu/kdesu.changes 2016-10-28 12:18:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kdesu.new/kdesu.changes 2016-11-17 12:30:08.000000000 +0100 @@ -1,0 +2,17 @@ +Thu Nov 10 12:55:50 UTC 2016 - [email protected] + +- Add unset-xdg-runtime-dir.diff to unset XDG_RUNTIME_DIR in processes + run with kdesu. This fixes the problem which made most kde applications + (like dolphin or kate) not usable when run as another user with kdesu. + kdesu worked to run those applications as root, but then, sockets + were created in / . This patch also fixes the creation of those files + which will be created on /tmp/runtime-<username>/ (boo#1009510). + +------------------------------------------------------------------- +Sat Nov 5 22:04:03 UTC 2016 - [email protected] + +- Update to 5.28.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.28.0.php + +------------------------------------------------------------------- Old: ---- kdesu-5.27.0.tar.xz New: ---- kdesu-5.28.0.tar.xz unset-xdg-runtime-dir.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdesu.spec ++++++ --- /var/tmp/diff_new_pack.IYVMPF/_old 2016-11-17 12:30:09.000000000 +0100 +++ /var/tmp/diff_new_pack.IYVMPF/_new 2016-11-17 12:30:09.000000000 +0100 @@ -18,9 +18,9 @@ %bcond_without lang %define lname libKF5Su5 -%define _tar_path 5.27 +%define _tar_path 5.28 Name: kdesu -Version: 5.27.0 +Version: 5.28.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 @@ -41,6 +41,8 @@ Source1: baselibs.conf # PATCH-FIX-OPENSUSE fpie.patch -- make kdesud compile/link with -(f)pie flags Patch0: fpie.patch +# PATCH-FIX-UPSTREAM unset-xdg-runtime-dir.diff [email protected] -- unset XDG_RUNTIME_DIR so applications run under kdesu don't try to use an inaccesible runtime dir +Patch1: unset-xdg-runtime-dir.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -80,6 +82,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %cmake_kf5 -d build ++++++ kdesu-5.27.0.tar.xz -> kdesu-5.28.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.27.0/CMakeLists.txt new/kdesu-5.28.0/CMakeLists.txt --- old/kdesu-5.27.0/CMakeLists.txt 2016-10-02 11:49:08.000000000 +0200 +++ new/kdesu-5.28.0/CMakeLists.txt 2016-11-05 15:47:29.000000000 +0100 @@ -3,7 +3,7 @@ project(KDESu) include(FeatureSummary) -find_package(ECM 5.27.0 NO_MODULE) +find_package(ECM 5.28.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) @@ -16,8 +16,8 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) include(KDECMakeSettings) -set(KF5_VERSION "5.27.0") # handled by release scripts -set(KF5_DEP_VERSION "5.27.0") # handled by release scripts +set(KF5_VERSION "5.28.0") # handled by release scripts +set(KF5_DEP_VERSION "5.28.0") # handled by release scripts find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED) find_package(KF5I18n ${KF5_DEP_VERSION} REQUIRED) find_package(KF5Service ${KF5_DEP_VERSION} REQUIRED) ++++++ unset-xdg-runtime-dir.diff ++++++ Index: kdesu-5.26.0/src/kdesu_stub.c =================================================================== --- kdesu-5.26.0.orig/src/kdesu_stub.c +++ kdesu-5.26.0/src/kdesu_stub.c @@ -258,6 +258,8 @@ int main() unsetenv("LC_ALL"); } + unsetenv("XDG_RUNTIME_DIR"); + /* Do we need to change uid? */ pw = getpwnam(params[P_USER].value);
