aboutsummaryrefslogtreecommitdiffstats
path: root/polkit/policy
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 14:18:04 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 14:28:57 +0100
commitb41295b9c893a210913e8e85c71a9ba7e056973b (patch)
tree65348659fea222f6012d359b89dfab28cd9a24a6 /polkit/policy
parent1dd7dba00303fa14bbfcbdd0a8fe05071134754d (diff)
downloadrpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.gz
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.bz2
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.xz
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.zip
polkit: Tidy up polkit support
Diffstat (limited to 'polkit/policy')
-rw-r--r--polkit/policy/Makefile16
-rw-r--r--polkit/policy/org.mageia.rpmdrake-addmedia.policy.in22
-rw-r--r--polkit/policy/org.mageia.rpmdrake-editmedia.policy.in22
-rw-r--r--polkit/policy/org.mageia.rpmdrake-update.policy.in22
-rw-r--r--polkit/policy/org.mageia.rpmdrake.policy.in22
5 files changed, 0 insertions, 104 deletions
diff --git a/polkit/policy/Makefile b/polkit/policy/Makefile
deleted file mode 100644
index 1de72221..00000000
--- 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.rpmdrake-addmedia.policy.in b/polkit/policy/org.mageia.rpmdrake-addmedia.policy.in
deleted file mode 100644
index d4a58362..00000000
--- a/polkit/policy/org.mageia.rpmdrake-addmedia.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.rpmdrake-addmedia.pkexec.run">
- <_description>Run Mageia Package Media Adder</_description>
- <_message>Authentication is required to run Mageia Package Media Adder</_message>
- <icon_name>rpmdrake</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/gurpmi.addmedia</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.rpmdrake-editmedia.policy.in b/polkit/policy/org.mageia.rpmdrake-editmedia.policy.in
deleted file mode 100644
index d250ca73..00000000
--- a/polkit/policy/org.mageia.rpmdrake-editmedia.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.rpmdrake-editmedia.pkexec.run">
- <_description>Run Mageia Package Media Editor</_description>
- <_message>Authentication is required to run Mageia Package Media Editor</_message>
- <icon_name>rpmdrake</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/drakrpm-edit-media</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.rpmdrake-update.policy.in b/polkit/policy/org.mageia.rpmdrake-update.policy.in
deleted file mode 100644
index ac7bf615..00000000
--- a/polkit/policy/org.mageia.rpmdrake-update.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.rpmdrake-update.pkexec.run">
- <_description>Run Mageia Updater</_description>
- <_message>Authentication is required to run Mageia Updater</_message>
- <icon_name>rpmdrake</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/MageiaUpdate</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>
diff --git a/polkit/policy/org.mageia.rpmdrake.policy.in b/polkit/policy/org.mageia.rpmdrake.policy.in
deleted file mode 100644
index bdc43360..00000000
--- a/polkit/policy/org.mageia.rpmdrake.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.rpmdrake.pkexec.run">
- <_description>Run Mageia Package Manager</_description>
- <_message>Authentication is required to run Mageia Package Manager</_message>
- <icon_name>rpmdrake</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/rpmdrake</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>