summaryrefslogtreecommitdiffstats
path: root/package/polkit
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2013-01-18 12:08:44 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-20 23:07:52 +0100
commitff3c47ee04daa6f97e9911659fdea0636d65327f (patch)
tree692a9b9f6aef540ed70b85d9cb3dd761770e8c6f /package/polkit
parentc81a67056e793b5147f39711a34186b2db3f9313 (diff)
downloadbuildroot-novena-ff3c47ee04daa6f97e9911659fdea0636d65327f.tar.gz
buildroot-novena-ff3c47ee04daa6f97e9911659fdea0636d65327f.zip
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>
Diffstat (limited to 'package/polkit')
-rw-r--r--package/polkit/Config.in11
-rw-r--r--package/polkit/polkit.mk21
2 files changed, 32 insertions, 0 deletions
diff --git a/package/polkit/Config.in b/package/polkit/Config.in
new file mode 100644
index 000000000..da5f98562
--- /dev/null
+++ b/package/polkit/Config.in
@@ -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
diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk
new file mode 100644
index 000000000..3eb0422be
--- /dev/null
+++ b/package/polkit/polkit.mk
@@ -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))