diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-12-16 07:38:24 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-12-16 07:38:24 +0000 |
commit | 8a184b2790d44be171f2f1ebf567d9c7026822f8 (patch) | |
tree | e1a57239d7ebdfa60e761071b1306cd33fa11d15 /net-proxy/squidguard/files | |
parent | Bump (diff) | |
download | gentoo-2-8a184b2790d44be171f2f1ebf567d9c7026822f8.tar.gz gentoo-2-8a184b2790d44be171f2f1ebf567d9c7026822f8.tar.bz2 gentoo-2-8a184b2790d44be171f2f1ebf567d9c7026822f8.zip |
Apply upstream patch 20080718 correctly (#247607).
(Portage version: 2.1.4.5, RepoMan options: --force)
Diffstat (limited to 'net-proxy/squidguard/files')
-rw-r--r-- | net-proxy/squidguard/files/squidguard-1.3-nolog.patch (renamed from net-proxy/squidguard/files/squidguard-1.3-bison.patch) | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/net-proxy/squidguard/files/squidguard-1.3-bison.patch b/net-proxy/squidguard/files/squidguard-1.3-nolog.patch index 1c2fee88515f..04746c992f42 100644 --- a/net-proxy/squidguard/files/squidguard-1.3-bison.patch +++ b/net-proxy/squidguard/files/squidguard-1.3-nolog.patch @@ -6,7 +6,7 @@ diff -Nru squidGuard-1.3.orig/configure.in squidGuard-1.3/configure.in AC_SUBST(BLACKLISTS) -AC_OUTPUT(Makefile src/Makefile src/sg.h doc/Makefile test/Makefile test/test1.conf test/test2.conf samples/Makefile samples/sample.conf samples/squidGuard.cgi samples/squidGuard-simple.cgi contrib/Makefile contrib/squidGuardRobot/squidGuardRobot contrib/sgclean/sgclean contrib/hostbyname/hostbyname) -+AC_OUTPUT(Makefile src/Makefile src/sg.h src/sg.y doc/Makefile test/Makefile test/test1.conf test/test2.conf samples/Makefile samples/sample.conf samples/squidGuard.cgi samples/squidGuard-simple.cgi contrib/Makefile contrib/squidGuardRobot/squidGuardRobot contrib/sgclean/sgclean contrib/hostbyname/hostbyname) ++AC_OUTPUT(Makefile src/Makefile src/sg.h src/sg.y src/sgDiv.c doc/Makefile test/Makefile test/test1.conf test/test2.conf samples/Makefile samples/sample.conf samples/squidGuard.cgi samples/squidGuard-simple.cgi contrib/Makefile contrib/squidGuardRobot/squidGuardRobot contrib/sgclean/sgclean contrib/hostbyname/hostbyname) diff -Nru squidGuard-1.3.orig/src/sg.y.in squidGuard-1.3/src/sg.y.in --- squidGuard-1.3/src/sg.y.in 2007-11-03 18:59:49.000000000 +0500 +++ squidGuard-1.3/src/sg.y.in 2008-07-06 15:35:08.000000000 +0600 @@ -92,3 +92,24 @@ diff -Nru squidGuard-1.3.orig/src/sg.y.in squidGuard-1.3/src/sg.y.in ldap_unbind(ld); ldap_free_urldesc(lud); +diff -Nru squidGuard-1.3.orig/src/sgDiv.c.in squidGuard-1.3/src/sgDiv.c.in +--- squidGuard-1.3.orig/src/sgDiv.c.in 2008-12-16 07:26:28.000000000 +0000 ++++ squidGuard-1.3/src/sgDiv.c.in 2008-12-16 07:31:50.000000000 +0000 +@@ -145,7 +145,7 @@ + strncpy(p+ndx,p+ndx+1, sz); + p[ndx+sz] = '\0'; + if(1 == report_once) { +- @NOLOG1@ sgLogError("Warning: Possible bypass attempt. Found multiple slashes where only one is expected: %s", s->orig); @NOLOG2@ ++ sgLogError("Warning: Possible bypass attempt. Found multiple slashes where only one is expected: %s", s->orig); + report_once--; + } + } +@@ -157,7 +157,7 @@ + size_t sz = strlen(p+ndx+1); + strncpy(p+ndx,p+ndx+1, sz); + p[ndx+sz] = '\0'; +- @NOLOG1@ sgLogError("Warning: Possible bypass attempt. Found a trailing dot in the domain name: %s", s->orig); @NOLOG2@ ++ sgLogError("Warning: Possible bypass attempt. Found a trailing dot in the domain name: %s", s->orig); + } + else + { |