aboutsummaryrefslogtreecommitdiff
path: root/www/mod_dav
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-26 19:32:19 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-26 19:32:19 +0000
commite53ab58c55f075174c1c73427716238055ff5457 (patch)
tree4c711e4ba110917537c8224ca7879057050ebed4 /www/mod_dav
parentf3153e61d474df7ed3ae2c011bd98ed440fd04ff (diff)
downloadports-e53ab58c55f075174c1c73427716238055ff5457.tar.gz
ports-e53ab58c55f075174c1c73427716238055ff5457.zip
Initial import of mod_dav version 0.9.12.
An Apache module that provides DAV capabilities. PR: 14398 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
Notes
Notes: svn path=/head/; revision=23385
Diffstat (limited to 'www/mod_dav')
-rw-r--r--www/mod_dav/Makefile49
-rw-r--r--www/mod_dav/distinfo1
-rw-r--r--www/mod_dav/files/apache.conf.mod_dav52
-rw-r--r--www/mod_dav/pkg-comment1
-rw-r--r--www/mod_dav/pkg-descr22
-rw-r--r--www/mod_dav/pkg-plist2
6 files changed, 127 insertions, 0 deletions
diff --git a/www/mod_dav/Makefile b/www/mod_dav/Makefile
new file mode 100644
index 000000000000..1fa3e8b79f65
--- /dev/null
+++ b/www/mod_dav/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: mod_dav (apache)
+# Version required: 0.9.12
+# Date created: Sun Oct 17, 1999
+# Whom: patrick@mindstep.com
+#
+# $FreeBSD$
+#
+
+DISTNAME= mod_dav-${DAV_VERSION}-${APACHE_VERSION}
+PKGNAME= mod_dav-${DAV_VERSION}
+CATEGORIES= www
+MASTER_SITES= http://www.webdav.org/mod_dav/
+
+MAINTAINER= patrick@mindstep.com
+
+BUILD_DEPENDS= ${PREFIX}/sbin/apxs:${PORTSDIR}/www/apache13
+RUN_DEPENDS= ${PREFIX}/sbin/apxs:${PORTSDIR}/www/apache13
+
+# This port will work with the following version of Apache and anything newer.
+APACHE_VERSION= 1.3.6
+DAV_VERSION= 0.9.12
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --bindir=${PREFIX}/bin \
+ --sbindir=${PREFIX}/sbin \
+ --libexecdir=${PREFIX}/libexec/apache \
+ --mandir=${PREFIX}/man \
+ --sysconfdir=${PREFIX}/etc/apache \
+ --datadir=${PREFIX}/share/apache \
+ --includedir=${PREFIX}/include/apache \
+ --with-apxs=${PREFIX}/sbin/apxs
+
+CONFIGURE_ENV= CFLAGS='${CFLAGS}' \
+ PATH="${PREFIX}/bin:${PREFIX}/sbin:${PATH}"
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/apache.conf.mod_dav ${PREFIX}/etc/apache
+ @${ECHO_MSG} "*******************************************************"
+ @${ECHO_MSG} "* Please review the mod_dav configuration in the main"
+ @${ECHO_MSG} "* Apache configuration file."
+ @${ECHO_MSG} "* ${PREFIX}/etc/apache/apache.conf"
+ @${ECHO_MSG} "*"
+ @${ECHO_MSG} "* Look at the file ${PREFIX}/etc/apache/apache.conf.mod_dav"
+ @${ECHO_MSG} "* for indications on what to do."
+ @${ECHO_MSG} "*"
+ @${ECHO_MSG} "*******************************************************"
+
+.include <bsd.port.mk>
diff --git a/www/mod_dav/distinfo b/www/mod_dav/distinfo
new file mode 100644
index 000000000000..37f07212f0dc
--- /dev/null
+++ b/www/mod_dav/distinfo
@@ -0,0 +1 @@
+MD5 (mod_dav-0.9.12-1.3.6.tar.gz) = bcad3b1b621de180acee9a6501696b4d
diff --git a/www/mod_dav/files/apache.conf.mod_dav b/www/mod_dav/files/apache.conf.mod_dav
new file mode 100644
index 000000000000..382771181409
--- /dev/null
+++ b/www/mod_dav/files/apache.conf.mod_dav
@@ -0,0 +1,52 @@
+###
+### This file provides quick and dirty indications on how
+### to set up the mod_dav module with apache.
+###
+### Please refer to the main web site for more information
+### http://www.webdav.org/mod_dav/
+###
+
+
+###
+### This goes in the Global Environment section (Section 1)
+###
+### This should have been added automatically during the install process
+###
+
+LoadModule dav_module libexec/apache/libdav.so
+
+AddModule mod_dav.c
+
+
+
+
+###
+### This goes in the main server configuration section (section 2)
+###
+### The lock database will have to be created in the /var/db directory
+### to do so, just do (as root):
+### # touch /var/db/DAVLock.dir
+### # touch /var/db/DAVLock.pag
+### # chown nobody.nobody /var/db/DAVLock.*
+### # chmod 640 /var/db/DAVLock.*
+###
+
+DAVLockDB /var/db/DAVLock
+DAVMinTimeout 600
+
+
+
+###
+### This is an example of per location/directory configuration
+###
+
+<Location />
+ DAV On
+ AuthType Basic
+ AuthName DAV
+ AuthUserFile dav.passwd
+ <LimitExcept GET HEAD OPTIONS>
+ require user webadmin
+ </LimitExcept>
+</Location>
+
diff --git a/www/mod_dav/pkg-comment b/www/mod_dav/pkg-comment
new file mode 100644
index 000000000000..5786928bec88
--- /dev/null
+++ b/www/mod_dav/pkg-comment
@@ -0,0 +1 @@
+An Apache module that provides DAV capabilities
diff --git a/www/mod_dav/pkg-descr b/www/mod_dav/pkg-descr
new file mode 100644
index 000000000000..784aa37e3904
--- /dev/null
+++ b/www/mod_dav/pkg-descr
@@ -0,0 +1,22 @@
+mod_dav: a DAV module for Apache
+
+mod_dav is an Apache module that provides DAV capabilities
+for your Apache web server.
+
+mod_dav is made by Greg Stein.
+
+It is an Open Source module, provided under an Apache-style license.
+
+
+mod_dav requires that Apache 1.3.6 or later be already installed
+on your system. If this is not the case please select your
+preferred Apache configuration from the ports distribution.
+
+
+More information about mod_dav can be found on the web site.
+
+WWW: http://www.webdav.org/mod_dav/
+
+--
+Patrick Bihan-Faou
+www.mindstep.com
diff --git a/www/mod_dav/pkg-plist b/www/mod_dav/pkg-plist
new file mode 100644
index 000000000000..30d891e7a204
--- /dev/null
+++ b/www/mod_dav/pkg-plist
@@ -0,0 +1,2 @@
+etc/apache/apache.conf.mod_dav
+libexec/apache/libdav.so