summaryrefslogtreecommitdiff
path: root/pkg/linux/polkit
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-06 06:14:07 +0900
committerkali <kali@leap.se>2012-09-06 06:14:07 +0900
commit0932d79369fe381c20f4b8f0260a1cd850d979a7 (patch)
tree5fc8f531f54d0f4fe83a2298827e74a03bc296f6 /pkg/linux/polkit
parentbb5d092b6f57321a12f0d7575e221b0cc68f063d (diff)
parent212f9588e458d5c864134caa8dafbef164631671 (diff)
Merge branch 'feature/fix-setup-deps' into develop
Closes #405 Several fixes on setup.py: It now reads requirements from pkg/requirements.pip Version is extracted from git describe. Added trove_classifiers metadata. Added bootstrap for setuptools.
Diffstat (limited to 'pkg/linux/polkit')
-rw-r--r--pkg/linux/polkit/net.openvpn.gui.leap.policy23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkg/linux/polkit/net.openvpn.gui.leap.policy b/pkg/linux/polkit/net.openvpn.gui.leap.policy
new file mode 100644
index 00000000..70a22b65
--- /dev/null
+++ b/pkg/linux/polkit/net.openvpn.gui.leap.policy
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+ <vendor>LEAP Project</vendor>
+ <vendor_url>http://leap.se/</vendor_url>
+
+ <action id="net.openvpn,gui.leap.run-openvpn">
+ <description>Runs the openvpn binary</description>
+ <description xml:lang="es">Ejecuta el binario openvpn</description>
+ <message>OpenVPN needs that you authenticate to start</message>
+ <message xml:lang="es">OpenVPN necesita autorizacion para comenzar</message>
+ <icon_name>package-x-generic</icon_name>
+ <defaults>
+ <allow_any>auth_self_keep</allow_any>
+ <allow_inactive>auth_self_keep</allow_inactive>
+ <allow_active>auth_self_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/openvpn</annotate>
+ </action>
+</policyconfig>