Compare commits
6 Commits
ubuntu/ora
...
ubuntu/plu
Author | SHA1 | Date | |
---|---|---|---|
321e0b5077 | |||
768eb12128 | |||
f7a1bf9ad9 | |||
52c1d9a920 | |||
03cbed1a58 | |||
146074a151 |
25
debian/changelog
vendored
25
debian/changelog
vendored
@ -1,3 +1,28 @@
|
|||||||
|
lxqt-sudo (2.1.0-0ubuntu3) plucky; urgency=medium
|
||||||
|
|
||||||
|
* Update Standards-Version to 4.7.1, no changes needed.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 21 Feb 2025 16:53:25 -0600
|
||||||
|
|
||||||
|
lxqt-sudo (2.1.0-0ubuntu2) plucky; urgency=medium
|
||||||
|
|
||||||
|
* No-change rebuild for lxqt-build-tools C++17 -> C++20.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 03 Jan 2025 03:59:31 -0600
|
||||||
|
|
||||||
|
lxqt-sudo (2.1.0-0ubuntu1) plucky; urgency=medium
|
||||||
|
|
||||||
|
* New upstream version.
|
||||||
|
- Bump build dependencies.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 15 Nov 2024 15:33:17 -0600
|
||||||
|
|
||||||
|
lxqt-sudo (2.0.0-0ubuntu2) plucky; urgency=medium
|
||||||
|
|
||||||
|
* Update the patch to pass through env vars.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 16 Oct 2024 17:09:37 -0500
|
||||||
|
|
||||||
lxqt-sudo (2.0.0-0ubuntu1) oracular; urgency=medium
|
lxqt-sudo (2.0.0-0ubuntu1) oracular; urgency=medium
|
||||||
|
|
||||||
* New upstream release.
|
* New upstream release.
|
||||||
|
12
debian/control
vendored
12
debian/control
vendored
@ -1,6 +1,6 @@
|
|||||||
Source: lxqt-sudo
|
Source: lxqt-sudo
|
||||||
Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
|
Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
|
||||||
XSBC-Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
|
Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
|
||||||
Uploaders: Alf Gaida <agaida@siduction.org>,
|
Uploaders: Alf Gaida <agaida@siduction.org>,
|
||||||
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
|
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
|
||||||
Andrew Lee (李健秋) <ajqlee@debian.org>,
|
Andrew Lee (李健秋) <ajqlee@debian.org>,
|
||||||
@ -10,14 +10,14 @@ Section: x11
|
|||||||
Priority: optional
|
Priority: optional
|
||||||
Build-Depends: debhelper-compat (= 13),
|
Build-Depends: debhelper-compat (= 13),
|
||||||
libkf6windowsystem-dev,
|
libkf6windowsystem-dev,
|
||||||
liblxqt2-dev (>= 1.4.0),
|
liblxqt2-dev (>= 2.1.0),
|
||||||
libx11-dev,
|
libx11-dev,
|
||||||
qt6-svg-dev
|
qt6-svg-dev (>= 6.6.0)
|
||||||
Standards-Version: 4.7.0
|
Standards-Version: 4.7.1
|
||||||
Vcs-Browser: https://git.lubuntu.me/Lubuntu/lxqt-sudo-packaging
|
Vcs-Browser: https://git.lubuntu.me/Lubuntu/lxqt-sudo-packaging
|
||||||
Vcs-Git: https://git.lubuntu.me/Lubuntu/lxqt-sudo-packaging.git
|
Vcs-Git: https://git.lubuntu.me/Lubuntu/lxqt-sudo-packaging.git
|
||||||
XS-Debian-Vcs-Browser: https://salsa.debian.org/cgit/pkg-team/lxqt-sudo
|
Debian-Vcs-Browser: https://salsa.debian.org/cgit/pkg-team/lxqt-sudo
|
||||||
XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-sudo.git
|
Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-sudo.git
|
||||||
Homepage: https://github.com/lxqt/lxqt-sudo
|
Homepage: https://github.com/lxqt/lxqt-sudo
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
|
|
||||||
|
2
debian/copyright
vendored
2
debian/copyright
vendored
@ -8,7 +8,7 @@ Copyright: 2015-2024 LXQt team
|
|||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
|
|
||||||
Files: debian/*
|
Files: debian/*
|
||||||
Copyright: 2021-2024 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
|
Copyright: 2021-2025 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
|
||||||
2015-2019 Alf Gaida <agaida@siduction.org>
|
2015-2019 Alf Gaida <agaida@siduction.org>
|
||||||
2015 Andrew Lee (李健秋) <ajqlee@debian.org>
|
2015 Andrew Lee (李健秋) <ajqlee@debian.org>
|
||||||
2015 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
|
2015 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
|
||||||
|
14
debian/patches/bypass-envvar-allowlist.patch
vendored
14
debian/patches/bypass-envvar-allowlist.patch
vendored
@ -8,7 +8,7 @@ Last-Update: 2023-10-11
|
|||||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||||
--- a/sudo.cpp
|
--- a/sudo.cpp
|
||||||
+++ b/sudo.cpp
|
+++ b/sudo.cpp
|
||||||
@@ -83,6 +83,7 @@ namespace
|
@@ -84,6 +84,7 @@ namespace
|
||||||
" -s|--su Use %3(1) as backend.\n"
|
" -s|--su Use %3(1) as backend.\n"
|
||||||
" -d|--sudo Use %2(8) as backend.\n"
|
" -d|--sudo Use %2(8) as backend.\n"
|
||||||
" -a|--doas Use %4(1) as backend.\n"
|
" -a|--doas Use %4(1) as backend.\n"
|
||||||
@ -16,7 +16,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|||||||
" command Command to run.\n"
|
" command Command to run.\n"
|
||||||
" arguments Optional arguments for command.\n\n").arg(app_master).arg(sudo_prog).arg(su_prog).arg(doas_prog);
|
" arguments Optional arguments for command.\n\n").arg(app_master).arg(sudo_prog).arg(su_prog).arg(doas_prog);
|
||||||
if (!err.isEmpty())
|
if (!err.isEmpty())
|
||||||
@@ -113,8 +114,13 @@ namespace
|
@@ -114,8 +115,13 @@ namespace
|
||||||
};
|
};
|
||||||
assert_helper h;
|
assert_helper h;
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|||||||
std::cerr << LXQTSUDO << ": Stripping child environment except for: ";
|
std::cerr << LXQTSUDO << ": Stripping child environment except for: ";
|
||||||
std::ostringstream left_env_params;
|
std::ostringstream left_env_params;
|
||||||
std::copy(ALLOWED_VARS, ALLOWED_END - 1, std::ostream_iterator<const char *>{left_env_params, ","});
|
std::copy(ALLOWED_VARS, ALLOWED_END - 1, std::ostream_iterator<const char *>{left_env_params, ","});
|
||||||
@@ -195,6 +201,10 @@ int Sudo::main()
|
@@ -196,6 +202,10 @@ int Sudo::main()
|
||||||
{
|
{
|
||||||
mBackend = BACK_DOAS;
|
mBackend = BACK_DOAS;
|
||||||
mArgs.removeAt(0);
|
mArgs.removeAt(0);
|
||||||
@ -42,7 +42,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//any other arguments we simply forward to su/sudo
|
//any other arguments we simply forward to su/sudo
|
||||||
@@ -286,11 +296,11 @@ void Sudo::child()
|
@@ -287,11 +297,13 @@ void Sudo::child()
|
||||||
switch (mBackend)
|
switch (mBackend)
|
||||||
{
|
{
|
||||||
case BACK_SUDO:
|
case BACK_SUDO:
|
||||||
@ -54,12 +54,14 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|||||||
+ if(!mPreserveEnv) {
|
+ if(!mPreserveEnv) {
|
||||||
+ preserve_env_param = "--preserve-env=";
|
+ preserve_env_param = "--preserve-env=";
|
||||||
+ preserve_env_param += env_workarounds(mPreserveEnv);
|
+ preserve_env_param += env_workarounds(mPreserveEnv);
|
||||||
+ *(param_arg++) = preserve_env_param.c_str(); //preserve environment
|
+ } else {
|
||||||
|
+ preserve_env_param = "--preserve-env";
|
||||||
+ }
|
+ }
|
||||||
|
+ *(param_arg++) = preserve_env_param.c_str();
|
||||||
*(param_arg++) = "/bin/sh";
|
*(param_arg++) = "/bin/sh";
|
||||||
break;
|
break;
|
||||||
case BACK_DOAS:
|
case BACK_DOAS:
|
||||||
@@ -298,7 +308,7 @@ void Sudo::child()
|
@@ -299,7 +311,7 @@ void Sudo::child()
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case BACK_SU:
|
case BACK_SU:
|
||||||
case BACK_NONE:
|
case BACK_NONE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user