head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.28 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.26 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.24 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.22 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.20 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.18 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.16 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.14 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.12 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.10 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.8 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.6 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.4 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.2 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.0.2; locks; strict; comment @# @; 1.4 date 2007.01.14.04.12.12; author taca; state dead; branches; next 1.3; 1.3 date 2006.12.04.21.50.54; author jdolecek; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2005.10.31.09.53.41; author taca; state dead; branches; next 1.1; 1.1 date 2005.10.25.14.05.22; author taca; state Exp; branches 1.1.2.1; next ; 1.3.2.1 date 2007.01.29.18.51.25; author ghen; state dead; branches; next ; 1.1.2.1 date 2005.10.25.14.05.22; author salo; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.10.25.18.04.33; author salo; state Exp; branches; next 1.1.2.3; 1.1.2.3 date 2005.11.01.22.07.00; author salo; state dead; branches; next ; desc @@ 1.4 log @Update squid package to 2.6.7 (2.6.STABLE7). o arp-acl is now supported on NetBSD contributed by Jaromir Dolecek . Changes to squid-2.6.STABLE7 (Jan 13 2007) - Windows port: Fix intermittent build error using Visual Studio - Add missing tproxy info from the dump of http port configuration - Bug #1853: Support for ARP ACL on NetBSD - clientNatLookup(): fix wrong function name in debug messages - Convert ncsa_auth man page from DOS to Unix text format. - Bug #1858: digest_ldap_auth had some remains of old hash format - Correct the select_loops counter when using select(). Was counted twice - Clarify the http_port vhost option a bit - Fix cache-control: max-stale without value or bad value - Bug #1857: Segmentation fault on certain types of ftp:// requests - Bug #1848: external_acl crashes with an infinite loop under high load - Bug #1792: max_user_ip not working with NTLM authentication - Bug #1865: deny_info redirection with authentication related acls - Small example on how to use the squid_session helper - Bug #1863: cache_peer monitorurl, monitorsize and monitorinterval not working properly - Clarify the transparent http_port option a bit more - Bug #1828: squid.conf docutemtation error for proxy_auth digest - Bug #1867: squid.pid isn't removed on shutdown @ text @$NetBSD: patch-bd,v 1.3 2006/12/04 21:50:54 jdolecek Exp $ --- src/acl.c.orig 2006-10-16 22:11:41.000000000 +0200 +++ src/acl.c @@@@ -3083,7 +3083,7 @@@@ struct arpreq { * token namespace crashing any structures or classes having members * of the same names. */ -#ifdef _SQUID_OPENBSD_ +#if defined(_SQUID_NETBSD_) || defined(_SQUID_OPENBSD_) #undef free #endif #include @@@@ -3096,7 +3096,7 @@@@ struct arpreq { #include #endif #include -#if defined(_SQUID_FREEBSD_) || defined(_SQUID_OPENBSD_) +#if defined(_SQUID_FREEBSD_) || defined(_SQUID_NETBSD_) || defined(_SQUID_OPENBSD_) #include #endif #if HAVE_NETINET_IF_ETHER_H @@@@ -3318,7 +3318,7 @@@@ aclMatchArp(void *dataptr, struct in_add inet_ntoa(c), splayLastResult ? "NOT found" : "found"); return (0 == splayLastResult); } -#elif defined(_SQUID_FREEBSD_) || defined(_SQUID_OPENBSD_) +#elif defined(_SQUID_FREEBSD_) || defined(_SQUID_NETBSD_) || defined(_SQUID_OPENBSD_) struct arpreq arpReq; struct sockaddr_in ipAddr; @@@@ -3475,7 +3475,7 @@@@ aclArpCompare(const void *a, const void return (d1[4] > d2[4]) ? 1 : -1; if (d1[5] != d2[5]) return (d1[5] > d2[5]) ? 1 : -1; -#elif defined(_SQUID_FREEBSD_) || defined(_SQUID_OPENBSD_) +#elif defined(_SQUID_FREEBSD_) || defined(_SQUID_OPENBSD_) || defined(_SQUID_NETBSD_) const unsigned char *d1 = a; const unsigned char *d2 = b; if (d1[0] != d2[0]) @ 1.3 log @add NetBSD support to ARP ACL code enable arp-acl option also for NetBSD and OpenBSD spell the configure option for ARP ACL properly @ text @d1 1 a1 1 $NetBSD$ @ 1.3.2.1 log @Pullup ticket 2005 - requested by taca security update for squid - pkgsrc/www/squid/Makefile 1.187-1.88 - pkgsrc/www/squid/distinfo 1.125-1.126 - pkgsrc/www/squid/patches/patch-bd removed Module Name: pkgsrc Committed By: taca Date: Sun Jan 14 04:12:12 UTC 2007 Modified Files: pkgsrc/www/squid: Makefile distinfo Removed Files: pkgsrc/www/squid/patches: patch-bd Log Message: Update squid package to 2.6.7 (2.6.STABLE7). o arp-acl is now supported on NetBSD contributed by Jaromir Dolecek . Changes to squid-2.6.STABLE7 (Jan 13 2007) - Windows port: Fix intermittent build error using Visual Studio - Add missing tproxy info from the dump of http port configuration - Bug #1853: Support for ARP ACL on NetBSD - clientNatLookup(): fix wrong function name in debug messages - Convert ncsa_auth man page from DOS to Unix text format. - Bug #1858: digest_ldap_auth had some remains of old hash format - Correct the select_loops counter when using select(). Was counted twice - Clarify the http_port vhost option a bit - Fix cache-control: max-stale without value or bad value - Bug #1857: Segmentation fault on certain types of ftp:// requests - Bug #1848: external_acl crashes with an infinite loop under high load - Bug #1792: max_user_ip not working with NTLM authentication - Bug #1865: deny_info redirection with authentication related acls - Small example on how to use the squid_session helper - Bug #1863: cache_peer monitorurl, monitorsize and monitorinterval not working properly - Clarify the transparent http_port option a bit more - Bug #1828: squid.conf docutemtation error for proxy_auth digest - Bug #1867: squid.pid isn't removed on shutdown --- Module Name: pkgsrc Committed By: taca Date: Sun Jan 28 05:39:24 UTC 2007 Modified Files: pkgsrc/www/squid: Makefile distinfo Log Message: Update squid to 2.6.9 (2.6.STABLE9). I deleted DIST_SUBDIR for now. Changes to squid-2.6.STABLE9 (Jan 24 2007) - Bug #1878: If-Modified-Since broken in 2.6.STABLE8 - Bug #1877 diskd bug in storeDiskdIOCallback() Changes to squid-2.6.STABLE8 (Jan 21 2007) - Bug #1873: authenticateNTLMFixErrorHeader: state 4. - Document the https_port vhost option, useful in combination with a wildcard certificate - Document the existence of connection pinning / forwarding of NTLM auth and a few other features overlooked in the release notes. - Spelling correction of the ssl cache_peer option - Add back the optional "accel" http_port option. Makes accelerator mode configurations easier to read. - Bug #1872: Date parsing error causing objects to get unexpectedly cached. - Cleanup to have the access.log tags autogenerated from enums.h - Bug #1783: STALE: Entry's timestamp greater than check time. Clock going backwards? - Don't update object timestamps on a failed revalidation. - Fix how ftp://user@@host URLs is rendered when Squid is built with leak checking enabled @ text @d1 1 a1 1 $NetBSD: patch-bd,v 1.3 2006/12/04 21:50:54 jdolecek Exp $ @ 1.2 log @Use official patch instead of temporary one. 2005-10-26 20:31 (Minor) fails to compile with undefined reference to setenv Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-bd,v 1.1 2005/10/25 14:05:22 taca Exp $ d3 38 a40 20 --- src/cache_cf.c.orig 2005-09-29 06:42:33.000000000 +0900 +++ src/cache_cf.c @@@@ -440,8 +440,15 @@@@ configDoConfigure(void) Config.effectiveUser); Config2.effectiveUserID = pwd->pw_uid; Config2.effectiveGroupID = pwd->pw_gid; - if (pwd->pw_dir && *pwd->pw_dir) - setenv("HOME", pwd->pw_dir, 1); +#if HAVE_PUTENV + if (pwd->pw_dir && *pwd->pw_dir) { + int len; + char *env_str = xcalloc((len = strlen(pwd->pw_dir) + 6), 1); + snprintf(env_str, len, "HOME=%s", pwd->pw_dir); + putenv(env_str); + xfree(env_str); + } +#endif } } else { Config2.effectiveUserID = geteuid(); @ 1.1 log @Add a patch to compile on SunOS from squid's bugzilla. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-bd was added on branch pkgsrc-2005Q3 on 2005-10-25 14:05:22 +0000 @ text @d1 22 @ 1.1.2.2 log @Pullup ticket 852 - requested by Takahiro Kambe portability fix for squid Revisions pulled up: - pkgsrc/www/squid/Makefile 1.163 - pkgsrc/www/squid/distinfo 1.107 - pkgsrc/www/squid/patches/patch-bd 1.1 Module Name: pkgsrc Committed By: taca Date: Tue Oct 25 14:05:22 UTC 2005 Modified Files: pkgsrc/www/squid: Makefile distinfo Added Files: pkgsrc/www/squid/patches: patch-bd Log Message: Add a patch to compile on SunOS from squid's bugzilla. Bump PKGREVISION. @ text @a0 22 $NetBSD: patch-bd,v 1.1.2.1 2005/10/25 18:04:33 salo Exp $ --- src/cache_cf.c.orig 2005-09-29 06:42:33.000000000 +0900 +++ src/cache_cf.c @@@@ -440,8 +440,15 @@@@ configDoConfigure(void) Config.effectiveUser); Config2.effectiveUserID = pwd->pw_uid; Config2.effectiveGroupID = pwd->pw_gid; - if (pwd->pw_dir && *pwd->pw_dir) - setenv("HOME", pwd->pw_dir, 1); +#if HAVE_PUTENV + if (pwd->pw_dir && *pwd->pw_dir) { + int len; + char *env_str = xcalloc((len = strlen(pwd->pw_dir) + 6), 1); + snprintf(env_str, len, "HOME=%s", pwd->pw_dir); + putenv(env_str); + xfree(env_str); + } +#endif } } else { Config2.effectiveUserID = geteuid(); @ 1.1.2.3 log @Pullup ticket 874 - requested by Takahiro Kambe portability fix for squid Revisions pulled up: - pkgsrc/www/squid/Makefile 1.164 - pkgsrc/www/squid/distinfo 1.108 - pkgsrc/www/squid/patches/patch-bd removed Module Name: pkgsrc Committed By: taca Date: Mon Oct 31 09:53:41 UTC 2005 Modified Files: pkgsrc/www/squid: Makefile distinfo Removed Files: pkgsrc/www/squid/patches: patch-bd Log Message: Use official patch instead of temporary one. 2005-10-26 20:31 (Minor) fails to compile with undefined reference to setenv Bump PKGREVISION. @ text @d1 22 @