summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* build: add option to skip building polkitdPeter Eisenmann2022-09-074-4/+17
|
* meson: support -Dos_type=lfs and /etc/lfs-release autodetectionXi Ruoyao2022-09-072-1/+9
|
* build: Honour pam_prefix meson optionLuciano Santos2022-08-152-2/+2
| | | | | | Make the use of pam_prefix worth its while since, at the moment, its value is not being used. Instead, a hard-coded path is being deployed when it shouldn't anymore.
* jsauthority: port to mozjs-102Xi Ruoyao2022-08-122-3/+1
|
* polkitbackendduktapeauthority.c: Print the error string we get back from duktapeJordan Petridis2022-08-041-1/+1
| | | | Looks like it was a typo.
* build: Remove spurious if clause in summary outputMichael Biebl2022-07-161-2/+0
| | | | Introduced accidentally in commit c7fc4e1b61f0fd82fc697c19c604af7e9fb291a2
* Install 50-default.rules in /usr/shareLuca Boccassi2022-07-141-1/+1
| | | | | | Same rationale as https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/11 and https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/72 /etc is for local admin changes, upstream/vendor config files should go in /usr/share
* Make netgroup support optionalA. Wilcox2022-07-149-9/+44
| | | | | | | | | | | | | | | | | On at least Linux/musl and Linux/uclibc, netgroup support is not available. PolKit fails to compile on these systems for that reason. This change makes netgroup support conditional on the presence of the setnetgrent(3) function which is required for the support to work. If that function is not available on the system, an error will be returned to the administrator if unix-netgroup: is specified in configuration. (sam: rebased for Meson and Duktape.) Closes: https://gitlab.freedesktop.org/polkit/polkit/-/issues/14 Closes: https://gitlab.freedesktop.org/polkit/polkit/-/issues/163 Closes: https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/52 Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
* Release v. 121121Jan Rybar2022-07-112-1/+52
|
* README aligned with build system changeJan Rybar2022-06-271-0/+22
|
* fixup! backend: Dedup some code for temporary auth subjectsVincent Mihalkovic2022-05-131-1/+3
| | | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=23867 which turned up from `git annotate` here. I was reading this code and noticed it was duplicated.
* backend: Dedup some code for temporary auth subjectsColin Walters2022-05-101-42/+32
| | | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=23867 which turned up from `git annotate` here. I was reading this code and noticed it was duplicated.
* Remove autotools build systemJan Rybar2022-05-0924-3964/+0
|
* pkexec: Allow --version and --help even if not setuid rootMatt Turner2022-05-031-21/+21
|
* Fix a typo of gid_t in a commentMatthew Leeds2022-05-021-1/+1
|
* pkexec: Don't chdir(~)Adrian Vovk2022-05-022-5/+23
|
* backend: Check for subject's primary group when expanding admin groupDan Nicholson2022-04-271-1/+16
|
* polkitagent: Add g_autoptr() support for GObject-derived typesBenedikt Ames2022-04-261-0/+6
|
* jsauthority: use JS::CompileUtf8Path instead of custom code reading fileXi Ruoyao2022-04-071-28/+3
|
* polkitd: consider connection to the system bus in return valueVincent Mihalkovic2022-04-061-6/+5
|
* fix build without C++Fabrice Fontaine2022-04-022-1/+2
| | | | | | | | | | | | | | | Fix the following build failure without C++ raised since https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Indeed, C++ is only required with mozjs engine Fixes: - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* build: Add fallback looking for duktape's library and headerDaniel E2022-03-301-1/+5
|
* Add Dutch translationNathan Follens2022-03-302-0/+210
|
* data: Create never shipped policyconfig-1.dtdBastien Nocera2022-03-223-0/+37
|
* Don't pass positional parameters to i18n.merge_fileSimon McVittie2022-03-222-2/+0
|
* error message grammar improvementJan Schaumann2022-03-211-2/+2
|
* docs: transform repo doc files to MarkdownVincent Mihalkovic2022-03-216-1623/+1630
|
* test: Extend timeout for test-polkitbackendjsauthoritySimon McVittie2022-02-211-0/+1
|
* CVE-2021-4115 (GHSL-2021-077) fixJan Rybar2022-02-211-4/+34
|
* jsauthority: port to mozjs-91Xi Ruoyao2022-01-275-5/+12
|
* pkexec: local privilege escalation (CVE-2021-4034)Jan Rybar2022-01-252-3/+25
|
* SUID bit removed after chownJan Rybar2022-01-251-2/+2
|
* Added support for duktape as JS engineGustavo Lima Chaves2022-01-2514-678/+2399
| | | | | Original author: Wu Xiaotian (@yetist) Resurrection author, runaway-killer author: Gustavo Lima Chaves (@limachaves)
* Release 0.1200.120Jan Rybar2021-09-291-0/+53
|
* fixed version to 0.120Jan Rybar2021-09-293-3/+3
|
* build: Don't require dbus development filesSimon McVittie2021-09-071-2/+7
| | | | | | | | We don't actually need libdbus, only the dbus-daemon's installation directory for system services, which in practice is always going to be /usr/share/dbus-1/system-services. Signed-off-by: Simon McVittie <smcv@debian.org>
* build: Remove redundant computation of dbus data directorySimon McVittie2021-09-071-2/+1
| | | | | | | | We were asking pkg-config "if I define ${datadir} to pk_prefix/pk_datadir, what would ${datadir} be?" but the answer is obviously always going to be pk_prefix/pk_datadir. Signed-off-by: Simon McVittie <smcv@debian.org>
* build: Migrate from Intltool to GettextIñigo Martínez2021-07-2920-43/+138
| | | | | | | | Recent versions of Gettext are able to translate several formats that are used in GNOME applications. This migrates from Intltool to Gettext both autotools and meson build systems.
* Add Romanian translationSergiu Bivol2021-07-212-0/+212
|
* Add Portuguese TranslationHugo Carvalho2021-07-212-0/+210
|
* build: Make the directory for helper executables consistent with AutotoolsSimon McVittie2021-07-194-5/+6
| | | | | | | | | | | | | | | | | | The Autotools build system has been using /usr/lib/polkit-1 for several releases, even on distributions where the library directory is /usr/lib64 or /usr/lib/x86_64-linux-gnu, so it makes sense for Meson to do the same. This lets 32- and 64-bit polkit agents share a single helper executable. This might be superseded by polkit!63, which requests going back to using the libexecdir for these (like polkit 0.105 did), which would also make sense; but until that's decided, let's at least be consistent between our two build systems. Every time we change this, all programs that have already loaded libpolkit-agent into their address space need to be restarted, unless distributions provide compatibility symlinks. Signed-off-by: Simon McVittie <smcv@debian.org>
* Improve meson_post_install scriptSimon McVittie2021-07-152-12/+49
|
* build: Build documentation from source during distcheckSimon McVittie2021-06-031-1/+1
| | | | | | This verifies that we can. Signed-off-by: Simon McVittie <smcv@debian.org>
* CI: Exercise Autotools distcheckSimon McVittie2021-06-031-0/+1
| | | | Signed-off-by: Simon McVittie <smcv@debian.org>
* CI: Reinstate Autotools buildSimon McVittie2021-06-031-0/+23
| | | | | | | Until we are ready to remove Autotools altogether (!53) we should make sure it works. Signed-off-by: Simon McVittie <smcv@debian.org>
* docs: Distribute documentation source files againSimon McVittie2021-06-031-1/+2
| | | | | | | These were missing from the 0.119 release tarball. Resolves: #143 Signed-off-by: Simon McVittie <smcv@debian.org>
* version bump to 0.200Jan Rybar2021-06-032-2/+2
|
* Release 0.1190.119Jan Rybar2021-06-033-2/+49
|
* GHSL-2021-074: authentication bypass vulnerability in polkitJan Rybar2021-06-021-0/+3
| | | | initial values returned if error caught
* Merge branch 'master' into 'master'Jan Rybar2021-04-221-8/+7
|\ | | | | | | | | Avoid calling external processes See merge request polkit/polkit!73