- bsc#1122410: Dont clear XAUTHLOCALHOSTNAME
- Add lxqt-bsc1122410-clear-env.patch: See https://github.com/lxqt/lxqt-sudo/issues/101 OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-sudo?expand=0&rev=16
This commit is contained in:
parent
ab2f095641
commit
e215a8b4a1
15
lxqt-bsc1122410-clear-env.patch
Normal file
15
lxqt-bsc1122410-clear-env.patch
Normal file
@ -0,0 +1,15 @@
|
||||
https://github.com/lxqt/lxqt-sudo/issues/101
|
||||
https://github.com/lxqt/lxqt-sudo/pull/102
|
||||
|
||||
diff -urEbwB lxqt-sudo-0.14.0/sudo.cpp lxqt-sudo-0.14.0.new/sudo.cpp
|
||||
--- lxqt-sudo-0.14.0/sudo.cpp 2019-01-26 00:40:04.000000000 +0100
|
||||
+++ lxqt-sudo-0.14.0.new/sudo.cpp 2019-02-05 12:14:14.002319588 +0100
|
||||
@@ -89,7 +89,7 @@
|
||||
"DISPLAY"
|
||||
, "LANG", "LANGUAGE", "LC_ADDRESS", "LC_ALL", "LC_COLLATE", "LC_CTYPE", "LC_IDENTIFICATION", "LC_MEASUREMENT"
|
||||
, "LC_MESSAGES", "LC_MONETARY", "LC_NAME", "LC_NUMERIC", "LC_PAPER", "LC_TELEPHONE", "LC_TIME"
|
||||
- , "PATH", "QT_PLATFORM_PLUGIN", "QT_QPA_PLATFORMTHEME", "WAYLAND_DISPLAY", "XAUTHORITY"
|
||||
+ , "PATH", "QT_PLATFORM_PLUGIN", "QT_QPA_PLATFORMTHEME", "WAYLAND_DISPLAY", "XAUTHLOCALHOSTNAME", "XAUTHORITY"
|
||||
};
|
||||
static constexpr char const * const * const ALLOWED_END = ALLOWED_VARS + sizeof (ALLOWED_VARS) / sizeof (ALLOWED_VARS[0]);
|
||||
struct assert_helper
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 5 10:46:45 UTC 2019 - mvetter@suse.com
|
||||
|
||||
- bsc#1122410: Dont clear XAUTHLOCALHOSTNAME
|
||||
- Add lxqt-bsc1122410-clear-env.patch:
|
||||
See https://github.com/lxqt/lxqt-sudo/issues/101
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 31 10:29:34 UTC 2019 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -26,6 +26,8 @@ URL: http://lxqt.org
|
||||
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
||||
Source2: %{name}.keyring
|
||||
# FIX-UPSTREAM - mvetter@suse.com - https://github.com/lxqt/lxqt-sudo/issues/101
|
||||
Patch0: lxqt-bsc1122410-clear-env.patch
|
||||
BuildRequires: cmake >= 3.1.0
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: lxqt-build-tools-devel >= 0.5.0
|
||||
@ -47,6 +49,7 @@ and (after submit) the password is provided to sudo.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%cmake -DPULL_TRANSLATIONS=No
|
||||
|
Loading…
Reference in New Issue
Block a user