summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-12-01 19:21:25 +0100
committerMichał Górny <mgorny@gentoo.org>2018-12-01 19:21:25 +0100
commitc4a294c1dfc7d80fd7ad07c962d74449db47a069 (patch)
treea6f5550836a906ff478aced9fcdb24be38f2bafa /www-apps
parentapp-misc/iguanaIR: Remove last-rited pkg (diff)
downloadgentoo-c4a294c1dfc7d80fd7ad07c962d74449db47a069.tar.gz
gentoo-c4a294c1dfc7d80fd7ad07c962d74449db47a069.tar.bz2
gentoo-c4a294c1dfc7d80fd7ad07c962d74449db47a069.zip
www-apps/lxr: Remove last-rited pkg
Closes: https://bugs.gentoo.org/444368 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/lxr/Manifest1
-rw-r--r--www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch13
-rw-r--r--www-apps/lxr/files/postinstall-en.txt44
-rw-r--r--www-apps/lxr/files/reconfig21
-rw-r--r--www-apps/lxr/lxr-0.9.8-r1.ebuild85
-rw-r--r--www-apps/lxr/metadata.xml11
6 files changed, 0 insertions, 175 deletions
diff --git a/www-apps/lxr/Manifest b/www-apps/lxr/Manifest
deleted file mode 100644
index fe3243423441..000000000000
--- 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 f28604683781..000000000000
--- 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 07412c4da554..000000000000
--- 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 e9e2f47b3f69..000000000000
--- 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 b7ffd3e3f5a5..000000000000
--- 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 b1a40455a1f2..000000000000
--- 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>