From 7141596f49b7cbb8574ef3382e61e85247efd46d Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Sat, 24 Sep 2016 12:43:59 +0200 Subject: [PATCH] Adding upstream version 0.11.0. --- .gitignore | 2 ++ CHANGELOG | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 33 ++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 .gitignore create mode 100644 CHANGELOG create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4e983f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build +translations/lxqt-sudo diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..cb2e6ea --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,64 @@ + +lxqt-sudo-0.11.0 / 2016-09-24 +============================= + + * 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 + +0.10.0 / 2015-11-02 +=================== + + * Fix LICENSE file + * Fix starting pcmanfm-qt + * Preserve environment with sudo backend + * Update Slovak translation + * Updated translation template, updated german translation. + * Add a plus to AUTHORS license AUTHORS must match the files fixes lxde/lxqt/issues/784 fix typo choosen --> chosen + * lxqt-sudo: partial support for running cmd with arguments using su backend + * lxqt-sudo: unified processing logic for su & sudo into common code + * lxqt-sudo: lxsu & lxsudo symlinks for lxqt-sudo + * lxqt-sudo: added support for su(1) backend + * Add Polish translation + * Rename LxQt to LXQt everywhere + * Remove the country specific from language code. + * Add Greek (el) translation + * Created italian translation, fixed missing line for _de.ts and -sk.ts + * Traditional Chinese translation + * Handles CMake policy CMP0063 + * Use the LXQtCompilerSettings CMake module + * main: removed old useless define + * Adds Runtime install COMPONENT + * Coding style change + * Use target_compile_definitions() + * Use GNUInstallDirs + * Use CMAKE_AUTOUIC, drop qt5_wrap_ui() + * Use CMAKE_AUTOMOC, drop qt5_wrap_cpp() + * Use CMAKE_INCLUDE_CURRENT_DIR + * main: use standard liblxqt unix signal handling to quit + * Updates the build system to the Targets infrastructure + * German translation + * lxqt-sudo: licensing + +0.9.0 / 2015-06-10 +================== + + * lxqt-sudo: direct communication with sudo + * lxqt-sudo: use dialog-password icon + * lxqt-sudo: help & version info into stdout (instead of stderr) + * man: bug reporting link fixed + * lxqt-sudo: version parameter support + * lxqt-sudo: added sk translation + * lxqt-sudo: proper communication error messages to stderr + * lxqt-sudo: removed .desktop file + * lxqt-sudo: showing big "security-high" icon + * lxqt-sudo: help/usage added + * lxqt-sudo: information about sudo's failure + * lxqt-sudo: manual page + * lxqt-sudo: do not use -b for sudo (fixes some application starting problems) + * lxqt-sudo: new GUI frontend for sudo diff --git a/README.md b/README.md new file mode 100644 index 0000000..be4e3ce --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# lxqt-sudo + +## Overview + +lxqt-sudo is a graphical front-end of commands `sudo` and `su` respectively. As such it enables regular users to launch applications with permissions of other users including root. + +## Installation + +### Compiling source code + +Runtime dependencies are qtbase, sudo (su should be installed by default on all *ix operating systems) and [liblxqt](https://github.com/lxde/liblxqt). +Installing at least one icon theme according to the [XDG Icon Theme Specification](https://www.freedesktop.org/wiki/Specifications/icon-theme-spec/) like e. g. "Oxygen Icons" is recommended to have the GUI display icons. +Additional build dependencies are CMake and optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxde/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information. + +Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems. + +To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual. + +### Binary packages + +Official binary packages are provided by all major Linux distributions like Arch Linux, Debian (as of Debian stretch), Fedora and openSUSE. Just use your package manager to search for string `lxqt-sudo`. + +## Configuration + +lxqt-sudo itself does not require any configuration. + +In order to use it as front-end of `sudo` the corresponding permissions have to be set, though. Most of the time this is handled by binary `visudo` or editing configuration file `/etc/sudoers` manually which both is beyond this document's scope. + +## Usage + +lxqt-sudo comes with a man page explaining the syntax very well so running `man 1 lxqt-sudo` should get you started. + +By default `sudo` is used as backend, the choice can be enforced by command line options `--su[do]` or by using symbolic links `lxsu` and `lxsudo` which belong to regular installations of lxqt-sudo.