7548036417
for Squid. It can be used to limit the web access for some users, block access to URLs, redirect trafic, etc. from Claudio Correa <correa@pucpcaldas.br>, thanks.
31 lines
772 B
Plaintext
31 lines
772 B
Plaintext
$OpenBSD: patch-src_sg_h,v 1.1.1.1 2007/06/02 15:26:54 aanriot Exp $
|
|
--- src/sg.h.orig Wed Apr 11 06:20:25 2007
|
|
+++ src/sg.h Wed May 16 14:44:38 2007
|
|
@@ -86,17 +86,17 @@ int tolower();
|
|
|
|
#ifdef ACCONFIG
|
|
#undef DEFAULT_CONFIGFILE
|
|
-#define DEFAULT_CONFIGFILE ""
|
|
+#define DEFAULT_CONFIGFILE "/etc/squidguard/squidguard.conf"
|
|
#endif
|
|
|
|
#ifdef ACLOGDIR
|
|
#undef DEFAULT_LOGDIR
|
|
-#define DEFAULT_LOGDIR ""
|
|
+#define DEFAULT_LOGDIR "/var/squidguard"
|
|
#endif
|
|
|
|
#ifdef ACDBHOME
|
|
#undef DEFAULT_DBHOME
|
|
-#define DEFAULT_DBHOME ""
|
|
+#define DEFAULT_DBHOME "/var/squidguard/db"
|
|
#endif
|
|
|
|
#define INVALID_IP_ADDR 1
|
|
@@ -442,4 +442,4 @@ int sgDoLdapSearch __P((const char *,
|
|
|
|
int expand_url __P((char *, size_t, const char *, const char *));
|
|
|
|
-
|
|
+struct UserInfo *setuserinfo();
|