summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2017-06-21 19:27:36 +0000
committerschmonz <schmonz@pkgsrc.org>2017-06-21 19:27:36 +0000
commitd7792ecba60114ec8c634cfd8a0c21eda4186d45 (patch)
tree80fafc3fdb06ce3e3b5e41cc59694e06234423a6
parent5619cbcae7af560a0c52c1cb03da08108665ab75 (diff)
downloadpkgsrc-d7792ecba60114ec8c634cfd8a0c21eda4186d45.tar.gz
Add "webdav" option for fuller-featured WebDAV server support.
-rw-r--r--www/lighttpd/Makefile4
-rw-r--r--www/lighttpd/options.mk15
2 files changed, 15 insertions, 4 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile
index 4d94e3b8ba6..73626124e03 100644
--- a/www/lighttpd/Makefile
+++ b/www/lighttpd/Makefile
@@ -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/
diff --git a/www/lighttpd/options.mk b/www/lighttpd/options.mk
index 9f7a16f2f2c..becb1bacffb 100644
--- a/www/lighttpd/options.mk
+++ b/www/lighttpd/options.mk
@@ -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