Index: create.patch.sh
===================================================================
--- create.patch.sh (nonexistent)
+++ create.patch.sh (revision 229)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=123
+
+tar --files-from=file.list -xJvf ../polkit-$VERSION.tar.xz
+mv polkit-$VERSION polkit-$VERSION-orig
+
+cp -rf ./polkit-$VERSION-new ./polkit-$VERSION
+
+diff --unified -Nr polkit-$VERSION-orig polkit-$VERSION > polkit-$VERSION-root-as-admin.patch
+
+mv polkit-$VERSION-root-as-admin.patch ../patches
+
+rm -rf ./polkit-$VERSION
+rm -rf ./polkit-$VERSION-orig
Property changes on: create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: file.list
===================================================================
--- file.list (nonexistent)
+++ file.list (revision 229)
@@ -0,0 +1 @@
+polkit-123/src/polkitbackend/50-default.rules
Index: polkit-123-new/src/polkitbackend/50-default.rules
===================================================================
--- polkit-123-new/src/polkitbackend/50-default.rules (nonexistent)
+++ polkit-123-new/src/polkitbackend/50-default.rules (revision 229)
@@ -0,0 +1,12 @@
+/* -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- */
+
+// DO NOT EDIT THIS FILE, it will be overwritten on update
+//
+// Default rules for polkit
+//
+// See the polkit(8) man page for more information
+// about configuring polkit.
+
+polkit.addAdminRule(function(action, subject) {
+ return ["unix-user:root"];
+});