summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)AuthorFilesLines
2024-01-17post-124-release bumpJan Rybar1-1/+1
2024-01-17Move vendored PAM configuration from /etcJan Rybar1-2/+3
2023-11-29Add sysusers fileZbigniew Jędrzejewski-Szmek1-0/+8
2023-10-04jsauthority: Bump mozjs to 115Xi Ruoyao1-1/+1
No code change is needed!
2023-10-03meson.build: only run HAVE_SETNETGRENT_RETURN check if setnetgrent foundSam James1-12/+14
2023-08-17polkitd: use PIDFDs if available to track processesLuca Boccassi1-0/+4
PIDs can be recycled, so when possible it is best to try and use PIDFDs, which are pinned. Change polkitd's unixprocess class so that, if the PIDFD syscall is available, it does not store a PID but only the PIDFD, and gets the PID when required on the fly (which will intentionally fail if the process has disappeared, so that we avoid recycling races). In the future we will be able to get the PIDFD directly from D-Bus' GetConnectionCredentials() call, but for now get the FD from the PID. It does not completely close the window, but makes things significantly better already.
2023-07-28Update file meson.buildJan Rybar1-1/+1
2023-04-11docs, build: replace the mailman url with the gitlab/issues urlVincent Mihalkovic1-1/+1
2023-03-21Stop installing /usr/share/polkit-1/rules.d as 700/polkitdLuca Boccassi1-1/+0
2023-02-07Fix linker issue (on FreeBSD) with Spidermonkey JavaScript engineOlivier Duchateau1-0/+5
2023-02-07build: libelogind session tracking does not require systemd.Marius Bakke1-1/+1
* meson.build (enable_logind): Permit empty systemd_systemdsystemunitdir when session_tracking != 'libsystemd-login'. * data/meson.build (service_conf): Test for SESSION_TRACKING == 'libsystemd-login' instead of ENABLE_LOGIND when installing service files.
2022-12-07meson.build: fix install with libs_onlySam James1-8/+11
Bug: https://bugs.gentoo.org/884701 Signed-off-by: Sam James <sam@gentoo.org>
2022-10-26Post-release version bumpJan Rybar1-1/+1
This version bump is needed in order to make seamless build on Fedora Copr via packit (soon to be implemented) This also brings back useful tradition.
2022-10-26Release 122Jan Rybar1-1/+1
2022-09-07build: add option to skip building polkitdPeter Eisenmann1-0/+8
2022-09-07meson: support -Dos_type=lfs and /etc/lfs-release autodetectionXi Ruoyao1-0/+8
2022-08-15build: Honour pam_prefix meson optionLuciano Santos1-1/+1
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.
2022-08-12jsauthority: port to mozjs-102Xi Ruoyao1-1/+1
2022-07-16build: Remove spurious if clause in summary outputMichael Biebl1-2/+0
Introduced accidentally in commit c7fc4e1b61f0fd82fc697c19c604af7e9fb291a2
2022-07-14Make netgroup support optionalA. Wilcox1-0/+1
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>
2022-07-11Release v. 121v.121Jan Rybar1-1/+1
2022-04-02fix build without C++Fabrice Fontaine1-1/+1
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>
2022-03-30build: Add fallback looking for duktape's library and headerDaniel E1-1/+5
2022-01-27jsauthority: port to mozjs-91Xi Ruoyao1-1/+1
2022-01-25Added support for duktape as JS engineGustavo Lima Chaves1-1/+15
Original author: Wu Xiaotian (@yetist) Resurrection author, runaway-killer author: Gustavo Lima Chaves (@limachaves)
2021-09-29fixed version to 0.120Jan Rybar1-1/+1
2021-09-07build: Don't require dbus development filesSimon McVittie1-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>
2021-09-07build: Remove redundant computation of dbus data directorySimon McVittie1-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>
2021-07-29build: Migrate from Intltool to GettextIñigo Martínez1-4/+10
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.
2021-07-19build: Make the directory for helper executables consistent with AutotoolsSimon McVittie1-2/+3
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>
2021-06-03version bump to 0.200Jan Rybar1-1/+1
2021-06-03Release 0.119Jan Rybar1-1/+1
2021-01-05Move D-Bus policy file to /usr/share/dbus-1/system.d/Jan Rybar1-2/+2
To better support stateless systems with an empty /etc, the old location in /etc/dbus-1/system.d/ should only be used for local admin changes. Package provided D-Bus policy files are supposed to be installed in /usr/share/dbus-1/system.d/. This is supported since dbus 1.9.18. https://lists.freedesktop.org/archives/dbus/2015-July/016746.html
2020-11-16meson-installed polkit fails to run with default usr/lib prefixJan Rybar1-0/+1
With default /usr/lib prefix set by meson, polkit service would fail with sigsegv. Changing prefix to /usr fixed the issue. Also /usr/lib conforms FHS more than /usr/local/lib in terms of a system service.
2020-10-26build: Port to meson build systemJan Rybar1-0/+363
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.