Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2007 23:28:31 GMT
From:      Dazza<dazza@luckydonkey.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/107599: [patch] Building LigHTTP with webDAV support
Message-ID:  <200701052328.l05NSVMV051220@www.freebsd.org>
Resent-Message-ID: <200701052330.l05NUUFK046866@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701052328.l05NSVMV051220>