summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Remove autotools build systemJan Rybar2022-05-091-642/+0
|
* docs: transform repo doc files to MarkdownVincent Mihalkovic2022-03-211-1/+1
|
* jsauthority: port to mozjs-91Xi Ruoyao2022-01-271-1/+1
|
* Added support for duktape as JS engineGustavo Lima Chaves2022-01-251-5/+29
| | | | | Original author: Wu Xiaotian (@yetist) Resurrection author, runaway-killer author: Gustavo Lima Chaves (@limachaves)
* fixed version to 0.120Jan Rybar2021-09-291-1/+1
|
* build: Migrate from Intltool to GettextIñigo Martínez2021-07-291-4/+8
| | | | | | | | 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.
* version bump to 0.200Jan Rybar2021-06-031-1/+1
|
* Release 0.1190.119Jan Rybar2021-06-031-1/+1
|
* Revert "Merge branch 'pwithnall/polkit-51-usr-local-share-is-my-homeboy' ↵revert-2c8287fbJan Rybar2021-04-131-5/+6
| | | | | into 'master'" This reverts merge request !75
* test: Fix a typo in a commentJan Rybar2021-02-251-6/+5
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* Release 0.118Jan Rybar2020-09-081-1/+1
|
* Port polkit to mozjs78Jan Rybar2020-08-251-2/+2
|
* Release 0.117; Version bump 0.117Jan Rybar2020-07-271-1/+1
|
* Port JavaScript authority to mozjs-68Xi Ruoyao2020-06-161-2/+3
|
* Depend on mozjs-60Emmanuele Bassi2019-03-121-1/+1
| | | | | This is the new ESR version of the Mozilla JS engine, superceding mozjs-52.
* configure.ac: fix detection of systemd with cgroups v2Zbigniew Jędrzejewski-Szmek2018-12-021-1/+1
| | | | sys/fs/cgroup/systemd/ does not exist on modern systems.
* Post-release version bump to 0.116Miloslav Trmač2018-07-101-1/+1
|
* Post-release version bump to 0.115Ray Strode2018-04-031-1/+1
|
* configure: bump mozjs requirement to 52Ray Strode2018-04-031-1/+1
| | | | | | | | This is going to briefly break the build. Signed-off-by: Ray Strode <rstrode@redhat.com> https://bugs.freedesktop.org/show_bug.cgi?id=105865
* build: Use AC_USE_SYSTEM_EXTENSIONSColin Walters2018-04-031-0/+1
| | | | | This ensures that we get all of the extensions consistently, rather than having just a few files `#define _GNU_SOURCE`.
* Move to current GLibMiloslav Trmač2018-04-031-4/+0
| | | | | | | | | | Set up glib to use the installed version for deprecation warnings instead of limiting ourselves to [2.30,2.34]; this will let us use newer API, and help us keep up to date with future deprecations. Then fix all the warnings (as of GLib 2.44.1). https://bugs.freedesktop.org/show_bug.cgi?id=91198
* configure: enable elogind support in PolicyKitSven Eden2018-04-031-10/+43
| | | | | | | | | | | | | | | | | | | Currently configure.ac allows the usage of either libsystemd-login or ConsoleKit for session tracking. The elogind project (https://github.com/wingo/elogind) provides systemd-logind as a stand-alone daemon. To allow users of systems not run by the full systemd suite, for whatever reason there might be, to at least be able to not have to use ConsoleKit for session tracking, an integration of elogind usage into PolicyKit would be very helpfull. As elogind provides the same interface as systemd-logind, integration is easy. This commit changes configure.ac to look for elogind in the same way it looks for systemd-logind. https://bugs.freedesktop.org/show_bug.cgi?id=98688
* build: Pull in GCC warning infra from ostreeColin Walters2016-12-121-70/+21
| | | | | | | | | I'm trying to keep a relatively standard set around, and the code there is cleaner than what we had before. Also, injecting as WARN_CFLAGS rather than changing CFLAGS during autoconf avoids any surprises from new warnings breaking autoconf checks.
* Switch to hard requiring mozjs24Jeremy Linton2016-12-121-12/+2
| | | | | | | | | | | Remove mozjs185 and mozjs17 from autoconf and replace them with mozjs24. Now that polkitbackendjsauthority is compiling in C++ mode and the autoconf supports mozjs24, update the module so that it builds with mozjs24. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
* change mozjs interface module to c++Jeremy Linton2016-12-121-0/+3
| | | | | | | | The JSAPI is now a full C++ interface. Convert the polkit to JavaScript interface module to C++ compilation in order to support newer versions of spidermonkey. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
* Add support for NetBSDOBATA Akio2015-10-011-3/+15
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=92046
* Add support for OpenBSDAntoine Jacoutot2015-07-201-4/+17
| | | | | | | | | - OpenBSD does not use PAM nor SHADOW but bsd_auth(3) for authentication - get_kinfo_proc(): adapt FreeBSD code to OpenBSD - OpenBSD, get/setnetgrent are defined in netgroup.h and getnetgrent(3) takes a const char https://bugs.freedesktop.org/show_bug.cgi?id=75187
* Post-release version bump to 0.114Miloslav Trmač2015-07-021-1/+1
|
* CVE-2015-4625: Use unpredictable cookie values, keep them secretColin Walters2015-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tavis noted that it'd be possible with a 32 bit counter for someone to cause the cookie to wrap by creating Authentication requests in a loop. Something important to note here is that wrapping of signed integers is undefined behavior in C, so we definitely want to fix that. All counter integers used in this patch are unsigned. See the comment above `authentication_agent_generate_cookie` for details, but basically we're now using a cookie of the form: ``` <agent serial> - <agent random id> - <session serial> - <session random id> ``` Which has multiple 64 bit counters, plus unpredictable random 128 bit integer ids (effectively UUIDs, but we're not calling them that because we don't need to be globally unique. We further ensure that the cookies are not visible to other processes by changing the setuid helper to accept them over standard input. This means that an attacker would have to guess both ids. In any case, the security hole here is better fixed with the other change to bind user id (uid) of the agent with cookie lookups, making cookie guessing worthless. Nevertheless, I think it's worth doing this change too, for defense in depth. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=90832 CVE: CVE-2015-4625 Reported-by: Tavis Ormandy <taviso@google.com> Reviewed-by: Miloslav Trmač <mitr@redhat.com> Signed-off-by: Colin Walters <walters@redhat.com>
* Use libsystemd instead of older libsystemd-login if possibleSimon McVittie2015-03-311-17/+25
| | | | | | The command-line option is still --enable-libsystemd-login for now. Bug-Debian: https://bugs.debian.org/779756
* sessionmonitor-systemd: prepare for D-Bus "user bus" modelKay Sievers2014-06-031-0/+4
| | | | | | | | | | | | In the D-Bus "user bus" model, all sessions of a user share the same D-Bus instance, a polkit requesting process might live outside the login session which registered the user's polkit agent. In case a polkit requesting process is not part of the user's login session, we ask systemd-logind for the the user's "display" session instead. https://bugs.freedesktop.org/show_bug.cgi?id=78905
* build: Fix several issues on FreeBSDTing-Wei Lan2014-02-181-1/+20
| | | | | | | | | | 1. Fallback to fsync() if fdatasync() is not available. 2. Check whether setnetgrent() has a return value. 3. Check whether the system has SIGPOLL. 4. Add configure option to disable test. mocklibc cannot be built on FreeBSD because of function prototype conflict. https://bugs.freedesktop.org/show_bug.cgi?id=73821
* Post-release version bump to 0.113Miloslav Trmač2013-09-181-1/+1
|
* Post-release version bump to 0.112Miloslav Trmač2013-05-151-1/+1
|
* Add bug reporting address and home page to --help outputMiloslav Trmač2013-05-131-1/+1
| | | | | | ... as required by GNU coding standards. https://bugs.freedesktop.org/show_bug.cgi?id=29936
* Fix package version / bug report address mixingMiloslav Trmač2013-05-131-2/+2
| | | | | | | | | | PACKAGE_VERSION curently contains the mailing list address as well; this leaks into output of --version and other places. While at it, update AM_INIT_AUTOMAKE to the new form and use correct m4 quoting at least for these lines. https://bugs.freedesktop.org/show_bug.cgi?id=29936
* jsauthority: Work with mozjs-17.0 tooColin Walters2013-04-231-1/+12
| | | | | | | Based on work by Tim Lunn <tim@feathertop.org>, reworked on top of a regular dynamically-linked js. https://bugs.freedesktop.org/show_bug.cgi?id=59830
* configure: Specify GLib min/max versionColin Walters2013-04-121-0/+4
| | | | | | Mainly to avoid deprecation warnings about g_type_init(). https://bugs.freedesktop.org/show_bug.cgi?id=63440
* polkitagent, pkexec: Respect SUID_CFLAGS and SUID_LDFLAGSVincent Untz2013-04-111-0/+5
| | | | | | This is a good way for distributors to use -fPIE/-pie. https://bugs.freedesktop.org/attachment.cgi?id=57584
* build: try harder to avoid systemd/consolekit misconfigurationGiovanni Campagna2013-04-111-0/+20
| | | | | | | | Check if the system is booting systemd, and fail if the automatic configuration picks the wrong value. Emit a warning if the user explicitly chose one way or the other, to account for cross-building. https://bugs.freedesktop.org/show_bug.cgi?id=61127
* Fix the build with automake 1.13Nuno Araujo2013-04-101-1/+1
| | | | | | | In Automake 1.13, the long-deprecated macro AM_CONFIG_HEADER (deprecated since 2002) has been removed in favour of AC_CONFIG_HEADERS. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Post-release version bump to 0.111David Zeuthen2013-01-091-2/+2
| | | | Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Remove AM_PROG_CC_STDCDavid Zeuthen2013-01-091-1/+0
| | | | | | Part of https://bugs.freedesktop.org/show_bug.cgi?id=59091 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Post-release version bump to 0.110David Zeuthen2012-12-191-2/+2
| | | | Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Include gmodule-2.0 to avoid linker errorsDavid Zeuthen2012-11-141-1/+1
| | | | Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Post-release version bump to 0.109David Zeuthen2012-11-141-2/+2
| | | | Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Post-release version bump to 0.108David Zeuthen2012-07-111-2/+2
| | | | Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Nuke --enable-verbose flagDavid Zeuthen2012-07-061-2/+0
| | | | | | | | It doesn't do anything. This was pointed out in https://bugs.freedesktop.org/show_bug.cgi?id=51470 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Nuke leftover polkit-backend-1.pc fileDavid Zeuthen2012-07-061-1/+0
| | | | | | This was reported in https://bugs.freedesktop.org/show_bug.cgi?id=51466 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Post-release version bump to 0.107David Zeuthen2012-06-071-2/+2
| | | | Signed-off-by: David Zeuthen <zeuthen@gmail.com>