aboutsummaryrefslogtreecommitdiffstats
path: root/mail/py-apolicy/files/patch-z
diff options
context:
space:
mode:
Diffstat (limited to 'mail/py-apolicy/files/patch-z')
-rw-r--r--mail/py-apolicy/files/patch-z20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/py-apolicy/files/patch-z b/mail/py-apolicy/files/patch-z
new file mode 100644
index 000000000000..c602065d8945
--- /dev/null
+++ b/mail/py-apolicy/files/patch-z
@@ -0,0 +1,20 @@
+--- src/apolicy/config.py.orig 2008-11-24 07:53:32.000000000 +0000
++++ src/apolicy/config.py 2008-11-24 07:53:53.000000000 +0000
+@@ -22,7 +22,7 @@
+ import pwd
+ from ConfigParser import ConfigParser
+
+-config_path = "/etc/apolicy/main.conf"
++config_path = "/usr/local/etc/apolicy/main.conf"
+
+ if "APOLICY_CONFIG_PATH" in os.environ:
+ config_path = os.environ["APOLICY_CONFIG_PATH"]
+@@ -42,7 +42,7 @@
+ config.set("main", "timeout", "5")
+
+ if not config.has_option("main", "policy_path"):
+- config.set("main", "policy_path", "/etc/apolicy/policy.conf")
++ config.set("main", "policy_path", "/usr/local/etc/apolicy/policy.conf")
+
+ user = pwd.getpwnam(config.get("main", "user"))
+ config.set("main", "uid", str(user[2]))