| Name |
libpolkit-agent-1-0 |
| Description |
polkit Authentication Agent API |
| Version |
124-2ubuntu1.24.04.2 |
| Package Base |
policykit-1 |
| Homepage |
https://github.com/polkit-org/polkit/ |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[' Michael Biebl <biebl@debian.org>', 'Luca Boccassi <bluca@debian.org>,', 'Martin Pitt <mpitt@debian.org>', 'Simon McVittie <smcv@debian.org>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/policykit-1/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/libpolkit-agent-1-0/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/policykit-1/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/policykit-1/plain/debian/patches/02_gettext.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/policykit-1/plain/debian/patches/08_chdir_root.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/policykit-1/plain/debian/patches/Turn-local-modifications-of-mocklibc-into-patches-and-app.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/policykit-1/plain/debian/patches/debian?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/policykit-1/plain/debian/patches/series?h=ubuntu/noble'] |
| Dependencies |
['libc6', 'libglib2.0-0t64', 'libpolkit-gobject-1-0'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['dbus-daemon <!nocheck>', 'debhelper', 'debhelper-compat', 'dh-sequence-gir', 'docbook-xsl', 'duktape-dev', 'gir1.2-gio-2.0-dev', 'gobject-introspection', 'intltool', 'libexpat1-dev', 'libglib2.0-dev', 'libpam0g-dev', 'libselinux1-dev [linux-any]', 'libsystemd-dev [linux-any]', 'systemd-dev [linux-any]', 'meson', 'pkgconf', 'xml-core', 'xsltproc', 'python3-dbusmock <!nocheck>'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
2e358674c0a778a7b5ff00bc3089b49014fc50d1a87d96971aa133934b296147 |
#!/usr/bin/make -f
# -*- makefile -*-
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
include /usr/share/dpkg/default.mk
built_binaries := $(shell dh_listpackages)
%:
dh $@ --with xml-core
DPKG_GENSYMBOLS_CHECK_LEVEL=4
export DPKG_GENSYMBOLS_CHECK_LEVEL
configure_flags =
compat_configure_flags =
ifeq ($(filter %-doc,$(built_binaries)),)
configure_flags += -Dgtk_doc=false
else
configure_flags += -Dgtk_doc=true
endif
ifeq (linux,$(DEB_HOST_ARCH_OS))
configure_flags += -Dsession_tracking=libsystemd-login
else
configure_flags += -Dsession_tracking=ConsoleKit
endif
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
configure_flags += --cross-file=$(DEB_HOST_GNU_TYPE)-gobject-introspection.ini
endif
override_dh_auto_clean:
dh_auto_clean
dh_auto_clean --sourcedirectory=polkit-pkla-compat
override_dh_auto_configure:
dh_auto_configure -- \
-Dexamples=false \
-Dintrospection=true \
-Dman=true \
-Dtests=true \
$(configure_flags)
dh_auto_configure \
--sourcedirectory=polkit-pkla-compat \
-- \
--bindir=/usr/sbin \
POLKIT_CFLAGS="-I$(CURDIR)/src -I$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/src" \
POLKIT_LIBS="$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/src/polkit/libpolkit-gobject-1.so" \
$(compat_configure_flags)
override_dh_auto_build:
dh_auto_build
dh_auto_build --sourcedirectory=polkit-pkla-compat
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# on buildds we can't rely on actually having a system bus
dbus-run-session -- \
sh -euc 'export DBUS_SYSTEM_BUS_ADDRESS="$$DBUS_SESSION_BUS_ADDRESS"; exec "$$@"' \
sh \
dh_auto_test \
-- \
$(NULL)
dbus-run-session -- \
sh -euc 'export DBUS_SYSTEM_BUS_ADDRESS="$$DBUS_SESSION_BUS_ADDRESS"; exec "$$@"' \
sh \
env LD_LIBRARY_PATH="$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/src/polkit" \
dh_auto_test --sourcedirectory=polkit-pkla-compat \
-- \
$(NULL)
endif
override_dh_auto_install:
dh_auto_install
dh_auto_install --sourcedirectory=polkit-pkla-compat
override_dh_install:
# on Debian use sudo group; on Ubuntu, also allow the admin group for
# historical reasons
if dpkg-vendor --is ubuntu; then \
install -m644 debian/49-ubuntu-admin.rules debian/tmp/usr/share/polkit-1/rules.d/; \
fi
dh_install
override_dh_installsystemd:
dh_installsystemd --no-start --restart-after-upgrade