Revision: 6300 http://ipcop.svn.sourceforge.net/ipcop/?rev=6300&view=rev Author: owes Date: 2012-02-01 11:21:55 +0000 (Wed, 01 Feb 2012) Log Message: ----------- Help the update accelerator...
Modified Paths: -------------- ipcop/trunk/lfs/squidGuard Added Paths: ----------- ipcop/trunk/src/patches/squidGuard-1.5-beta_stdout-always.patch Modified: ipcop/trunk/lfs/squidGuard =================================================================== --- ipcop/trunk/lfs/squidGuard 2012-02-01 11:17:13 UTC (rev 6299) +++ ipcop/trunk/lfs/squidGuard 2012-02-01 11:21:55 UTC (rev 6300) @@ -81,6 +81,7 @@ $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)_stdout-always.patch # Todo: URL filter CGI, modifications to proxy.cgi etc. Added: ipcop/trunk/src/patches/squidGuard-1.5-beta_stdout-always.patch =================================================================== --- ipcop/trunk/src/patches/squidGuard-1.5-beta_stdout-always.patch (rev 0) +++ ipcop/trunk/src/patches/squidGuard-1.5-beta_stdout-always.patch 2012-02-01 11:21:55 UTC (rev 6300) @@ -0,0 +1,20 @@ +original input to stdout, to be useable with multiple redirectors +--- a/src/main.c.in 2009-09-27 21:41:50.000000000 +0200 ++++ b/src/main.c.in 2012-02-01 10:02:43.000000000 +0100 +@@ -206,14 +206,14 @@ + acl = sgAclCheckSource(src); + if((redirect = sgAclAccess(src,acl,&squidInfo)) == NULL){ + if(src == NULL || src->cont_search == 0){ +- puts(""); ++ fprintf(stdout, "%s %s/%s %s %s\n", squidInfo.orig, squidInfo.src, squidInfo.srcDomain, squidInfo.ident, squidInfo.method); + break; + } else + if(src->next != NULL){ + src = src->next; + continue; + } else { +- puts(""); ++ puts(""); /* TODO: do we need to patch this line, with what ? */ + break; + } + } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn