ports/91831: [Maintainer] www/squid: integrate vendor patches

Thomas-Martin Seck tmseck at netcologne.de
Sun Jan 15 15:00:13 UTC 2006


>Number:         91831
>Category:       ports
>Synopsis:       [Maintainer] www/squid: integrate vendor patches
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 15 15:00:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of Jan 15, 2006.

	
>Description:
Integrate two vendor patches being published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

- Fix wbinfo_group.pl to correctly work with the wbinfo command
  from samba-3.0.21 (squid bug #1472)

- Fix a crash when accessing async IO function counters via the
  cachemgr CGI in cases where squid was compiled for aufs support
  but not actually using it (squid bug #1464)

While at it, remove an unneeded patch from the ICAP core patchset.
	
>How-To-Repeat:
	
>Fix:
Apply this patch:

Index: distinfo
===================================================================
--- distinfo	(.../www/squid)	(revision 669)
+++ distinfo	(.../local/squid)	(revision 669)
@@ -4,3 +4,9 @@
 MD5 (squid2.5/squid-2.5.STABLE12-SMB_BadFetch.patch) = 8e83b776c0d015bd4137cc1ca08f6d38
 SHA256 (squid2.5/squid-2.5.STABLE12-SMB_BadFetch.patch) = 9ca8427c2eb9e5cbdb5a49fb5cb94fc00853ad965f87666f8fc35236e98bc0ae
 SIZE (squid2.5/squid-2.5.STABLE12-SMB_BadFetch.patch) = 826
+MD5 (squid2.5/squid-2.5.STABLE12-wbinfo_group.patch) = fe0ab5839d282fda67ffd8eb17f2588d
+SHA256 (squid2.5/squid-2.5.STABLE12-wbinfo_group.patch) = 9aa671be4022f1126071cf83ca800795f609b731aac74237bc70e11d8f069046
+SIZE (squid2.5/squid-2.5.STABLE12-wbinfo_group.patch) = 1615
+MD5 (squid2.5/squid-2.5.STABLE12-asyncio_counters.patch) = 70485fac2c02d836f7027122e65d5767
+SHA256 (squid2.5/squid-2.5.STABLE12-asyncio_counters.patch) = 39bf2ca95a3c1fc90a40c437253dbbf6d71f37763369ada287039340a68b873f
+SIZE (squid2.5/squid-2.5.STABLE12-asyncio_counters.patch) = 497
Index: files/icap-2.5-core.patch
===================================================================
--- files/icap-2.5-core.patch	(.../www/squid)	(revision 669)
+++ files/icap-2.5-core.patch	(.../local/squid)	(revision 669)
@@ -1147,43 +1147,6 @@
 +#endif
 +
  #endif /* SQUID_UTIL_H */
-Index: lib/Makefile.am
-===================================================================
-RCS file: /cvsroot/squid/squid/lib/Makefile.am,v
-retrieving revision 1.4
-retrieving revision 1.4.26.2
-diff -p -u -b -r1.4 -r1.4.26.2
---- lib/Makefile.am	21 Nov 2001 23:48:57 -0000	1.4
-+++ lib/Makefile.am	6 Apr 2004 13:04:38 -0000	1.4.26.2
-@@ -8,6 +8,19 @@ SNPRINTFSOURCE=snprintf.c
- else
- SNPRINTFSOURCE=
- endif
-+
-+if NEED_OWN_STRNSTR
-+STRNSTRSOURCE=strnstr.c
-+else
-+STRNSTRSOURCE=
-+endif
-+
-+if NEED_OWN_STRCASESTR
-+STRCASESTRSOURCE=strcasestr.c
-+else
-+STRCASESTRSOURCE=
-+endif
-+
- if NEED_OWN_MD5
- MD5SOURCE=md5.c
- else
-@@ -43,6 +56,8 @@ libmiscutil_a_SOURCES = \
- 	$(SNPRINTFSOURCE) \
- 	splay.c \
- 	Stack.c \
-+	$(STRNSTRSOURCE) \
-+	$(STRCASESTRSOURCE) \
- 	stub_memaccount.c \
- 	util.c \
- 	uudecode.c
 Index: lib/strcasestr.c
 ===================================================================
 RCS file: lib/strcasestr.c
Index: Makefile
===================================================================
--- Makefile	(.../www/squid)	(revision 669)
+++ Makefile	(.../local/squid)	(revision 669)
@@ -73,7 +73,7 @@
 
 PORTNAME=	squid
 PORTVERSION=	2.5.12
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	www
 MASTER_SITES=	\
 		ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
@@ -86,7 +86,9 @@
 DIST_SUBDIR=	squid2.5
 
 PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.5/bugs/
-PATCHFILES=	squid-2.5.STABLE12-SMB_BadFetch.patch
+PATCHFILES=	squid-2.5.STABLE12-SMB_BadFetch.patch \
+		squid-2.5.STABLE12-wbinfo_group.patch \
+		squid-2.5.STABLE12-asyncio_counters.patch
 PATCH_DIST_STRIP=	-p1
 
 MAINTAINER=	tmseck at netcologne.de
	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list