summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-01-24 16:46:36 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-01-24 16:46:36 +0000
commit550c0648d2754f96b0ca3a0b3eca92d17dfe9f19 (patch)
treeb63a1224f806eb390ca060bc32c2fd095882aa68 /app-admin
parentRemoved deprecated USE flags. (diff)
downloadhistorical-550c0648d2754f96b0ca3a0b3eca92d17dfe9f19.tar.gz
historical-550c0648d2754f96b0ca3a0b3eca92d17dfe9f19.tar.bz2
historical-550c0648d2754f96b0ca3a0b3eca92d17dfe9f19.zip
Remove eselect-php.
Package-Manager: portage-2.0.54
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/eselect-php/ChangeLog17
-rw-r--r--app-admin/eselect-php/Manifest7
-rw-r--r--app-admin/eselect-php/eselect-php-0.96.ebuild22
-rw-r--r--app-admin/eselect-php/files/digest-eselect-php-0.960
-rw-r--r--app-admin/eselect-php/files/php-cgi.eselect196
-rw-r--r--app-admin/eselect-php/files/php-devel.eselect196
-rw-r--r--app-admin/eselect-php/files/php.eselect196
-rw-r--r--app-admin/eselect-php/metadata.xml5
8 files changed, 0 insertions, 639 deletions
diff --git a/app-admin/eselect-php/ChangeLog b/app-admin/eselect-php/ChangeLog
deleted file mode 100644
index 5e7c6a6ea1a3..000000000000
--- a/app-admin/eselect-php/ChangeLog
+++ /dev/null
@@ -1,17 +0,0 @@
-# ChangeLog for app-admin/eselect-php
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-php/ChangeLog,v 1.5 2005/11/19 19:16:49 corsair Exp $
-
- 19 Nov 2005; Markus Rothe <corsair@gentoo.org> eselect-php-0.96.ebuild:
- Added ~ppc64; bug #102649
-
- 09 Sep 2005; Jason Wever <weeve@gentoo.org> eselect-php-0.96.ebuild:
- Added ~sparc keyword to help fix the broken dependencies of
- dev-php/PEAR-Date-1.4.3-r1.
-
- 06 Sep 2005; Konstantin Arkhipov <voxus@gentoo.org> eselect-php-0.96.ebuild:
- Added ~amd64 keyword.
-
- 04 Sep 2005; Stuart Herbert <stuart@gentoo.org> ChangeLog:
- Initial import
-
diff --git a/app-admin/eselect-php/Manifest b/app-admin/eselect-php/Manifest
index 1c62482177e9..e69de29bb2d1 100644
--- a/app-admin/eselect-php/Manifest
+++ b/app-admin/eselect-php/Manifest
@@ -1,7 +0,0 @@
-MD5 15b835a61a8bbdeee0e08e1a14d7d682 ChangeLog 667
-MD5 183ae67c5f92d03975318d40a50f1a16 eselect-php-0.96.ebuild 702
-MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-eselect-php-0.96 0
-MD5 2c2f1ee6a6de5732b601b8444099aa18 files/php-cgi.eselect 4261
-MD5 0e16c19617c890564754bba88e29ba78 files/php-devel.eselect 4275
-MD5 7e4b06e9f537e77689b9a56c416e5bb3 files/php.eselect 4249
diff --git a/app-admin/eselect-php/eselect-php-0.96.ebuild b/app-admin/eselect-php/eselect-php-0.96.ebuild
deleted file mode 100644
index 4b579fa28f91..000000000000
--- a/app-admin/eselect-php/eselect-php-0.96.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-php/eselect-php-0.96.ebuild,v 1.7 2005/11/19 19:15:12 corsair Exp $
-
-inherit eutils
-
-DESCRIPTION="PHP modules for eselect."
-HOMEPAGE="http://svn.gnqs.org/projects/gentoo-php-overlay/wiki/InstallPhpEselectModules"
-SRC_URI=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-DEPEND="app-admin/eselect"
-
-src_install() {
- dodir /usr/share/eselect/modules
- insinto /usr/share/eselect/modules
- doins ${FILESDIR}/php.eselect
- doins ${FILESDIR}/php-cgi.eselect
- doins ${FILESDIR}/php-devel.eselect
-}
diff --git a/app-admin/eselect-php/files/digest-eselect-php-0.96 b/app-admin/eselect-php/files/digest-eselect-php-0.96
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/app-admin/eselect-php/files/digest-eselect-php-0.96
+++ /dev/null
diff --git a/app-admin/eselect-php/files/php-cgi.eselect b/app-admin/eselect-php/files/php-cgi.eselect
deleted file mode 100644
index 1926132fd7ea..000000000000
--- a/app-admin/eselect-php/files/php-cgi.eselect
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: php-cgi.eselect,v 1.1 2005/09/04 09:47:51 stuart Exp $
-
-DESCRIPTION="Manage the /usr/bin/php link"
-MAINTAINER="stuart@gentoo.org"
-SVN_DATE='$Date: 2005/09/04 09:47:51 $'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-
-PHP_SYMLINK_TARGETDIR="${ROOT}/usr/bin"
-PHP_SYMLINK_APPLIST=( php-cgi )
-PHP_VERSIONS="4 5 6"
-PHP_HELP="php-cgi"
-
-find_libdir() {
- # where has multilib put the native php binary?
- for x in lib64 lib32 lib ; do
- for y in ${PHP_VERSIONS} ; do
- if test -d /usr/${x}/php${y}/bin ; then
- libdir=${x}
- return
- fi
- done
- done
-
- # if we get here, then we can't find where PHP is installed
- # throw in any old default - it doesn't matter, because there's
- # no PHP anyway
-
- libdir=/usr/lib
-}
-
-find_versions() {
- find_libdir
-
- # how many packages are we looking for?
- musthave=${#PHP_SYMLINK_APPLIST[@]}
-
- for f in $PHP_VERSIONS ; do
- (( dohave = 0 ))
- for (( i = 0 ; i < ${#PHP_SYMLINK_APPLIST[@]} ; i = i + 1 )) ; do
- n=${PHP_SYMLINK_APPLIST[$i]}
- [[ -f ${ROOT}/usr/${libdir}/php${f}/bin/${n} ]] && (( dohave = $dohave + 1 ))
- done
-
- if (( $dohave == $musthave )) ; then
- echo "php${f}"
- fi
- done
-}
-
-# try to remove the php symlink
-#
-# $1 - symlink to remove
-
-remove_symlink() {
- [[ -L ${1} ]] && rm -f ${1}
-}
-
-# set the php symlink
-#
-# $1 - symlink to set
-# $2 - php version to set it to
-
-set_symlink() {
- PHP_BASENAME=`basename ${1}`
-
- find_libdir
- target="${ROOT}/usr/${libdir}/$2/bin/`basename $1`"
-
- pushd "`dirname $1`" 1>/dev/null
- ln -s "${target}" "${PHP_BASENAME}"
- popd 1>/dev/null
-}
-
-# work out which PHP version the user has chosen from the list
-#
-# $1: the list id that the user has chosen
-
-get_phpversion_fromlist () {
- version=$1
-
- versions=( $(find_versions) )
- for (( i = 0 ; i < ${#versions[@]} ; i = i + 1 )) ; do
- if [[ ${versions[$i]} == ${version} ]] ; then
- echo ${version}
- return
- fi
- done
-
- echo "(not-found)"
-}
-
-get_phpversion_fromlink () {
- echo $1 | sed -e 's|.*/\(php[0-9]\+\)/.*|\1|;'
-}
-
-get_current_phpversion () {
- link=$(readlink ${PHP_SYMLINK_TARGETDIR}/${PHP_SYMLINK_APPLIST[0]})
- version=$(get_phpversion_fromlink $link)
-
- [[ -z "$version" ]] && version="(unset)"
- echo $version
-}
-
-# $1: basename of target app
-# $2: php version to use
-
-set_current_phpversion() {
- PHP_SYMLINK_REALTARGET="${PHP_SYMLINK_TARGETDIR}/$1"
-
- if [[ -e ${PHP_SYMLINK_REALTARGET} ]] ; then
- # the target file exists
- # question is - is it a symlink, or something else?
-
- if [[ ! -L ${PHP_SYMLINK_REALTARGET} ]] ; then
- # it is something else
- #
- # be cautious - do not remove it
- die -q "${PHP_SYMLINK_REALTARGET} exists, but is not a symlink"
- fi
- fi
-
- if [[ -L ${PHP_SYMLINK_REALTARGET} ]] ; then
- # existing symlink
- if ! remove_symlink ${PHP_SYMLINK_REALTARGET} ; then
- die -q "Couldn't remove existing symlink"
- fi
- fi
-
- if ! set_symlink ${PHP_SYMLINK_REALTARGET} "${2}" ; then
- die -q "Couldn't set a new symlink"
- fi
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current PHP version for ${PHP_HELP}"
-}
-
-do_show() {
- write_list_start "Current PHP version:"
- version=$(get_current_phpversion)
- write_kv_list_entry "$version" ""
-}
-
-### list action ###
-
-describe_list() {
- echo "List available PHP versions to link to"
-}
-
-do_list() {
- versions=( $(find_versions ) )
- current=$(get_current_phpversion)
-
- write_list_start "Available PHP versions:"
-
- if [[ -n ${versions[@]} ]] ; then
- local i
- for (( i = 0 ; i < ${#versions[@]} ; i = i + 1 )) ; do
- linkversion=${versions[${i}]}
-
- [[ $linkversion == $current ]] && \
- versions[${i}]="${versions[${i}]} $(highlight '*' )"
- done
- write_numbered_list "${versions[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set PHP version used"
-}
-
-do_set() {
- if [[ -z ${1} ]] ; then
- # no parameter
- die -q "You didn't tell me which version of PHP to use"
- fi
-
- version=$(get_phpversion_fromlist $1)
- if [[ ${version} == "(not-found)" ]] ; then
- die -q "I don't recognise that version of PHP"
- fi
-
- for (( i = 0 ; i < ${#PHP_SYMLINK_APPLIST[@]} ; i = i + 1 )) ; do
- set_current_phpversion ${PHP_SYMLINK_APPLIST[$i]} ${version}
- done
-}
-
-# vim: set ft=eselect :
diff --git a/app-admin/eselect-php/files/php-devel.eselect b/app-admin/eselect-php/files/php-devel.eselect
deleted file mode 100644
index 524120cbc809..000000000000
--- a/app-admin/eselect-php/files/php-devel.eselect
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: php-devel.eselect,v 1.1 2005/09/04 09:47:51 stuart Exp $
-
-DESCRIPTION="Manage the /usr/bin/php link"
-MAINTAINER="stuart@gentoo.org"
-SVN_DATE='$Date: 2005/09/04 09:47:51 $'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-
-PHP_SYMLINK_TARGETDIR="${ROOT}/usr/bin"
-PHP_SYMLINK_APPLIST=( php-config phpize )
-PHP_VERSIONS="4 5 6"
-PHP_HELP="php-devel"
-
-find_libdir() {
- # where has multilib put the native php binary?
- for x in lib64 lib32 lib ; do
- for y in ${PHP_VERSIONS} ; do
- if test -d /usr/${x}/php${y}/bin ; then
- libdir=${x}
- return
- fi
- done
- done
-
- # if we get here, then we can't find where PHP is installed
- # throw in any old default - it doesn't matter, because there's
- # no PHP anyway
-
- libdir=/usr/lib
-}
-
-find_versions() {
- find_libdir
-
- # how many packages are we looking for?
- musthave=${#PHP_SYMLINK_APPLIST[@]}
-
- for f in $PHP_VERSIONS ; do
- (( dohave = 0 ))
- for (( i = 0 ; i < ${#PHP_SYMLINK_APPLIST[@]} ; i = i + 1 )) ; do
- n=${PHP_SYMLINK_APPLIST[$i]}
- [[ -f ${ROOT}/usr/${libdir}/php${f}/bin/${n} ]] && (( dohave = $dohave + 1 ))
- done
-
- if (( $dohave == $musthave )) ; then
- echo "php${f}"
- fi
- done
-}
-
-# try to remove the php symlink
-#
-# $1 - symlink to remove
-
-remove_symlink() {
- [[ -L ${1} ]] && rm -f ${1}
-}
-
-# set the php symlink
-#
-# $1 - symlink to set
-# $2 - php version to set it to
-
-set_symlink() {
- PHP_BASENAME=`basename ${1}`
-
- find_libdir
- target="${ROOT}/usr/${libdir}/$2/bin/`basename $1`"
-
- pushd "`dirname $1`" 1>/dev/null
- ln -s "${target}" "${PHP_BASENAME}"
- popd 1>/dev/null
-}
-
-# work out which PHP version the user has chosen from the list
-#
-# $1: the list id that the user has chosen
-
-get_phpversion_fromlist () {
- version=$1
-
- versions=( $(find_versions) )
- for (( i = 0 ; i < ${#versions[@]} ; i = i + 1 )) ; do
- if [[ ${versions[$i]} == ${version} ]] ; then
- echo ${version}
- return
- fi
- done
-
- echo "(not-found)"
-}
-
-get_phpversion_fromlink () {
- echo $1 | sed -e 's|.*/\(php[0-9]\+\)/.*|\1|;'
-}
-
-get_current_phpversion () {
- link=$(readlink ${PHP_SYMLINK_TARGETDIR}/${PHP_SYMLINK_APPLIST[0]})
- version=$(get_phpversion_fromlink $link)
-
- [[ -z "$version" ]] && version="(unset)"
- echo $version
-}
-
-# $1: basename of target app
-# $2: php version to use
-
-set_current_phpversion() {
- PHP_SYMLINK_REALTARGET="${PHP_SYMLINK_TARGETDIR}/$1"
-
- if [[ -e ${PHP_SYMLINK_REALTARGET} ]] ; then
- # the target file exists
- # question is - is it a symlink, or something else?
-
- if [[ ! -L ${PHP_SYMLINK_REALTARGET} ]] ; then
- # it is something else
- #
- # be cautious - do not remove it
- die -q "${PHP_SYMLINK_REALTARGET} exists, but is not a symlink"
- fi
- fi
-
- if [[ -L ${PHP_SYMLINK_REALTARGET} ]] ; then
- # existing symlink
- if ! remove_symlink ${PHP_SYMLINK_REALTARGET} ; then
- die -q "Couldn't remove existing symlink"
- fi
- fi
-
- if ! set_symlink ${PHP_SYMLINK_REALTARGET} "${2}" ; then
- die -q "Couldn't set a new symlink"
- fi
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current PHP version for ${PHP_HELP}"
-}
-
-do_show() {
- write_list_start "Current PHP version:"
- version=$(get_current_phpversion)
- write_kv_list_entry "$version" ""
-}
-
-### list action ###
-
-describe_list() {
- echo "List available PHP versions to link to"
-}
-
-do_list() {
- versions=( $(find_versions ) )
- current=$(get_current_phpversion)
-
- write_list_start "Available PHP versions:"
-
- if [[ -n ${versions[@]} ]] ; then
- local i
- for (( i = 0 ; i < ${#versions[@]} ; i = i + 1 )) ; do
- linkversion=${versions[${i}]}
-
- [[ $linkversion == $current ]] && \
- versions[${i}]="${versions[${i}]} $(highlight '*' )"
- done
- write_numbered_list "${versions[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set PHP version used"
-}
-
-do_set() {
- if [[ -z ${1} ]] ; then
- # no parameter
- die -q "You didn't tell me which version of PHP to use"
- fi
-
- version=$(get_phpversion_fromlist $1)
- if [[ ${version} == "(not-found)" ]] ; then
- die -q "I don't recognise that version of PHP"
- fi
-
- for (( i = 0 ; i < ${#PHP_SYMLINK_APPLIST[@]} ; i = i + 1 )) ; do
- set_current_phpversion ${PHP_SYMLINK_APPLIST[$i]} ${version}
- done
-}
-
-# vim: set ft=eselect :
diff --git a/app-admin/eselect-php/files/php.eselect b/app-admin/eselect-php/files/php.eselect
deleted file mode 100644
index 3742b4b40b49..000000000000
--- a/app-admin/eselect-php/files/php.eselect
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: php.eselect,v 1.1 2005/09/04 09:47:51 stuart Exp $
-
-DESCRIPTION="Manage the /usr/bin/php link"
-MAINTAINER="stuart@gentoo.org"
-SVN_DATE='$Date: 2005/09/04 09:47:51 $'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-
-PHP_SYMLINK_TARGETDIR="${ROOT}/usr/bin"
-PHP_SYMLINK_APPLIST=( php )
-PHP_VERSIONS="4 5 6"
-PHP_HELP="php"
-
-find_libdir() {
- # where has multilib put the native php binary?
- for x in lib64 lib32 lib ; do
- for y in ${PHP_VERSIONS} ; do
- if test -d /usr/${x}/php${y}/bin ; then
- libdir=${x}
- return
- fi
- done
- done
-
- # if we get here, then we can't find where PHP is installed
- # throw in any old default - it doesn't matter, because there's
- # no PHP anyway
-
- libdir=/usr/lib
-}
-
-find_versions() {
- find_libdir
-
- # how many packages are we looking for?
- musthave=${#PHP_SYMLINK_APPLIST[@]}
-
- for f in $PHP_VERSIONS ; do
- (( dohave = 0 ))
- for (( i = 0 ; i < ${#PHP_SYMLINK_APPLIST[@]} ; i = i + 1 )) ; do
- n=${PHP_SYMLINK_APPLIST[$i]}
- [[ -f ${ROOT}/usr/${libdir}/php${f}/bin/${n} ]] && (( dohave = $dohave + 1 ))
- done
-
- if (( $dohave == $musthave )) ; then
- echo "php${f}"
- fi
- done
-}
-
-# try to remove the php symlink
-#
-# $1 - symlink to remove
-
-remove_symlink() {
- [[ -L ${1} ]] && rm -f ${1}
-}
-
-# set the php symlink
-#
-# $1 - symlink to set
-# $2 - php version to set it to
-
-set_symlink() {
- PHP_BASENAME=`basename ${1}`
-
- find_libdir
- target="${ROOT}/usr/${libdir}/$2/bin/`basename $1`"
-
- pushd "`dirname $1`" 1>/dev/null
- ln -s "${target}" "${PHP_BASENAME}"
- popd 1>/dev/null
-}
-
-# work out which PHP version the user has chosen from the list
-#
-# $1: the list id that the user has chosen
-
-get_phpversion_fromlist () {
- version=$1
-
- versions=( $(find_versions) )
- for (( i = 0 ; i < ${#versions[@]} ; i = i + 1 )) ; do
- if [[ ${versions[$i]} == ${version} ]] ; then
- echo ${version}
- return
- fi
- done
-
- echo "(not-found)"
-}
-
-get_phpversion_fromlink () {
- echo $1 | sed -e 's|.*/\(php[0-9]\+\)/.*|\1|;'
-}
-
-get_current_phpversion () {
- link=$(readlink ${PHP_SYMLINK_TARGETDIR}/${PHP_SYMLINK_APPLIST[0]})
- version=$(get_phpversion_fromlink $link)
-
- [[ -z "$version" ]] && version="(unset)"
- echo $version
-}
-
-# $1: basename of target app
-# $2: php version to use
-
-set_current_phpversion() {
- PHP_SYMLINK_REALTARGET="${PHP_SYMLINK_TARGETDIR}/$1"
-
- if [[ -e ${PHP_SYMLINK_REALTARGET} ]] ; then
- # the target file exists
- # question is - is it a symlink, or something else?
-
- if [[ ! -L ${PHP_SYMLINK_REALTARGET} ]] ; then
- # it is something else
- #
- # be cautious - do not remove it
- die -q "${PHP_SYMLINK_REALTARGET} exists, but is not a symlink"
- fi
- fi
-
- if [[ -L ${PHP_SYMLINK_REALTARGET} ]] ; then
- # existing symlink
- if ! remove_symlink ${PHP_SYMLINK_REALTARGET} ; then
- die -q "Couldn't remove existing symlink"
- fi
- fi
-
- if ! set_symlink ${PHP_SYMLINK_REALTARGET} "${2}" ; then
- die -q "Couldn't set a new symlink"
- fi
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current PHP version for ${PHP_HELP}"
-}
-
-do_show() {
- write_list_start "Current PHP version:"
- version=$(get_current_phpversion)
- write_kv_list_entry "$version" ""
-}
-
-### list action ###
-
-describe_list() {
- echo "List available PHP versions to link to"
-}
-
-do_list() {
- versions=( $(find_versions ) )
- current=$(get_current_phpversion)
-
- write_list_start "Available PHP versions:"
-
- if [[ -n ${versions[@]} ]] ; then
- local i
- for (( i = 0 ; i < ${#versions[@]} ; i = i + 1 )) ; do
- linkversion=${versions[${i}]}
-
- [[ $linkversion == $current ]] && \
- versions[${i}]="${versions[${i}]} $(highlight '*' )"
- done
- write_numbered_list "${versions[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set PHP version used"
-}
-
-do_set() {
- if [[ -z ${1} ]] ; then
- # no parameter
- die -q "You didn't tell me which version of PHP to use"
- fi
-
- version=$(get_phpversion_fromlist $1)
- if [[ ${version} == "(not-found)" ]] ; then
- die -q "I don't recognise that version of PHP"
- fi
-
- for (( i = 0 ; i < ${#PHP_SYMLINK_APPLIST[@]} ; i = i + 1 )) ; do
- set_current_phpversion ${PHP_SYMLINK_APPLIST[$i]} ${version}
- done
-}
-
-# vim: set ft=eselect :
diff --git a/app-admin/eselect-php/metadata.xml b/app-admin/eselect-php/metadata.xml
deleted file mode 100644
index fd3dbe39fa64..000000000000
--- a/app-admin/eselect-php/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>php</herd>
-</pkgmetadata>