summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2005-01-10 23:02:53 +0000
committerChristian Parpart <trapni@gentoo.org>2005-01-10 23:02:53 +0000
commit39da6cb74d19fbb83d0aee259cf44a96c127989a (patch)
tree623706225bf42892ae8cb9376d87d88f0998a5b3 /www-apache
parentAdd old 2.6.x versions to cover all keywords (diff)
downloadgentoo-2-39da6cb74d19fbb83d0aee259cf44a96c127989a.tar.gz
gentoo-2-39da6cb74d19fbb83d0aee259cf44a96c127989a.tar.bz2
gentoo-2-39da6cb74d19fbb83d0aee259cf44a96c127989a.zip
be more verbose in changelog entry
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_dav_svn/ChangeLog11
-rw-r--r--www-apache/mod_dav_svn/Manifest5
-rw-r--r--www-apache/mod_dav_svn/files/47_mod_dav_svn.conf63
-rw-r--r--www-apache/mod_dav_svn/files/digest-mod_dav_svn-1.1.11
-rw-r--r--www-apache/mod_dav_svn/metadata.xml14
-rw-r--r--www-apache/mod_dav_svn/mod_dav_svn-1.1.1.ebuild98
6 files changed, 192 insertions, 0 deletions
diff --git a/www-apache/mod_dav_svn/ChangeLog b/www-apache/mod_dav_svn/ChangeLog
new file mode 100644
index 000000000000..1bc8797a362f
--- /dev/null
+++ b/www-apache/mod_dav_svn/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-apache/mod_dav_svn
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_dav_svn/ChangeLog,v 1.1 2005/01/10 23:02:53 trapni Exp $
+
+ 13 Oct 2004; Christian Parpart <trapni@gentoo.org> :
+ added <LimitExcept> for prividing auth-on-write-only;
+ added a note for the enduser according to the repository name
+
+ 13 Oct 2004; Christian Parpart <trapni@gentoo.org> :
+ initial import of mod_dav_svn, that is the apache part of subversion
+
diff --git a/www-apache/mod_dav_svn/Manifest b/www-apache/mod_dav_svn/Manifest
new file mode 100644
index 000000000000..e39ea78cd69b
--- /dev/null
+++ b/www-apache/mod_dav_svn/Manifest
@@ -0,0 +1,5 @@
+MD5 076120dcb616242eb54dc09f25dd3fba metadata.xml 402
+MD5 eb0e8052c36bb994293a9c64f4f092da ChangeLog 426
+MD5 0687b20837c69320e7e4a8505559f1e2 mod_dav_svn-1.1.1.ebuild 2702
+MD5 1e06c7ea1e49555d39ef214cd40173a4 files/47_mod_dav_svn.conf 1723
+MD5 53809180b5372b204b32db3962b409ba files/digest-mod_dav_svn-1.1.1 70
diff --git a/www-apache/mod_dav_svn/files/47_mod_dav_svn.conf b/www-apache/mod_dav_svn/files/47_mod_dav_svn.conf
new file mode 100644
index 000000000000..57d593e868a4
--- /dev/null
+++ b/www-apache/mod_dav_svn/files/47_mod_dav_svn.conf
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_dav_svn/files/47_mod_dav_svn.conf,v 1.1 2005/01/10 23:02:53 trapni Exp $
+
+<IfDefine SVN>
+ <IfModule !mod_dav_svn.c>
+ LoadModule dav_svn_module modules/mod_dav_svn.so
+ </IfModule>
+</IfDefine>
+
+### EXAMPLE 1: subversion repository access
+###
+### (anonymous read-only; authorized write against htpasswd2 accounts)
+#
+# <Location /svn/REPOS_NAME>
+# DAV svn
+# SVNPath @SVN_REPOS_LOC@/REPOS_NAME
+#
+# AuthType Basic
+# AuthName "Subversion repository"
+# AuthUserFile @SVN_REPOS_LOC@/conf/svnusers
+#
+# # only require valid authentification on write access
+# <LimitExcept GET PROPFIND OPTIONS REPORT>
+# Require valid-user
+# </LimitExcept>
+# </Location>
+
+### EXAMPLE 2: subversion repository access
+###
+### (anonymous read-only; authorized write against PAM accounds)
+###
+### Any PAM user that is in group `svn` may write to this repository.
+### Please NOTE, that if you want this setup, you may also need to
+### emerge mod_auth_pam.
+#
+# <Location /svn/REPOS_NAME>
+# DAV svn
+# SVNPath @SVN_REPOS_LOC@/REPOS_NAME
+#
+# <IfModule mod_auth_sys_group.c>
+# AuthPAM_Enabled on
+#
+# AuthType Basic
+# AuthName "authorized contribution area"
+#
+# # only require valid authentification on write access
+# <LimitExcept GET PROPFIND OPTIONS REPORT>
+# Require group svn
+# </LimitExcept>
+# </IfModule>
+# </Location>
+
+### NOTE 1: In case we have emerged mod_umask *and* you want multi-protocol
+### access to our repository (REPOS_NAME) than you need to override
+### default umask as well.
+### See documentation at homepage from ebuild info for more details.
+#
+# <IfModule mod_umask.c>
+# UMask 002
+# </IfModule>
+
+# vim:syntax=apache
diff --git a/www-apache/mod_dav_svn/files/digest-mod_dav_svn-1.1.1 b/www-apache/mod_dav_svn/files/digest-mod_dav_svn-1.1.1
new file mode 100644
index 000000000000..12863208a69b
--- /dev/null
+++ b/www-apache/mod_dav_svn/files/digest-mod_dav_svn-1.1.1
@@ -0,0 +1 @@
+MD5 a180c3fe91680389c210c99def54d9e0 subversion-1.1.1.tar.bz2 6768086
diff --git a/www-apache/mod_dav_svn/metadata.xml b/www-apache/mod_dav_svn/metadata.xml
new file mode 100644
index 000000000000..9e4a62dbf392
--- /dev/null
+++ b/www-apache/mod_dav_svn/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <herd>apache</herd>
+ <maintainer>
+ <email>trapni@gentoo.org</email>
+ <name>Christian Parpart</name>
+ </maintainer>
+ <longdescription>
+ The official Apache Subversion module for accessing server-side
+ Subversion repositories.
+ </longdescription>
+</pkgmetadata>
diff --git a/www-apache/mod_dav_svn/mod_dav_svn-1.1.1.ebuild b/www-apache/mod_dav_svn/mod_dav_svn-1.1.1.ebuild
new file mode 100644
index 000000000000..6687c10a1ebe
--- /dev/null
+++ b/www-apache/mod_dav_svn/mod_dav_svn-1.1.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_dav_svn/mod_dav_svn-1.1.1.ebuild,v 1.1 2005/01/10 23:02:53 trapni Exp $
+
+# FIXME this ebuild acutally installes mod_dav_svn *and* mod_authz_svn...
+# what about this? shall it be splitted up, too?
+
+inherit eutils depend.apache
+
+MY_P="${P/mod_dav_svn/subversion}"
+MY_P="${MY_P/_rc/-rc}"
+
+DESCRIPTION="The apache front end module for Subversion."
+SRC_URI="http://subversion.tigris.org/tarballs/${MY_P}.tar.bz2"
+HOMEPAGE="http://subversion.tigris.org/"
+
+SLOT="0"
+LICENSE="Apache-1.1"
+KEYWORDS="~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+SVN_REPOS_LOC="${SVN_REPOS_LOC:-/var/svn}"
+
+APACHE2_MOD_FILE="mod_dav_svn"
+APACHE2_MOD_CONF="47_${APACHE2_MOD_FILE}"
+APACHE2_MOD_DEFINE="SVN"
+
+DOCFILES=""
+
+DEPEND=">=dev-util/subversion-1.1.0-r1"
+
+need_apache2
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack ${MY_P}.tar.bz2 || die "unpacking failed for some strange reason"
+
+ cd ${S}
+ export WANT_AUTOCONF_2_5=1
+ autoconf
+ (cd apr; autoconf)
+ (cd apr-util; autoconf)
+ sed -i -e 's,\(subversion/svnversion/svnversion\)\(>.*svn-revision.txt\),echo "external" \2,' Makefile.in
+}
+
+src_compile() {
+ cd ${S}
+
+ econf \
+ `use_with ssl` \
+ --with-apxs=${APXS2} \
+ --with-apr=/usr \
+ --with-apr-util=/usr \
+ --with-neon=/usr \
+ --without-swig \
+ --without-python \
+ --disable-experimental-libtool \
+ --disable-mod-activation || die "configuration failed"
+
+ # build subversion, but do it in a way that is safe for paralel builds
+ # Also apparently the included apr does have a libtool that doesn't like
+ # -L flags. So not specifying it at all when not building apache modules
+ # and only specify it for internal parts otherwise
+ ( emake external-all && emake mod_{dav,authz}_svn ) || die
+}
+
+src_install() {
+ # however, it shall only install the mod_dav_svn (FIXME: what about mod_authz_svn?)
+ make DESTDIR=${D} install-mods-shared || die "Installation of subversion failed"
+
+ if [ -e ${D}/usr/lib/apache2 ]; then
+ if has_version '>=net-www/apache-2.0.48-r2'; then
+ mv ${D}/usr/lib/apache2/modules ${D}/${APACHE2_MODULESDIR}
+ rmdir ${D}/usr/lib/apache2
+ else
+ mv ${D}/usr/lib/apache2 ${D}/${APACHE2_MODULESDIR}
+ fi
+ fi
+
+ # do we need them? well, I guess they may be helpful for the enduser anyway
+ dodoc tools/xslt/svnindex.css tools/xslt/svnindex.xsl
+
+ # install apache module config
+ sed -e "s:@SVN_REPOS_LOC@:${SVN_REPOS_LOC}:" ${FILESDIR}/${APACHE2_MOD_CONF}.conf \
+ > ${APACHE2_MOD_CONF}.conf
+
+ insinto ${APACHE2_MODULES_CONFDIR}
+ doins ${APACHE2_MOD_CONF}.conf
+
+ einfo
+ einfo "Configuration file installed as ${APACHE2_MODULES_CONFDIR}/${APACHE2_MOD_CONF}.conf"
+ einfo "You may want to edit it before turning the module on in /etc/conf.d/apache2"
+ einfo
+}
+
+# vim:ts=4