summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-06-28 13:23:45 +0200
committerThomas Deutschmann <whissi@gentoo.org>2017-06-28 13:24:02 +0200
commit4a06816c6d0740c2659d2041bf40db8403681c5c (patch)
tree28cca8a8f9f75147c210a6f9242c1bd9e1cd8b18 /www-apps/viewvc
parentmedia-plugins/frei0r-plugins: bump to 1.6.1 (diff)
downloadgentoo-4a06816c6d0740c2659d2041bf40db8403681c5c.tar.gz
gentoo-4a06816c6d0740c2659d2041bf40db8403681c5c.tar.bz2
gentoo-4a06816c6d0740c2659d2041bf40db8403681c5c.zip
www-apps/viewvc: Security cleanup (bug #608738)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-apps/viewvc')
-rw-r--r--www-apps/viewvc/Manifest1
-rw-r--r--www-apps/viewvc/viewvc-1.1.20-r1.ebuild112
2 files changed, 0 insertions, 113 deletions
diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest
index a58658d633f1..dff6fce03c12 100644
--- a/www-apps/viewvc/Manifest
+++ b/www-apps/viewvc/Manifest
@@ -1,2 +1 @@
-DIST viewvc-1.1.20.tar.gz 616561 SHA256 ecd9b77ddcdc33594edce34751b0feae64338580c177804e2a8395874cb31ff2 SHA512 1c0129be983e6832f12cf4850ee6fe03c6a4f694d9e7643f0efe65bd3e8c7d820fdaf3bb16fd3bb3628ea133b58b1e03196f2eb439cfb6ab4727d6178516d8d1 WHIRLPOOL 5746826abcdc061b7c7fc2de49bb3034c54b8fd889038334a2b55ae5523796710b7e1f83bdddfe1127f3d795d12275939dd43c38ceb29110cf6d3a4ab1a11cd4
DIST viewvc-1.1.26.tar.gz 616103 SHA256 9d718237df7fc04d511302812c0bec0363cf6b8334ab796953a764c2de426e43 SHA512 af70d4344fe92f942debb407b6fad909e250ba2656499f5229e1c2f018dfbd783d0cebd28c49a429bd7b155bb6db02cead602384f91b99b7ced6aa365e32bb8e WHIRLPOOL d8d6348d9d4c48176ff71af6aec74c4d3d73a58217b7b6b23f27d47503548df66cb0121b7d17d89c2a9a0524280b22960fcbf3a7b11a35c8411626f8759c2d50
diff --git a/www-apps/viewvc/viewvc-1.1.20-r1.ebuild b/www-apps/viewvc/viewvc-1.1.20-r1.ebuild
deleted file mode 100644
index 3a8caa2fa099..000000000000
--- a/www-apps/viewvc/viewvc-1.1.20-r1.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils python-single-r1 webapp
-
-WEBAPP_MANUAL_SLOT="yes"
-
-DESCRIPTION="ViewVC, a web interface to CVS and Subversion"
-HOMEPAGE="http://viewvc.org/"
-DOWNLOAD_NUMBER="49275"
-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_wsgi mysql pygments +subversion"
-
-DEPEND=""
-RDEPEND="${PYTHON_DEPS}
- cvs? ( dev-vcs/rcs )
- subversion? ( >=dev-vcs/subversion-1.3.1[python,${PYTHON_USEDEP}] )
-
- mod_wsgi? ( www-apache/mod_wsgi[${PYTHON_USEDEP}] )
- !mod_wsgi? ( virtual/httpd-cgi )
-
- cvsgraph? ( >=dev-vcs/cvsgraph-1.5.0 )
- mysql? ( >=dev-python/mysql-python-0.9.0[${PYTHON_USEDEP}] )
- pygments? (
- dev-python/pygments[${PYTHON_USEDEP}]
- app-misc/mime-types
- )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- || ( cvs subversion )"
-
-pkg_setup() {
- python-single-r1_pkg_setup
- webapp_pkg_setup
-}
-
-src_prepare() {
- eapply_user
-
- find bin/ -type f -print0 | xargs -0 sed -i \
- -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"$(python_get_sitedir)/${PN}\"|g" \
- -e "s|\(^CONF_PATHNAME\)\(.*\$\)|\1 = \"../conf/viewvc.conf\"|g" || die
-
- sed -i -e "s|\(self\.options\.template_dir\)\(.*\$\)|\1 = \"${MY_APPDIR}/templates\"|" \
- lib/config.py || die
-
- sed -i -e "s|^template_dir.*|#&|" conf/viewvc.conf.dist || die
- sed -i -e "s|^#mime_types_files =.*|mime_types_files = /etc/mime.types|" conf/viewvc.conf.dist || die
- mv conf/viewvc.conf{.dist,} || die
- mv conf/cvsgraph.conf{.dist,} || die
-
- python_fix_shebang .
-}
-
-src_install() {
- webapp_src_preinst
-
- newbin bin/standalone.py viewvc-standalone-server
-
- dodoc CHANGES COMMITTERS INSTALL README
-
- python_moduleinto viewvc
- python_domodule lib/.
-
- insinto "${MY_APPDIR}"
- doins -r templates/ || die "doins failed"
- doins -r templates-contrib/
-
- if use mysql; then
- exeinto "${MY_HOSTROOTDIR}/bin"
- doexe bin/{*dbadmin,make-database,loginfo-handler}
- fi
-
- insinto "${MY_HOSTROOTDIR}/conf"
- doins conf/{viewvc,cvsgraph}.conf
-
- exeinto "${MY_CGIBINDIR}"
- doexe bin/cgi/viewvc.cgi
- if use mysql; then
- doexe bin/cgi/query.cgi
- fi
-
- exeinto "${MY_CGIBINDIR}"
- if use mod_wsgi; then
- doexe bin/wsgi/viewvc.wsgi
- if use mysql; then
- doexe bin/wsgi/query.wsgi
- fi
- else
- doexe bin/wsgi/viewvc.fcgi
- if use mysql; then
- doexe bin/wsgi/query.fcgi
- fi
- fi
-
- webapp_configfile "${MY_HOSTROOTDIR}/conf/"{viewvc,cvsgraph}.conf
-
- webapp_src_install
-}
-
-pkg_postinst() {
- webapp_pkg_postinst
- elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}"
-}