summaryrefslogtreecommitdiff
path: root/network/policyd2/patches/cbpolicyd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/policyd2/patches/cbpolicyd.patch')
-rw-r--r--network/policyd2/patches/cbpolicyd.patch17
1 files changed, 14 insertions, 3 deletions
diff --git a/network/policyd2/patches/cbpolicyd.patch b/network/policyd2/patches/cbpolicyd.patch
index bb881cbd1b..e53fb66ec8 100644
--- a/network/policyd2/patches/cbpolicyd.patch
+++ b/network/policyd2/patches/cbpolicyd.patch
@@ -1,6 +1,15 @@
---- cbpolicyd.orig 2010-11-30 12:03:52.815487946 -0600
-+++ cbpolicyd 2010-11-30 12:05:04.310762746 -0600
-@@ -53,13 +53,13 @@
+--- cbpolicyd.orig 2012-11-18 12:00:04.180070111 -0600
++++ cbpolicyd 2012-11-18 12:06:26.079296269 -0600
+@@ -22,7 +22,7 @@
+ use strict;
+ use warnings;
+
+-use lib('/usr/local/lib/policyd-2.0','/usr/lib/policyd-2.0','/usr/lib64/policyd-2.0');
++use lib('/usr/lib@LIBDIRSUFFIX@/policyd-2.0');
+
+ package cbp;
+
+@@ -53,15 +53,15 @@
# Set defaults
@@ -8,6 +17,8 @@
+ $cfg->{'config_file'} = "/etc/policyd2.conf";
$server->{'timeout'} = 120;
+ $server->{'timeout_idle'} = 1015;
+ $server->{'timeout_busy'} = 115;
$server->{'background'} = "yes";
- $server->{'pid_file'} = "/var/run/cbpolicyd.pid";
+ $server->{'pid_file'} = "/var/run/policyd2.pid";