summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-03-07 20:55:49 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-03-07 20:55:49 +0000
commit1c86628905aa3160000a6619ab8bdc931b971e29 (patch)
tree5c2678846deadcf5e12721c9e3fa44115c71af9f /www-apps
parentFix bug #258867: S/MIME parsing. (diff)
downloadgentoo-2-1c86628905aa3160000a6619ab8bdc931b971e29.tar.gz
gentoo-2-1c86628905aa3160000a6619ab8bdc931b971e29.tar.bz2
gentoo-2-1c86628905aa3160000a6619ab8bdc931b971e29.zip
Remove old version.
(Portage version: 2.2_rc20/cvs/Linux 2.6.29-rc6 i686)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/viewvc/ChangeLog8
-rw-r--r--www-apps/viewvc/viewvc-1.0.4-r1.ebuild113
-rw-r--r--www-apps/viewvc/viewvc-1.0.4.ebuild108
3 files changed, 6 insertions, 223 deletions
diff --git a/www-apps/viewvc/ChangeLog b/www-apps/viewvc/ChangeLog
index c0e2431c70c9..c7b4057a5dc0 100644
--- a/www-apps/viewvc/ChangeLog
+++ b/www-apps/viewvc/ChangeLog
@@ -1,6 +1,10 @@
# 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.27 2008/11/01 07:05:34 robbat2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/viewvc/ChangeLog,v 1.28 2009/03/07 20:55:49 betelgeuse Exp $
+
+ 07 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> -viewvc-1.0.4.ebuild,
+ -viewvc-1.0.4-r1.ebuild:
+ Remove old version.
*viewvc-1.0.7 (01 Nov 2008)
diff --git a/www-apps/viewvc/viewvc-1.0.4-r1.ebuild b/www-apps/viewvc/viewvc-1.0.4-r1.ebuild
deleted file mode 100644
index 0eae3c095067..000000000000
--- a/www-apps/viewvc/viewvc-1.0.4-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# 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.4-r1.ebuild,v 1.4 2008/05/29 18:15:17 hawking 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/37319/${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_version
- python_mod_cleanup
-}
diff --git a/www-apps/viewvc/viewvc-1.0.4.ebuild b/www-apps/viewvc/viewvc-1.0.4.ebuild
deleted file mode 100644
index f7a2a4549b7a..000000000000
--- a/www-apps/viewvc/viewvc-1.0.4.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# 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.4.ebuild,v 1.11 2008/05/29 18:15:17 hawking 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/37319/${P}.tar.gz"
-
-LICENSE="viewcvs"
-KEYWORDS="amd64 ppc sparc 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? ( www-apache/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 -i -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"${LIB_DIR}\"|g
- s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${CONF_PATH}\",g"
- sed -i -e "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
-
- for SCRIPT in bin/*
- do
- [ ! -d ${SCRIPT} ] && cp -p ${SCRIPT} "${D}"/usr/share/webapps/${PN}/bin
- done
- 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 /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
-
- local mansuffix=$(ecompress --suffix)
- elog "Now read /usr/share/doc/${P}/INSTALL${mansuffix} to configure ${PN}"
-}
-
-pkg_postrm() {
- python_mod_cleanup
-}