diff options
author | Lars Weiler <pylon@gentoo.org> | 2003-07-16 16:27:40 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2003-07-16 16:27:40 +0000 |
commit | 5187f6a7c12571236468d65660b7b956e9316932 (patch) | |
tree | e96757631692aee682d3b91687b6a9e6097caaf6 /net-www | |
parent | changes in directory structure (diff) | |
download | gentoo-2-5187f6a7c12571236468d65660b7b956e9316932.tar.gz gentoo-2-5187f6a7c12571236468d65660b7b956e9316932.tar.bz2 gentoo-2-5187f6a7c12571236468d65660b7b956e9316932.zip |
changes in directory structure
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/viewcvs/ChangeLog | 13 | ||||
-rw-r--r-- | net-www/viewcvs/Manifest | 4 | ||||
-rw-r--r-- | net-www/viewcvs/files/digest-viewcvs-0.9.2-r1 | 1 | ||||
-rw-r--r-- | net-www/viewcvs/viewcvs-0.9.2-r1.ebuild | 88 |
4 files changed, 103 insertions, 3 deletions
diff --git a/net-www/viewcvs/ChangeLog b/net-www/viewcvs/ChangeLog index a44b8f0b90df..b26fe2235173 100644 --- a/net-www/viewcvs/ChangeLog +++ b/net-www/viewcvs/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for net-www/viewcvs # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/viewcvs/ChangeLog,v 1.4 2003/07/13 21:44:10 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/viewcvs/ChangeLog,v 1.5 2003/07/16 16:27:30 pylon Exp $ + +*viewcvs-0.9.2-r1 (16 Jul 2003) + + 16 Jul 2003; Lars Weiler <pylon@gentoo.org> viewcvs-0.9.2-r1.ebuild: + Changed the file-structure, due to queer habits of viewcvs' directory layout. + + The configuration files are now in /home/httpd/viewcvs/ but there is a symlink + from /etc/viewcvs/ to it. With this version the documentation (*docroot*) link + is working and the cvsgraph-configuration is found. + + Further masked stable on ppc. *viewcvs-0.9.2_p20030430 (21 May 2003) diff --git a/net-www/viewcvs/Manifest b/net-www/viewcvs/Manifest index f3cb200f65ab..1f6e223c7aaf 100644 --- a/net-www/viewcvs/Manifest +++ b/net-www/viewcvs/Manifest @@ -1,7 +1,7 @@ -MD5 06255c2c800eea04ff019796f27b18bf ChangeLog 1262 +MD5 1e0c3e0d1615ec04813cb5d2993e5bdd ChangeLog 1263 MD5 0e9c745209df53465fab90183587c6c9 viewcvs-0.9.2.ebuild 2357 MD5 31b0922216251068fc9961a217a61ce5 viewcvs-0.9.2_p20030430.ebuild 2356 -MD5 d3a9ff7197af4de8958dd54752b70cd1 viewcvs-0.9.2-r1.ebuild 2420 +MD5 ebe00711ec2eb5bf78951944bf075432 viewcvs-0.9.2-r1.ebuild 2422 MD5 07a07f1a89e77c9f093ade7e395ffe3b files/digest-viewcvs-0.9.2 65 MD5 fbac846bcd488f255dc57fdd27ba99df files/digest-viewcvs-0.9.2_p20030430 69 MD5 07a07f1a89e77c9f093ade7e395ffe3b files/digest-viewcvs-0.9.2-r1 65 diff --git a/net-www/viewcvs/files/digest-viewcvs-0.9.2-r1 b/net-www/viewcvs/files/digest-viewcvs-0.9.2-r1 new file mode 100644 index 000000000000..7ee3ce69fbbc --- /dev/null +++ b/net-www/viewcvs/files/digest-viewcvs-0.9.2-r1 @@ -0,0 +1 @@ +MD5 c7857b1ed05240ad1f691ea40044daf2 viewcvs-0.9.2.tar.gz 140063 diff --git a/net-www/viewcvs/viewcvs-0.9.2-r1.ebuild b/net-www/viewcvs/viewcvs-0.9.2-r1.ebuild new file mode 100644 index 000000000000..5d8f395606cb --- /dev/null +++ b/net-www/viewcvs/viewcvs-0.9.2-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/viewcvs/viewcvs-0.9.2-r1.ebuild,v 1.1 2003/07/16 16:27:31 pylon Exp $ + +SLOT="0" +KEYWORDS="x86 ppc" +LICENSE="viewcvs" +PDATE=${PV/0.9.2_p/} +DESCRIPTION="Viewcvs, a web interface to cvs and subversion" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${PDATE}.tar.gz" +HOMEPAGE="http://viewcvs.sourceforge.net" + +S="${WORKDIR}/${P}" +WWW="/home/httpd/viewcvs" + +DEPEND="" + +RDEPEND=">=app-text/rcs-5.7 + >=dev-util/cvs-1.11 + sys-apps/diffutils + net-www/apache" + +IUSE="" + +doinstall() { + # start_location=$1 + # end_location=$2 + # mode=$3 + if [ -d $1 ]; then + install -o root -d ${D}/$2 + for f in ${1}/* + do + doinstall ${f} ${f/${1}/${2}} $3 + done + else + sed -e "{ s,\(^#!.*$\),#!/usr/bin/python,; \ + s,\(<VIEWCVS_INSTALL_DIRECTORY>\),${WWW},; \ + s,\(^LIBRARY_DIR\)\(.*\$\),\1 = \"${WWW}/lib\",; \ + s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${WWW}/viewcvs.conf\",}" ${1} >${1}.cpy + + install -o root -m $3 ${1}.cpy ${D}/$2 + rm ${1}.cpy + fi +} + +src_install() { + cd ${S} + install -o root -d ${D}/${WWW}/cgi + + doinstall cgi/viewcvs.cgi ${WWW}/cgi/viewcvs.cgi 755 + doinstall cgi/query.cgi ${WWW}/cgi/query.cgi 755 + doinstall standalone.py ${WWW}/standalone.py 755 + doinstall tools/loginfo-handler ${WWW}/loginfo-handler 755 + doinstall tools/cvsdbadmin ${WWW}/cvsdbadmin 755 + doinstall tools/make-database ${WWW}/make-database 755 + + insinto /etc/viewcvs + doinstall cgi/viewcvs.conf.dist ${WWW}/viewcvs.conf 644 + doinstall cgi/cvsgraph.conf.dist ${WWW}/cvsgraph.conf 644 + + doinstall lib ${WWW}/lib 644 + doinstall templates ${WWW}/templates 644 + + doinstall website ${WWW}/doc 644 + + dosym ${WWW}/viewcvs.conf /etc/viewcvs/viewcvs.conf + dosym ${WWW}/cvsgraph.conf /etc/viewcvs/cvsgraph.conf + + cat <<EOF >apache.conf +ScriptAlias /viewcvs /home/httpd/viewcvs/cgi/viewcvs.cgi +ScriptAlias /cvsquery /home/httpd/viewcvs/cgi/cvsquery.cgi + +<Directory /home/httpd/viewcvs/cgi> + Options ExecCGI + <IfModule mod_access.c> + Order allow,deny + Allow from all + </IfModule> +</Directory> +EOF + dodoc INSTALL TODO CHANGES README apache.conf +} + +pkg_postinst() { + ewarn "Before using viewcvs make sure you configure it correctly." + einfo "There is a sample apache integration configuration file in the" + einfo "documentation directory named: apache.conf" +} |