From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 15 10:50:05 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E135106566C for ; Fri, 15 Oct 2010 10:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5246B8FC14 for ; Fri, 15 Oct 2010 10:50:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9FAo5hF007333 for ; Fri, 15 Oct 2010 10:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9FAo5IF007332; Fri, 15 Oct 2010 10:50:05 GMT (envelope-from gnats) Resent-Date: Fri, 15 Oct 2010 10:50:05 GMT Resent-Message-Id: <201010151050.o9FAo5IF007332@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Guido Falsi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8989A106566B for ; Fri, 15 Oct 2010 10:41:42 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id E4D2C8FC14 for ; Fri, 15 Oct 2010 10:41:40 +0000 (UTC) Received: from megatron.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id 5C77215CF for ; Fri, 15 Oct 2010 12:41:39 +0200 (CEST) Received: from megatron.madpilot.net ([127.0.0.1]) by megatron.madpilot.net (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 303OQijkcw9d for ; Fri, 15 Oct 2010 12:41:31 +0200 (CEST) Received: by megatron.madpilot.net (Postfix, from userid 1000) id D24BA15C7; Fri, 15 Oct 2010 12:41:31 +0200 (CEST) Message-Id: <20101015104131.D24BA15C7@megatron.madpilot.net> Date: Fri, 15 Oct 2010 12:41:31 +0200 (CEST) From: Guido Falsi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/151473: [maintainer-update] www/squidguard: fix ldap support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Guido Falsi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2010 10:50:05 -0000 >Number: 151473 >Category: ports >Synopsis: [maintainer-update] www/squidguard: fix ldap support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Oct 15 10:50:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 8.1-STABLE amd64 >Organization: none >Environment: System: FreeBSD megatron.madpilot.net 8.1-STABLE FreeBSD 8.1-STABLE #22: Tue Sep 21 19:13:06 CEST 2010 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64 >Description: Fix ldap support by helping the port's configure script find lda libraries. Reported by: cyx on ports@freebsd.org While I'm here stop the port from echoing ${ECHO_MSG} commands to the terminal. Bump port version since this can impact availability of ldap functionality. >How-To-Repeat: Try to build the port with ldap support enabled, in many cases the configure script will disble support because it can't find ldap libraries. >Fix: diff -ruN squidguard.old/Makefile squidguard/Makefile --- squidguard.old/Makefile 2010-10-14 17:09:46.710425824 +0200 +++ squidguard/Makefile 2010-10-14 17:31:42.605581442 +0200 @@ -7,7 +7,7 @@ PORTNAME= squidGuard PORTVERSION= 1.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://www.squidguard.org/Downloads/ @@ -25,7 +25,7 @@ --with-sg-logdir=${LOGDIR} \ --exec-prefix=${PREFIX} -CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${PREFIX}/include" +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${PREFIX}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" CFGINPUT= ${.CURDIR}/files/sgcfg.in @@ -118,7 +118,7 @@ # Create sample configuration file # @if [ ! -f "${PREFIX}/etc/squid/${PORTNAME}.conf" ] ; then \ - ${ECHO_MSG} "===> Installing sample configuration file" ; \ + @${ECHO_MSG} "===> Installing sample configuration file" ; \ BLACKLIST_DIRS=`(cd ${DATADIR} && ${FIND} . -type d | \ ${SED} '/^\.$$/d; s/^\.\//!/' | ${XARGS} ${ECHO_CMD})`; \ for I in `${ECHO_CMD} $${BLACKLIST_DIRS} | ${SED} 's/!//g'`; do \ @@ -139,9 +139,9 @@ ${PREFIX}/etc/squid/${PORTNAME}.conf.sample ; \ ${CHOWN} ${SQUID_UID}:${SQUID_GID} \ ${PREFIX}/etc/squid/${PORTNAME}.conf.sample ; \ - ${ECHO_MSG} " -> Sample configuration file installed in: ${PREFIX}/etc/squid" ; \ + @${ECHO_MSG} " -> Sample configuration file installed in: ${PREFIX}/etc/squid" ; \ else \ - ${ECHO_MSG} "===> Existing configuration file found - sample not installed" ; \ + @${ECHO_MSG} "===> Existing configuration file found - sample not installed" ; \ fi # @@ -154,9 +154,9 @@ ${PREFIX}/etc/squid/${PORTNAME}.conf.sample -C all ; \ ${CHOWN} -R ${SQUID_UID}:${SQUID_GID} ${DATADIR} ; \ ${FIND} ${DATADIR} -type f -name *.db -exec ${CHMOD} 660 {} \; ; \ - ${ECHO_MSG} " -> Blacklist databases installed in: ${DATADIR}" + @${ECHO_MSG} " -> Blacklist databases installed in: ${DATADIR}" .else - ${ECHO_MSG} "===> Existing configuration file found - blacklist databases not created" + @${ECHO_MSG} "===> Existing configuration file found - blacklist databases not created" .endif post-install: >Release-Note: >Audit-Trail: >Unformatted: