summaryrefslogtreecommitdiff
path: root/www-apps/lxr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /www-apps/lxr
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'www-apps/lxr')
-rw-r--r--www-apps/lxr/Manifest6
-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, 180 deletions
diff --git a/www-apps/lxr/Manifest b/www-apps/lxr/Manifest
deleted file mode 100644
index 58a9c77ff9bb..000000000000
--- a/www-apps/lxr/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX lxr-0.9.8-initdb-mysql.patch 484 BLAKE2B 4f503eec1951f8a0010ab1b62cfe577d2672fcf7e434654c7d0701dd143615e94000d995f75f8b58c60652444ad117bfad4af3fc20395ef5347c6240ad18bf29 SHA512 616a819fdd899bbac114dcebe42864f16e7b17e81f07be915ae36c9dfac4d621e960d5901a253d6e13d4e16440eb84702784b66ba1922a0cba72afea1f896da4
-AUX postinstall-en.txt 1351 BLAKE2B 781df94841c533848e74a6f4b2b317bcbfd68f428206be10c527a4d03c1c4c6ea69bae2642a87e0a94051c0f1ba033a19dd5d28a605138604067fb06bd9db5dd SHA512 4730fcc56b8a775d5922883906f9db8ead7a0f3beb8a46ceeb451f8ba273e823fbe328b227da72f39a9dfa926cd93b77c5d27c0d1ba2730afec0c570b1da0006
-AUX reconfig 357 BLAKE2B 4ebe2e2539021b7411fa814bef122b69d9540848a90290cf89182a3557a26db83332b5036e1be74c6e018604b44b027897b22bf08c18f95400fe6c76e82c9d97 SHA512 b218ddf830fc1412ab95bd53377f07b76209b2dd7640654618e937355efd716f2374a0a18f97e8f92c06619f8aed6bbc311eb93541ebf088437e40250288f8cd
-DIST lxr-0.9.8.tgz 104246 BLAKE2B 9088f00a47c2cd9e4822b7f79554f820dd3fb97973f25dbb6eacdccc6e436aa6eb9a50806b726b53a6347d8266ceaf1c35c54c221030fe7edcd65294567fa3ec SHA512 2ee9965448edc63a35a3c9d51b2e22c142e5e0aed8e487a590ad3e8a9f840f94fbe38736fe139fb02941ab4e5c891821460b0f32b56a52bf295988c6ef432318
-EBUILD lxr-0.9.8-r1.ebuild 2074 BLAKE2B 6b612ac4817923e6aa22d43447c2fe4667157daa5422a2cfa36d79077e4b338186d470b06ecff502623fac0ad5019066ae2b02787155282984074aaea02d58f0 SHA512 3046e42362be0bf8912f403f3c8b305ad81bb533bdab8f814f748237c350424f1b8022d493dd81ee6340f838f6b5d3a0bbb180fa7250b1cd2c9a03abc030d433
-MISC metadata.xml 323 BLAKE2B 9df52ba795520f0636d98fd35cf63b4f532c7488d0c9737c09c93a88ce29db06f34ceaf0aa0470d3c34be5a56f99228580d9538a35e7696dfe5d3a52810f7e02 SHA512 2010845b78056b6e51326ad0a3c8bd88152f20a2799ba14c4cbffb52374e5d81135a6972b6a16446f3c8ee456169dea9dc717d5aee452636d7012152991666c0
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>