- Update to version 2.1.0:

* Pre-release changes
  * Weblate commits (#218)
  * sudo: Add new env vars forwarded to child
  * Weblate commits (#215)
  * Pre-release changes
  * Weblate commits (#212)

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-sudo?expand=0&rev=40
This commit is contained in:
Shawn Dunn 2024-11-11 00:28:03 +00:00 committed by Git OBS Bridge
commit 1f28cbcb29
9 changed files with 367 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
lxqt-sudo-2.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea95134723d24dc2e2d862db8cdb36204653ea2d478bfe4f2c5de1f68955d215
size 39164

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmYfsfIVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+NdkQALIRtN1aWY/XUAcr7VPeKXWbSbwB
pLF3c/c8Kl25M8g010sl3ZBr6oM1KhnuDEvWzTWbI3+pZPPf616NjXYwm1EviLW7
jN/kmsELqDhQKFf2Tq6C0gqd7SzTOLW0RO4chDdQSrLJT9BIcNKjERe5eT/iGCb2
BQMf/4jbAGR2mzUpbP/+RKT0asjcAmy9gBYIuXa/Cr6/nYeZhjVT62h0Pg5eaBAv
GEqCuDQuCRMgKDXjpfhdNWZbov5wEG+6KUR5igjCnPrE2GUe1dAQjSFEvZWLjqT/
X5qPj40tbZ7KWQpZYdbBjIIxKSRIGITA5yjPvfENhPz/LwSlJUbkJTedpb+vTNFC
NqwRkANScRKyPUSsBZkz87UYPVUcQI+zdv+5apiBAResmXqKwEHjPoI55iM26L5r
nm0sF42bzKo1fXr7Ls9P2bb8obZTtLu8ugnOuHLU2mRmuHFNXvMiOrQ3K1yUWBJc
cA2V5uHUX69bLABRS5toDk7facVYHPoilKk9ZvQfLVkBTmgaqBE5zoPjmH/V6GaM
NgFUrBIpxRhx+iWqz6FKxqsSsd2d1j26rQGxr56tSTtezZ6CmodYja6unUl82bRU
5JrkNG7Bh7kEoz1SfmHQnsUXv2QqsthAT2OrUgKLjOLMDDmQuJtlVj5O1LAPUTcy
luiKzil0D9nfR7V8
=7QhZ
-----END PGP SIGNATURE-----

3
lxqt-sudo-2.1.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a3abcf4153b699c4990b1ac89d2bc122fcebf6d5ae061e0c129a4bad922739d
size 39332

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmcpvugVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+3AcP/0hBNJEQKrHSlCHAJs0abAo7wn7P
y7tDGVewYAI+rzpBPZ1sEIe1MfhKw3oDU0ge5oi0n2GExhtEdokGpsJIDtwXpOOR
Y9qgAmPAxn/0A9dvSK4AQMMVffxtpZdlgFx7s3SQZ3CtYT+sUGZzbHrtQhCwZNKZ
e3mdF7XSSTjunrnD3UKmrReHbJpsE5hMbPYnLCv410xcneIBbMMt8vJ/+uUciUBb
PrUL0OCQzRqjgjRAGlZYY77wytj0NXNTWrmSBUpndw2tZfX1w2OXGQmLrAtyVkGr
KSb9HqhUhguKte4t/SsuJzctB6bV1sXRJ27ZxYP6Cqw4T3psYA3gaJXWjJEaaleg
K2MIfZht/VwwtFc3x1NH2dGM/2Xllg+DLFpxX6dOaRMTLoxu94lqdtnU7YbrR2ca
MPKLuCePJN0J5G0kwlbtx8b5UBf4lvSmmRvuoL3hAx1MhV8uRvRwoQQGXrhMqeqn
u9wCFNOvN744HSdsWSGYu8zeu1wfNs52ZIv+VzaFZ6qeNGRXjVd9okADwl6//9UO
mwxiHenGARvm1Du2+LxMAkkRYdrwacPKfWj8S8F6ogLMk5m8Vo9/jTJ/PuZbDvpo
AY6EpDIMy5lB81hOYij4BY/RnlMpIFP4YkXNZsoRYlzGydLxkyPtfIsVIZSEPnGc
4tuSjChMDniI1T2t
=67rS
-----END PGP SIGNATURE-----

176
lxqt-sudo.changes Normal file
View File

@ -0,0 +1,176 @@
-------------------------------------------------------------------
Wed Nov 6 21:38:33 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>
- Update to version 2.1.0:
* Pre-release changes
* Weblate commits (#218)
* sudo: Add new env vars forwarded to child
* Weblate commits (#215)
* Pre-release changes
* Weblate commits (#212)
-------------------------------------------------------------------
Thu Apr 18 18:41:24 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Update to 2.0.0:
* Ported to Qt6
* Allow bidirectional communication with launched process
* Avoid flushing empty line
* Flush everything coming from child and optimize splitting of
output
- Specfile cleanup, and macro refactoring/updating
-------------------------------------------------------------------
Mon Nov 6 02:43:21 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
- Update to 1.4.0:
* Updated translations and bumped the version.
-------------------------------------------------------------------
Sat Apr 15 18:48:54 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
- Update to 1.3.0:
* Added support for `doas` backend
-------------------------------------------------------------------
Sat Nov 5 19:04:54 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>
- Update to 1.2.0:
* Updated translations and bumped the version.
-------------------------------------------------------------------
Fri Apr 29 06:11:23 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Update to 1.1.0:
* Updated translations and bumped the version.
-------------------------------------------------------------------
Mon Nov 8 09:55:30 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 1.0.0:
* Code: Handled what was deprecated by Qt5.15.
-------------------------------------------------------------------
Fri Apr 16 10:17:32 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 0.17.0:
* Code: Handled what was deprecated by Qt5.15.
-------------------------------------------------------------------
Wed Nov 4 13:50:38 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 0.16.0:
* Use QFlags default constructor.
-------------------------------------------------------------------
Mon Apr 27 11:03:56 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Changed lxqt-sudo.keyring to tsujan's key
-------------------------------------------------------------------
Sat Apr 25 10:44:06 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Update to version 0.15.0
* Fix (re-)setting HOME with sudo backend.
* Added TERM to allowed/preserved environment variables.
* Added NetBSD support.
-------------------------------------------------------------------
Mon Jan 27 10:31:11 UTC 2020 - Michael Vetter <mvetter@suse.com>
- bsc#1161365: Fix build
- Add buildrequire for glib
-------------------------------------------------------------------
Mon Feb 25 10:22:41 UTC 2019 - mvetter@suse.com
- Update to 0.14.1:
* Dont strip XAUTHLOCALHOSTNAME, it is required for lxqt-sudo
to function properly.
* Updated translations
- Remove lxqt-bsc1122410-clear-env.patch: upstreamed
-------------------------------------------------------------------
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>
- Update to 0.14.0:
* Force “C” locale for su/sudo
* Security: Prevent malicious attempts for command injection
* Strip environment - Leave only required environment variables (for X & locale) to get into the elevated child process.
* Make critical error messages less obscure
* Fixed the layout and line-break
- Remove lxqt-sudo-0.13.0-locale-env.patch: upstreamed
- Move translation from lxqt-l10n into package
-------------------------------------------------------------------
Thu Jul 26 13:05:35 UTC 2018 - mvetter@suse.com
- bsc#1100871: Fix layout problem with CJK the usptream way
by setting the locale to C
- Add lxqt-sudo-0.13.0-locale-env.patch
- Remove lxqt-sudo-prompt-fix.patch: Using upstream approved fix
-------------------------------------------------------------------
Thu Jul 12 16:13:40 CEST 2018 - tiwai@suse.de
- Fix the missing capture of the prompt line without the space
letter at the end of line (boo#1100871):
lxqt-sudo-prompt-fix.patch
-------------------------------------------------------------------
Tue May 22 15:20:01 UTC 2018 - mvetter@suse.com
- Update to 0.13.0:
* passworddialog.cpp: include QIcon explicitely
* CMake: Prevent in-source builds
* fix http -> https
* Fixed mentions of LXDE
-------------------------------------------------------------------
Mon Oct 23 11:45:05 UTC 2017 - mvetter@suse.com
- Update to 0.12.0:
* Set informal patch version
* Added basic .gitattributes
* Drops Qt5Core_VERSION_STRING
* set Qt::AA_UseHighDpiPixmaps to true
* Bump year
-------------------------------------------------------------------
Fri Feb 24 01:45:06 UTC 2017 - sfalken@opensuse.org
- Update to 0.11.1:
* Make CMakeLists.txt more uniform.
-------------------------------------------------------------------
Sat Sep 24 22:03:54 UTC 2016 - mvetter@suse.com
- Update to 0.11.0:
* Add README.md
* build: Forward translations parameters
* ts-files removal (#21)
* Remove translations (will be pulled in build time)
* Bump year
* Italian translation update
* Updated Russian translation Fix language and typos
* Add Russian translation
- Add keyring
-------------------------------------------------------------------
Wed Nov 4 10:18:35 UTC 2015 - mvetter@suse.com
- Git build was done by aaz2011@mail.ru
- Setting minimum Cmake version
-------------------------------------------------------------------
Sun Aug 23 09:12:07 UTC 2015 - and.november@opensuse.org
- initial package for openSUSE

52
lxqt-sudo.keyring Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aCxadI2kX+aikmT8rd0
ttDKN18cXV52Ssxnj0qhgf4hwnu/b0be6BzqSEyGM+UQR3X2CYpxrMakfW32Q18K
X5ec0RPR2ucBq9G0r9t6FYC8FkJ4uQUU3xxrLW3z302S0Makjgzm8BV9WrFQ7oFF
uJQj0BHbHYC4RyaZb2AfxY4Y92BPGTjtGekWqgw6vEXCCnvAbGYVQzvxZt3nw21/
1YmV4g7xhGFQPbOf9v3ejFUJeJIGzuJf5NAh7kvfCdUBAGYH0gnj0GpOve4ftnaG
sAId2CQwm3oYF4Tu7yBPTOBpkaKkNaT+UdwTyeKERuCZ9ocZWX++/YF9ItRkJ5mM
zoP1GluWn2atNWpRh/K97gyAGgr2fSmrAA4d1JrVbMujZAHoHAOKwJKqX9jPziPZ
BFHfhcIOzG3ZhXAuumHsd7uwfPBVt20g+G+cOjBghbSSu9EOtMkAZl1g3ybvZixu
Jtxa5exZWEmU7vtytEb8eq9Dj5XcGoTDbErE2RpJ/20HPzhyRKg9RN4iGS+0OiHS
oRbDi5IEOizvQjp2bsBmfa3rsoDSOqF2pevp+u8I56I6bU1GFpxxNC5IGvgo2Q79
quz0oIk5hs3eLlUdEYsLGwR6pWJaJyf36vuDsq7iLrLyvHI5irAowO4r1QARAQAB
tCVQZWRyYW0gUG91cmFuZyA8dHN1amFuMjAwMEBnbWFpbC5jb20+iQJOBBMBCAA4
FiEEGd/fOleb1QnbtXLYvnkwB60i334FAl6cxrwCGwMFCwkIBwIGFQoJCAsCBBYC
AwECH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GdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO
sw==
=gSIv
-----END PGP PUBLIC KEY BLOCK-----

75
lxqt-sudo.spec Normal file
View File

@ -0,0 +1,75 @@
#
# spec file for package lxqt-sudo
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
Name: lxqt-sudo
Version: 2.1.0
Release: 0
Summary: GUI frontend for sudo
License: LGPL-2.1-only
URL: https://github.com/lxqt/lxqt-sudo
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: cmake >= 3.18.0
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: cmake(KF6WindowSystem) >= 6.0.0
BuildRequires: cmake(Qt6LinguistTools) >= 6.6
BuildRequires: cmake(lxqt) >= 2.1.0
BuildRequires: cmake(lxqt2-build-tools) >= 2.1.0
BuildRequires: pkgconfig(Qt6Widgets) >= 6.6
Requires: sudo
Recommends: %{name}-lang = %{version}-%{release}
%description
A graphical frontend for plain sudo (for requesting optional password in GUI
fashion).
When invoked it simply spawns child sudo process with requested command (and
arguments). If sudo requests user's password, the GUI password dialog is shown
and (after submit) the password is provided to sudo.
%lang_package
%prep
%autosetup -p1
%build
%cmake_qt6
%{qt6_build}
%install
%{qt6_install}
%find_lang %{name} --with-qt
%files
%license LICENSE
%doc AUTHORS
%{_bindir}/%{name}
%{_bindir}/lxsu*
%{_bindir}/lxdoas
%{_mandir}/man?/%{name}.*
%{_mandir}/man?/lxsu*.?%{?ext_man}
%{_mandir}/man?/lxdoas.?%{?ext_man}
%files lang -f %{name}.lang
%dir %{_datadir}/lxqt
%dir %{_datadir}/lxqt/translations
%dir %{_datadir}/lxqt/translations/%{name}
%changelog