diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2003-05-01 18:12:50 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2003-05-01 18:12:50 +0000 |
commit | 4d59f1bccbf314341d0098039acd73385b66ed7e (patch) | |
tree | f49bd1be3c695f642d204b82c7f451d2aa14aaac /net-www | |
parent | Initial import of viewcvs (diff) | |
download | gentoo-2-4d59f1bccbf314341d0098039acd73385b66ed7e.tar.gz gentoo-2-4d59f1bccbf314341d0098039acd73385b66ed7e.tar.bz2 gentoo-2-4d59f1bccbf314341d0098039acd73385b66ed7e.zip |
Initial import of viewcvs
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/viewcvs/ChangeLog | 12 | ||||
-rw-r--r-- | net-www/viewcvs/Manifest | 5 | ||||
-rw-r--r-- | net-www/viewcvs/files/digest-viewcvs-0.9.2 | 1 | ||||
-rw-r--r-- | net-www/viewcvs/files/digest-viewcvs-0.9.2_p20030430 | 1 | ||||
-rw-r--r-- | net-www/viewcvs/viewcvs-0.9.2.ebuild | 83 | ||||
-rw-r--r-- | net-www/viewcvs/viewcvs-0.9.2_p20030430.ebuild | 83 |
6 files changed, 183 insertions, 2 deletions
diff --git a/net-www/viewcvs/ChangeLog b/net-www/viewcvs/ChangeLog new file mode 100644 index 000000000000..cfe28d362bea --- /dev/null +++ b/net-www/viewcvs/ChangeLog @@ -0,0 +1,12 @@ +# 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.1 2003/05/01 18:12:42 pauldv Exp $ + +*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/net-www/viewcvs/Manifest b/net-www/viewcvs/Manifest index 582a142e0768..bff4046b22fc 100644 --- a/net-www/viewcvs/Manifest +++ b/net-www/viewcvs/Manifest @@ -1,4 +1,5 @@ -MD5 53a820dabe3891422e1e99b63871ca03 viewcvs-0.9.2.ebuild 2278 -MD5 13989baba1c7c6c42f2d45af1863e208 viewcvs-0.9.2_p20030430.ebuild 2274 +MD5 623c4ab15f9ac68ab4af6f7d284225ae viewcvs-0.9.2.ebuild 2377 +MD5 94ba0d0139eac20bb54f8a5d89071744 viewcvs-0.9.2_p20030430.ebuild 2378 +MD5 4a3fb30fa75e96884d0f508093c02f5a ChangeLog 521 MD5 fbac846bcd488f255dc57fdd27ba99df files/digest-viewcvs-0.9.2_p20030430 69 MD5 07a07f1a89e77c9f093ade7e395ffe3b files/digest-viewcvs-0.9.2 65 diff --git a/net-www/viewcvs/files/digest-viewcvs-0.9.2 b/net-www/viewcvs/files/digest-viewcvs-0.9.2 new file mode 100644 index 000000000000..7ee3ce69fbbc --- /dev/null +++ b/net-www/viewcvs/files/digest-viewcvs-0.9.2 @@ -0,0 +1 @@ +MD5 c7857b1ed05240ad1f691ea40044daf2 viewcvs-0.9.2.tar.gz 140063 diff --git a/net-www/viewcvs/files/digest-viewcvs-0.9.2_p20030430 b/net-www/viewcvs/files/digest-viewcvs-0.9.2_p20030430 new file mode 100644 index 000000000000..60c9db1f8b57 --- /dev/null +++ b/net-www/viewcvs/files/digest-viewcvs-0.9.2_p20030430 @@ -0,0 +1 @@ +MD5 4ddcb02e47f3255d38d8f541ab6c985f viewcvs-20030430.tar.bz2 191735 diff --git a/net-www/viewcvs/viewcvs-0.9.2.ebuild b/net-www/viewcvs/viewcvs-0.9.2.ebuild new file mode 100644 index 000000000000..12cac9d75535 --- /dev/null +++ b/net-www/viewcvs/viewcvs-0.9.2.ebuild @@ -0,0 +1,83 @@ +# 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.ebuild,v 1.1 2003/05/01 18:12:42 pauldv Exp $ + +SLOT="0" +KEYWORDS="~x86" +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" +CONFFILE="/etc/viewcvs/viewcvs.conf" + +DEPEND="" + +RDEPEND=">=app-text/rcs-5.7 + >=dev-util/cvs-1.11 + sys-apps/diffutils + net-www/apache + app-text/enscript" + +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 /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/net-www/viewcvs/viewcvs-0.9.2_p20030430.ebuild b/net-www/viewcvs/viewcvs-0.9.2_p20030430.ebuild new file mode 100644 index 000000000000..3621ec565eff --- /dev/null +++ b/net-www/viewcvs/viewcvs-0.9.2_p20030430.ebuild @@ -0,0 +1,83 @@ +# 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_p20030430.ebuild,v 1.1 2003/05/01 18:12:42 pauldv Exp $ + +SLOT="0" +KEYWORDS="~x86" +LICENSE="viewcvs" +PDATE=${PV/0.9.2_p/} +DESCRIPTION="Viewcvs, a web interface to cvs and subversion" +SRC_URI="mirror://gentoo/${PN}-${PDATE}.tar.bz2" +HOMEPAGE="http://viewcvs.sourceforge.net" + +S="${WORKDIR}/${PN}" +WWW="/home/httpd/viewcvs" +CONFFILE="/etc/viewcvs/viewcvs.conf" + +DEPEND="" + +RDEPEND=">=app-text/rcs-5.7 + >=dev-util/cvs-1.11 + sys-apps/diffutils + net-www/apache + app-text/enscript" + +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 /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" +} |