summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-15 15:52:50 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-15 15:52:50 +0000
commit6b98d64dd9c5ddfdb1117862d004dae89d4829c8 (patch)
treea4bb79c58274247f29947008e10f08489aa76de9 /www-apps
parentMoved from net-www/twiki to www-apps/twiki (diff)
downloadgentoo-2-6b98d64dd9c5ddfdb1117862d004dae89d4829c8.tar.gz
gentoo-2-6b98d64dd9c5ddfdb1117862d004dae89d4829c8.tar.bz2
gentoo-2-6b98d64dd9c5ddfdb1117862d004dae89d4829c8.zip
Moved from net-www/viewcvs to www-apps/viewcvs.
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/viewcvs/ChangeLog77
-rw-r--r--www-apps/viewcvs/Manifest12
-rw-r--r--www-apps/viewcvs/files/digest-viewcvs-0.9.2-r11
-rw-r--r--www-apps/viewcvs/files/digest-viewcvs-0.9.2-r21
-rw-r--r--www-apps/viewcvs/files/digest-viewcvs-0.9.2-r31
-rw-r--r--www-apps/viewcvs/files/digest-viewcvs-0.9.2_p200304301
-rw-r--r--www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r11
-rw-r--r--www-apps/viewcvs/metadata.xml9
-rw-r--r--www-apps/viewcvs/viewcvs-0.9.2-r1.ebuild85
-rw-r--r--www-apps/viewcvs/viewcvs-0.9.2-r2.ebuild98
-rw-r--r--www-apps/viewcvs/viewcvs-0.9.2-r3.ebuild98
-rw-r--r--www-apps/viewcvs/viewcvs-0.9.2_p20030430-r1.ebuild85
-rw-r--r--www-apps/viewcvs/viewcvs-0.9.2_p20030430.ebuild82
13 files changed, 551 insertions, 0 deletions
diff --git a/www-apps/viewcvs/ChangeLog b/www-apps/viewcvs/ChangeLog
new file mode 100644
index 000000000000..99ff5e89fa36
--- /dev/null
+++ b/www-apps/viewcvs/ChangeLog
@@ -0,0 +1,77 @@
+# ChangeLog for net-www/viewcvs
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/ChangeLog,v 1.1 2004/08/15 15:52:50 stuart Exp $
+
+*viewcvs-0.9.2-r2 (15 Aug 2004)
+
+ 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
+ +viewcvs-0.9.2-r1.ebuild, +viewcvs-0.9.2-r2.ebuild,
+ +viewcvs-0.9.2-r3.ebuild, +viewcvs-0.9.2_p20030430-r1.ebuild,
+ +viewcvs-0.9.2_p20030430.ebuild:
+ Moved from net-www/viewcvs to www-apps/viewcvs.
+
+ 30 May 2004; Robin H. Johnson <robbat2@gentoo.org> viewcvs-0.9.2-r1.ebuild,
+ viewcvs-0.9.2-r2.ebuild, viewcvs-0.9.2-r3.ebuild,
+ viewcvs-0.9.2_p20030430-r1.ebuild, viewcvs-0.9.2_p20030430.ebuild:
+ whitespace cleanup.
+
+ 23 Apr 2004; Stuart Herbert <stuart@gentoo.org>
+ viewcvs-0.9.2_p20030430-r1.ebuild:
+ Added optional subversion dependency; see bug #44453
+
+*viewcvs-0.9.2_p20030430-r1 (23 Apr 2004)
+
+ 23 Apr 2004; Stuart Herbert <stuart@gentoo.org>
+ viewcvs-0.9.2_p20030430-r1.ebuild:
+ Added missing symlink for images and help; see bug #33729
+
+*viewcvs-0.9.2_p20030430-r1 (23 Feb 2004)
+
+ 23 Feb 2004; Grant Goodyear <g2boojum@hotmail.com>
+ viewcvs-0.9.2_p20030430-r1.ebuild:
+ Removed 0.9.2_p20030430-r1 because the mcvs patch kills subversion.
+
+*viewcvs-0.9.2-r3 (18 Jan 2004)
+
+ 18 Jan 2004; Lars Weiler <pylon@gentoo.org> viewcvs-0.9.2-r3.ebuild:
+ Mandatory changes as Documentroot moved to /var/www/localhost
+ stable on x86 and ppc
+
+ 25 Nov 2003; Martin Holzer <mholzer@gentoo.org>
+ viewcvs-0.9.2_p20030430.ebuild:
+ updating path. Closes #30372.
+
+*viewcvs-0.9.2-r2 (19 Jul 2003)
+
+ 19 Jul 2003; Lars Weiler <pylon@gentoo.org> viewcvs-0.9.2-r2.ebuild:
+ Configuration file for apache2 will be placed in the modules.d directory
+ automatically. No further server-configuration is needed.
+
+*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)
+
+ 13 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+ 21 May 2003; Paul de Vrieze <pauldv@gentoo.org> viewcvs-0.9.2.ebuild,
+ viewcvs-0.9.2_p20030430.ebuild:
+ Remove dependency on enscript as it is only an optional dependency.
+
+*viewcvs-0.9.2 (01 May 2003)
+
+ 01 May 2003; Paul de Vrieze <pauldv@gentoo.org> viewcvs-0.9.2.ebuild,
+ viewcvs-0.9.2_p20030430.ebuild:
+ Initial import of two view cvs ebuilds. The 0.9.2 version is the current
+ stable release whereas the snapshot version is a newer release that also works
+ with subversion
+
diff --git a/www-apps/viewcvs/Manifest b/www-apps/viewcvs/Manifest
new file mode 100644
index 000000000000..d7270d954d31
--- /dev/null
+++ b/www-apps/viewcvs/Manifest
@@ -0,0 +1,12 @@
+MD5 007e7010de06c480b1175912646a8ee6 viewcvs-0.9.2-r1.ebuild 2339
+MD5 60a02f2947add131a85934791b7a56ba viewcvs-0.9.2-r3.ebuild 2777
+MD5 6aef6aadb485af6f4a70dd7ecf8f46f0 viewcvs-0.9.2_p20030430.ebuild 2320
+MD5 ededb293af2666079cceece34700a490 viewcvs-0.9.2_p20030430-r1.ebuild 2407
+MD5 c543441009501c5a2d176f0aeff49ef6 viewcvs-0.9.2-r2.ebuild 2744
+MD5 a95c517acdb615530e4c77451088eebe ChangeLog 2568
+MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
+MD5 fbac846bcd488f255dc57fdd27ba99df files/digest-viewcvs-0.9.2_p20030430 69
+MD5 07a07f1a89e77c9f093ade7e395ffe3b files/digest-viewcvs-0.9.2-r1 65
+MD5 07a07f1a89e77c9f093ade7e395ffe3b files/digest-viewcvs-0.9.2-r2 65
+MD5 07a07f1a89e77c9f093ade7e395ffe3b files/digest-viewcvs-0.9.2-r3 65
+MD5 fbac846bcd488f255dc57fdd27ba99df files/digest-viewcvs-0.9.2_p20030430-r1 69
diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r1 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r1
new file mode 100644
index 000000000000..7ee3ce69fbbc
--- /dev/null
+++ b/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r1
@@ -0,0 +1 @@
+MD5 c7857b1ed05240ad1f691ea40044daf2 viewcvs-0.9.2.tar.gz 140063
diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r2 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r2
new file mode 100644
index 000000000000..7ee3ce69fbbc
--- /dev/null
+++ b/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r2
@@ -0,0 +1 @@
+MD5 c7857b1ed05240ad1f691ea40044daf2 viewcvs-0.9.2.tar.gz 140063
diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r3 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r3
new file mode 100644
index 000000000000..7ee3ce69fbbc
--- /dev/null
+++ b/www-apps/viewcvs/files/digest-viewcvs-0.9.2-r3
@@ -0,0 +1 @@
+MD5 c7857b1ed05240ad1f691ea40044daf2 viewcvs-0.9.2.tar.gz 140063
diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430
new file mode 100644
index 000000000000..60c9db1f8b57
--- /dev/null
+++ b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430
@@ -0,0 +1 @@
+MD5 4ddcb02e47f3255d38d8f541ab6c985f viewcvs-20030430.tar.bz2 191735
diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r1 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r1
new file mode 100644
index 000000000000..60c9db1f8b57
--- /dev/null
+++ b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r1
@@ -0,0 +1 @@
+MD5 4ddcb02e47f3255d38d8f541ab6c985f viewcvs-20030430.tar.bz2 191735
diff --git a/www-apps/viewcvs/metadata.xml b/www-apps/viewcvs/metadata.xml
new file mode 100644
index 000000000000..13bc126c7d91
--- /dev/null
+++ b/www-apps/viewcvs/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+<email>web-apps@gentoo.org</email>
+<name>Gentoo Web Application Packages Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-apps/viewcvs/viewcvs-0.9.2-r1.ebuild b/www-apps/viewcvs/viewcvs-0.9.2-r1.ebuild
new file mode 100644
index 000000000000..eacafe1b8be9
--- /dev/null
+++ b/www-apps/viewcvs/viewcvs-0.9.2-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/viewcvs-0.9.2-r1.ebuild,v 1.1 2004/08/15 15:52:50 stuart Exp $
+
+PDATE=${PV/0.9.2_p/}
+DESCRIPTION="Viewcvs, a web interface to cvs and subversion"
+HOMEPAGE="http://viewcvs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${PDATE}.tar.gz"
+
+LICENSE="viewcvs"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+DEPEND=""
+RDEPEND=">=app-text/rcs-5.7
+ >=dev-util/cvs-1.11
+ sys-apps/diffutils
+ net-www/apache"
+
+WWW="/home/httpd/viewcvs"
+
+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"
+}
diff --git a/www-apps/viewcvs/viewcvs-0.9.2-r2.ebuild b/www-apps/viewcvs/viewcvs-0.9.2-r2.ebuild
new file mode 100644
index 000000000000..80b978071ef4
--- /dev/null
+++ b/www-apps/viewcvs/viewcvs-0.9.2-r2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/viewcvs-0.9.2-r2.ebuild,v 1.1 2004/08/15 15:52:50 stuart Exp $
+
+PDATE=${PV/0.9.2_p/}
+DESCRIPTION="Viewcvs, a web interface to cvs and subversion"
+HOMEPAGE="http://viewcvs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${PDATE}.tar.gz"
+
+LICENSE="viewcvs"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="apache2"
+
+DEPEND=""
+RDEPEND=">=app-text/rcs-5.7
+ >=dev-util/cvs-1.11
+ sys-apps/diffutils
+ net-www/apache"
+
+WWW="/home/httpd/viewcvs"
+
+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
+# Enables ViewCVS in /home/httpd/viewcvs and creates an alias to /viewcvs
+# Configuration of ViewCVS could be done in /etc/viewcvs/
+
+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
+
+ if use apache2; then
+ cp apache.conf 47_viewcvs.conf
+ insinto /etc/apache2/conf/modules.d
+ doins 47_viewcvs.conf
+ fi
+
+ 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"
+ einfo "If you're using apache2 this configuration is already done for"
+ einfo "you in /etc/apache2/conf/modules.d/47_viewcvs.conf"
+}
diff --git a/www-apps/viewcvs/viewcvs-0.9.2-r3.ebuild b/www-apps/viewcvs/viewcvs-0.9.2-r3.ebuild
new file mode 100644
index 000000000000..4225b41451d6
--- /dev/null
+++ b/www-apps/viewcvs/viewcvs-0.9.2-r3.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/viewcvs-0.9.2-r3.ebuild,v 1.1 2004/08/15 15:52:50 stuart Exp $
+
+PDATE=${PV/0.9.2_p/}
+DESCRIPTION="Viewcvs, a web interface to cvs and subversion"
+HOMEPAGE="http://viewcvs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${PDATE}.tar.gz"
+
+LICENSE="viewcvs"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="apache2"
+
+DEPEND=""
+RDEPEND=">=app-text/rcs-5.7
+ >=dev-util/cvs-1.11
+ sys-apps/diffutils
+ net-www/apache"
+
+WWW="/var/www/localhost/viewcvs"
+
+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
+# Enables ViewCVS in /var/www/localhost/viewcvs and creates an alias to /viewcvs
+# Configuration of ViewCVS could be done in /etc/viewcvs/
+
+ScriptAlias /viewcvs /var/www/localhost/viewcvs/cgi/viewcvs.cgi
+ScriptAlias /cvsquery /var/www/localhost/viewcvs/cgi/cvsquery.cgi
+
+<Directory /var/www/localhost/viewcvs/cgi>
+ Options ExecCGI
+ <IfModule mod_access.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
+</Directory>
+EOF
+
+ if use apache2; then
+ cp apache.conf 47_viewcvs.conf
+ insinto /etc/apache2/conf/modules.d
+ doins 47_viewcvs.conf
+ fi
+
+ 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"
+ einfo "If you're using apache2 this configuration is already done for"
+ einfo "you in /etc/apache2/conf/modules.d/47_viewcvs.conf"
+}
diff --git a/www-apps/viewcvs/viewcvs-0.9.2_p20030430-r1.ebuild b/www-apps/viewcvs/viewcvs-0.9.2_p20030430-r1.ebuild
new file mode 100644
index 000000000000..a167834e732b
--- /dev/null
+++ b/www-apps/viewcvs/viewcvs-0.9.2_p20030430-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/viewcvs-0.9.2_p20030430-r1.ebuild,v 1.1 2004/08/15 15:52:50 stuart Exp $
+
+PDATE=${PV/0.9.2_p/}
+DESCRIPTION="Viewcvs, a web interface to cvs and subversion"
+HOMEPAGE="http://viewcvs.sourceforge.net/"
+SRC_URI="mirror://gentoo/${PN}-${PDATE}.tar.bz2"
+
+LICENSE="viewcvs"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=""
+RDEPEND="|| ( ( >=app-text/rcs-5.7
+ >=dev-util/cvs-1.11 )
+ dev-util/subversion )
+ sys-apps/diffutils
+ net-www/apache"
+S=${WORKDIR}/${PN}
+
+WWW="/var/www/localhost/viewcvs"
+CONFFILE="/etc/viewcvs/viewcvs.conf"
+
+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 = \"${CONFFILE}\",}" ${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
+ mkdir -p ${D}/`dirname ${CONFFILE}`
+ doinstall cgi/viewcvs.conf.dist ${CONFFILE} 644
+ doinstall cgi/cvsgraph.conf.dist `dirname ${CONFFILE}`/cvsgraph.conf 644
+ doinstall tools/loginfo-handler ${WWW}/loginfo-handler 755
+ doinstall tools/cvsdbadmin ${WWW}/cvsdbadmin 755
+ doinstall tools/make-database ${WWW}/make-database 755
+
+ doinstall lib ${WWW}/lib 644
+ doinstall templates `dirname ${CONFFILE}`/templates 644
+
+ dohtml -r website/*
+ dosym /usr/share/doc/${PF}/html /etc/viewcvs/doc
+
+ cat <<EOF >apache.conf
+ScriptAlias /viewcvs /var/www/localhost/viewcvs/cgi/viewcvs.cgi
+ScriptAlias /cvsquery /var/www/localhost/viewcvs/cgi/cvsquery.cgi
+
+<Directory /var/www/localhost/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"
+}
diff --git a/www-apps/viewcvs/viewcvs-0.9.2_p20030430.ebuild b/www-apps/viewcvs/viewcvs-0.9.2_p20030430.ebuild
new file mode 100644
index 000000000000..1694ba931abe
--- /dev/null
+++ b/www-apps/viewcvs/viewcvs-0.9.2_p20030430.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/viewcvs-0.9.2_p20030430.ebuild,v 1.1 2004/08/15 15:52:50 stuart Exp $
+
+PDATE=${PV/0.9.2_p/}
+DESCRIPTION="Viewcvs, a web interface to cvs and subversion"
+HOMEPAGE="http://viewcvs.sourceforge.net/"
+SRC_URI="mirror://gentoo/${PN}-${PDATE}.tar.bz2"
+
+LICENSE="viewcvs"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=""
+RDEPEND=">=app-text/rcs-5.7
+ >=dev-util/cvs-1.11
+ sys-apps/diffutils
+ net-www/apache"
+S=${WORKDIR}/${PN}
+
+WWW="/var/www/localhost/viewcvs"
+CONFFILE="/etc/viewcvs/viewcvs.conf"
+
+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 = \"${CONFFILE}\",}" ${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
+ mkdir -p ${D}/`dirname ${CONFFILE}`
+ doinstall cgi/viewcvs.conf.dist ${CONFFILE} 644
+ doinstall cgi/cvsgraph.conf.dist `dirname ${CONFFILE}`/cvsgraph.conf 644
+ doinstall tools/loginfo-handler ${WWW}/loginfo-handler 755
+ doinstall tools/cvsdbadmin ${WWW}/cvsdbadmin 755
+ doinstall tools/make-database ${WWW}/make-database 755
+
+ doinstall lib ${WWW}/lib 644
+ doinstall templates `dirname ${CONFFILE}`/templates 644
+
+ dohtml -r website/*
+ cat <<EOF >apache.conf
+ScriptAlias /viewcvs /var/www/localhost/viewcvs/cgi/viewcvs.cgi
+ScriptAlias /cvsquery /var/www/localhost/viewcvs/cgi/cvsquery.cgi
+
+<Directory /var/www/localhost/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"
+}