squidguard/squidGuard-1.4-configdir.patch

13 lines
599 B
Diff
Raw Permalink Normal View History

diff -Nru squidGuard-1.4.orig//src/sg.h.in squidGuard-1.4/src/sg.h.in
--- squidGuard-1.4.orig//src/sg.h.in 2011-04-28 13:27:17.434060406 +0200
+++ squidGuard-1.4/src/sg.h.in 2011-04-28 13:28:06.358510843 +0200
@@ -79,7 +79,7 @@
#define WARNING_LOGFILE "squidGuard.log"
#define ERROR_LOGFILE "squidGuard.error"
-#define DEFAULT_CONFIGFILE "@prefix@/squidGuard/squidGuard.conf"
+#define DEFAULT_CONFIGFILE "@sysconfdir@/squidGuard/squidGuard.conf"
#define DEFAULT_LOGDIR "@prefix@/squidGuard/log"
#define DEFAULT_DBHOME "@prefix@/squidGuard/db"
#define EXEC_PROGRAM "@prefix@/bin/squidGuard"