summaryrefslogtreecommitdiffstats
path: root/polkit/policy
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 13:20:44 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 13:23:57 +0100
commitec9747937aafaa91aa04e969ad255899415ba4e4 (patch)
tree133703e814f7ae1b15dfbc6a6723ae1f053a51d3 /polkit/policy
parent0aeb6cd9396b3ab4dc52a7d330ca5484545b9c58 (diff)
downloaddrakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar
drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.gz
drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.bz2
drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.xz
drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.zip
polkit: Tidy up polkit support
Diffstat (limited to 'polkit/policy')
-rw-r--r--polkit/policy/Makefile16
-rw-r--r--polkit/policy/org.mageia.drakconnect.policy.in22
-rw-r--r--polkit/policy/org.mageia.drakfirewall.policy.in22
-rw-r--r--polkit/policy/org.mageia.drakgw.policy.in22
-rw-r--r--polkit/policy/org.mageia.drakhosts.policy.in22
-rw-r--r--polkit/policy/org.mageia.drakids.policy.in22
-rw-r--r--polkit/policy/org.mageia.drakinvictus.policy.in22
-rw-r--r--polkit/policy/org.mageia.draknetcenter.policy.in22
-rw-r--r--polkit/policy/org.mageia.draknetprofile.policy.in22
-rw-r--r--polkit/policy/org.mageia.draknfs.policy.in22
-rw-r--r--polkit/policy/org.mageia.drakproxy.policy.in22
-rw-r--r--polkit/policy/org.mageia.drakroam.policy.in22
-rw-r--r--polkit/policy/org.mageia.draksambashare.policy.in22
-rw-r--r--polkit/policy/org.mageia.drakvpn.policy.in22
14 files changed, 0 insertions, 302 deletions
diff --git a/polkit/policy/Makefile b/polkit/policy/Makefile
deleted file mode 100644
index 1de7222..0000000
--- a/polkit/policy/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-POLKITPOLICYDEST = $(DESTDIR)/usr/share/polkit-1/actions
-
-POLICY_IN := $(wildcard *.policy.in)
-POLICY = $(POLICY_IN:.policy.in=.policy)
-
-all: $(POLICY)
-
-clean:
- rm -f $(POLICY)
-
-install: all
- install -d $(POLKITPOLICYDEST)
- install -m644 $(POLICY) $(POLKITPOLICYDEST)
-
-%.policy: %.policy.in
- intltool-merge --utf8 ../../po $< $@ -x -u -c ../../po/.intltool-merge-cache
diff --git a/polkit/policy/org.mageia.drakconnect.policy.in b/polkit/policy/org.mageia.drakconnect.policy.in
deleted file mode 100644
index d7432ac..0000000
--- a/polkit/policy/org.mageia.drakconnect.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakconnect.pkexec.run">
- <_description>Run Mageia Network Connection Configuration</_description>
- <_message>Authentication is required to run Mageia Network Connection Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakconnect</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.drakfirewall.policy.in b/polkit/policy/org.mageia.drakfirewall.policy.in
deleted file mode 100644
index 3b15fc9..0000000
--- a/polkit/policy/org.mageia.drakfirewall.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakfirewall.pkexec.run">
- <_description>Run Mageia Firewall Configuration</_description>
- <_message>Authentication is required to run Mageia Firewall Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakfirewall</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.drakgw.policy.in b/polkit/policy/org.mageia.drakgw.policy.in
deleted file mode 100644
index 496ad3b..0000000
--- a/polkit/policy/org.mageia.drakgw.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakgw.pkexec.run">
- <_description>Run Mageia Internet Sharing Configuration</_description>
- <_message>Authentication is required to run Mageia Internet Sharing Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakgw</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.drakhosts.policy.in b/polkit/policy/org.mageia.drakhosts.policy.in
deleted file mode 100644
index 93cc6d5..0000000
--- a/polkit/policy/org.mageia.drakhosts.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakhosts.pkexec.run">
- <_description>Run Mageia Local Host Names Configuration</_description>
- <_message>Authentication is required to run Mageia Local Host Names Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakhosts</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.drakids.policy.in b/polkit/policy/org.mageia.drakids.policy.in
deleted file mode 100644
index de0647d..0000000
--- a/polkit/policy/org.mageia.drakids.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakids.pkexec.run">
- <_description>Run Mageia IDS Configuration</_description>
- <_message>Authentication is required to run Mageia IDS Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakids</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.drakinvictus.policy.in b/polkit/policy/org.mageia.drakinvictus.policy.in
deleted file mode 100644
index 25f6264..0000000
--- a/polkit/policy/org.mageia.drakinvictus.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakinvictus.pkexec.run">
- <_description>Run Mageia Firewall Configuration</_description>
- <_message>Authentication is required to run Mageia Firewall Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakinvictus</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.draknetcenter.policy.in b/polkit/policy/org.mageia.draknetcenter.policy.in
deleted file mode 100644
index 3848592..0000000
--- a/polkit/policy/org.mageia.draknetcenter.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.draknetcenter.pkexec.run">
- <_description>Run Mageia Network Center</_description>
- <_message>Authentication is required to run Mageia Network Center</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_self_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/draknetcenter</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.draknetprofile.policy.in b/polkit/policy/org.mageia.draknetprofile.policy.in
deleted file mode 100644
index 2ae364b..0000000
--- a/polkit/policy/org.mageia.draknetprofile.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.draknetprofile.pkexec.run">
- <_description>Run Mageia Network Profile Configuration</_description>
- <_message>Authentication is required to run Mageia Network Profile Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/draknetprofile</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.draknfs.policy.in b/polkit/policy/org.mageia.draknfs.policy.in
deleted file mode 100644
index cec39f6..0000000
--- a/polkit/policy/org.mageia.draknfs.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.draknfs.pkexec.run">
- <_description>Run Mageia NFS Shares Configuration</_description>
- <_message>Authentication is required to run Mageia NFS Shares Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/draknfs</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.drakproxy.policy.in b/polkit/policy/org.mageia.drakproxy.policy.in
deleted file mode 100644
index 46e9860..0000000
--- a/polkit/policy/org.mageia.drakproxy.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakproxy.pkexec.run">
- <_description>Run Mageia Proxy Configuration</_description>
- <_message>Authentication is required to run Mageia Proxy Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakproxy</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.drakroam.policy.in b/polkit/policy/org.mageia.drakroam.policy.in
deleted file mode 100644
index 060a4a3..0000000
--- a/polkit/policy/org.mageia.drakroam.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakroam.pkexec.run">
- <_description>Run Mageia WiFi Configuration</_description>
- <_message>Authentication is required to run Mageia WiFi Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakroam</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.draksambashare.policy.in b/polkit/policy/org.mageia.draksambashare.policy.in
deleted file mode 100644
index 1836316..0000000
--- a/polkit/policy/org.mageia.draksambashare.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.draksambashare.pkexec.run">
- <_description>Run Mageia Samba Shares Configuration</_description>
- <_message>Authentication is required to run Mageia Samba Shares Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/draksambashare</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.drakvpn.policy.in b/polkit/policy/org.mageia.drakvpn.policy.in
deleted file mode 100644
index f026f39..0000000
--- a/polkit/policy/org.mageia.drakvpn.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.drakvpn.pkexec.run">
- <_description>Run Mageia VPN Configuration</_description>
- <_message>Authentication is required to run Mageia VPN Configuration</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakvpn</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>