summaryrefslogtreecommitdiff
path: root/www/squid/patches
diff options
context:
space:
mode:
authortaca <taca>2006-11-09 15:16:21 +0000
committertaca <taca>2006-11-09 15:16:21 +0000
commitb7a65d7608756d4be64f3d3df8078d48ba99012c (patch)
treecc2a07045a0831093c8c89970c93b29370d95352 /www/squid/patches
parentca6e1dbcc487609dd5da96a91f97da528310a687 (diff)
downloadpkgsrc-b7a65d7608756d4be64f3d3df8078d48ba99012c.tar.gz
pkgsrc chagnes
* install pinger program setuid to make ICMP work; the problem noted by Heron Gallegos via private mail. Key changes squid-2.6.STABLE4 to 2.6.STABLE5 * Bug #1776: 2.6.STABLE4 aufs fails to compile if coss isn't enabled * COSS improvements and cleanups * Bug #1785: Memory leak in handling of negatively cached objects * Bug #1780: Incorrect Vary processing in combination with collapsed_forwarding * Bug #1779: Delay pools fairness when multiple connections compete for bandwidth * Bug #1796: Assertion error HttpHeader.c:914: "str" * All comm loops now use the generic event framework * a number of other minor and cosmetic bugfixes. See the list of squid-2.6.STABLE4 changes and the ChangeLog file for details.
Diffstat (limited to 'www/squid/patches')
-rw-r--r--www/squid/patches/patch-ag51
-rw-r--r--www/squid/patches/patch-an23
-rw-r--r--www/squid/patches/patch-as13
3 files changed, 31 insertions, 56 deletions
diff --git a/www/squid/patches/patch-ag b/www/squid/patches/patch-ag
index 857b3c9417f..cf5778e32f7 100644
--- a/www/squid/patches/patch-ag
+++ b/www/squid/patches/patch-ag
@@ -1,25 +1,16 @@
-$NetBSD: patch-ag,v 1.24 2006/09/13 14:41:58 taca Exp $
+$NetBSD: patch-ag,v 1.25 2006/11/09 15:16:21 taca Exp $
---- configure.orig 2006-07-31 11:53:51.000000000 +0900
+--- configure.orig 2006-11-03 22:20:14.000000000 +0900
+++ configure
-@@ -3970,7 +3970,7 @@ cat >>confdefs.h <<\_ACEOF
- #define SQUID_SNMP 1
- _ACEOF
-
-- SNMPLIB='-L../snmplib -lsnmp'
-+ SNMPLIB='../snmplib/libsnmp.a'
-
-
- if true; then
-@@ -7057,6 +7057,7 @@ for ac_header in sys/types.h \
- libc.h \
+@@ -7321,6 +7321,7 @@ for ac_header in sys/types.h \
linux/netfilter_ipv4.h \
linux/netfilter_ipv4/ip_tproxy.h \
-+ machine/byte_swap.h \
malloc.h \
++ machine/byte_swap.h \
math.h \
memory.h \
-@@ -13512,9 +13513,9 @@ _ACEOF
+ mount.h \
+@@ -13789,9 +13790,9 @@ _ACEOF
fi
@@ -32,30 +23,10 @@ $NetBSD: patch-ag,v 1.24 2006/09/13 14:41:58 taca Exp $
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-@@ -13523,46 +13524,64 @@ _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
--
--/* What a mess.. many systems have added the (now standard) bit types
-- * in their own ways, so we need to scan a wide variety of headers to
-- * find them..
-- */
--#include <sys/types.h>
--#if STDC_HEADERS
--#include <stdlib.h>
--#include <stddef.h>
--#endif
--#if HAVE_INTTYPES_H
--#include <inttypes.h>
--#endif
--#if HAVE_SYS_TYPES_H
- #include <sys/types.h>
--#endif
--#if HAVE_SYS_BITYPES_H
--#include <sys/bitypes.h>
--#endif
--
+@@ -13820,26 +13821,63 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #include <sys/bitypes.h>
+ #endif
+
+#include <sys/time.h>
+#include <sys/unistd.h>
+int
@@ -129,7 +100,7 @@ $NetBSD: patch-ag,v 1.24 2006/09/13 14:41:58 taca Exp $
echo "$as_me:$LINENO: checking size of off_t" >&5
echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
-@@ -15530,8 +15549,8 @@ if test "$GCC" = "yes"; then
+@@ -15807,8 +15845,8 @@ if test "$GCC" = "yes"; then
GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
case "$GCCVER" in
2.95.[123])
diff --git a/www/squid/patches/patch-an b/www/squid/patches/patch-an
index c349c49f2a5..b98102bbe13 100644
--- a/www/squid/patches/patch-an
+++ b/www/squid/patches/patch-an
@@ -1,25 +1,16 @@
-$NetBSD: patch-an,v 1.11 2006/09/13 14:41:58 taca Exp $
+$NetBSD: patch-an,v 1.12 2006/11/09 15:16:21 taca Exp $
---- configure.in.orig 2006-07-31 11:53:51.000000000 +0900
+--- configure.in.orig 2006-11-03 22:20:14.000000000 +0900
+++ configure.in
-@@ -586,7 +586,7 @@ AC_ARG_ENABLE(snmp,
- [ if test "$enableval" = "yes" ; then
- echo "SNMP monitoring enabled"
- AC_DEFINE(SQUID_SNMP, 1, [Define to enable SNMP monitoring of Squid])
-- SNMPLIB='-L../snmplib -lsnmp'
-+ SNMPLIB='../snmplib/libsnmp.a'
- AM_CONDITIONAL(USE_SNMP, true)
- SNMP_MAKEFILE=./snmplib/Makefile
- makesnmplib=snmplib
-@@ -1534,6 +1534,7 @@ AC_CHECK_HEADERS(
- libc.h \
+@@ -1591,6 +1591,7 @@ AC_CHECK_HEADERS(
linux/netfilter_ipv4.h \
linux/netfilter_ipv4/ip_tproxy.h \
-+ machine/byte_swap.h \
malloc.h \
++ machine/byte_swap.h \
math.h \
memory.h \
-@@ -1888,7 +1889,16 @@ AC_CHECK_SYSTYPE(size_t, unsigned int)
+ mount.h \
+@@ -1955,7 +1956,16 @@ AC_CHECK_SYSTYPE(size_t, unsigned int)
AC_CHECK_SYSTYPE(ssize_t, int)
AC_CHECK_SYSTYPE(off_t, int)
AC_CHECK_SYSTYPE(mode_t, unsigned short)
@@ -37,7 +28,7 @@ $NetBSD: patch-an,v 1.11 2006/09/13 14:41:58 taca Exp $
AC_CHECK_SIZEOF_SYSTYPE(off_t, 4)
AC_CHECK_SIZEOF_SYSTYPE(size_t, 4)
-@@ -2167,8 +2177,8 @@ if test "$GCC" = "yes"; then
+@@ -2234,8 +2244,8 @@ if test "$GCC" = "yes"; then
GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
case "$GCCVER" in
[2.95.[123]])
diff --git a/www/squid/patches/patch-as b/www/squid/patches/patch-as
new file mode 100644
index 00000000000..9d793c2dc92
--- /dev/null
+++ b/www/squid/patches/patch-as
@@ -0,0 +1,13 @@
+$NetBSD: patch-as,v 1.1 2006/11/09 15:16:21 taca Exp $
+
+--- Makefile.in.orig 2006-10-30 11:21:09.000000000 +0900
++++ Makefile.in
+@@ -721,7 +721,7 @@ dist-hook:
+
+ install-pinger:
+ chown root $(DEFAULT_PINGER)
+- chmod 4711 $(DEFAULT_PINGER)
++ chmod 4511 $(DEFAULT_PINGER)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: