Accepting request 440478 from KDE:Frameworks5
Update to 5.28.0 OBS-URL: https://build.opensuse.org/request/show/440478 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdesu?expand=0&rev=34
This commit is contained in:
commit
33827ef750
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2a0c387fc7dd96fd6c50f943e3d414f03d06eab3560200c85ff17901c20fa0d0
|
||||
size 44512
|
3
kdesu-5.28.0.tar.xz
Normal file
3
kdesu-5.28.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:976f0054ed5fb4a51e0462cc0dde0249d6f1c15ad1e76047889a048dede2cab8
|
||||
size 44520
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 10 12:55:50 UTC 2016 - alarrosa@suse.com
|
||||
|
||||
- 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 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Update to 5.28.0
|
||||
* For more details please see:
|
||||
https://www.kde.org/announcements/kde-frameworks-5.28.0.php
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 2 12:53:04 UTC 2016 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -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 @@ Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%
|
||||
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 alarrosa@suse.com -- 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 @@ Development files.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
|
13
unset-xdg-runtime-dir.diff
Normal file
13
unset-xdg-runtime-dir.diff
Normal file
@ -0,0 +1,13 @@
|
||||
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);
|
Loading…
Reference in New Issue
Block a user