summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-11-28 21:40:04 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-11-28 21:40:04 +0000
commit5a34c9234d4d04886c0f95daded01dcd63b2159d (patch)
tree13cd307f88a6f455f5c082aec2637c91a43edfb8 /www-apps/viewvc
parentmasked 3.3 series version bump (diff)
downloadhistorical-5a34c9234d4d04886c0f95daded01dcd63b2159d.tar.gz
historical-5a34c9234d4d04886c0f95daded01dcd63b2159d.tar.bz2
historical-5a34c9234d4d04886c0f95daded01dcd63b2159d.zip
version bump, upstream bug fixes only
Package-Manager: portage-2.1.10.34/cvs/Linux x86_64
Diffstat (limited to 'www-apps/viewvc')
-rw-r--r--www-apps/viewvc/ChangeLog7
-rw-r--r--www-apps/viewvc/Manifest24
-rw-r--r--www-apps/viewvc/viewvc-1.1.12.ebuild115
3 files changed, 124 insertions, 22 deletions
diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog
index 80e2f668d348..04ab4d95d03d 100644
--- a/www-apps/viewvc/ChangeLog
+++ b/www-apps/viewvc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/viewvc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.80 2011/07/01 21:24:39 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.81 2011/11/28 21:40:04 darkside Exp $
+
+*viewvc-1.1.12 (28 Nov 2011)
+
+ 28 Nov 2011; Jeremy Olexa <darkside@gentoo.org> +viewvc-1.1.12.ebuild:
+ version bump, upstream bug fixes only
01 Jul 2011; Markos Chandras <hwoarang@gentoo.org> -viewvc-1.1.8.ebuild,
-viewvc-1.1.9.ebuild, -viewvc-1.1.10.ebuild:
diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest
index eb3064a31bb3..efe473ca049f 100644
--- a/www-apps/viewvc/Manifest
+++ b/www-apps/viewvc/Manifest
@@ -1,24 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
DIST viewvc-1.1.11.tar.gz 603863 RMD160 ae2dd6a23d926d947ed09e9ad6ebe3a62e059243 SHA1 222765d9b4d922ec2066ddd8dcad1238ebdad687 SHA256 3230c9de95d0d369adf7ff746489e0b0e7ba009c30d85f4fdad87574f8999701
+DIST viewvc-1.1.12.tar.gz 605380 RMD160 b099d18ebf12aadf005674bb43db66a4ef9bccc3 SHA1 ba5d4d234a2540b8ad55a107bb182989ab7d7d55 SHA256 3abc9ea79dbbba507d99e44e8abf95950543b28f1c68a82e0029df56cb40efce
EBUILD viewvc-1.1.11.ebuild 2990 RMD160 c39e959a701365fc07fe2bbac6ded7213b930765 SHA1 bee41f72c591a9d6f8da0fce8942dd09dda34f8c SHA256 7abe33f6419fa27d14f448f30addd91c3bf2e2c7c6cbd0b3be4999203c5fd62a
-MISC ChangeLog 10186 RMD160 b30157cccbd07bcc17c31a47e8ada4c737c1a684 SHA1 d8f832fe182ee958b3a50937f7b5dfbad53d4fca SHA256 d3f0d75dee71ac206a20328c8b94aceaf3409057f945235516997cd4c524ef93
+EBUILD viewvc-1.1.12.ebuild 2993 RMD160 d32b045523d8e5c541f58ec52b1e715534e10bc4 SHA1 f82d2fdf674173223594831ffbba4f9280f1621b SHA256 87c86f0795531112fbbe2d5340605d9d64bc07414f60678de24e0f22c78139f0
+MISC ChangeLog 10330 RMD160 12c9b7c5aef52b22afcd006d60b91f733ef65caa SHA1 24d5d3d086c98ca2d002b7c54247c38521992e5f SHA256 f81078ee0bcb0d517852a7af228f3829ed69f3417ea6686a58fa43fe256e7282
MISC metadata.xml 548 RMD160 ee15901cda630ea71795e4309b5bb1572758ae5d SHA1 8c80d2999238cc039d7fc3804fdb77dbdc3a56a9 SHA256 6a19b8afa2e811ee5e525127ef3a562e7085167e43df792ba171772516b44540
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iQIcBAEBCgAGBQJODjsbAAoJEPqDWhW0r/LCldwP+gI0f6Ok0P8WOJCAB0sbHg+a
-v3+nU95RKJ6SIgu77tHDkhxRScyJi7N7g+IV07A/tZiZ1lQwZ2Y3qDoNCLiQCnIc
-UrvSc4+hKN6EuRE12vOxAc8+dvZBwu3q2ghF6pQhT+KAFmhA7i1ZZA0XKbXl4DA0
-BbxtxR1eXeonXjxkdQqhBNHt3PerOa+qH6SLr6prFIcs1UDGl0sQzRxJ4uJ8hvgU
-AhlfXjmm5vtFZXptXKMB2JTiVB7c+cwki8kUeoNYWNpnbgCb1n4kdSfMF+yALsQB
-7TEQqSDV1/YY+9pE2U7FfMVmppHWrYbEQp8GS3qETmsNmejH/P8eLvFi438c9GaV
-CWB/sHww6kK5Lpo4aUqe5eUvoPBGdrZe2USt2+RNiLw9zSaOGL62txp/8kivEs4P
-5xQq8xFptU9LGvC+Qmj5A0njlWl7Hdd9rLjVDcGVvczwVFMItheuYK6GVIZpfTI7
-AA8MX0mrrWyl6sBAp3F2sN2L33cLyn1NH7X0xdFOelQPzGIXe7eySi6WDzNy3Cmp
-m6FjXiARVn3KP/4aWm3zemcfct2Gce25OoVovz+3Y1/8jeSLHz8/9TNnsyuqi0Vm
-AJ/hFqYMJe6X17XOoCc/ZU3r0ey/VIj+AR0rlwf/sUFn/DuIhX8/XE6Jn/3M5naR
-3yYT9GXceFRO80RTNKIC
-=hVe5
------END PGP SIGNATURE-----
diff --git a/www-apps/viewvc/viewvc-1.1.12.ebuild b/www-apps/viewvc/viewvc-1.1.12.ebuild
new file mode 100644
index 000000000000..ac461b912dab
--- /dev/null
+++ b/www-apps/viewvc/viewvc-1.1.12.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.1.12.ebuild,v 1.1 2011/11/28 21:40:04 darkside Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit confutils eutils python webapp
+
+WEBAPP_MANUAL_SLOT="yes"
+
+DESCRIPTION="ViewVC, a web interface to CVS and Subversion"
+HOMEPAGE="http://viewvc.org/"
+DOWNLOAD_NUMBER="49132"
+SRC_URI="http://viewvc.tigris.org/files/documents/3330/${DOWNLOAD_NUMBER}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cvs cvsgraph mod_python mod_wsgi mysql pygments +subversion"
+
+DEPEND=""
+RDEPEND="
+ cvs? ( dev-vcs/rcs )
+ subversion? ( >=dev-vcs/subversion-1.3.1[python] )
+
+ mod_python? ( www-apache/mod_python )
+ mod_wsgi? ( www-apache/mod_wsgi )
+ !mod_python? ( !mod_wsgi? ( virtual/httpd-cgi ) )
+
+ cvsgraph? ( >=dev-vcs/cvsgraph-1.5.0 )
+ mysql? ( >=dev-python/mysql-python-0.9.0 )
+ pygments? ( dev-python/pygments )
+"
+
+pkg_setup() {
+ python_pkg_setup
+ webapp_pkg_setup
+
+ confutils_require_any cvs subversion
+}
+
+src_prepare() {
+ find bin/ -type f -print0 | xargs -0 sed -i \
+ -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"$(python_get_sitedir -f)/${PN}\"|g" \
+ -e "s|\(^CONF_PATHNAME\)\(.*\$\)|\1 = \"../conf/viewvc.conf\"|g"
+
+ sed -i -e "s|\(self\.options\.template_dir\)\(.*\$\)|\1 = \"${MY_APPDIR}/templates\"|" \
+ lib/config.py
+
+ sed -i -e "s|^template_dir.*|#&|" conf/viewvc.conf.dist
+ mv conf/viewvc.conf{.dist,}
+ mv conf/cvsgraph.conf{.dist,}
+ mv conf/mimetypes.conf{.dist,}
+
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ webapp_src_preinst
+
+ newbin bin/standalone.py viewvc-standalone-server || die "newbin failed"
+
+ dodoc CHANGES COMMITTERS INSTALL README || die "dodoc failed"
+
+ installation() {
+ insinto $(python_get_sitedir)/${PN}
+ doins -r lib/*
+ }
+ python_execute_function installation
+
+ insinto "${MY_APPDIR}"
+ doins -r templates/ || die "doins failed"
+ doins -r templates-contrib/ || die "doins failed"
+
+ if use mysql; then
+ exeinto "${MY_HOSTROOTDIR}/bin"
+ doexe bin/{*dbadmin,make-database,loginfo-handler} || die "doexe failed"
+ fi
+
+ insinto "${MY_HOSTROOTDIR}/conf"
+ doins conf/{viewvc,cvsgraph,mimetypes}.conf
+
+ if use mod_python; then
+ insinto "${MY_HTDOCSDIR}"
+ doins bin/mod_python/viewvc.py || die "doins failed"
+ doins bin/mod_python/handler.py || die "doins failed"
+ doins bin/mod_python/.htaccess || die "doins failed"
+ if use mysql; then
+ doins bin/mod_python/query.py || die "doins failed"
+ fi
+ else
+ exeinto "${MY_CGIBINDIR}"
+ doexe bin/cgi/viewvc.cgi || die "doexe failed"
+ if use mysql; then
+ doexe bin/cgi/query.cgi || die "doexe failed"
+ fi
+ fi
+
+ webapp_configfile "${MY_HOSTROOTDIR}/conf/"{viewvc,cvsgraph}.conf
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ python_mod_optimize viewvc
+ webapp_pkg_postinst
+ elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup viewvc
+}