diff options
author | taca <taca@pkgsrc.org> | 2005-06-07 14:19:10 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-06-07 14:19:10 +0000 |
commit | 93574b303cdead64cc0514dea3d38c53a2eb99b4 (patch) | |
tree | eb586fd980e844371fabe342392c4dbdfb4f992f /www/squid/patches | |
parent | 63b2eed4c6bca128601faf37a6a49ce0e374e281 (diff) | |
download | pkgsrc-93574b303cdead64cc0514dea3d38c53a2eb99b4.tar.gz |
- Fix build problem with IP Filter prior to 4.0; NetBSD 1.6.2.
- Avoid use of ":ts" modifier of make(1) since NetBSD 1.6.2's make(1)
dosen't support it. It might be fix "diskd" PKG_OPTION problem, too.
- Remove extra "--enable-async-io" configure option.
No PKGREVISION change.
Diffstat (limited to 'www/squid/patches')
-rw-r--r-- | www/squid/patches/patch-ag | 14 | ||||
-rw-r--r-- | www/squid/patches/patch-an | 20 | ||||
-rw-r--r-- | www/squid/patches/patch-bb | 16 | ||||
-rw-r--r-- | www/squid/patches/patch-cd | 16 |
4 files changed, 47 insertions, 19 deletions
diff --git a/www/squid/patches/patch-ag b/www/squid/patches/patch-ag index 75345474d14..ae06407cb81 100644 --- a/www/squid/patches/patch-ag +++ b/www/squid/patches/patch-ag @@ -1,4 +1,4 @@ -$NetBSD: patch-ag,v 1.18 2005/06/05 14:20:27 taca Exp $ +$NetBSD: patch-ag,v 1.19 2005/06/07 14:19:10 taca Exp $ --- configure.orig 2005-05-17 07:41:14.000000000 +0900 +++ configure @@ -19,7 +19,15 @@ $NetBSD: patch-ag,v 1.18 2005/06/05 14:20:27 taca Exp $ malloc.h \ math.h \ memory.h \ -@@ -6291,43 +6292,38 @@ fi +@@ -4060,6 +4061,7 @@ for ac_hdr in \ + netinet/ip_fil_compat.h \ + netinet/ip_fil.h \ + netinet/ip_nat.h \ ++ netinet/ipl.h \ + openssl/err.h \ + openssl/md5.h \ + openssl/ssl.h \ +@@ -6291,43 +6293,38 @@ fi echo "$ac_t""$ac_cv_type_mode_t" 1>&6 if test $ac_cv_type_mode_t = no; then cat >> confdefs.h <<\EOF @@ -77,7 +85,7 @@ $NetBSD: patch-ag,v 1.18 2005/06/05 14:20:27 taca Exp $ echo $ac_n "checking size of off_t""... $ac_c" 1>&6 -@@ -7643,8 +7639,8 @@ if test "$GCC" = "yes"; then +@@ -7643,8 +7640,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 62fc97bd5ff..556dfccd30f 100644 --- a/www/squid/patches/patch-an +++ b/www/squid/patches/patch-an @@ -1,8 +1,8 @@ -$NetBSD: patch-an,v 1.6 2004/10/13 15:35:55 taca Exp $ +$NetBSD: patch-an,v 1.7 2005/06/07 14:19:10 taca Exp $ ---- configure.in.orig 2004-10-12 05:27:03.000000000 +0900 +--- configure.in.orig 2005-05-17 07:41:14.000000000 +0900 +++ configure.in -@@ -489,7 +489,7 @@ AC_ARG_ENABLE(snmp, +@@ -493,7 +493,7 @@ AC_ARG_ENABLE(snmp, [ if test "$enableval" = "yes" ; then echo "SNMP monitoring enabled" AC_DEFINE(SQUID_SNMP) @@ -11,7 +11,7 @@ $NetBSD: patch-an,v 1.6 2004/10/13 15:35:55 taca Exp $ AM_CONDITIONAL(USE_SNMP, true) SNMP_MAKEFILE=./snmplib/Makefile makesnmplib=snmplib -@@ -1209,6 +1209,7 @@ AC_CHECK_HEADERS( \ +@@ -1282,6 +1282,7 @@ AC_CHECK_HEADERS( \ libc.h \ limits.h \ linux/netfilter_ipv4.h \ @@ -19,7 +19,15 @@ $NetBSD: patch-an,v 1.6 2004/10/13 15:35:55 taca Exp $ malloc.h \ math.h \ memory.h \ -@@ -1434,8 +1435,17 @@ AC_CHECK_TYPE(pid_t, int) +@@ -1296,6 +1297,7 @@ AC_CHECK_HEADERS( \ + netinet/ip_fil_compat.h \ + netinet/ip_fil.h \ + netinet/ip_nat.h \ ++ netinet/ipl.h \ + openssl/err.h \ + openssl/md5.h \ + openssl/ssl.h \ +@@ -1507,8 +1509,17 @@ AC_CHECK_TYPE(pid_t, int) AC_CHECK_TYPE(size_t, unsigned int) AC_CHECK_TYPE(ssize_t, int) AC_CHECK_TYPE(off_t, int) @@ -39,7 +47,7 @@ $NetBSD: patch-an,v 1.6 2004/10/13 15:35:55 taca Exp $ AC_CHECK_SIZEOF_SYSTYPE(off_t, 4) AC_CHECK_SIZEOF_SYSTYPE(size_t, 4) -@@ -1639,8 +1649,8 @@ if test "$GCC" = "yes"; then +@@ -1716,8 +1727,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-bb b/www/squid/patches/patch-bb index e8503d2e199..89665bde000 100644 --- a/www/squid/patches/patch-bb +++ b/www/squid/patches/patch-bb @@ -1,8 +1,8 @@ -$NetBSD: patch-bb,v 1.5 2004/10/13 15:35:55 taca Exp $ +$NetBSD: patch-bb,v 1.6 2005/06/07 14:19:10 taca Exp $ ---- include/autoconf.h.in.orig 2004-08-09 22:55:49.000000000 +0900 +--- include/autoconf.h.in.orig 2005-04-23 10:32:27.000000000 +0900 +++ include/autoconf.h.in -@@ -659,6 +659,9 @@ +@@ -665,6 +665,9 @@ /* Define if you have the <linux/netfilter_ipv4.h> header file. */ #undef HAVE_LINUX_NETFILTER_IPV4_H @@ -12,3 +12,13 @@ $NetBSD: patch-bb,v 1.5 2004/10/13 15:35:55 taca Exp $ /* Define if you have the <malloc.h> header file. */ #undef HAVE_MALLOC_H +@@ -707,6 +710,9 @@ + /* Define if you have the <netinet/ip_nat.h> header file. */ + #undef HAVE_NETINET_IP_NAT_H + ++/* Define if you have the <netinet/ipl.h> header file. */ ++#undef HAVE_NETINET_IPL_H ++ + /* Define if you have the <netinet/tcp.h> header file. */ + #undef HAVE_NETINET_TCP_H + diff --git a/www/squid/patches/patch-cd b/www/squid/patches/patch-cd index 6e15deef08c..d42ebaf945a 100644 --- a/www/squid/patches/patch-cd +++ b/www/squid/patches/patch-cd @@ -1,16 +1,18 @@ -$NetBSD: patch-cd,v 1.8 2005/06/05 14:20:27 taca Exp $ +$NetBSD: patch-cd,v 1.9 2005/06/07 14:19:10 taca Exp $ --- src/client_side.c.orig 2005-04-21 06:46:06.000000000 +0900 +++ src/client_side.c -@@ -41,6 +41,7 @@ +@@ -41,6 +41,9 @@ #endif #include <netinet/tcp.h> #include <net/if.h> ++#if HAVE_NETINET_IPL_H +#include <netinet/ipl.h> ++#endif #if HAVE_IP_FIL_COMPAT_H #include <ip_fil_compat.h> #elif HAVE_NETINET_IP_FIL_COMPAT_H -@@ -2589,6 +2590,9 @@ parseHttpRequest(ConnStateData * conn, m +@@ -2589,6 +2592,9 @@ parseHttpRequest(ConnStateData * conn, m static int natfd = -1; static int siocgnatl_cmd = SIOCGNATL & 0xff; int x; @@ -20,7 +22,7 @@ $NetBSD: patch-cd,v 1.8 2005/06/05 14:20:27 taca Exp $ #endif #if PF_TRANSPARENT struct pfioc_natlook nl; -@@ -2731,6 +2735,13 @@ parseHttpRequest(ConnStateData * conn, m +@@ -2731,6 +2737,13 @@ parseHttpRequest(ConnStateData * conn, m int vport; if (vhost_mode) { #if IPF_TRANSPARENT @@ -34,7 +36,7 @@ $NetBSD: patch-cd,v 1.8 2005/06/05 14:20:27 taca Exp $ natLookup.nl_inport = http->conn->me.sin_port; natLookup.nl_outport = http->conn->peer.sin_port; natLookup.nl_inip = http->conn->me.sin_addr; -@@ -2739,8 +2750,8 @@ parseHttpRequest(ConnStateData * conn, m +@@ -2739,8 +2752,8 @@ parseHttpRequest(ConnStateData * conn, m if (natfd < 0) { int save_errno; enter_suid(); @@ -45,7 +47,7 @@ $NetBSD: patch-cd,v 1.8 2005/06/05 14:20:27 taca Exp $ #else natfd = open(IPL_NAT, O_RDONLY, 0); #endif -@@ -2756,6 +2767,9 @@ parseHttpRequest(ConnStateData * conn, m +@@ -2756,6 +2769,9 @@ parseHttpRequest(ConnStateData * conn, m cbdataFree(http); xfree(inbuf); } else { @@ -55,7 +57,7 @@ $NetBSD: patch-cd,v 1.8 2005/06/05 14:20:27 taca Exp $ /* * IP-Filter changed the type for SIOCGNATL between * 3.3 and 3.4. It also changed the cmd value for -@@ -2769,6 +2783,7 @@ parseHttpRequest(ConnStateData * conn, m +@@ -2769,6 +2785,7 @@ parseHttpRequest(ConnStateData * conn, m } else { x = ioctl(natfd, SIOCGNATL, &natLookup); } |