pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/squid Update squid pacakge to 2.6.14 (2.6.STABLE14).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8665a36be530
branches:  trunk
changeset: 531592:8665a36be530
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Aug 02 15:45:09 2007 +0000

description:
Update squid pacakge to 2.6.14 (2.6.STABLE14).

pkgsrc chagnes

  o Add "coss" option which enable COSS (Cyclic Object storage system).
    Noted by Chris Ross on pkgsrc-users.

Changes to squid-2.6.STABLE14 (15 Jul 2007)

        - squid.conf.default cleanup to have options in their proper sections.
        - documentation correction in the refresh_pattern ignore-auth option
        - URI-escaping not uses the recommended upper-case hex codes
        - refresh_pattern min-age 0 correted to really mean 0, and not 1 second
        - Always use xisxxxx() Squid defined macros instead of ctype
          functions.
        - Kerberos SPNEGO/Negotiate helper for the negotiate scheme
        - Database basic auth helper using Perl DBI to connect to most SQL DBs
        - Solaris /dev/poll network I/O support
        - configure fixes to make cross compilation somewhat easier
        - Removed incorrect -a reference from http_port documentation
        - Bug #1900: Double "squid -k shutdown" makes Squid restart again
        - Bug #1968: Squid hangs occasionally when using DNS search paths
        - Novell eDirectory digest auth helper (digest_edir_auth)
        - Bug #1130: min-size option for cache_dir
        - POP3 basic auth helper querying a POP3 server
        - Cosmetic squid_ldap_auth fixes from Squid-3
        - Bug #1085: Add no-wrap to cache manager HTML tables
        - Automatically restart if number of available filedescriptors becomes
          alarmingly low, preventing a situation where Squid would otherwise
          permanently stop processing requests.
        - Bug #2010: snmp_core.cc:828: warning: array subscript is above
          array bounds
        - Deal better with forwarding loops

diffstat:

 www/squid/Makefile         |    4 +-
 www/squid/distinfo         |   28 +++++-----
 www/squid/options.mk       |   11 +++-
 www/squid/patches/patch-aa |   14 ++--
 www/squid/patches/patch-ab |    6 +-
 www/squid/patches/patch-ad |    6 +-
 www/squid/patches/patch-ae |    6 +-
 www/squid/patches/patch-ag |  122 ---------------------------------------------
 www/squid/patches/patch-ak |   23 +++-----
 www/squid/patches/patch-an |   25 +++++++-
 www/squid/patches/patch-ap |    6 +-
 www/squid/patches/patch-ar |    6 +-
 www/squid/patches/patch-as |    6 +-
 www/squid/patches/patch-au |  106 +++++++++++++++++++++++++++++++++++++++
 14 files changed, 185 insertions(+), 184 deletions(-)

diffs (truncated from 553 to 300 lines):

diff -r 9fe6a4db5959 -r 8665a36be530 www/squid/Makefile
--- a/www/squid/Makefile        Thu Aug 02 15:18:49 2007 +0000
+++ b/www/squid/Makefile        Thu Aug 02 15:45:09 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.193 2007/07/04 20:55:05 jlam Exp $
+# $NetBSD: Makefile,v 1.194 2007/08/02 15:45:09 taca Exp $
 
