add mysql and ldap FLAVORs as well as re-enabling SSL.
This commit is contained in:
parent
a722685d81
commit
5ad8971964
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2005/10/07 20:07:04 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2005/10/08 20:05:06 brad Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "secure, fast, compliant, and very flexible web-server"
|
||||
|
||||
DISTNAME= lighttpd-1.4.5
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
CATEGORIES= www net
|
||||
|
||||
MAINTAINER= Brad Smith <brad@openbsd.org>
|
||||
@ -19,18 +19,31 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c m z
|
||||
WANTLIB= c crypto m ssl z
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}download/
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --without-openssl \
|
||||
CONFIGURE_ARGS+= --with-openssl \
|
||||
--without-bzip2 \
|
||||
--libdir="${PREFIX}/lib/lighttpd"
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
FLAVORS= ldap mysql
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mldap}
|
||||
CONFIGURE_ARGS+= --with-ldap
|
||||
LIB_DEPENDS+= lber,ldap::databases/openldap
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mmysql}
|
||||
CONFIGURE_ARGS+= --with-mysql
|
||||
LIB_DEPENDS+= mysqlclient.10::databases/mysql
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lighttpd
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/lighttpd.conf \
|
||||
|
@ -5,3 +5,8 @@ care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
|
||||
Output-Compression, URL-Rewriting and many more) make lighttpd the
|
||||
perfect web-server software for every server that is suffering load
|
||||
problems.
|
||||
|
||||
Flavors:
|
||||
|
||||
ldap - Enable LDAP support for authentication in mod_auth.
|
||||
mysql - Enable MySQL virtual hosting with mod_mysql_vhost.
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.10 2005/10/07 20:07:04 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.11 2005/10/08 20:05:06 brad Exp $
|
||||
bin/spawn-fcgi
|
||||
lib/lighttpd/
|
||||
@comment lib/lighttpd/mod_access.a
|
||||
@ -37,9 +37,6 @@ lib/lighttpd/mod_fastcgi.so
|
||||
@comment lib/lighttpd/mod_indexfile.a
|
||||
@comment lib/lighttpd/mod_indexfile.la
|
||||
lib/lighttpd/mod_indexfile.so
|
||||
@comment lib/lighttpd/mod_mysql_vhost.a
|
||||
@comment lib/lighttpd/mod_mysql_vhost.la
|
||||
@comment lib/lighttpd/mod_mysql_vhost.so
|
||||
@comment lib/lighttpd/mod_proxy.a
|
||||
@comment lib/lighttpd/mod_proxy.la
|
||||
lib/lighttpd/mod_proxy.so
|
||||
@ -85,6 +82,7 @@ lib/lighttpd/mod_usertrack.so
|
||||
@comment lib/lighttpd/mod_webdav.a
|
||||
@comment lib/lighttpd/mod_webdav.la
|
||||
lib/lighttpd/mod_webdav.so
|
||||
%%mysql%%
|
||||
@man man/man1/lighttpd.1
|
||||
@man man/man1/spawn-fcgi.1
|
||||
sbin/lighttpd
|
||||
|
Loading…
Reference in New Issue
Block a user