summaryrefslogtreecommitdiff
path: root/network/policyd2/patches/cbpolicyd.patch
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-05-13 23:21:07 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:33 -0500
commit58d3760cc703f1527a213560cc71b97cd31f4521 (patch)
treed498dd0f34921edbf92d8ba0d0461a73b1637860 /network/policyd2/patches/cbpolicyd.patch
parentc300db04940ef5b0e82bf05f7f2f84ce26720fd4 (diff)
downloadslackbuilds-58d3760cc703f1527a213560cc71b97cd31f4521.tar.gz
network/policyd2: Added (policy server for MTAs).
Diffstat (limited to 'network/policyd2/patches/cbpolicyd.patch')
-rw-r--r--network/policyd2/patches/cbpolicyd.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/network/policyd2/patches/cbpolicyd.patch b/network/policyd2/patches/cbpolicyd.patch
new file mode 100644
index 0000000000..4a6efc4d18
--- /dev/null
+++ b/network/policyd2/patches/cbpolicyd.patch
@@ -0,0 +1,28 @@
+--- cbpolicyd.orig 2010-01-02 10:38:11.820144965 -0600
++++ cbpolicyd 2010-01-02 10:41:45.097397504 -0600
+@@ -22,7 +22,7 @@
+ use strict;
+ use warnings;
+
+-use lib('/usr/local/lib/policyd-2.0','/usr/lib/policyd-2.0');
++use lib('/usr/lib/policyd-2.0','/usr/lib64/policyd-2.0');
+
+ package cbp;
+
+@@ -53,13 +53,13 @@
+
+
+ # Set defaults
+- $cfg->{'config_file'} = "/etc/cluebringer.conf";
++ $cfg->{'config_file'} = "/etc/policyd2.conf";
+
+ $server->{'timeout'} = 120;
+ $server->{'background'} = "yes";
+- $server->{'pid_file'} = "/var/run/cbpolicyd.pid";
++ $server->{'pid_file'} = "/var/run/policyd2.pid";
+ $server->{'log_level'} = 2;
+- $server->{'log_file'} = "/var/log/cbpolicyd.log";
++ $server->{'log_file'} = "/var/log/policyd2.log";
+
+ $server->{'host'} = "*";
+ $server->{'port'} = 10031;