-DISTNAME=      squid-2.6.STABLE13
+DISTNAME=      squid-2.6.STABLE14
 PKGNAME=       ${DISTNAME:S/STABLE//}
 CATEGORIES=    www
 MASTER_SITES=  http://www.squid-cache.org/Versions/v2/2.6/ \
diff -r 9fe6a4db5959 -r 8665a36be530 www/squid/distinfo
--- a/www/squid/distinfo        Thu Aug 02 15:18:49 2007 +0000
+++ b/www/squid/distinfo        Thu Aug 02 15:45:09 2007 +0000
@@ -1,22 +1,22 @@
-$NetBSD: distinfo,v 1.132 2007/05/13 16:45:44 taca Exp $
+$NetBSD: distinfo,v 1.133 2007/08/02 15:45:09 taca Exp $
 
-SHA1 (squid-2.6.STABLE13.tar.bz2) = e7e3cc93dadbfe2bdfa4d711a40259d45e360bd1
-RMD160 (squid-2.6.STABLE13.tar.bz2) = bfe7cdc6194bba93158441aaccaca3a0b0fad75d
-Size (squid-2.6.STABLE13.tar.bz2) = 1263229 bytes
-SHA1 (patch-aa) = fb8c4b6262215f2b7e7cca0e3bf9c60e7c4a3ee3
-SHA1 (patch-ab) = 68343a5094d4e333166a2404896e3370e369f0e1
+SHA1 (squid-2.6.STABLE14.tar.bz2) = ff4801955707ff8a6bba69275951071d6ce55d33
+RMD160 (squid-2.6.STABLE14.tar.bz2) = 40037786e6b6af40904aa8d4252eb7234046687c
+Size (squid-2.6.STABLE14.tar.bz2) = 1291509 bytes
+SHA1 (patch-aa) = 9aa971e21de833b13f81ef04939c5e29e03e2e37
+SHA1 (patch-ab) = 28e7bf58edbcd504bc4c780370a7bd402e66c6b0
 SHA1 (patch-ac) = 1b283f0a573c02c82ce26f75e67d19b1ec5ff9f0
-SHA1 (patch-ad) = 0d37aaf5047fc38ea99192c3273bb2f72391d44c
-SHA1 (patch-ae) = 58cd3fda2578dccd64cb638be5829c736c489c8c
+SHA1 (patch-ad) = 2a09337fdf74b855a21cb41636d28f018cd1218b
+SHA1 (patch-ae) = d01c35059f34c4c0fa2cae547ddffbc635d6af94
 SHA1 (patch-af) = a78e762c1ad928eef66b12395d48bc69542e32d9
-SHA1 (patch-ag) = 43c9ff0284367f05a667575ad8c5055294ff872b
 SHA1 (patch-aj) = fab8076c24a4e134b193fcdacc5240dfe7aa5504
-SHA1 (patch-ak) = c154f0e61f0d7874e16d595dcb4305c489bd31fa
+SHA1 (patch-ak) = 60e199e591dc6c4e2a93e67ba53b8cf75ae49631
 SHA1 (patch-al) = d0a3b639147842ca5d07114b561d2431d8800971
-SHA1 (patch-an) = 92d4b1e3018c06d0d7e40bc7d6e5e1fdde56e13e
-SHA1 (patch-ap) = 697092772e52e75dd1128790ea04a6902a5622e4
-SHA1 (patch-ar) = cb5f7100851112cf574c3002d5c6cecafb44611d
-SHA1 (patch-as) = a59f1242d2d386c019f59758db18e4f0ef52131f
+SHA1 (patch-an) = cb2ced35d368a33cdd6c51bdd0f02b4383f0ada6
+SHA1 (patch-ap) = 636475a33d69589485704fb99315862c52552323
+SHA1 (patch-ar) = 39a8d47d5a4d9cb325e58fb81eb20d2d7745a38c
+SHA1 (patch-as) = b1e7c6c8ab7f36a4a772b327dac58ba5a1edbf39
 SHA1 (patch-at) = 7ce72c964345203876d56d003353a5213c327252
+SHA1 (patch-au) = db41c3fc1b7ec6dd020559aa767d488738cd4747
 SHA1 (patch-bb) = 6711186c3e3e7992f9874eb47df7c0d3690649c2
 SHA1 (patch-bc) = 0b87eb5f4ccc06a0e59ed298fc3203b1b2641969
diff -r 9fe6a4db5959 -r 8665a36be530 www/squid/options.mk
--- a/www/squid/options.mk      Thu Aug 02 15:18:49 2007 +0000
+++ b/www/squid/options.mk      Thu Aug 02 15:45:09 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.12 2007/02/25 07:34:45 taca Exp $
+# $NetBSD: options.mk,v 1.13 2007/08/02 15:45:10 taca Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.squid
-PKG_SUPPORTED_OPTIONS= aufs carp icmp pam-helper snmp ssl unlinkd
+PKG_SUPPORTED_OPTIONS= aufs carp coss icmp pam-helper snmp ssl unlinkd
 #
 # most of options are enabled by default except aufs.  aufs backend isn't
 # tested well.
@@ -95,6 +95,13 @@
 .include "../../mk/pthread.buildlink3.mk"
 .endif
 
+.if !empty(PKG_OPTIONS:Mcoss)
+SQUID_BACKENDS+=       coss
+.if empty(PKG_OPTIONS:Maufs)
+PKG_FAIL_REASON+=      "The option needs aufs option, too."
+.endif
+.endif
+
 .if !empty(PKG_OPTIONS:Mdiskd)
 SQUID_BACKENDS+=       diskd
 .endif
diff -r 9fe6a4db5959 -r 8665a36be530 www/squid/patches/patch-aa
--- a/www/squid/patches/patch-aa        Thu Aug 02 15:18:49 2007 +0000
+++ b/www/squid/patches/patch-aa        Thu Aug 02 15:45:09 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.20 2007/05/13 16:45:44 taca Exp $
+$NetBSD: patch-aa,v 1.21 2007/08/02 15:45:10 taca Exp $
 
---- src/Makefile.in.orig       2007-05-06 07:06:55.000000000 +0900
+--- src/Makefile.in.orig       2007-06-23 09:14:56.000000000 +0900
 +++ src/Makefile.in
-@@ -617,14 +617,14 @@ DEFAULT_LOG_PREFIX = $(localstatedir)/lo
+@@ -622,14 +622,14 @@ DEFAULT_LOG_PREFIX = $(localstatedir)/lo
  DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
  DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
  DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
@@ -21,7 +21,7 @@
  DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  
  # Don't automatically uninstall config files
-@@ -871,20 +871,20 @@ distclean-compile:
+@@ -877,20 +877,20 @@ distclean-compile:
  uninstall-info-am:
  install-dataDATA: $(data_DATA)
        @$(NORMAL_INSTALL)
@@ -47,7 +47,7 @@
        done
  install-sysconfDATA: $(sysconf_DATA)
        @$(NORMAL_INSTALL)
-@@ -1137,8 +1137,7 @@ info-am:
+@@ -1143,8 +1143,7 @@ info-am:
  
  install-data-am: install-data-local install-dataDATA
  
@@ -57,7 +57,7 @@
  
  install-info: install-info-recursive
  
-@@ -1165,7 +1164,7 @@ ps-am:
+@@ -1171,7 +1170,7 @@ ps-am:
  
  uninstall-am: uninstall-dataDATA uninstall-info-am \
        uninstall-libexecPROGRAMS uninstall-local \
@@ -66,7 +66,7 @@
  
  uninstall-info: uninstall-info-recursive
  
-@@ -1249,20 +1248,7 @@ repl_modules.c: repl_modules.sh Makefile
+@@ -1255,20 +1254,7 @@ repl_modules.c: repl_modules.sh Makefile
  auth_modules.c: auth_modules.sh Makefile
        @$(SHELL) $(srcdir)/auth_modules.sh $(AUTH_MODULES) >auth_modules.c
  
diff -r 9fe6a4db5959 -r 8665a36be530 www/squid/patches/patch-ab
--- a/www/squid/patches/patch-ab        Thu Aug 02 15:18:49 2007 +0000
+++ b/www/squid/patches/patch-ab        Thu Aug 02 15:45:09 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.8 2007/05/13 16:45:44 taca Exp $
+$NetBSD: patch-ab,v 1.9 2007/08/02 15:45:10 taca Exp $
 
---- scripts/Makefile.in.orig   2006-11-05 08:20:03.000000000 +0900
+--- scripts/Makefile.in.orig   2007-06-23 09:14:56.000000000 +0900
 +++ scripts/Makefile.in
-@@ -206,7 +206,7 @@ am__leading_dot = @am__leading_dot@
+@@ -208,7 +208,7 @@ am__leading_dot = @am__leading_dot@
  am__quote = @am__quote@
  am__tar = @am__tar@
  am__untar = @am__untar@
diff -r 9fe6a4db5959 -r 8665a36be530 www/squid/patches/patch-ad
--- a/www/squid/patches/patch-ad        Thu Aug 02 15:18:49 2007 +0000
+++ b/www/squid/patches/patch-ad        Thu Aug 02 15:45:09 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.10 2007/05/13 16:45:44 taca Exp $
+$NetBSD: patch-ad,v 1.11 2007/08/02 15:45:10 taca Exp $
 
---- errors/Makefile.in.orig    2006-11-05 08:19:47.000000000 +0900
+--- errors/Makefile.in.orig    2007-06-23 09:14:40.000000000 +0900
 +++ errors/Makefile.in
-@@ -229,7 +229,7 @@ sbindir = @sbindir@
+@@ -231,7 +231,7 @@ sbindir = @sbindir@
  sharedstatedir = @sharedstatedir@
  sysconfdir = @sysconfdir@
  target_alias = @target_alias@
diff -r 9fe6a4db5959 -r 8665a36be530 www/squid/patches/patch-ae
--- a/www/squid/patches/patch-ae        Thu Aug 02 15:18:49 2007 +0000
+++ b/www/squid/patches/patch-ae        Thu Aug 02 15:45:09 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.10 2007/05/13 16:45:44 taca Exp $
+$NetBSD: patch-ae,v 1.11 2007/08/02 15:45:10 taca Exp $
 
---- icons/Makefile.in.orig     2006-11-05 08:20:02.000000000 +0900
+--- icons/Makefile.in.orig     2007-06-23 09:14:55.000000000 +0900
 +++ icons/Makefile.in
-@@ -266,7 +266,7 @@ ICON2 = anthony-bomb.gif \
+@@ -268,7 +268,7 @@ ICON2 = anthony-bomb.gif \
                anthony-xbm.gif \
                anthony-xpm.gif
  
diff -r 9fe6a4db5959 -r 8665a36be530 www/squid/patches/patch-ag
--- a/www/squid/patches/patch-ag        Thu Aug 02 15:18:49 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-$NetBSD: patch-ag,v 1.27 2007/05/13 16:45:44 taca Exp $
-
---- configure.orig     2007-05-11 08:59:36.000000000 +0900
-+++ configure
-@@ -7324,6 +7324,7 @@ for ac_header in sys/types.h \
-       linux/netfilter_ipv4.h \
-       linux/netfilter_ipv4/ip_tproxy.h \
-       malloc.h \
-+      machine/byte_swap.h \
-       math.h \
-       memory.h \
-       mount.h \
-@@ -13793,9 +13794,9 @@ _ACEOF
- 
- fi
- 
--echo "$as_me:$LINENO: checking for fd_mask" >&5
--echo $ECHO_N "checking for fd_mask... $ECHO_C" >&6
--if test "${ac_cv_type_fd_mask+set}" = set; then
-+{ echo "$as_me:$LINENO: checking for fd_set" >&5
-+echo $ECHO_N "checking for fd_set... $ECHO_C" >&6; }
-+if test "${ac_cv_have_fd_mask+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   cat >conftest.$ac_ext <<_ACEOF
-@@ -13824,26 +13825,63 @@ cat >>conftest.$ac_ext <<_ACEOF
- #include <sys/bitypes.h>
- #endif
- 
-+#include <sys/time.h>
-+#include <sys/unistd.h>
-+int
-+main ()
-+{
-+fd_mask fds;
-+  ;
-+  return 0;
-+}
- _ACEOF
--if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
--  $EGREP "(^|[^a-zA-Z_0-9])fd_mask[^a-zA-Z_0-9]" >/dev/null 2>&1; then
--  ac_cv_type_fd_mask=yes
-+rm -f conftest.$ac_objext
-+if { (ac_try="$ac_compile"
-+case "(($ac_try" in
-+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+  *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+  (eval "$ac_compile") 2>conftest.er1
-+  ac_status=$?
-+  grep -v '^ *+' conftest.er1 >conftest.err
-+  rm -f conftest.er1
-+  cat conftest.err >&5
-+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+  (exit $ac_status); } &&
-+       { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-+  { (case "(($ac_try" in
-+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+  *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+  (eval "$ac_try") 2>&5
-+  ac_status=$?
-+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+  (exit $ac_status); }; } &&
-+       { ac_try='test -s conftest.$ac_objext'
-+  { (case "(($ac_try" in
-+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+  *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+  (eval "$ac_try") 2>&5
-+  ac_status=$?
-+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+  (exit $ac_status); }; }; then
-+  ac_cv_have_fd_mask="yes"
- else
--  ac_cv_type_fd_mask=no
--fi
--rm -f conftest*
-+  echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
- 
-+      ac_cv_have_fd_mask="no"
- fi
--echo "$as_me:$LINENO: result: $ac_cv_type_fd_mask" >&5
--echo "${ECHO_T}$ac_cv_type_fd_mask" >&6
--if test $ac_cv_type_fd_mask = no; then
- 
--cat >>confdefs.h <<\_ACEOF
--#define fd_mask int
--_ACEOF
-+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- 
- fi
--
-+{ echo "$as_me:$LINENO: result: $ac_cv_have_fd_mask" >&5
-+echo "${ECHO_T}$ac_cv_have_fd_mask" >&6; }
- 
- echo "$as_me:$LINENO: checking size of off_t" >&5
- echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
-@@ -15811,8 +15849,8 @@ if test "$GCC" = "yes"; then
-       GCCVER=`$CC -v 2>&1 | awk '$2 ==  "version" {print $3}'`
-       case "$GCCVER" in
-       2.95.[123])
--              echo "Removing -O for gcc on $host with GCC $GCCVER"
--              CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
-+              echo "Making -O\[2-9\] to -O for gcc on $host with GCC $GCCVER"
-+              CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*/-O/'`"
-               ;;
-       esac
- fi
-@@ -16863,7 +16901,7 @@ if test "$PF_TRANSPARENT" ; then
-     echo "$as_me:$LINENO: checking if PF header file is installed" >&5
- echo $ECHO_N "checking if PF header file is installed... $ECHO_C" >&6
-     # hold on to your hats...
--    if test "$ac_cv_header_net_pfvar_h" = "yes"; then
-+    if test "$ac_cv_header_net_pfvar_h" = "yes" || test -f /usr/include/net/pf/pfvar.h; then
-       PF_TRANSPARENT="yes"
- 



Home | Main Index | Thread Index | Old Index