summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2007-03-01 20:44:52 +0000
committerRenat Lumpau <rl03@gentoo.org>2007-03-01 20:44:52 +0000
commit8c69129154cba863e5108156d20e3a155e3c2e98 (patch)
tree8a2c98054e26e865fdd8938e1fb7432bd4a7ff1f
parentAdded info about Bug #168879 to ChangeLog. (diff)
downloadhistorical-8c69129154cba863e5108156d20e3a155e3c2e98.tar.gz
historical-8c69129154cba863e5108156d20e3a155e3c2e98.tar.bz2
historical-8c69129154cba863e5108156d20e3a155e3c2e98.zip
Version bump from www-apps/viewcvs. Fixes bugs #107033, #108367, #110020,#111767, #113767, #114487, #116504, #129395, #136552, #142377, 155144.
Package-Manager: portage-2.1.2-r10
-rw-r--r--www-apps/viewvc/ChangeLog11
-rw-r--r--www-apps/viewvc/Manifest26
-rw-r--r--www-apps/viewvc/files/digest-viewvc-1.0.33
-rw-r--r--www-apps/viewvc/metadata.xml5
-rw-r--r--www-apps/viewvc/viewvc-1.0.3.ebuild105
5 files changed, 150 insertions, 0 deletions
diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog
new file mode 100644
index 000000000000..39d4942bb508
--- /dev/null
+++ b/www-apps/viewvc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-apps/viewvc
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.1 2007/03/01 20:44:52 rl03 Exp $
+
+*viewvc-1.0.3 (01 Mar 2007)
+
+ 01 Mar 2007; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +viewvc-1.0.3.ebuild:
+ Version bump from www-apps/viewcvs. Fixes bugs #107033, #108367, #110020,
+ #111767, #113767, #114487, #116504, #129395, #136552, #142377, 155144.
+
diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest
new file mode 100644
index 000000000000..5e34b68fb226
--- /dev/null
+++ b/www-apps/viewvc/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST viewvc-1.0.3.tar.gz 406570 RMD160 2e36a2f1228b0648ac003c75469a1bce56e024f3 SHA1 4523be70f3cf743991201b82f93fcd7f9799b955 SHA256 20cf5a8c5e46a147f4b484934f5f254d9acf74f149a4dc6326d0040527513ead
+EBUILD viewvc-1.0.3.ebuild 2760 RMD160 7b338761a151343a648b5fd1e6bb3f6739ef7223 SHA1 3200c8529b5e8d909ecaa35392c8bfad4406c5aa SHA256 c1cee2a4ff8c1469625948f95a0547d30a39d3edcada8de7ef6c37911c6876a9
+MD5 c33cf092582e25eb194fccc629dd53ed viewvc-1.0.3.ebuild 2760
+RMD160 7b338761a151343a648b5fd1e6bb3f6739ef7223 viewvc-1.0.3.ebuild 2760
+SHA256 c1cee2a4ff8c1469625948f95a0547d30a39d3edcada8de7ef6c37911c6876a9 viewvc-1.0.3.ebuild 2760
+MISC ChangeLog 465 RMD160 54a4db84a92bfee36f348a0b959065e8e02ffa54 SHA1 7c482be59bb537af4429c74361338e484eceb226 SHA256 062740ce1a3450ade265678304eb4a48b3ca17025026eef021f8af617faa133f
+MD5 d85e0cd69614aea79780b1dcdf37ee3b ChangeLog 465
+RMD160 54a4db84a92bfee36f348a0b959065e8e02ffa54 ChangeLog 465
+SHA256 062740ce1a3450ade265678304eb4a48b3ca17025026eef021f8af617faa133f ChangeLog 465
+MISC metadata.xml 161 RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b SHA1 5b91a6d8d06d3dca2d774425befba30caca51507 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
+RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b metadata.xml 161
+SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 metadata.xml 161
+MD5 9049649c61436989b243d5b5c72fe689 files/digest-viewvc-1.0.3 238
+RMD160 20edb91552cf4dd6f4bbd166b133c5ebda16242e files/digest-viewvc-1.0.3 238
+SHA256 67513527e3bd34c7bbaf94233c72259fc95b2356abd211ca93cc1c090b393479 files/digest-viewvc-1.0.3 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFF5ztMEzitwsaoONoRAt3WAJ9zledjsgJPYugOzYXZ4VEug6ig4QCgvM5Q
+k4eTjC607lTdl3jET+40PX0=
+=2YGq
+-----END PGP SIGNATURE-----
diff --git a/www-apps/viewvc/files/digest-viewvc-1.0.3 b/www-apps/viewvc/files/digest-viewvc-1.0.3
new file mode 100644
index 000000000000..25820de104b3
--- /dev/null
+++ b/www-apps/viewvc/files/digest-viewvc-1.0.3
@@ -0,0 +1,3 @@
+MD5 3d44ad485d38bf9f61d8111661260b4a viewvc-1.0.3.tar.gz 406570
+RMD160 2e36a2f1228b0648ac003c75469a1bce56e024f3 viewvc-1.0.3.tar.gz 406570
+SHA256 20cf5a8c5e46a147f4b484934f5f254d9acf74f149a4dc6326d0040527513ead viewvc-1.0.3.tar.gz 406570
diff --git a/www-apps/viewvc/metadata.xml b/www-apps/viewvc/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/viewvc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/viewvc/viewvc-1.0.3.ebuild b/www-apps/viewvc/viewvc-1.0.3.ebuild
new file mode 100644
index 000000000000..5f2f175c7d15
--- /dev/null
+++ b/www-apps/viewvc/viewvc-1.0.3.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.3.ebuild,v 1.1 2007/03/01 20:44:52 rl03 Exp $
+
+inherit python eutils
+
+SLOT="0"
+
+DESCRIPTION="ViewVC, a web interface to CVS and Subversion"
+HOMEPAGE="http://viewvc.org/"
+SRC_URI="http://viewvc.tigris.org/files/documents/3330/34803/${P}.tar.gz"
+
+LICENSE="viewcvs"
+KEYWORDS="~x86"
+IUSE="cvs cvsgraph enscript highlight mod_python mysql subversion"
+
+RDEPEND="
+ cvs? (
+ >=dev-lang/python-1.5.2
+ app-text/rcs
+ )
+
+ subversion? (
+ >=dev-lang/python-2.0
+ >=dev-util/subversion-1.2.0
+ )
+
+ cvsgraph? ( >=dev-util/cvsgraph-1.5.0 )
+ enscript? ( app-text/enscript )
+ highlight? ( >=app-text/highlight-2.2.10 )
+ mod_python? ( dev-python/mod_python )
+ mysql? (
+ >=dev-python/mysql-python-0.9.0
+ )
+"
+
+pkg_setup() {
+ if use subversion && ! built_with_use dev-util/subversion python ; then
+ eerror "Your Subversion has been built without Python bindings"
+ die "Emerge dev-util/subversion with USE=\"python\""
+ fi
+}
+
+src_unpack() {
+ unpack ${A} && cd ${S}
+
+ python_version
+ local LIB_DIR="/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}"
+ local CONF_PATH="/usr/share/webapps/${PN}/viewvc.conf"
+ find bin -type f |
+ xargs sed -ie " s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${LIB_DIR}\"|g
+ s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${CONF_PATH}\",g"
+ sed -i "s|template_dir = templates|template_dir = /usr/share/webapps/${PN}/templates|" \
+ viewvc.conf.dist
+}
+
+src_install() {
+ python_version
+
+ dodir /usr/share/webapps/${PN} /usr/share/webapps/${PN}/cgi-bin \
+ /usr/share/webapps/${PN}/mod_python /usr/share/webapps/${PN}/bin \
+ /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+
+ exeinto /usr/share/webapps/${PN}/cgi-bin
+ doexe bin/cgi/viewvc.cgi
+
+ if use mysql ; then
+ exeinto /usr/share/webapps/${PN}/cgi-bin
+ doexe bin/cgi/query.cgi
+ fi
+
+ if use mod_python ; then
+ insinto /usr/share/webapps/${PN}/mod_python
+ doins bin/mod_python/viewvc.py
+ doins bin/mod_python/handler.py
+ doins bin/mod_python/.htaccess
+
+ if use mysql ; then
+ insinto /usr/share/webapps/${PN}/mod_python
+ doins bin/mod_python/query.py
+ fi
+ fi
+
+ cp -p bin/ ${D}/usr/share/webapps/${PN}/bin
+ cp -rp templates ${D}/usr/share/webapps/${PN}
+ cp -rp lib/* ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+
+ insinto /usr/share/webapps/${PN}
+ doins viewvc.conf.dist cvsgraph.conf.dist
+
+ dodoc CHANGES COMMITTERS INSTALL README TODO
+ dohtml -r viewvc.org/*
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+
+ elog "Now read /usr/share/doc/${P}/INSTALL.gz to configure ${PN}"
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup
+}