Add "webdav" option for fuller-featured WebDAV server support.

This commit is contained in:
schmonz 2017-06-21 19:27:36 +00:00
parent ec479188d2
commit 575f64913a
2 changed files with 15 additions and 4 deletions

View file

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.60 2017/02/11 21:13:08 he Exp $
# $NetBSD: Makefile,v 1.61 2017/06/21 19:27:36 schmonz Exp $
DISTNAME= lighttpd-1.4.45
CATEGORIES= www
MASTER_SITES= http://download.lighttpd.net/lighttpd/releases-1.4.x/
EXTRACT_SUFX= .tar.xz
PKGREVISION= 1
PKGREVISION= 2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lighttpd.net/

View file

@ -1,7 +1,7 @@
# $NetBSD: options.mk,v 1.15 2017/01/16 00:30:46 schmonz Exp $
# $NetBSD: options.mk,v 1.16 2017/06/21 19:27:36 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lighttpd
PKG_SUPPORTED_OPTIONS= bzip2 fam gdbm inet6 ldap lua mysql ssl memcached geoip gssapi
PKG_SUPPORTED_OPTIONS= bzip2 fam gdbm inet6 ldap lua mysql ssl memcached geoip gssapi webdav
PKG_OPTIONS_LEGACY_OPTS+= memcache:memcached
PKG_SUGGESTED_OPTIONS= inet6 ssl
@ -114,3 +114,14 @@ PLIST.gssapi= yes
. include "../../lang/lua/buildlink3.mk"
PLIST.lua= yes
.endif
###
### WebDAV with PROPFIND/PROPPATCH, LOCK/UNLOCK
###
.if !empty(PKG_OPTIONS:Mwebdav)
. include "../../databases/sqlite3/buildlink3.mk"
. include "../../devel/libuuid/buildlink3.mk"
. include "../../textproc/libxml2/buildlink3.mk"
. include "../../lang/lua/buildlink3.mk"
CONFIGURE_ARGS+= --with-webdav-props --with-webdav-locks
.endif