Revision: 5963 http://ipcop.svn.sourceforge.net/ipcop/?rev=5963&view=rev Author: dotzball Date: 2011-10-19 11:19:23 +0000 (Wed, 19 Oct 2011) Log Message: ----------- Initial URLfilter config file added.
But while developing of urlfilter integration deliver an empty file on CD and in update. Modified Paths: -------------- ipcop/trunk/lfs/ipcop ipcop/trunk/lfs/squidGuard ipcop/trunk/updates/2.0.1/setup Added Paths: ----------- ipcop/trunk/config/cfgroot/squidGuard.conf Added: ipcop/trunk/config/cfgroot/squidGuard.conf =================================================================== --- ipcop/trunk/config/cfgroot/squidGuard.conf (rev 0) +++ ipcop/trunk/config/cfgroot/squidGuard.conf 2011-10-19 11:19:23 UTC (rev 5963) @@ -0,0 +1,8 @@ +logdir /var/log/squidGuard +dbhome /var/ipcop/proxy/blacklists + +acl { + default { + pass all + } +} Modified: ipcop/trunk/lfs/ipcop =================================================================== --- ipcop/trunk/lfs/ipcop 2011-10-19 05:58:56 UTC (rev 5962) +++ ipcop/trunk/lfs/ipcop 2011-10-19 11:19:23 UTC (rev 5963) @@ -108,6 +108,7 @@ cp $(DIR_SRC)/config/cfgroot/modem-settings $(CONFIG_ROOT)/modem/settings cp $(DIR_SRC)/config/cfgroot/openvpn $(CONFIG_ROOT)/openvpn/settings cp $(DIR_SRC)/config/cfgroot/scheduler $(CONFIG_ROOT)/main/scheduler + cp $(DIR_SRC)/config/cfgroot/squidGuard.conf $(CONFIG_ROOT)/proxy/squidGuard.conf cp $(DIR_SRC)/config/cfgroot/ntp.conf $(CONFIG_ROOT)/time/ntp.conf cp $(DIR_SRC)/config/cfgroot/time-settings $(CONFIG_ROOT)/time/settings cp $(DIR_SRC)/config/cfgroot/useragents $(CONFIG_ROOT)/proxy/ Modified: ipcop/trunk/lfs/squidGuard =================================================================== --- ipcop/trunk/lfs/squidGuard 2011-10-19 05:58:56 UTC (rev 5962) +++ ipcop/trunk/lfs/squidGuard 2011-10-19 11:19:23 UTC (rev 5963) @@ -18,8 +18,8 @@ # Makefiles are based on LFSMake, which is # # Copyright (C) 2002 Rod Roard <r...@sunsetsystems.com> # # # -# Modifications by: -# 2011-03-23 Perry Valdez <per...@gmail.com> +# Modifications by: +# 2011-03-23 Perry Valdez <per...@gmail.com> # - Modified Makefile for IPCop build # # $Id$ @@ -82,7 +82,7 @@ @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE) - # Todo: URL filter CGI, redirect.cgi, modifications to proxy.cgi, initial config file, etc. + # Todo: URL filter CGI, redirect.cgi, modifications to proxy.cgi etc. cd $(DIR_APP) && ./configure --with-squiduser=squid \ --prefix=/usr \ @@ -97,5 +97,10 @@ endif cd $(DIR_APP) && make install + # while developing urlfilter, deliver an empty squidGuard.conf + rm /var/ipcop/proxy/squidGuard.conf + touch /var/ipcop/proxy/squidGuard.conf + chown nobody:nobody /var/ipcop/proxy/squidGuard.conf + @rm -rf $(DIR_APP) @$(POSTBUILD) Modified: ipcop/trunk/updates/2.0.1/setup =================================================================== --- ipcop/trunk/updates/2.0.1/setup 2011-10-19 05:58:56 UTC (rev 5962) +++ ipcop/trunk/updates/2.0.1/setup 2011-10-19 11:19:23 UTC (rev 5963) @@ -47,7 +47,13 @@ chown -R nobody:nobody /home/httpd/vhost81/html/repository chmod 644 /home/httpd/vhost81/html/repository fi +if [ ! -e /var/ipcop/proxy/squidGuard.conf ]; then + # while developing urlfilter, deliver an empty squidGuard.conf + touch /var/ipcop/proxy/squidGuard.conf +fi +chown nobody:nobody /var/ipcop/proxy/squidGuard.conf + ##### # # End of version specific handling. Continue with universal stuff. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn