diff options
author | Renat Lumpau <rl03@gentoo.org> | 2004-08-26 07:55:40 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2004-08-26 07:55:40 +0000 |
commit | 5f2b84471fe6110c8f37617364e73e2919fe9a3e (patch) | |
tree | b21434e8d5af8e9136189496c697d6b428535e8c | |
parent | Stable on mips. Bug #61457. (diff) | |
download | historical-5f2b84471fe6110c8f37617364e73e2919fe9a3e.tar.gz historical-5f2b84471fe6110c8f37617364e73e2919fe9a3e.tar.bz2 historical-5f2b84471fe6110c8f37617364e73e2919fe9a3e.zip |
Rewrite for webapp.eclass. Closes #60893
-rw-r--r-- | www-apps/viewcvs/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/viewcvs/Manifest | 16 | ||||
-rw-r--r-- | www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r2 | 1 | ||||
-rw-r--r-- | www-apps/viewcvs/files/postinstall-en.txt | 9 | ||||
-rw-r--r-- | www-apps/viewcvs/files/reconfig | 6 | ||||
-rw-r--r-- | www-apps/viewcvs/viewcvs-0.9.2_p20030430-r2.ebuild | 45 |
6 files changed, 78 insertions, 7 deletions
diff --git a/www-apps/viewcvs/ChangeLog b/www-apps/viewcvs/ChangeLog index 99ff5e89fa36..6a763fae16a1 100644 --- a/www-apps/viewcvs/ChangeLog +++ b/www-apps/viewcvs/ChangeLog @@ -1,6 +1,12 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/viewcvs/ChangeLog,v 1.2 2004/08/26 07:55:40 rl03 Exp $ + +*viewcvs-0.9.2_p20030430-r2 (26 Aug 2004) + + 26 Aug 2004; Renat Lumpau <rl03@gentoo.org> +files/postinstall-en.txt, + +files/reconfig, +viewcvs-0.9.2_p20030430-r2.ebuild: + Rewrite to use webapp.ecalss. Closes #60893. *viewcvs-0.9.2-r2 (15 Aug 2004) diff --git a/www-apps/viewcvs/Manifest b/www-apps/viewcvs/Manifest index d7270d954d31..d88b54dabba7 100644 --- a/www-apps/viewcvs/Manifest +++ b/www-apps/viewcvs/Manifest @@ -1,12 +1,16 @@ -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 f8eab736d5b53454c2b2a3a365957b29 viewcvs-0.9.2_p20030430-r2.ebuild 1297 +MD5 bf254cbf27e5729a756b9339a8049579 viewcvs-0.9.2-r1.ebuild 2338 +MD5 d4be9b9587fb3ba56b11c3eea3437028 viewcvs-0.9.2-r3.ebuild 2776 +MD5 403265b15609cd98a93f87bd61a44389 viewcvs-0.9.2_p20030430.ebuild 2319 +MD5 f1060d32ebcda2f6b57181c770c4230c viewcvs-0.9.2_p20030430-r1.ebuild 2406 +MD5 664067b803c823c47f6301acba9aa1a5 viewcvs-0.9.2-r2.ebuild 2743 +MD5 e6d1bce7e1a8e59894d06a0b60204bf7 ChangeLog 3085 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 39d356a0537a0b8cdee280b47feb6413 files/postinstall-en.txt 416 MD5 fbac846bcd488f255dc57fdd27ba99df files/digest-viewcvs-0.9.2_p20030430-r1 69 +MD5 fbac846bcd488f255dc57fdd27ba99df files/digest-viewcvs-0.9.2_p20030430-r2 69 +MD5 0088c763c379d737d15788ef2f387cd9 files/reconfig 336 diff --git a/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r2 b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r2 new file mode 100644 index 000000000000..60c9db1f8b57 --- /dev/null +++ b/www-apps/viewcvs/files/digest-viewcvs-0.9.2_p20030430-r2 @@ -0,0 +1 @@ +MD5 4ddcb02e47f3255d38d8f541ab6c985f viewcvs-20030430.tar.bz2 191735 diff --git a/www-apps/viewcvs/files/postinstall-en.txt b/www-apps/viewcvs/files/postinstall-en.txt new file mode 100644 index 000000000000..9f5864cf48f2 --- /dev/null +++ b/www-apps/viewcvs/files/postinstall-en.txt @@ -0,0 +1,9 @@ +If you are using Apache, consider adding something like this to your +apache.conf: + +ScriptAlias /viewcvs /var/www/localhost/cgi-bin/viewcvs/viewcvs.cgi +ScriptAlias /cvsquery /var/www/localhost/cgi-bin/viewcvs/cvsquery.cgi + +Before using viewcvs, be sure to configure it properly. +Edit ${VHOST_ROOT}/${PN}/viewcvs.conf and ${VHOST_ROOT}/${PN}/cvsgraph.conf to +suit your needs. Consult the two .dist files for a start. diff --git a/www-apps/viewcvs/files/reconfig b/www-apps/viewcvs/files/reconfig new file mode 100644 index 000000000000..97774707fe23 --- /dev/null +++ b/www-apps/viewcvs/files/reconfig @@ -0,0 +1,6 @@ +#!/bin/bash +if [ $1 = "start" -o $1 = "install" ]; then + find ${VHOST_CGIBINDIR}/${PN} ${VHOST_ROOT}/${PN} -type f | xargs sed -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${VHOST_CGIBINDIR}/${PN}/lib\"|g + s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${VHOST_ROOT}/${PN}/viewcvs.conf\",g + s,\(<VIEWCVS_INSTALL_DIRECTORY>\),${VHOST_ROOT}/${PN},g" -i +fi diff --git a/www-apps/viewcvs/viewcvs-0.9.2_p20030430-r2.ebuild b/www-apps/viewcvs/viewcvs-0.9.2_p20030430-r2.ebuild new file mode 100644 index 000000000000..13165da40456 --- /dev/null +++ b/www-apps/viewcvs/viewcvs-0.9.2_p20030430-r2.ebuild @@ -0,0 +1,45 @@ +# 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-r2.ebuild,v 1.1 2004/08/26 07:55:40 rl03 Exp $ + +inherit webapp + +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" +KEYWORDS="~x86" +IUSE="" + +DEPEND="$DEPEND" +RDEPEND="|| ( ( >=app-text/rcs-5.7 + >=dev-util/cvs-1.11 ) + dev-util/subversion ) + sys-apps/diffutils + net-www/apache" +S=${WORKDIR}/${PN} + +src_compile() { + :; +} + +src_install() { + webapp_src_preinst + dodir ${MY_CGIBINDIR}/${PN} ${MY_HOSTROOTDIR}/${PN} + + cp cgi/viewcvs.cgi cgi/query.cgi standalone.py tools/loginfo-handler tools/cvsdbadmin tools/make-database ${D}/${MY_CGIBINDIR}/${PN} + cp -R lib ${D}/${MY_CGIBINDIR}/${PN} + cp -R templates ${D}/${MY_HOSTROOTDIR}/${PN} + cp cgi/viewcvs.conf.dist cgi/cvsgraph.conf.dist ${D}/${MY_HOSTROOTDIR}/${PN} + + chmod +x ${D}/${MY_CGIBINDIR}/${PN}/* + dohtml -r website/* + dosym /usr/share/doc/${PF}/html ${MY_HTDOCSDIR}/doc + + dodoc INSTALL TODO CHANGES README + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + webapp_hook_script ${FILESDIR}/reconfig + webapp_src_install +} |