From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 12 16:10:17 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4599616A4CE for ; Sat, 12 Mar 2005 16:10:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1395E43D1D for ; Sat, 12 Mar 2005 16:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2CGAGhe022776 for ; Sat, 12 Mar 2005 16:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2CGAGGj022775; Sat, 12 Mar 2005 16:10:16 GMT (envelope-from gnats) Date: Sat, 12 Mar 2005 16:10:16 GMT Message-Id: <200503121610.j2CGAGGj022775@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Marcus Grando Subject: Re: ports/78680: upgrade www/lighttpd to 1.3.13 and add LDAP support knob X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marcus Grando List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 16:10:17 -0000 The following reply was made to PR ports/78680; it has been noted by GNATS. From: Marcus Grando To: freebsd-gnats-submit@FreeBSD.org, rasputnik@hellooperator.net, sem@FreeBSD.org Cc: Subject: Re: ports/78680: upgrade www/lighttpd to 1.3.13 and add LDAP support knob Date: Sat, 12 Mar 2005 13:05:08 -0300 This is a multi-part message in MIME format. --------------000902050900060506050303 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, New patch attached. - Change knobs to OPTIONS - Add LDAP options from original post. - Add MYSQL and IPV6 options -- Marcus Grando Grupos Internet S/A marcus(at)corp.grupos.com.br --------------000902050900060506050303 Content-Type: text/plain; name="lighttpd.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lighttpd.patch" diff -ruN lighttpd.old/Makefile lighttpd/Makefile --- lighttpd.old/Makefile Fri Mar 11 18:27:30 2005 +++ lighttpd/Makefile Sat Mar 12 12:50:05 2005 @@ -7,6 +7,7 @@ PORTNAME= lighttpd PORTVERSION= 1.3.13 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.lighttpd.net/download/ \ http://dl.fkb.wormulon.net/lighttpd/ \ @@ -18,31 +19,43 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre USE_AUTOCONF_VER= 259 -USE_REINPLACE= yes -USE_RC_SUBR= yes +USE_REINPLACE= yes +USE_RC_SUBR= yes USE_LIBTOOL_VER= 15 -USE_GNOME= lthack +USE_GNOME= lthack CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib -CONFIGURE_ARGS= --libdir=${PREFIX}/lib/lighttpd -STARTUP_FILE= ${PREFIX}/etc/rc.d/lighttpd.sh -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} +CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib +CONFIGURE_ARGS= --libdir=${PREFIX}/lib/lighttpd +STARTUP_FILE= ${PREFIX}/etc/rc.d/lighttpd.sh +RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} -.if !defined(WITHOUT_OPENSSL) +MAN1= lighttpd.1 spawn-fcgi.1 + +OPTIONS= OPENSSL "Enable SSL support" on \ + OPENLDAP "Enable LDAP support" off \ + MYSQL "Enable MYSQL support" off \ + IPV6 "Disable IPV6 support" off + +.include + +.if defined(WITH_OPENSSL) USE_OPENSSL= yes CONFIGURE_ARGS+= --with-openssl .endif -MAN1= lighttpd.1 spawn-fcgi.1 +.if !defined(WITHOUT_OPENLDAP) +USE_OPENLDAP= yes +CONFIGURE_ARGS+= --with-ldap +.endif + +.if !defined(WITHOUT_MYSQL) +USE_MYSQL= yes +CONFIGURE_ARGS+= --with-mysql +.endif -pre-everything:: -.if !defined(WITHOUT_OPENSSL) - @${ECHO_MSG} - @${ECHO_MSG} "You can disable SSL support by defining WITHOUT_OPENSSL" +.if !defined(WITHOUT_IPV6) +CONFIGURE_ARGS+= --disable-ipv6 .endif - @${ECHO_MSG} - @${ECHO_MSG} "If you want MySQL virtual host support install" - @${ECHO_MSG} "databases/mysql*-client/ prior to building lighttpd!" post-install: @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ @@ -51,4 +64,4 @@ @${INSTALL_DATA} ${FILESDIR}/lighttpd.conf.sample ${PREFIX}/etc/ @${LIBTOOL} --finish ${PREFIX}/lib -.include +.include --------------000902050900060506050303--