From 844fc226826c5d4a24c6ce2c0af2c60f701106a6 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 1 Nov 2008 07:05:34 +0000 Subject: Version bump. Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64 --- www-apps/viewvc/ChangeLog | 7 ++- www-apps/viewvc/Manifest | 14 +---- www-apps/viewvc/viewvc-1.0.7.ebuild | 112 ++++++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+), 12 deletions(-) create mode 100644 www-apps/viewvc/viewvc-1.0.7.ebuild (limited to 'www-apps') diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog index 291c76a1162d..c0e2431c70c9 100644 --- a/www-apps/viewvc/ChangeLog +++ b/www-apps/viewvc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/viewvc # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.26 2008/10/11 20:28:07 wrobel Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.27 2008/11/01 07:05:34 robbat2 Exp $ + +*viewvc-1.0.7 (01 Nov 2008) + + 01 Nov 2008; Robin H. Johnson +viewvc-1.0.7.ebuild: + Version bump. *viewvc-1.0.6 (11 Oct 2008) diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest index b8eb0dfc4981..0e7bf0cdc13c 100644 --- a/www-apps/viewvc/Manifest +++ b/www-apps/viewvc/Manifest @@ -1,19 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST viewvc-1.0.4.tar.gz 383491 RMD160 2f08d6697d69bbdf0d6660be0000d1a1aef76faa SHA1 6946266c8d7392f8c8b7b890723c23d57926891f SHA256 555ee9fffa4f883bf56b077e856ea313d994e59c0267b41c558dbc0d1950cd1f DIST viewvc-1.0.5.tar.gz 522323 RMD160 9a1e76076f8216ba481213f29befa60870291926 SHA1 dccda7e35881a90662f638694f37b0aa2ecb1998 SHA256 0caf17fa0137231c0a78a5c57e758da73475212516d4758fe521def007a8fddd DIST viewvc-1.0.6.tar.gz 520839 RMD160 8a45688528bc113db2236d8b3cc6e3344694f0a2 SHA1 74310c90dfcfd49347f49c11453d4d5291e5dfac SHA256 ad56d2ad074bbd09ff1a1968164fd0f14f01241864366e0931d0a265bbff8752 +DIST viewvc-1.0.7.tar.gz 522560 RMD160 92c691e492f7b927a7113e745ce4464f790c67ca SHA1 9c07eeba6067cf1806644d696710df5c668334dc SHA256 d801c903efc993e15d08f38eb84f084a596bc3f7b97b0c2c044b16c41645df76 EBUILD viewvc-1.0.4-r1.ebuild 2619 RMD160 77560fc3e3b774fc36887d4e2333521a714663bb SHA1 b5db35a00df737e593a61ae4067deed454f8d152 SHA256 8975f3c6feed09b83c7280bc34d1ab5c2c78c557e8ae3ad3b37827c5c6e2e770 EBUILD viewvc-1.0.4.ebuild 2877 RMD160 94fd72ffed1af2f800e6deb499b353281d423f20 SHA1 4904ddf8d04a6e64ade503945185a5cefc252a9d SHA256 7fe049368e6b4ff15160804fe747666cf25eb1cd8b8cb786052f1c0d38df43e2 EBUILD viewvc-1.0.5.ebuild 2597 RMD160 afc0583068e097c0c6581a838c0d5cb37a076cd4 SHA1 84ca43e46bec23d90a69a63ca13c4892ca822ca3 SHA256 56235c5080a4b22514bc850f509bfc63620293277445fc08c3c3520c21169439 EBUILD viewvc-1.0.6.ebuild 2600 RMD160 1190a3668b5934cf1c3d3840824af2d5a121e401 SHA1 a249c71cade2c92fad91850d392d45a2ecac704e SHA256 e6ccaa20a190f87d160d5515af9033ca79e131b2461017bde79c9098447304b3 -MISC ChangeLog 3421 RMD160 81052c35e33ad676d156e43ee3fb188e04198ec3 SHA1 b1049ebaf2e111baddb51cb21678999178f9fdf8 SHA256 96e3f351cf6dff31f96ba767ff01739c4aa863132c4d58027509f59e4cc8d834 +EBUILD viewvc-1.0.7.ebuild 2601 RMD160 0409b6d302642c6148e5b26c5a51273dd15f35d1 SHA1 540d2cec888a7bd4aa9caf8d75238d34d49b8408 SHA256 1cf1e607fdeb17120d500e4157e47ac47243266f90a5f8365126a92497583a09 +MISC ChangeLog 3543 RMD160 1e14d183fb0d0de5a0a26c81f6c80c1d0efebe94 SHA1 69e43562c74fdaedc3969a794f25cad9f2711bcd SHA256 07126325ccf2c998f8808d7a88616e199529a7eb478423ce7aa0eab0d700d808 MISC metadata.xml 503 RMD160 351df531cd1849dd12cdc4e263edb3d0abaa0d39 SHA1 6c69347538309ecbf0b88fdbc92060e736764024 SHA256 956c9db7b05387ff433ac7bf16579277541afd2320a97063f555de0ef52ff832 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) - -iD8DBQFI8QyHEEcxCpcDQ74RAkmvAJ9ZmOjuV/4F6+YoXBvx5zWiQ08fowCfWpZw -OTKfedo/HuXh8Li/MRvbWXE= -=S7uN ------END PGP SIGNATURE----- diff --git a/www-apps/viewvc/viewvc-1.0.7.ebuild b/www-apps/viewvc/viewvc-1.0.7.ebuild new file mode 100644 index 000000000000..41f73b733d1e --- /dev/null +++ b/www-apps/viewvc/viewvc-1.0.7.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/viewvc-1.0.7.ebuild,v 1.1 2008/11/01 07:05:34 robbat2 Exp $ + +inherit confutils webapp python eutils + +WEBAPP_MANUAL_SLOT="yes" + +DESCRIPTION="ViewVC, a web interface to CVS and Subversion" +HOMEPAGE="http://viewvc.org/" +SRC_URI="http://viewvc.tigris.org/files/documents/3330/44050/${P}.tar.gz" + +LICENSE="viewcvs" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="cvs cvsgraph enscript highlight mod_python mysql subversion" +SLOT="0" + +DEPEND="" +RDEPEND=" + cvs? ( + >=dev-lang/python-1.5.2 + app-text/rcs + ) + + subversion? ( + >=dev-lang/python-2.0 + >=dev-util/subversion-1.2.0 + ) + + mod_python? ( www-apache/mod_python ) + !mod_python? ( virtual/httpd-cgi ) + + cvsgraph? ( >=dev-util/cvsgraph-1.5.0 ) + enscript? ( app-text/enscript ) + highlight? ( >=app-text/highlight-2.2.10 ) + mysql? ( >=dev-python/mysql-python-0.9.0 ) +" + +pkg_setup() { + webapp_pkg_setup + + confutils_require_any cvs subversion + confutils_use_depend_built_with_all subversion dev-util/subversion python + + python_version + MOD_PATH=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN} +} + +src_unpack() { + unpack ${A} + cd "${S}" + + find bin/ -type f -print0 | xargs -0 sed -i \ + -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${MOD_PATH}\"|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.*|#&|" viewvc.conf.dist + mv viewvc.conf{.dist,} + mv cvsgraph.conf{.dist,} +} + +src_install() { + webapp_src_preinst + python_version + + dodoc CHANGES COMMITTERS INSTALL README TODO + dohtml -r viewvc.org/* + + insinto "${MOD_PATH}" + doins -r lib/* + + insinto "${MY_APPDIR}" + doins -r templates/ + + if use mysql; then + exeinto "${MY_HOSTROOTDIR}"/bin + doexe bin/{*dbadmin,make-database,loginfo-handler} + fi + + insinto "${MY_HOSTROOTDIR}"/conf + doins {viewvc,cvsgraph}.conf + + if use mod_python; then + insinto "${MY_HTDOCSDIR}" + doins bin/mod_python/viewvc.py + doins bin/mod_python/handler.py + doins bin/mod_python/.htaccess + use mysql && doins bin/mod_python/query.py + else + exeinto "${MY_CGIBINDIR}" + doexe bin/cgi/viewvc.cgi + use mysql && doexe bin/cgi/query.cgi + fi + + webapp_configfile "${MY_HOSTROOTDIR}"/conf/{viewvc,cvsgraph}.conf + + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + python_version + python_mod_optimize "${MOD_PATH}" + elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}" +} + +pkg_postrm() { + python_mod_cleanup +} -- cgit v1.2.3-65-gdbad