ports/107599: [patch] Building LigHTTP with webDAV support

Dazza dazza at luckydonkey.com
Fri Jan 5 23:30:31 UTC 2007


>Number:         107599
>Category:       ports
>Synopsis:       [patch] Building LigHTTP with webDAV support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 05 23:30:30 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dazza
>Release:        6.1
>Organization:
>Environment:
FreeBSD sohoserver.local 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The current port does not offer an option to build LigHTTPd with webDAV support. This patch offers the option and adds the dependency with e2fsprogs-libuuid.


>How-To-Repeat:
Build /usr/ports/www/lighttpd and notice there is no option for webdav support.
>Fix:
Apply the attached patch.

Patch attached with submission follows:

--- Makefile.orig	Fri Jan  5 02:35:36 2007
+++ Makefile	Fri Jan  5 02:47:45 2007
@@ -40,7 +40,8 @@
 		MYSQL		"Enable MYSQL support" off \
 		OPENLDAP	"Enable LDAP support" off \
 		OPENSSL		"Enable SSL support" on \
-		VALGRIND	"Enable valgrind support" off
+		VALGRIND	"Enable valgrind support" off \
+		WEBDAV		"Enable WebDAV support" off
 
 .include <bsd.port.pre.mk>
 
@@ -107,6 +108,12 @@
 RUN_DEPENDS+=		valgrind:${PORTSDIR}/devel/valgrind
 CONFIGURE_ARGS+=	--with-valgrind
 .endif
+
+.if defined(WITH_WEBDAV)
+LIB_DEPENDS+=           libuuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid
+CONFIGURE_ARGS+=        --with-webdav-props --with-webdav-locks
+.endif
+
 
 SUB_LIST+=		REQUIRE="${_REQUIRE}"
 

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list