From c46d8da153ac658c8bd145376e22b1218db1090a Mon Sep 17 00:00:00 2001
From: kali <kali@leap.se>
Date: Sun, 22 Jul 2012 21:10:15 -0700
Subject: initial import

---
 setup/linux/leap.desktop                       | 13 +++++++++++++
 setup/linux/polkit/net.openvpn.gui.leap.policy | 23 +++++++++++++++++++++++
 setup/requirements.pip                         |  0
 setup/scripts/leap                             |  6 ++++++
 4 files changed, 42 insertions(+)
 create mode 100644 setup/linux/leap.desktop
 create mode 100644 setup/linux/polkit/net.openvpn.gui.leap.policy
 create mode 100644 setup/requirements.pip
 create mode 100755 setup/scripts/leap

(limited to 'setup')

diff --git a/setup/linux/leap.desktop b/setup/linux/leap.desktop
new file mode 100644
index 00000000..7a6d39d9
--- /dev/null
+++ b/setup/linux/leap.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=0.1.0
+Encoding=UTF-8
+Name=EIP
+Comment=Anonymity and privacy
+Comment[en]=Anonymity and privacy
+Comment[es]=Anonimato y privacidad
+Comment[sv]=Anonymitet och avlyssningsskydd
+Exec=leap
+Terminal=false
+Type=Application
+Icon=leap.png
+Categories=Network;
diff --git a/setup/linux/polkit/net.openvpn.gui.leap.policy b/setup/linux/polkit/net.openvpn.gui.leap.policy
new file mode 100644
index 00000000..70a22b65
--- /dev/null
+++ b/setup/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>
diff --git a/setup/requirements.pip b/setup/requirements.pip
new file mode 100644
index 00000000..e69de29b
diff --git a/setup/scripts/leap b/setup/scripts/leap
new file mode 100755
index 00000000..6e62b597
--- /dev/null
+++ b/setup/scripts/leap
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+from leap.app import main
+
+if __name__ == "__main__":
+    main()
-- 
cgit v1.2.3