Bug 116165 - [Maintainer] www/squid: update to 2.6.STABLE16
Summary: [Maintainer] www/squid: update to 2.6.STABLE16
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-06 20:50 UTC by Thomas-Martin Seck
Modified: 2007-09-20 01:30 UTC (History)
0 users

See Also:


Attachments
file.diff (5.63 KB, patch)
2007-09-06 20:50 UTC, Thomas-Martin Seck
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas-Martin Seck 2007-09-06 20:50:01 UTC
Update to 2.6.STABLE16.

Fix: Apply this patch:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-09-09 08:52:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2007-09-09 09:14:20 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix.
Comment 3 Thomas-Martin Seck 2007-09-16 12:32:10 UTC
Just a quick status update:

I sent a mail about the problem to FreeBSD-current and -ports a week ago.

Unfortunately I got no response so far so if this is a problem specific
to CURRENT, it might be a very subtle one. I can still reproduce the
problem on CURRENT-i386 as of 2007-09-15.

I have now informed the Squid developers about this problem and (still)
hope that this boils down to a problem with the code itself, not with
the OS.
Comment 4 Thomas-Martin Seck 2007-09-18 17:57:23 UTC
The problem was identified as a bug in Squid (see Squid bug #2086) and
will be fixed in 2.6.STABLE17.

Please commit this patch as files/patch-src__cf_gen.c:

Index: src/cf_gen.c
===================================================================
RCS file: /cvsroot/squid/squid/src/cf_gen.c,v
retrieving revision 1.52
diff -u -p -r1.52 cf_gen.c
--- src/cf_gen.c	6 Sep 2007 09:33:36 -0000	1.52
+++ src/cf_gen.c	16 Sep 2007 17:57:24 -0000
@@ -183,7 +183,7 @@ main(int argc, char *argv[])
 	t = (Type *) xcalloc(1, sizeof(*t));
 	t->name = xstrdup(type);
 	while ((dep = strtok(NULL, WS)) != NULL) {
-	    TypeDep *d = (TypeDep *) xcalloc(1, sizeof(*dep));
+	    TypeDep *d = (TypeDep *) xcalloc(1, sizeof(*d));
 	    d->name = xstrdup(dep);
 	    d->next = t->depend;
 	    t->depend = d;
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-09-20 01:26:33 UTC
miwi        2007-09-20 00:26:28 UTC

  FreeBSD ports repository

  Modified files:
    www/squid            Makefile distinfo 
    www/squid/files      icap-2.6-bootstrap.patch 
  Added files:
    www/squid/files      patch-src_cf_gen.c 
  Log:
  - Update to 2.6.STABLE16
  
  PR:             116165
  Submitted by:   Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
  
  Revision  Changes    Path
  1.203     +4 -4      ports/www/squid/Makefile
  1.157     +3 -15     ports/www/squid/distinfo
  1.5       +12 -12    ports/www/squid/files/icap-2.6-bootstrap.patch
  1.1       +16 -0     ports/www/squid/files/patch-src_cf_gen.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2007-09-20 01:26:38 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!