From nobody@FreeBSD.org  Fri Dec 28 03:22:19 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id CC01D40C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Dec 2012 03:22:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id B42DD8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Dec 2012 03:22:19 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBS3MJQv074230
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Dec 2012 03:22:19 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBS3MJf9074229;
	Fri, 28 Dec 2012 03:22:19 GMT
	(envelope-from nobody)
Message-Id: <201212280322.qBS3MJf9074229@red.freebsd.org>
Date: Fri, 28 Dec 2012 03:22:19 GMT
From: Dewayne <dewayne@amdg.etowns.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Squidguard only allows squid27 or 31 but not squid32
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174761
>Category:       ports
>Synopsis:       www/squidguard only allows squid27 or 31 but not squid32
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    madpilot
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 28 03:30:00 UTC 2012
>Closed-Date:    Fri Dec 28 19:07:42 UTC 2012
>Last-Modified:  Fri Dec 28 19:10:00 UTC 2012
>Originator:     Dewayne
>Release:        FreeBSD 9.1PRERELEASE
>Organization:
>Environment:
FreeBSD b1 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Dec 27 00:59:14 EST 2012     root@hs5:/usr/obj/usr/src/sys/hqdev-padlock-smp  i386
>Description:
Squidguard contains dependency options to for squid27 or 31 but not squid32.  While attempting to build squid31, you're advised to build using squid32 for new installations and stops. 

Therefore need to include the hooks for squid32.
>How-To-Repeat:
Refer to patch below
>Fix:
--- /usr/ports/www/squidguard/Makefile.orig     2012-11-17 17:03:06.000000000 +1100
+++ /usr/ports/www/squidguard/Makefile  2012-12-28 14:11:15.000000000 +1100
@@ -45,7 +45,7 @@

 OPTIONS_DEFINE=        DNS_BL DOCS LDAP QUOTE_STRING SAMPLE_BL
 OPTIONS_SINGLE=                SV
-OPTIONS_SINGLE_SV=     SQUID27 SQUID31
+OPTIONS_SINGLE_SV=     SQUID27 SQUID31 SQUID32
 OPTIONS_DEFAULT=       SAMPLE_BL SQUID27

 SAMPLE_BL_DESC=        Install sample blacklists
@@ -53,6 +53,7 @@
 QUOTE_STRING_DESC=     Add quoted string patch
 SQUID27_DESC=  Depend on Squid 2.7.x
 SQUID31_DESC=  Depend on Squid 3.1.x
+SQUID32_DESC=  Depend on Squid 3.2.x

 .include <bsd.port.options.mk>

@@ -64,6 +65,11 @@
 RUN_DEPENDS=   ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid31
 .endif

+.if ${PORT_OPTIONS:MSQUID32}
+RUN_DEPENDS=    ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid32
+.endif
+
+
 .if ${PORT_OPTIONS:MLDAP}
 CONFIGURE_ARGS+=       --with-ldap
 USE_OPENLDAP=          yes


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-www->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Dec 28 03:31:22 UTC 2012 
Responsible-Changed-Why:  
Make this a ports PR and assign.  The GNATS www/ category is only for 
things relating to the FreeBSD website. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174761 
Responsible-Changed-From-To: freebsd-ports-bugs->madpilot 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Dec 28 03:32:20 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174761 
State-Changed-From-To: open->closed 
State-Changed-By: madpilot 
State-Changed-When: Fri Dec 28 19:07:42 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174761 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/174761: commit references a PR
Date: Fri, 28 Dec 2012 19:07:42 +0000 (UTC)

 Author: madpilot
 Date: Fri Dec 28 19:07:34 2012
 New Revision: 309578
 URL: http://svnweb.freebsd.org/changeset/ports/309578
 
 Log:
   - Add option to depend on www/squid32
   
   PR:		ports/174761
   Submitted by:	Dewayne <dewayne@amdg.etowns.org>
 
 Modified:
   head/www/squidguard/Makefile
 
 Modified: head/www/squidguard/Makefile
 ==============================================================================
 --- head/www/squidguard/Makefile	Fri Dec 28 19:03:02 2012	(r309577)
 +++ head/www/squidguard/Makefile	Fri Dec 28 19:07:34 2012	(r309578)
 @@ -45,7 +45,7 @@ PKGMESSAGE=	${WRKDIR}/pkg-message
  
  OPTIONS_DEFINE=	DNS_BL DOCS LDAP QUOTE_STRING SAMPLE_BL
  OPTIONS_SINGLE=		SV
 -OPTIONS_SINGLE_SV=	SQUID27 SQUID31
 +OPTIONS_SINGLE_SV=	SQUID27 SQUID31 SQUID32
  OPTIONS_DEFAULT=	SAMPLE_BL SQUID27
  
  SAMPLE_BL_DESC=	Install sample blacklists
 @@ -53,6 +53,7 @@ DNS_BL_DESC=	Enable DNS based blacklists
  QUOTE_STRING_DESC=	Add quoted string patch
  SQUID27_DESC=	Depend on Squid 2.7.x
  SQUID31_DESC=	Depend on Squid 3.1.x
 +SQUID32_DESC=	Depend on Squid 3.2.x
  
  .include <bsd.port.options.mk>
  
 @@ -64,6 +65,10 @@ RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${P
  RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid31
  .endif
  
 +.if ${PORT_OPTIONS:MSQUID32}
 +RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid32
 +.endif
 +
  .if ${PORT_OPTIONS:MLDAP}
  CONFIGURE_ARGS+=	--with-ldap
  USE_OPENLDAP=		yes
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
