www/174761: Squidguard only allows squid27 or 31 but not squid32

Dewayne dewayne at amdg.etowns.org
Fri Dec 28 03:30:00 UTC 2012


>Number:         174761
>Category:       www
>Synopsis:       Squidguard only allows squid27 or 31 but not squid32
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-www
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 28 03:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-www mailing list