A class 1 and 2 DAV server for the Apache webserver

This commit is contained in:
jakob 2002-09-13 16:39:25 +00:00
parent f87d715377
commit b27cffac2c
7 changed files with 128 additions and 0 deletions

45
www/mod_dav/Makefile Normal file
View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/09/13 16:39:25 jakob Exp $
COMMENT= "a class 1 and 2 DAV server for the Apache webserver"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
ONLY_FOR_ARCHS= alpha i386 m68k powerpc sparc sparc64
PKGNAME= mod_dav-1.0.3
DISTNAME= mod_dav-1.0.3-1.3.6
CATEGORIES= www
MASTER_SITES= http://www.webdav.org/mod_dav/
HOMEPAGE= http://www.webdav.org/mod_dav/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= expat.2::textproc/expat
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs \
--with-expat=${LOCALBASE}
DOCDIR= share/doc/mod_dav
DOCFILES= README INSTALL LICENSE.html
post-build:
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_dav-enable > ${WRKBUILD}/mod_dav-enable
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mod_dav-enable ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/libdav.so ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}
.endfor
.include <bsd.port.mk>

3
www/mod_dav/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (mod_dav-1.0.3-1.3.6.tar.gz) = ba83f2aa6e13b216a11d465b82aab484
RMD160 (mod_dav-1.0.3-1.3.6.tar.gz) = e674c56b66b5ef9fa3edb29f581eb3e2c705d20d
SHA1 (mod_dav-1.0.3-1.3.6.tar.gz) = cf1baa75c14131f96299be3fdf26d1fa91e6c7e3

View File

@ -0,0 +1,18 @@
#!/bin/sh
#
# $OpenBSD: mod_dav-enable,v 1.1.1.1 2002/09/13 16:39:25 jakob Exp $
MODULE=!!PREFIX!!/lib/libdav.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_dav module (${MODULE})"
exit 1
else
echo "Enabling DAV module..."
/usr/sbin/apxs -i -a -n dav ${MODULE}
fi

28
www/mod_dav/pkg/DEINSTALL Normal file
View File

@ -0,0 +1,28 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/09/13 16:39:25 jakob Exp $
#
# mod_dav de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONF=`apxs -q SYSCONFDIR`/httpd.conf
MODULE=/usr/lib/apache/modules/mod_dav.so
rm -f ${MODULE}
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you"
echo "| need to perform these steps as root:"
echo "|"
echo "| edit ${CONF}"
echo "| remove the line LoadModule dav_module"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0

17
www/mod_dav/pkg/DESCR Normal file
View File

@ -0,0 +1,17 @@
A class 1 and 2 DAV server for the Apache webserver
From http://www.webdav.org:
"WebDAV stands for 'Web-based Distributed Authoring and Versioning'.
It is a set of extensions to the HTTP protocol which allows users to
collaboratively edit and manage files on remote web servers."
DAV functionality includes creating, moving, copying, and deleting files
and directories on a remote web server. Utilizing DAV requires both a
DAV-aware client and server. mod_dav provides complete class 1 and 2 DAV
services to DAV clients via the Apache webserver (1.3.4 or later). The
number of DAV-aware clients is growing and includes the 'Web Folders' used
in Microsoft Internet Explorer 5.0 and Office 2000.
WWW: ${HOMEPAGE}

10
www/mod_dav/pkg/MESSAGE Normal file
View File

@ -0,0 +1,10 @@
+---------------
| To finish the install of ${PKGNAME}, you need
| to enable the module using the following command
|
| ${PREFIX}/sbin/mod_dav-enable
|
| If you already have Apache running on your machine,
| you should not use "apachectl restart" - instead,
| you should fully stop and then restart the server.
+---------------

7
www/mod_dav/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/09/13 16:39:25 jakob Exp $
lib/libdav.so
sbin/mod_dav-enable
share/doc/mod_dav/INSTALL
share/doc/mod_dav/LICENSE.html
share/doc/mod_dav/README
@dirrm share/doc/mod_dav