polkit: new package

[Peter: Config.in comment tweak]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Marek Belisko 2013-01-18 12:08:44 +00:00 committed by Peter Korsgaard
parent c81a67056e
commit ff3c47ee04
3 changed files with 33 additions and 0 deletions

View File

@ -779,6 +779,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/module-init-tools/Config.in"
endif
source "package/monit/Config.in"
source "package/polkit/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/procps/Config.in"
source "package/psmisc/Config.in"

11
package/polkit/Config.in Normal file
View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_POLKIT
bool "polkit"
depends on BR2_USE_WCHAR # libglib2
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_EXPAT
help
PolicyKit is a toolkit for defining and handling
authorizations. It is used for allowing unprivileged
processes to speak to privileged processes.
http://www.freedesktop.org/wiki/Software/polkit

21
package/polkit/polkit.mk Normal file
View File

@ -0,0 +1,21 @@
#############################################################
#
# polkit
#
#############################################################
POLKIT_VERSION = 0.103
POLKIT_SITE = http://www.freedesktop.org/software/polkit/releases/
POLKIT_LICENSE = GPLv2
POLKIT_LICENSE_FILES = COPYING
POLKIT_INSTALL_STAGING = YES
POLKIT_DEPENDENCIES = libglib2 host-intltool expat
# We could also support --with-authfw=pam
POLKIT_CONF_OPT = \
--with-authfw=shadow \
--with-os-type=unknown
$(eval $(autotools-package))