public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-apps/lxr/files/, www-apps/lxr/, profiles/
@ 2018-12-01 18:24 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2018-12-01 18:24 UTC (permalink / raw
  To: gentoo-commits

commit:     c4a294c1dfc7d80fd7ad07c962d74449db47a069
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  1 18:21:25 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec  1 18:21:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a294c1

www-apps/lxr: Remove last-rited pkg

Closes: https://bugs.gentoo.org/444368
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/package.mask                           |  5 --
 www-apps/lxr/Manifest                           |  1 -
 www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch | 13 ----
 www-apps/lxr/files/postinstall-en.txt           | 44 -------------
 www-apps/lxr/files/reconfig                     | 21 ------
 www-apps/lxr/lxr-0.9.8-r1.ebuild                | 85 -------------------------
 www-apps/lxr/metadata.xml                       | 11 ----
 7 files changed, 180 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index a9a1fee737e..46bebed8202 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -465,11 +465,6 @@ dev-python/pygoocanvas
 # Removal in a month.
 mail-filter/assp
 
-# Pacho Ramos <pacho@gentoo.org> (01 Nov 2018)
-# Outdated, needs to be bumped to latest release to fix multiple security
-# bugs (#444368). Removal in a month.
-www-apps/lxr
-
 # Pacho Ramos <pacho@gentoo.org> (01 Nov 2018)
 # All this packages are broken and need major version bumps to fix them. See
 # bug #504114, #486510, #510550, #511096, #517260, #551784, #616490, #

diff --git a/www-apps/lxr/Manifest b/www-apps/lxr/Manifest
deleted file mode 100644
index fe324342344..00000000000
--- a/www-apps/lxr/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST lxr-0.9.8.tgz 104246 BLAKE2B 9088f00a47c2cd9e4822b7f79554f820dd3fb97973f25dbb6eacdccc6e436aa6eb9a50806b726b53a6347d8266ceaf1c35c54c221030fe7edcd65294567fa3ec SHA512 2ee9965448edc63a35a3c9d51b2e22c142e5e0aed8e487a590ad3e8a9f840f94fbe38736fe139fb02941ab4e5c891821460b0f32b56a52bf295988c6ef432318

diff --git a/www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch b/www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch
deleted file mode 100644
index f2860468378..00000000000
--- a/www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- initdb-mysql	2004-07-20 11:31:24.000000000 -0400
-+++ initdb-mysql.patched	2006-01-26 15:41:43.000000000 -0500
-@@ -34,8 +34,8 @@ create table lxr_indexes (
-
- create table lxr_releases
-         (fileid         int not null references lxr_files,
--        releaseid             char(255) binary not null,
--        primary key     (fileid,releaseid)
-+        `releaseid`             char(255) binary not null,
-+        primary key     (fileid,`releaseid`)
- );
-
- create table lxr_usage

diff --git a/www-apps/lxr/files/postinstall-en.txt b/www-apps/lxr/files/postinstall-en.txt
deleted file mode 100644
index 07412c4da55..00000000000
--- a/www-apps/lxr/files/postinstall-en.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-0. Create a db for lxr:
-
- MySQL: run mysql and read in the initdb file using:
-   \. ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql
-
- PostgreSQL:
-   createuser lxr
-   createdb -U lxr lxr
-   psql -U lxr lxr
-   \i ${MY_SQLSCRIPTSDIR}/postgresql/${PVR}_create.sql
-
-1. Edit ${MY_INSTALLDIR}/lxr.conf and set:
- - db settings
- - 'v'
- - 'sourceroot'
- - 'graphicfile'
- - 'filetype'
- - 'incprefix'
-
-2. If you want to use CVS, also set:
-  'range' => sub { return
-	($files->allreleases($LXR::Common::pathname),
-	$files->allrevisions($LXR::Common::pathname))
-	}, # deferred function call.
-
-	You should also set the default version retrieved to a version that really
-	does exist otherwise you will receive errors when generating your index.
-
-	A good value for the default version is head.
-	  'default' => 'head'
-	Set 'sourceroot' and 'sourcerootname'.
-
-3. If you want to use swish-e:
-	Create a directory for the swish index files to go in, and put the
-	path of this directory in the 'swishdir' variable.
-
-4. An .htaccess file has been installed into ${MY_INSTALLDIR}. Please note that
-you must take special care not to make lxr.conf visible to the world. If you
-are not using mod_perl, use .htaccess_cgi instead.
-
-5. Create the index:
- ${MY_INSTALLDIR}/genxref --url http://${VHOST_HOSTNAME}${VHOST_APPDIR}
-
-6. Browse to http://${VHOST_HOSTNAME}${VHOST_APPDIR}/source

diff --git a/www-apps/lxr/files/reconfig b/www-apps/lxr/files/reconfig
deleted file mode 100644
index e9e2f47b3f6..00000000000
--- a/www-apps/lxr/files/reconfig
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-die() {
-	echo "#####"
-	echo "$@"
-	echo "#####"
-	exit 1
-}
-
-if [[ $1 == "install" ]] ; then
-	cd "${MY_INSTALLDIR}" || die
-	files="lxr.conf $(ls ._cfg*lxr.conf 2>/dev/null)"
-	sed -i \
-		-e "s|/lxr|${VHOST_APPDIR}|" \
-		-e "s|192.168.1.3/lxr|${VHOST_HOSTNAME}${VHOST_APPDIR}|" \
-		${files} || die
-elif [[ $1 = "clean" ]] ; then
-	echo $1
-fi
-
-exit 0

diff --git a/www-apps/lxr/lxr-0.9.8-r1.ebuild b/www-apps/lxr/lxr-0.9.8-r1.ebuild
deleted file mode 100644
index b7ffd3e3f5a..00000000000
--- a/www-apps/lxr/lxr-0.9.8-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit perl-module webapp multilib eutils depend.apache
-
-DESCRIPTION="general purpose source code indexer and cross-referener with web-based frontend"
-HOMEPAGE="https://sourceforge.net/projects/lxr"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ppc ~x86"
-IUSE="cvs mysql postgres"
-WEBAPP_MANUAL_SLOT="yes"
-SLOT="0"
-
-RDEPEND="dev-util/ctags
-	dev-lang/perl
-	dev-perl/DBI
-	dev-perl/File-MMagic
-	cvs? ( dev-vcs/rcs )
-	postgres? ( dev-perl/DBD-Pg )
-	mysql? ( dev-perl/DBD-mysql )"
-
-need_apache2
-
-pkg_setup() {
-	webapp_pkg_setup
-}
-
-src_prepare() {
-
-	epatch "${FILESDIR}/${PN}-0.9.8-initdb-mysql.patch"
-
-	sed -i \
-		-e 's|/usr/local/bin/swish-e|/usr/bin/swish-e|' \
-		-e 's|/usr/bin/ctags|/usr/bin/exuberant-ctags|' \
-		-e "s|'glimpse|#'glimpse|g" \
-		-e "s:/path/to/lib:${VENDOR_LIB}:" \
-		templates/lxr.conf || die "sed failed"
-	sed -i \
-		-e 's|Apache::Registry|ModPerl::PerlRun|' \
-		.htaccess-apache1 || die "sed failed"
-	sed -i \
-		-e 's|require Local;|require LXR::Local;|' \
-		-e 's|use Local;|use LXR::Local;|' \
-		-e 's|package Local;|package LXR::Local;|' \
-		Local.pm lib/LXR/Common.pm diff find ident search source || die "sed failed"
-}
-
-# prevent eclasses from overriding this
-src_compile() { :; }
-
-src_install() {
-	perl_set_version
-	webapp_src_preinst
-
-	insinto "${VENDOR_LIB}"
-	doins -r lib/LXR
-	insinto "${VENDOR_LIB}"/LXR
-	doins Local.pm
-
-	dodoc BUGS CREDITS.txt ChangeLog HACKING INSTALL notes .htaccess* swish-e.conf
-
-	exeinto "${MY_HTDOCSDIR}"
-	doexe diff find genxref ident search source
-	insinto "${MY_HTDOCSDIR}"
-	doins .htaccess* templates/*
-
-	webapp_configfile "${MY_HTDOCSDIR}"/lxr.conf "${MY_HTDOCSDIR}"/.htaccess-apache1
-	webapp_sqlscript mysql initdb-mysql
-	webapp_sqlscript postgresql initdb-postgres
-	webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
-	webapp_hook_script "${FILESDIR}"/reconfig
-	webapp_src_install
-}
-
-pkg_postinst() {
-	webapp_pkg_postinst
-}
-
-pkg_prerm() {
-	webapp_pkg_prerm
-}

diff --git a/www-apps/lxr/metadata.xml b/www-apps/lxr/metadata.xml
deleted file mode 100644
index b1a40455a1f..00000000000
--- a/www-apps/lxr/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>web-apps@gentoo.org</email>
-		<name>Gentoo Webapps</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="sourceforge">lxr</remote-id>
-	</upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-01 18:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-01 18:24 [gentoo-commits] repo/gentoo:master commit in: www-apps/lxr/files/, www-apps/lxr/, profiles/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox