Date: Sat, 12 Mar 2005 16:10:16 GMT From: Marcus Grando <marcus@corp.grupos.com.br> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/78680: upgrade www/lighttpd to 1.3.13 and add LDAP support knob Message-ID: <200503121610.j2CGAGGj022775@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/78680; it has been noted by GNATS. From: Marcus Grando <marcus@corp.grupos.com.br> 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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> --------------000902050900060506050303--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503121610.j2CGAGGj022775>