summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-04-09 23:57:52 +0000
committerDonny Davies <woodchip@gentoo.org>2002-04-09 23:57:52 +0000
commitc88ee90f2a8f77b791713e30678756ecb1336b43 (patch)
tree756568f730f9c4a1cf87db5489e054dee3ef7c71 /net-www/mod_dav
parentrewritten apache package; see changelog (diff)
downloadhistorical-c88ee90f2a8f77b791713e30678756ecb1336b43.tar.gz
historical-c88ee90f2a8f77b791713e30678756ecb1336b43.tar.bz2
historical-c88ee90f2a8f77b791713e30678756ecb1336b43.zip
add a healthy selection of third-party modules to go along with the great apache rewrite ;)
Diffstat (limited to 'net-www/mod_dav')
-rw-r--r--net-www/mod_dav/ChangeLog9
-rw-r--r--net-www/mod_dav/files/digest-mod_dav-1.0.31
-rw-r--r--net-www/mod_dav/files/mod_dav-shared-expat.patch160
-rw-r--r--net-www/mod_dav/files/mod_dav.conf5
-rw-r--r--net-www/mod_dav/mod_dav-1.0.3.ebuild55
5 files changed, 230 insertions, 0 deletions
diff --git a/net-www/mod_dav/ChangeLog b/net-www/mod_dav/ChangeLog
new file mode 100644
index 000000000000..8ae3ec93b120
--- /dev/null
+++ b/net-www/mod_dav/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-www/mod_gzip
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/ChangeLog,v 1.1 2002/04/09 23:57:52 woodchip Exp $
+
+*mod_gzip-1.3.19.1a (9 Apr 2002)
+
+ 9 Apr 2002; Donny Davies <woodchip@gentoo.org> :
+
+ New package to go along with the rewritten apache ebuild.
diff --git a/net-www/mod_dav/files/digest-mod_dav-1.0.3 b/net-www/mod_dav/files/digest-mod_dav-1.0.3
new file mode 100644
index 000000000000..922f040fb428
--- /dev/null
+++ b/net-www/mod_dav/files/digest-mod_dav-1.0.3
@@ -0,0 +1 @@
+MD5 ba83f2aa6e13b216a11d465b82aab484 mod_dav-1.0.3-1.3.6.tar.gz 185284
diff --git a/net-www/mod_dav/files/mod_dav-shared-expat.patch b/net-www/mod_dav/files/mod_dav-shared-expat.patch
new file mode 100644
index 000000000000..fe8a89dd6686
--- /dev/null
+++ b/net-www/mod_dav/files/mod_dav-shared-expat.patch
@@ -0,0 +1,160 @@
+diff -urp mod_dav-1.0.3-1.3.6/config.h.in mod_dav-1.0.3-1.3.6.new/config.h.in
+--- mod_dav-1.0.3-1.3.6/config.h.in Mon Nov 5 00:04:48 2001
++++ mod_dav-1.0.3-1.3.6.new/config.h.in Tue Mar 5 03:33:43 2002
+@@ -1,7 +1,7 @@
+ /* config.h.in. Generated automatically from configure.in by autoheader. */
+
+ /* define to use Expat 2 */
+-#undef HAVE_EXPAT_2
++#define HAVE_EXPAT_2
+
+ /* Define if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+diff -urp mod_dav-1.0.3-1.3.6/configure mod_dav-1.0.3-1.3.6.new/configure
+--- mod_dav-1.0.3-1.3.6/configure Mon Nov 5 00:04:50 2001
++++ mod_dav-1.0.3-1.3.6.new/configure Tue Mar 5 03:31:12 2002
+@@ -2196,20 +2196,20 @@ if test "${with_expat+set}" = set; then
+ withval="$with_expat"
+
+ if test "$withval" != "no" ; then
+- if test -f "$withval/include/xmlparse.h" ; then
++ if test -f "$withval/include/expat.h" ; then
+ XML_DIR=$withval
+ XML_INCLUDE="$withval/include"
+ XML_LIB="$withval/lib"
+ fi
+ if test "$XML_DIR" = "" ; then
+- if test -f "$withval/include/xml/xmlparse.h" ; then
++ if test -f "$withval/include/xml/expat.h" ; then
+ XML_DIR=$withval
+ XML_INCLUDE="$withval/include/xml"
+ XML_LIB="$withval/lib"
+ fi
+ fi
+ if test "$XML_DIR" = "" ; then
+- if test -f "$withval/include/xmltok/xmlparse.h"; then
++ if test -f "$withval/include/xmltok/expat.h"; then
+ # Debian
+ XML_DIR=$withval
+ XML_INCLUDE="$withval/include/xmltok"
+@@ -2218,7 +2218,7 @@ if test "${with_expat+set}" = set; then
+ fi
+ fi
+ if test "$XML_DIR" = "" ; then
+- if test -f "$withval/libexpat.a" -a -f "$withval/xmlparse/xmlparse.h" ; then
++ if test -f "$withval/libexpat.a" -a -f "$withval/xmlparse/expat.h" ; then
+ XML_DIR=$withval
+ XML_INCLUDE="$withval/xmlparse"
+ XML_LIB=$withval
+@@ -2253,15 +2253,15 @@ fi;
+ #
+ if test "$XML_DIR" = ""; then
+ if test -n "$APXS"; then
+- if test -f "$APXS_INCLUDE/xml/xmlparse.h"; then
++ if test -f "$APXS_INCLUDE/xml/expat.h"; then
+ XML_DIR=$APXS_INCLUDE
+ XML_INCLUDE="$APXS_INCLUDE/xml"
+ fi
+ else
+- if test -f "$APACHE_BASE/src/lib/expat-lite/xmlparse.h" ; then
++ if test -f "$APACHE_BASE/src/lib/expat-lite/expat.h" ; then
+ XML_DIR="$APACHE_BASE/src/lib/expat-lite"
+ XML_INCLUDE=$XML_DIR
+- elif test -f "$APACHE_INCLUDE/xml/xmlparse.h" ; then
++ elif test -f "$APACHE_INCLUDE/xml/expat.h" ; then
+ XML_DIR="$APACHE_INCLUDE/xml"
+ XML_INCLUDE=$XML_DIR
+ fi
+@@ -2273,15 +2273,15 @@ fi
+ #
+ if test "$XML_DIR" = ""; then
+ for i in /usr /usr/local ; do
+- if test -f "$i/include/xmlparse.h"; then
++ if test -f "$i/include/expat.h"; then
+ XML_DIR=$i
+ XML_INCLUDE="$i/include"
+ XML_LIB="$i/lib"
+- elif test -f "$i/include/xml/xmlparse.h"; then
++ elif test -f "$i/include/xml/expat.h"; then
+ XML_DIR=$i
+ XML_INCLUDE="$i/include/xml"
+ XML_LIB="$i/lib"
+- elif test -f "$i/include/xmltok/xmlparse.h"; then
++ elif test -f "$i/include/xmltok/expat.h"; then
+ # Debian
+ XML_DIR=$i
+ XML_INCLUDE="$i/include/xmltok"
+diff -urp mod_dav-1.0.3-1.3.6/configure.in mod_dav-1.0.3-1.3.6.new/configure.in
+--- mod_dav-1.0.3-1.3.6/configure.in Sat Nov 3 09:48:13 2001
++++ mod_dav-1.0.3-1.3.6.new/configure.in Tue Mar 5 03:31:12 2002
+@@ -144,20 +144,20 @@ AC_ARG_WITH(expat,
+ default search.],
+ [
+ if test "$withval" != "no" ; then
+- if test -f "$withval/include/xmlparse.h" ; then
++ if test -f "$withval/include/expat.h" ; then
+ XML_DIR=$withval
+ XML_INCLUDE="$withval/include"
+ XML_LIB="$withval/lib"
+ fi
+ if test "$XML_DIR" = "" ; then
+- if test -f "$withval/include/xml/xmlparse.h" ; then
++ if test -f "$withval/include/xml/expat.h" ; then
+ XML_DIR=$withval
+ XML_INCLUDE="$withval/include/xml"
+ XML_LIB="$withval/lib"
+ fi
+ fi
+ if test "$XML_DIR" = "" ; then
+- if test -f "$withval/include/xmltok/xmlparse.h"; then
++ if test -f "$withval/include/xmltok/expat.h"; then
+ # Debian
+ XML_DIR=$withval
+ XML_INCLUDE="$withval/include/xmltok"
+@@ -166,7 +166,7 @@ AC_ARG_WITH(expat,
+ fi
+ fi
+ if test "$XML_DIR" = "" ; then
+- if test -f "$withval/libexpat.a" -a -f "$withval/xmlparse/xmlparse.h" ; then
++ if test -f "$withval/libexpat.a" -a -f "$withval/xmlparse/expat.h" ; then
+ XML_DIR=$withval
+ XML_INCLUDE="$withval/xmlparse"
+ XML_LIB=$withval
+@@ -194,15 +194,15 @@ AC_ARG_WITH(expat,
+ #
+ if test "$XML_DIR" = ""; then
+ if test -n "$APXS"; then
+- if test -f "$APXS_INCLUDE/xml/xmlparse.h"; then
++ if test -f "$APXS_INCLUDE/xml/expat.h"; then
+ XML_DIR=$APXS_INCLUDE
+ XML_INCLUDE="$APXS_INCLUDE/xml"
+ fi
+ else
+- if test -f "$APACHE_BASE/src/lib/expat-lite/xmlparse.h" ; then
++ if test -f "$APACHE_BASE/src/lib/expat-lite/expat.h" ; then
+ XML_DIR="$APACHE_BASE/src/lib/expat-lite"
+ XML_INCLUDE=$XML_DIR
+- elif test -f "$APACHE_INCLUDE/xml/xmlparse.h" ; then
++ elif test -f "$APACHE_INCLUDE/xml/expat.h" ; then
+ XML_DIR="$APACHE_INCLUDE/xml"
+ XML_INCLUDE=$XML_DIR
+ fi
+@@ -214,15 +214,15 @@ fi
+ #
+ if test "$XML_DIR" = ""; then
+ for i in /usr /usr/local ; do
+- if test -f "$i/include/xmlparse.h"; then
++ if test -f "$i/include/expat.h"; then
+ XML_DIR=$i
+ XML_INCLUDE="$i/include"
+ XML_LIB="$i/lib"
+- elif test -f "$i/include/xml/xmlparse.h"; then
++ elif test -f "$i/include/xml/expat.h"; then
+ XML_DIR=$i
+ XML_INCLUDE="$i/include/xml"
+ XML_LIB="$i/lib"
+- elif test -f "$i/include/xmltok/xmlparse.h"; then
++ elif test -f "$i/include/xmltok/expat.h"; then
+ # Debian
+ XML_DIR=$i
+ XML_INCLUDE="$i/include/xmltok"
diff --git a/net-www/mod_dav/files/mod_dav.conf b/net-www/mod_dav/files/mod_dav.conf
new file mode 100644
index 000000000000..6b7f54cd0b88
--- /dev/null
+++ b/net-www/mod_dav/files/mod_dav.conf
@@ -0,0 +1,5 @@
+<IfModule mod_dav.c>
+
+DAVLockDB /var/lock/mod_dav
+
+</IfModule>
diff --git a/net-www/mod_dav/mod_dav-1.0.3.ebuild b/net-www/mod_dav/mod_dav-1.0.3.ebuild
new file mode 100644
index 000000000000..7d2aa1dda0a2
--- /dev/null
+++ b/net-www/mod_dav/mod_dav-1.0.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Donny Davies <woodchip@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/mod_dav-1.0.3.ebuild,v 1.1 2002/04/09 23:57:52 woodchip Exp $
+
+MY_V=${PV}-1.3.6
+
+DESCRIPTION="Apache module for Distributed Authoring and Versioning"
+HOMEPAGE="http://www.webdav.org/mod_dav/"
+
+S=${WORKDIR}/${PN}-${MY_V}
+SRC_URI="http://www.webdav.org/mod_dav/${PN}-${MY_V}.tar.gz"
+
+DEPEND="virtual/glibc >=net-www/apache-1.3.24"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ patch -p1 < ${FILESDIR}/${PN}-shared-expat.patch || die
+ autoconf || die
+}
+
+src_compile() {
+ ./configure --host=${CHOST} || die
+ emake || die "compile problem"
+}
+
+src_install() {
+ exeinto /usr/lib/apache-extramodules
+ doexe libdav.so
+
+ dodoc README CHANGES INSTALL
+ dohtml LICENSE.html
+
+ insinto /etc/apache/conf/addon-modules
+ doins ${FILESDIR}/mod_dav.conf
+}
+
+pkg_postinst() {
+ # empty lock dir..
+ install -m0750 -o apache -g apache -d ${ROOT}/var/lock/mod_dav
+
+ einfo
+ einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+ einfo "to have your apache.conf auto-updated for use with this module."
+ einfo "You should then edit your /etc/conf.d/apache file to suit."
+ einfo
+}
+
+pkg_config() {
+ ${ROOT}/usr/sbin/apacheaddmod \
+ ${ROOT}/etc/apache/conf/apache.conf \
+ extramodules/libdav.so mod_dav.c dav_module \
+ define=DAV addconf=conf/addon-modules/mod_dav.conf
+ :;
+}