diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2008-10-11 20:28:07 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2008-10-11 20:28:07 +0000 |
commit | feffdb1fdf4175671fa13aeef5dd637ca80db9dd (patch) | |
tree | 78631605d44df935d4dc613fb9b95baff65a2cc4 /www-apps | |
parent | Fix for #240110. (diff) | |
download | historical-feffdb1fdf4175671fa13aeef5dd637ca80db9dd.tar.gz historical-feffdb1fdf4175671fa13aeef5dd637ca80db9dd.tar.bz2 historical-feffdb1fdf4175671fa13aeef5dd637ca80db9dd.zip |
Added viewvc-1.0.6 (#238077).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/viewvc/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/viewvc/Manifest | 12 | ||||
-rw-r--r-- | www-apps/viewvc/viewvc-1.0.6.ebuild | 112 |
3 files changed, 125 insertions, 6 deletions
diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog index 5ffbf8b10cf8..291c76a1162d 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.25 2008/08/23 04:59:13 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.26 2008/10/11 20:28:07 wrobel Exp $ + +*viewvc-1.0.6 (11 Oct 2008) + + 11 Oct 2008; Gunnar Wrobel <wrobel@gentoo.org> +viewvc-1.0.6.ebuild: + Added viewvc-1.0.6 (#238077). 23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest index de91d7fad895..b8eb0dfc4981 100644 --- a/www-apps/viewvc/Manifest +++ b/www-apps/viewvc/Manifest @@ -3,15 +3,17 @@ 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 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 -MISC ChangeLog 3288 RMD160 39334c89df46f527fa43d7c03fed4f855b0219a1 SHA1 0c21ac0ee781f857edaf9e8ff660e4f6b6430f56 SHA256 9acce56a8f510393d2b541baaea220f7e9d1cdbce40c95638c7d9709e5f44ff4 +EBUILD viewvc-1.0.6.ebuild 2600 RMD160 1190a3668b5934cf1c3d3840824af2d5a121e401 SHA1 a249c71cade2c92fad91850d392d45a2ecac704e SHA256 e6ccaa20a190f87d160d5515af9033ca79e131b2461017bde79c9098447304b3 +MISC ChangeLog 3421 RMD160 81052c35e33ad676d156e43ee3fb188e04198ec3 SHA1 b1049ebaf2e111baddb51cb21678999178f9fdf8 SHA256 96e3f351cf6dff31f96ba767ff01739c4aa863132c4d58027509f59e4cc8d834 MISC metadata.xml 503 RMD160 351df531cd1849dd12cdc4e263edb3d0abaa0d39 SHA1 6c69347538309ecbf0b88fdbc92060e736764024 SHA256 956c9db7b05387ff433ac7bf16579277541afd2320a97063f555de0ef52ff832 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.7 (GNU/Linux) -iEYEARECAAYFAkivmScACgkQoeSe8B0zEfzdFQCeNU7QK2MRFOtmBEZu2EQGzQf6 -uwwAnjFkElnW40Usaedt6PxhjONHHfcI -=zycj +iD8DBQFI8QyHEEcxCpcDQ74RAkmvAJ9ZmOjuV/4F6+YoXBvx5zWiQ08fowCfWpZw +OTKfedo/HuXh8Li/MRvbWXE= +=S7uN -----END PGP SIGNATURE----- diff --git a/www-apps/viewvc/viewvc-1.0.6.ebuild b/www-apps/viewvc/viewvc-1.0.6.ebuild new file mode 100644 index 000000000000..f781357d23c0 --- /dev/null +++ b/www-apps/viewvc/viewvc-1.0.6.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.6.ebuild,v 1.1 2008/10/11 20:28:07 wrobel 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/43677/${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 +} |