* [gentoo-commits] dev/heroxbd:master commit in: app-admin/eselect-boost/files/, app-admin/eselect-boost/, app-admin/, ...
@ 2013-10-12 1:45 Benda XU
0 siblings, 0 replies; only message in thread
From: Benda XU @ 2013-10-12 1:45 UTC (permalink / raw
To: gentoo-commits
commit: 48e6efaadbff6c48cc4c4636fa222b1c73c941eb
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 12:18:02 2013 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 12:18:02 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/heroxbd.git;a=commit;h=48e6efaa
remove eselect-boost, dpkg. patch glibc shell calls.
---
app-admin/eselect-boost.patch | 161 -------------
app-admin/eselect-boost/ChangeLog | 95 --------
app-admin/eselect-boost/Manifest | 8 -
app-admin/eselect-boost/eselect-boost-0.2.ebuild | 22 --
app-admin/eselect-boost/eselect-boost-0.3.ebuild | 25 --
app-admin/eselect-boost/eselect-boost-0.4.ebuild | 29 ---
app-admin/eselect-boost/files/boost.eselect-0.2 | 205 -----------------
app-admin/eselect-boost/files/boost.eselect-0.3 | 229 -------------------
app-admin/eselect-boost/files/boost.eselect-0.4 | 254 ---------------------
app-admin/eselect-boost/metadata.xml | 9 -
app-arch/dpkg/Manifest | 2 -
app-arch/dpkg/dpkg-1.15.8.6.ebuild | 93 --------
app-arch/dpkg/files/dpkg-1.15.5.6-bootstrap.patch | 23 --
sys-libs/glibc/Manifest | 4 +-
.../files/2.17/glibc-2.17-runtime-prefix.patch | 26 +++
sys-libs/glibc/glibc-2.17.ebuild | 3 +-
16 files changed, 30 insertions(+), 1158 deletions(-)
diff --git a/app-admin/eselect-boost.patch b/app-admin/eselect-boost.patch
deleted file mode 100644
index 0a5a97c..0000000
--- a/app-admin/eselect-boost.patch
+++ /dev/null
@@ -1,161 +0,0 @@
-diff -Naurp eselect-boost.old/eselect-boost-0.4.ebuild eselect-boost/eselect-boost-0.4.ebuild
---- eselect-boost.old/eselect-boost-0.4.ebuild 2012-05-17 01:01:01.000000000 +0900
-+++ eselect-boost/eselect-boost-0.4.ebuild 2012-05-21 19:44:03.300079056 +0900
-@@ -2,6 +2,8 @@
- # Distributed under the terms of the GNU General Public License v2
- # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.4.ebuild,v 1.6 2012/05/16 15:38:05 jer Exp $
-
-+EAPI="4"
-+
- inherit multilib
-
- DESCRIPTION="boost module for eselect"
-@@ -10,16 +12,17 @@ SRC_URI=""
-
- LICENSE="GPL-2"
- SLOT="0"
--KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
-+KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
- IUSE=""
-
- DEPEND=""
- RDEPEND=">=app-admin/eselect-1.0.5"
-+S="${WORKDIR}"
-
- src_install() {
- local mdir="/usr/share/eselect/modules"
- dodir ${mdir}
-- sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
-+ sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${ED}${mdir}/boost.eselect" || die "failed to install"
-
- keepdir /etc/eselect/boost
- keepdir /usr/share/boost-eselect/profiles
-diff -Naurp eselect-boost.old/files/boost.eselect-0.4 eselect-boost/files/boost.eselect-0.4
---- eselect-boost.old/files/boost.eselect-0.4 2012-04-02 09:51:03.000000000 +0900
-+++ eselect-boost/files/boost.eselect-0.4 2012-05-21 19:39:12.337065431 +0900
-@@ -17,7 +17,7 @@ _suffices="|-debug"
- find_targets() {
- local f
- # use ls here to get a really empty set in case no boost is installed
-- for d in $(ls -d "${ROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do
-+ for d in $(ls -d "${EROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do
- for p in "${d}"/* ; do
- echo "boost-$(basename ${d})/$(basename ${p})"
- done
-@@ -28,7 +28,7 @@ remove_installation() {
- echo "Removing symlinks from old version"
-
- local link
-- for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
-+ for link in "${EROOT}/usr/include/boost" "${EROOT}/usr/share/boostbook" ; do
- if [[ -L "${link}" ]] ; then
- rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
- else
-@@ -36,15 +36,15 @@ remove_installation() {
- fi
- done
-
-- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
-+ pushd "${EROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
-- for lib in libboost_*.{a,so} ; do
-- [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so) ]] || continue
-+ for lib in libboost_*.{a,so,dylib} ; do
-+ [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so|dylib) ]] || continue
- rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
- done
- popd 1>/dev/null
-
-- pushd "${ROOT}"/usr/bin 1>/dev/null
-+ pushd "${EROOT}"/usr/bin 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
-@@ -53,7 +53,7 @@ remove_installation() {
-
- local python_module python_module_dir
- for python_module in mpi.py mpi_debug.py ; do
-- for python_module_dir in "${ROOT}"usr/%LIBDIR%/python*/site-packages ; do
-+ for python_module_dir in "${EROOT}"usr/%LIBDIR%/python*/site-packages ; do
- if [[ -e "${python_module_dir}/${python_module}" ]] ; then
- rm "${python_module_dir}/${python_module}" || die -q "Unable to remove \"${python_module_dir}/${python_module}\""
- fi
-@@ -62,7 +62,7 @@ remove_installation() {
-
- # Deprecated code for older versions of Boost.
- local mod="mpi.so"
-- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
-+ for moddir in "${EROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- if [ -L "${moddir}/${mod}" ] ; then
- rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
- else
-@@ -77,10 +77,10 @@ remove_installation() {
- echo "from ${target_python_module} import *" > "${ROOT}${wrapper_python_module}" || die -q "Couldn't create wrapper python module \"$(pwd)/${wrapper_python_module}\""
- done
-
-- if [ -L "${ROOT}/etc/eselect/boost/active" ] ; then
-- rm "${ROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${ROOT}/etc/eselect/boost/active\" symlink"
-+ if [ -L "${EROOT}/etc/eselect/boost/active" ] ; then
-+ rm "${EROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${EROOT}/etc/eselect/boost/active\" symlink"
- else
-- [[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
-+ [[ -e "${EROOT}/etc/eselect/boost/active" ]] && die -q "\"${EROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
- fi
- }
-
-@@ -95,10 +95,10 @@ set_installation() {
- version="${version/boost-}"
- version="${version/./_}"
-
-- cd "${ROOT}/etc/eselect/boost"
-- ln -s "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}"
-+ cd "${EROOT}/etc/eselect/boost"
-+ ln -s "${EROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}"
-
-- . "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}"
-+ . "${EROOT}/usr/share/boost-eselect/profiles/${target//boost-}"
-
- for t in ${dirs} ${bins} ${libs} ; do
- [[ -e "${ROOT}${t}" ]] || die -q "\"${t}\" listed as target does not exist"
-@@ -112,7 +112,7 @@ set_installation() {
- done
-
- [[ -d "${ROOT}${includes}" ]] || die -q "\"${includes}\" does not exist"
-- pushd "${ROOT}/usr/include" 1>/dev/null
-+ pushd "${EROOT}/usr/include" 1>/dev/null
- ln -s ${includes//\/usr\/include\/} boost || die -q "Couldn't create symlink \"/usr/include/boost\""
- popd 1>/dev/null
-
-@@ -144,8 +144,8 @@ do_show() {
- local include
-
- write_list_start "Current boost version:"
-- if [[ -L "${ROOT}"/usr/include/boost ]] ; then
-- include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
-+ if [[ -L "${EROOT}"/usr/include/boost ]] ; then
-+ include=$(basename $(dirname $(canonicalise "${EROOT}"/usr/include/boost )))
- write_kv_list_entry "${include%/}" ""
- else
- write_kv_list_entry "(unset)" ""
-@@ -163,8 +163,8 @@ do_list() {
- write_list_start "Available boost versions:"
- if [[ -n "${targets[@]}" ]] ; then
- local i
-- local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active")
-- active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-}
-+ local active_slot=$(canonicalise "${EROOT}/etc/eselect/boost/active")
-+ active_slot=${active_slot/"${EROOT}/usr/share/boost-eselect/profiles/"/boost-}
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == ${active_slot} ]] ; then
- targets[${i}]="${targets[${i}]} $(highlight '*' )"
-@@ -217,8 +217,8 @@ do_update() {
- profile="default"
-
- # extract profile if there's already one boost version selected
-- if [ -L "${ROOT}"/etc/eselect/boost/active ] ; then
-- profile=$(basename $(canonicalise "${ROOT}/etc/eselect/boost/active"))
-+ if [ -L "${EROOT}"/etc/eselect/boost/active ] ; then
-+ profile=$(basename $(canonicalise "${EROOT}/etc/eselect/boost/active"))
- fi
-
- echo "Previously selected profile: ${profile}"
diff --git a/app-admin/eselect-boost/ChangeLog b/app-admin/eselect-boost/ChangeLog
deleted file mode 100644
index e2a22bc..0000000
--- a/app-admin/eselect-boost/ChangeLog
+++ /dev/null
@@ -1,95 +0,0 @@
-# ChangeLog for app-admin/eselect-boost
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/ChangeLog,v 1.23 2012/05/16 15:38:05 jer Exp $
-
- 16 May 2012; Jeroen Roovers <jer@gentoo.org> eselect-boost-0.4.ebuild:
- Stable for HPPA (bug #413813).
-
- 12 May 2012; Markus Meier <maekke@gentoo.org> eselect-boost-0.4.ebuild:
- arm stable, bug #413813
-
- 06 May 2012; Agostino Sarubbo <ago@gentoo.org> eselect-boost-0.4.ebuild:
- Stable for amd64, wrt bug #413813
-
- 05 May 2012; Brent Baude <ranger@gentoo.org> eselect-boost-0.4.ebuild:
- Marking eselect-boost-0.4 ppc for bug 413813
-
- 28 Apr 2012; Alexis Ballier <aballier@gentoo.org> eselect-boost-0.4.ebuild:
- keyword ~amd64-fbsd
-
-*eselect-boost-0.4 (02 Apr 2012)
-
- 02 Apr 2012; Mike Gilbert <floppym@gentoo.org> +eselect-boost-0.4.ebuild,
- +files/boost.eselect-0.4:
- Support python_modules variable for improved handling of Python modules, which
- will execute code from boost_*/__init__.py (bug #404253). Ebuild and updated
- boost.eselect by Arfrever.
-
- 28 Aug 2011; Ulrich Mueller <ulm@gentoo.org> files/boost.eselect-0.3:
- Fix spelling, bug 290968.
-
- 28 Jun 2011; Matt Turner <mattst88@gentoo.org> eselect-boost-0.3.ebuild:
- Add ~mips
-
- 21 Mar 2010; Brent Baude <ranger@gentoo.org> eselect-boost-0.3.ebuild:
- Marking eselect-boost-0.3 ppc64 for bug 306335
-
- 22 Jan 2010; Jeroen Roovers <jer@gentoo.org> files/boost.eselect-0.2,
- files/boost.eselect-0.3:
- Fix quoting thanks to Tobias Nielsen.
-
- 27 Dec 2009; Raúl Porcel <armin76@gentoo.org> eselect-boost-0.3.ebuild:
- alpha/arm/ia64/s390/sh/sparc stable
-
- 10 Dec 2009; Alexis Ballier <aballier@gentoo.org>
- eselect-boost-0.3.ebuild:
- keyword ~x86-fbsd
-
- 25 Oct 2009; Markus Meier <maekke@gentoo.org> eselect-boost-0.3.ebuild:
- amd64/x86 stable, bug #284686
-
- 24 Oct 2009; nixnut <nixnut@gentoo.org> eselect-boost-0.3.ebuild:
- ppc stable #284686
-
- 23 Oct 2009; Jeroen Roovers <jer@gentoo.org> eselect-boost-0.3.ebuild:
- Stable for HPPA (bug #288723).
-
- 20 May 2009; Raúl Porcel <armin76@gentoo.org> eselect-boost-0.2.ebuild,
- eselect-boost-0.3.ebuild:
- Add ~arm/~ia64/~s390/~sh wrt #269456
-
- 16 May 2009; Tobias Klausmann <klausman@gentoo.org>
- eselect-boost-0.3.ebuild:
- Keyworded on alpha, bug #269456
-
- 13 May 2009; Joseph Jezak <josejx@gentoo.org> eselect-boost-0.3.ebuild:
- Marked ~ppc/~ppc64 for bug #269456.
-
- 12 May 2009; Jeroen Roovers <jer@gentoo.org> eselect-boost-0.3.ebuild:
- Marked ~hppa too.
-
-*eselect-boost-0.3 (07 Apr 2009)
-
- 07 Apr 2009; Tiziano Müller <dev-zero@gentoo.org>
- +files/boost.eselect-0.3, +eselect-boost-0.3.ebuild:
- Version bump for new boost versions: full profile support using profile
- files.
-
- 24 Feb 2009; Ferris McCormick <fmccor@gentoo.org>
- eselect-boost-0.2.ebuild:
- Add ~sparc keyword in anticipation of testing.
-
-*eselect-boost-0.2 (06 Jan 2009)
-
- 06 Jan 2009; Tiziano Müller <dev-zero@gentoo.org>
- -files/boost.eselect-0.1, +files/boost.eselect-0.2,
- -eselect-boost-0.1.ebuild, +eselect-boost-0.2.ebuild:
- Version bump to fix bug #252828
-
-*eselect-boost-0.1 (16 Dec 2008)
-
- 16 Dec 2008; Tiziano Müller <dev-zero@gentoo.org>
- +files/boost.eselect-0.1, +metadata.xml, +eselect-boost-0.1.ebuild:
- Initial commit. Eselect module written by Łukasz Michalik with a few
- changes made by me.
-
diff --git a/app-admin/eselect-boost/Manifest b/app-admin/eselect-boost/Manifest
deleted file mode 100644
index 244dd13..0000000
--- a/app-admin/eselect-boost/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX boost.eselect-0.2 5944 RMD160 917adf0e2636fdbe1c5e74bc170aa5050bd5e0f3 SHA1 2bd97ec0f850b25583234cd25f2b452f7778e58c SHA256 1b40e527feda7186784b1a61dfdd6a0d4fedb137def8bc14e8e8c943ee035458
-AUX boost.eselect-0.3 6586 RMD160 8c63c1f5fc20353de2485aa0cd669da38e3f8020 SHA1 198edd92e66e0957e9616b36b135e48e18eec83b SHA256 9c882c7b07284ea21fa96daa5f85264deb0b0de5baf69f00e7d642575e4f1a75
-AUX boost.eselect-0.4 7779 RMD160 d4ca0eaac9195fadb141b7f640379f6e7c5f626a SHA1 defd7a4b303ea89bc8ce73ffd7fed6952ce30687 SHA256 89634ea084f27ded278cfa3b78e747a905413501f20875d24693de51b8cf611b
-EBUILD eselect-boost-0.2.ebuild 685 RMD160 a5cd993175dd9cbf19617edb95ce1b7e3c67deaa SHA1 8eb625117e21eaafb67d5684fecda8967a0d275f SHA256 97c48f868229a5e6400025c0899e514a92276c309468ea1f1b6fc36156d39de6
-EBUILD eselect-boost-0.3.ebuild 789 RMD160 c4ac9b4425e9869d372be07a704ddcc8ea402f63 SHA1 e078e876b6b73dfdda18bec936b1181215661d00 SHA256 a3cd32759ebdeccc3fec2735859911ad76d9ad35ba8b7865291cab3af912aa31
-EBUILD eselect-boost-0.4.ebuild 945 RMD160 1e726fce9a07f79d2f2ea3ab84721dd088cb32b0 SHA1 d2c56c65f846b2af39ce8459bfb0bf93508bf076 SHA256 308769b3d3ff905edc2e60e96d65988e3763e443c77a7c151dc73d43301eeee8
-MISC ChangeLog 3365 RMD160 b898bba569070b42ccbffbf30b900d01a8d91984 SHA1 e2b05a0bf02cb113c0be995ebce4087866694c0b SHA256 9f13c5a08f8932a69634d8fe5c3d552a200ed929e2c9a45d9971c1ee376e8f21
-MISC metadata.xml 261 RMD160 5334f981ef24f0e2d90bbf1fc1acfa0861684476 SHA1 9c795ec41d3c4c6c284fc88f292ae04c23083f56 SHA256 3207c8a2b1789cb857ab68170ddb6d4e9e4f970e4a110119e62e7fac0b9f6ddb
diff --git a/app-admin/eselect-boost/eselect-boost-0.2.ebuild b/app-admin/eselect-boost/eselect-boost-0.2.ebuild
deleted file mode 100644
index 20a81a7..0000000
--- a/app-admin/eselect-boost/eselect-boost-0.2.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.2.ebuild,v 1.3 2009/05/20 18:04:12 armin76 Exp $
-
-inherit multilib
-
-DESCRIPTION="boost module for eselect"
-HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
-SRC_URI=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=app-admin/eselect-1.0.5"
-
-src_install() {
- local mdir="/usr/share/eselect/modules"
- dodir ${mdir}
- sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
-}
diff --git a/app-admin/eselect-boost/eselect-boost-0.3.ebuild b/app-admin/eselect-boost/eselect-boost-0.3.ebuild
deleted file mode 100644
index 911d286..0000000
--- a/app-admin/eselect-boost/eselect-boost-0.3.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.3.ebuild,v 1.12 2011/06/28 21:32:24 mattst88 Exp $
-
-inherit multilib
-
-DESCRIPTION="boost module for eselect"
-HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
-SRC_URI=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=app-admin/eselect-1.0.5"
-
-src_install() {
- local mdir="/usr/share/eselect/modules"
- dodir ${mdir}
- sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
-
- keepdir /etc/eselect/boost
- keepdir /usr/share/boost-eselect/profiles
-}
diff --git a/app-admin/eselect-boost/eselect-boost-0.4.ebuild b/app-admin/eselect-boost/eselect-boost-0.4.ebuild
deleted file mode 100644
index c478d99..0000000
--- a/app-admin/eselect-boost/eselect-boost-0.4.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.4.ebuild,v 1.6 2012/05/16 15:38:05 jer Exp $
-
-EAPI="4"
-
-inherit multilib
-
-DESCRIPTION="boost module for eselect"
-HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=app-admin/eselect-1.0.5"
-S="${WORKDIR}"
-
-src_install() {
- local mdir="/usr/share/eselect/modules"
- dodir ${mdir}
- sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${ED}${mdir}/boost.eselect" || die "failed to install"
-
- keepdir /etc/eselect/boost
- keepdir /usr/share/boost-eselect/profiles
-}
diff --git a/app-admin/eselect-boost/files/boost.eselect-0.2 b/app-admin/eselect-boost/files/boost.eselect-0.2
deleted file mode 100644
index 7449dca..0000000
--- a/app-admin/eselect-boost/files/boost.eselect-0.2
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: boost.eselect-0.2,v 1.2 2010/01/22 15:00:56 jer Exp $
-
-# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
-# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
-
-DESCRIPTION="Manage boost installations"
-
-_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
-
-find_targets() {
- local f
- for f in "${ROOT}"/usr/include/boost-[[:digit:]]* ; do
- [[ -d "${f}" ]] && echo $(basename "${f}")
- done
-}
-
-remove_installation() {
- local link
- for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
- if [[ -L "${link}" ]] ; then
- rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
- else
- [[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
- fi
- done
-
- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
- for lib in libboost_*.{a,so} ; do
- [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]].@(a|so) ]] || continue
- rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
- done
- popd 1>/dev/null
-
- pushd "${ROOT}"/usr/bin 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
- done
- popd 1>/dev/null
-
- local mod="mpi.so"
- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- if [ -L "${moddir}/${mod}" ] ; then
- rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
- else
- [[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
- fi
- done
-}
-
-set_installation() {
- [[ -z "${2}" ]] && die -q "Too few parameters to set_installation()"
- local target="${1}"
- local version="${2}"
-
- if [[ -d "${ROOT}/usr/include/${target}" ]] ; then
- pushd "${ROOT}/usr/include" 1>/dev/null
- ln -s "${target}/boost" boost || die -q "Couldn't create symlink \"/usr/include/boost\""
- popd 1>/dev/null
-
- pushd "${ROOT}/usr/share/" 1>/dev/null
- [[ -d "boostbook-${version}" ]] && \
- ( ln -s "boostbook-${version}" "boostbook" || die -q "Couldn't create symlink \"/usr/bin/${tool}\"" )
- popd 1>/dev/null
-
- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
- for lib in libboost_*-"${version}".{a,so} ; do
- [[ -e "${lib}" ]] && \
- ( ln -s "${lib}" "${lib//-${version}}" || die -q "Couldn't create symlink \"/usr/%LIBDIR%/${lib}\"" )
- done
- popd 1>/dev/null
-
- pushd "${ROOT}/usr/bin/" 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -e "${tool}" ]] && die -q "\"/usr/bin/${tool}\" exists and isn't a symlink"
- [[ -e "${tool}-${version}" ]] && \
- ( ln -s "${tool}-${version}" "${tool}" || die -q "Couldn't create symlink \"/usr/bin/${tool}\"" )
- done
- popd 1>/dev/null
-
- local mod="mpi.so"
- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- pushd "${moddir}" 1>/dev/null
- [[ -e "${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
- [[ -e "mpi_${version}/mpi.so" ]] && \
- ( ln -s "mpi_${version}/${mod}" "${mod}" || die -q "Couldn't create symlink \"${moddir}/${mod}\"" )
- popd 1>/dev/null
- done
-
- else
- die -q "Target \"${target}\" doesn't appear to be valid!"
- fi
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current boost version used"
-}
-
-do_show() {
- local include
-
- write_list_start "Current boost version:"
- if [[ -L "${ROOT}"/usr/include/boost ]] ; then
- include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
- write_kv_list_entry "${include%/}" ""
- else
- write_kv_list_entry "(unset)" ""
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available boost versions"
-}
-
-do_list() {
- local targets=( $(find_targets ) )
- write_list_start "Available boost versions:"
- if [[ -n "${targets[@]}" ]] ; then
- local i
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- [[ "${targets[${i}]}" == $(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost))) ]] && \
- targets[${i}]="${targets[${i}]} $(highlight '*' )"
- done
- write_numbered_list "${targets[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set a new boost version"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "target : Target name or number (from 'list' action)"
-}
-
-do_set() {
- if [[ -z "${1}" ]] ; then
- # no parameter
- die -q "You didn't tell me what to set the version to"
- fi
-
- local target="${1}"
- if is_number "${target}" ; then
- targets=($(find_targets))
- target="${targets[$((${target} - 1))]}"
- fi
- local version="${target//boost-}"
-
- if [[ -L "${ROOT}"/usr/include/boost ]] ; then
- if ! remove_installation ; then
- die -q "Couldn't unset existing installation"
- elif ! set_installation "${target}" "${version}" ; then
- die -q "Couldn't set a new installation"
- fi
- elif [[ -e "${ROOT}"/usr/include/boost ]] ; then
- die -q "Sorry, existing boost installation confuses me"
- else
- set_installation "${target}" "${version}" || die -q "Couldn't set a new version"
- fi
-}
-
-### update action ###
-
-describe_update() {
- echo "Automaticly update boost version used"
-}
-
-do_update() {
- local current=
- if [[ -L "${ROOT}/usr/include/boost" ]]; then
- current=$(basename $(canonicalise "${ROOT}/usr/include/boost") )
- if [[ ! -e $(canonicalise "${ROOT}/usr/include/boost") ]]; then
- # clean up dead symlinks
- remove_installation || die -q "Couldn't remove existing installation"
- fi
- elif [[ -e "${ROOT}/usr/include/boost" ]]; then
- die -q "Sorry, \"/usr/include/boost\" exists but is not a symlink"
- fi
-
- local targets=($(find_targets))
- if [[ ${#targets[@]} -gt 0 ]]; then
- remove_installation
- local target="${targets[@]:(-1)}"
- set_installation "${target}" "${target//boost-}" || die -q "Couldn't set a new symlink"
- else
- die -q "No slotted boost version found"
- fi
-}
diff --git a/app-admin/eselect-boost/files/boost.eselect-0.3 b/app-admin/eselect-boost/files/boost.eselect-0.3
deleted file mode 100644
index 9d9f02e..0000000
--- a/app-admin/eselect-boost/files/boost.eselect-0.3
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: boost.eselect-0.3,v 1.3 2011/08/28 06:48:29 ulm Exp $
-
-# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
-# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
-
-DESCRIPTION="Manage boost installations"
-MAINTAINER="dev-zero@gentoo.org"
-VERSION="0.3"
-
-_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
-
-# ... meaning: <none> and -debug:
-_suffices="|-debug"
-
-find_targets() {
- local f
- # use ls here to get a really empty set in case no boost is installed
- for d in $(ls -d "${ROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do
- for p in "${d}"/* ; do
- echo "boost-$(basename ${d})/$(basename ${p})"
- done
- done
-}
-
-remove_installation() {
- echo "Removing symlinks from old version"
-
- local link
- for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
- if [[ -L "${link}" ]] ; then
- rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
- else
- [[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
- fi
- done
-
- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
- for lib in libboost_*.{a,so} ; do
- [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so) ]] || continue
- rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
- done
- popd 1>/dev/null
-
- pushd "${ROOT}"/usr/bin 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
- done
- popd 1>/dev/null
-
- local mod="mpi.so"
- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- if [ -L "${moddir}/${mod}" ] ; then
- rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
- else
- [[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
- fi
- done
-
- if [ -L "${ROOT}/etc/eselect/boost/active" ] ; then
- rm "${ROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${ROOT}/etc/eselect/boost/active\" symlink"
- else
- [[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
- fi
-}
-
-set_installation() {
- [[ -z "${1}" ]] && die -q "Too few parameters to set_installation()"
- local target="${1}"
-
- echo "Creating symlinks for ${target}"
-
- local profile="${target/*\/}"
- local version="${target/\/${profile}}"
- version="${version/boost-}"
- version="${version/./_}"
-
- cd "${ROOT}/etc/eselect/boost"
- ln -s "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}"
-
- . "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}"
-
- for t in ${dirs} ${bins} ${libs} ; do
- [[ -e "${ROOT}${t}" ]] || die -q "\"${t}\" listed as target does not exist"
-
- pushd "$(dirname ${ROOT}${t})" 1>/dev/null
- local ts=$(basename "${t}")
- local tt="${ts//-${version}}"
- tt="${tt//${suffix}}"
- ln -s ${ts} ${tt} || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
- popd 1>/dev/null
- done
-
- [[ -d "${ROOT}${includes}" ]] || die -q "\"${includes}\" does not exist"
- pushd "${ROOT}/usr/include" 1>/dev/null
- ln -s ${includes//\/usr\/include\/} boost || die -q "Couldn't create symlink \"/usr/include/boost\""
- popd 1>/dev/null
-
- for t in ${python} ; do
- pushd "$(dirname ${ROOT}${t})/.." 1>/dev/null
- local ts="$(basename $(dirname ${ROOT}${t}))/${t//*\/}"
- ts="${ts//${suffix}}"
- local tt=${t//*\/}
- ln -s "${ts}" "${tt}" || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
- popd 1>/dev/null
- done
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current boost version used"
-}
-
-do_show() {
- local include
-
- write_list_start "Current boost version:"
- if [[ -L "${ROOT}"/usr/include/boost ]] ; then
- include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
- write_kv_list_entry "${include%/}" ""
- else
- write_kv_list_entry "(unset)" ""
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available boost versions"
-}
-
-do_list() {
- local targets=( $(find_targets ) )
- write_list_start "Available boost versions:"
- if [[ -n "${targets[@]}" ]] ; then
- local i
- local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active")
- active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-}
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == ${active_slot} ]] ; then
- targets[${i}]="${targets[${i}]} $(highlight '*' )"
- fi
- done
- write_numbered_list "${targets[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set a new boost version"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "target : Target name or number (from 'list' action)"
-}
-
-do_set() {
- if [[ -z "${1}" ]] ; then
- # no parameter
- die -q "You didn't tell me what to set the version to"
- fi
-
- local target="${1}"
- if is_number "${target}" ; then
- targets=($(find_targets))
- target="${targets[$((${target} - 1))]}"
- fi
-
- remove_installation
- set_installation "${target}"
-}
-
-### update action ###
-
-describe_update() {
- echo "Automatically update boost version used"
-}
-
-do_update() {
- # set default profile
- profile="default"
-
- # extract profile if there's already one boost version selected
- if [ -L "${ROOT}"/etc/eselect/boost/active ] ; then
- profile=$(basename $(canonicalise "${ROOT}/etc/eselect/boost/active"))
- fi
-
- echo "Previously selected profile: ${profile}"
-
- remove_installation
-
- local targets=($(find_targets))
- [[ ${#targets[@]} -gt 0 ]] || die -q "No slotted boost version found"
-
- # contains surely the highest available version, but maybe not the right profile
- local last_target="${targets[@]:(-1)}"
- # strip profile
- local target_version="${last_target//\/*}"
-
- # in case the previously used profile isn't available anymore
- local target="${target_version}/default"
- local matching_profile_found=0
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == "${target_version}/${profile}" ]] ; then
- target="${targets[${i}]}"
- matching_profile_found=1
- break
- fi
- done
-
- if [[ "${matching_profile_found}" == 1 ]] ; then
- echo "Found a matching profile \"${profile}\" for the new version."
- else
- echo "Didn't find the previously selected profile \"${profile}\" for the new version. Resetting to \"default\"."
- fi
-
- set_installation "${target}"
-}
diff --git a/app-admin/eselect-boost/files/boost.eselect-0.4 b/app-admin/eselect-boost/files/boost.eselect-0.4
deleted file mode 100644
index 230b416..0000000
--- a/app-admin/eselect-boost/files/boost.eselect-0.4
+++ /dev/null
@@ -1,254 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: boost.eselect-0.4,v 1.1 2012/04/02 00:51:03 floppym Exp $
-
-# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
-# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
-
-DESCRIPTION="Manage boost installations"
-MAINTAINER="dev-zero@gentoo.org"
-VERSION="0.4"
-
-_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
-
-# ... meaning: <none> and -debug:
-_suffices="|-debug"
-
-find_targets() {
- local f
- # use ls here to get a really empty set in case no boost is installed
- for d in $(ls -d "${EROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do
- for p in "${d}"/* ; do
- echo "boost-$(basename ${d})/$(basename ${p})"
- done
- done
-}
-
-remove_installation() {
- echo "Removing symlinks from old version"
-
- local link
- for link in "${EROOT}/usr/include/boost" "${EROOT}/usr/share/boostbook" ; do
- if [[ -L "${link}" ]] ; then
- rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
- else
- [[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
- fi
- done
-
- pushd "${EROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
- for lib in libboost_*.{a,so,dylib} ; do
- [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so|dylib) ]] || continue
- rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
- done
- popd 1>/dev/null
-
- pushd "${EROOT}"/usr/bin 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
- done
- popd 1>/dev/null
-
- local python_module python_module_dir
- for python_module in mpi.py mpi_debug.py ; do
- for python_module_dir in "${EROOT}"usr/%LIBDIR%/python*/site-packages ; do
- if [[ -e "${python_module_dir}/${python_module}" ]] ; then
- rm "${python_module_dir}/${python_module}" || die -q "Unable to remove \"${python_module_dir}/${python_module}\""
- fi
- done
- done
-
- # Deprecated code for older versions of Boost.
- local mod="mpi.so"
- for moddir in "${EROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- if [ -L "${moddir}/${mod}" ] ; then
- rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
- else
- [[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
- fi
- done
-
- local python_module
- for python_module in ${python_modules} ; do
- local target_python_module="${python_module#*:}"
- local wrapper_python_module="${python_module%:*}"
- echo "from ${target_python_module} import *" > "${ROOT}${wrapper_python_module}" || die -q "Couldn't create wrapper python module \"$(pwd)/${wrapper_python_module}\""
- done
-
- if [ -L "${EROOT}/etc/eselect/boost/active" ] ; then
- rm "${EROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${EROOT}/etc/eselect/boost/active\" symlink"
- else
- [[ -e "${EROOT}/etc/eselect/boost/active" ]] && die -q "\"${EROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
- fi
-}
-
-set_installation() {
- [[ -z "${1}" ]] && die -q "Too few parameters to set_installation()"
- local target="${1}"
-
- echo "Creating symlinks for ${target}"
-
- local profile="${target/*\/}"
- local version="${target/\/${profile}}"
- version="${version/boost-}"
- version="${version/./_}"
-
- cd "${EROOT}/etc/eselect/boost"
- ln -s "${EROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}"
-
- . "${EROOT}/usr/share/boost-eselect/profiles/${target//boost-}"
-
- for t in ${dirs} ${bins} ${libs} ; do
- [[ -e "${ROOT}${t}" ]] || die -q "\"${t}\" listed as target does not exist"
-
- pushd "$(dirname ${ROOT}${t})" 1>/dev/null
- local ts=$(basename "${t}")
- local tt="${ts//-${version}}"
- tt="${tt//${suffix}}"
- ln -s ${ts} ${tt} || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
- popd 1>/dev/null
- done
-
- [[ -d "${ROOT}${includes}" ]] || die -q "\"${includes}\" does not exist"
- pushd "${EROOT}/usr/include" 1>/dev/null
- ln -s ${includes//"${EROOT}/usr/include/"} boost || die -q "Couldn't create symlink \"/usr/include/boost\""
- popd 1>/dev/null
-
- local python_module
- for python_module in ${python_modules} ; do
- local target_python_module="${python_module#*:}"
- local wrapper_python_module="${python_module%:*}"
- echo "from ${target_python_module} import *" > "${ROOT}${wrapper_python_module}" || die -q "Couldn't create wrapper python module \"$(pwd)/${wrapper_python_module}\""
- done
-
- # Deprecated code for older versions of Boost.
- for t in ${python} ; do
- pushd "$(dirname ${ROOT}${t})/.." 1>/dev/null
- local ts="$(basename $(dirname ${ROOT}${t}))/${t//*\/}"
- ts="${ts//${suffix}}"
- local tt=${t//*\/}
- ln -s "${ts}" "${tt}" || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
- popd 1>/dev/null
- done
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current boost version used"
-}
-
-do_show() {
- local include
-
- write_list_start "Current boost version:"
- if [[ -L "${EROOT}"/usr/include/boost ]] ; then
- include=$(basename $(dirname $(canonicalise "${EROOT}"/usr/include/boost )))
- write_kv_list_entry "${include%/}" ""
- else
- write_kv_list_entry "(unset)" ""
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available boost versions"
-}
-
-do_list() {
- local targets=( $(find_targets ) )
- write_list_start "Available boost versions:"
- if [[ -n "${targets[@]}" ]] ; then
- local i
- local active_slot=$(canonicalise "${EROOT}/etc/eselect/boost/active")
- active_slot=${active_slot/"${EROOT}/usr/share/boost-eselect/profiles/"/boost-}
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == ${active_slot} ]] ; then
- targets[${i}]="${targets[${i}]} $(highlight '*' )"
- fi
- done
- write_numbered_list "${targets[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set a new boost version"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "target : Target name or number (from 'list' action)"
-}
-
-do_set() {
- if [[ -z "${1}" ]] ; then
- # no parameter
- die -q "You didn't tell me what to set the version to"
- fi
-
- local target="${1}"
- if is_number "${target}" ; then
- targets=($(find_targets))
- target="${targets[$((${target} - 1))]}"
- fi
-
- remove_installation
- set_installation "${target}"
-}
-
-### update action ###
-
-describe_update() {
- echo "Automatically update boost version used"
-}
-
-do_update() {
- # set default profile
- profile="default"
-
- # extract profile if there's already one boost version selected
- if [ -L "${EROOT}"/etc/eselect/boost/active ] ; then
- profile=$(basename $(canonicalise "${EROOT}/etc/eselect/boost/active"))
- fi
-
- echo "Previously selected profile: ${profile}"
-
- remove_installation
-
- local targets=($(find_targets))
- [[ ${#targets[@]} -gt 0 ]] || die -q "No slotted boost version found"
-
- # contains surely the highest available version, but maybe not the right profile
- local last_target="${targets[@]:(-1)}"
- # strip profile
- local target_version="${last_target//\/*}"
-
- # in case the previously used profile isn't available anymore
- local target="${target_version}/default"
- local matching_profile_found=0
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == "${target_version}/${profile}" ]] ; then
- target="${targets[${i}]}"
- matching_profile_found=1
- break
- fi
- done
-
- if [[ "${matching_profile_found}" == 1 ]] ; then
- echo "Found a matching profile \"${profile}\" for the new version."
- else
- echo "Didn't find the previously selected profile \"${profile}\" for the new version. Resetting to \"default\"."
- fi
-
- set_installation "${target}"
-}
diff --git a/app-admin/eselect-boost/metadata.xml b/app-admin/eselect-boost/metadata.xml
deleted file mode 100644
index 64e111f..0000000
--- a/app-admin/eselect-boost/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>cpp</herd>
- <maintainer>
- <email>dev-zero@gentoo.org</email>
- <name>Tiziano Müller</name>
- </maintainer>
-</pkgmetadata>
diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest
deleted file mode 100644
index 3b682e2..0000000
--- a/app-arch/dpkg/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-AUX dpkg-1.15.5.6-bootstrap.patch 853 SHA1 4266da38c786a3a7d5111a35bb2fb5f0c8656cf6 SHA256 05ed4c2b265556767820fdf31ea9bf0da09eaafae1e39b75d634be385f05ab13
-EBUILD dpkg-1.15.8.6.ebuild 2598 SHA1 77dd27c94a1ecfd59d99392223a0d9f067f062e1 SHA256 1a2a4a1dd5366e3942b106e3762ffe91d6a62d2b81c6a6c4aa5594ed838e26ef
diff --git a/app-arch/dpkg/dpkg-1.15.8.6.ebuild b/app-arch/dpkg/dpkg-1.15.8.6.ebuild
deleted file mode 100644
index d57686d..0000000
--- a/app-arch/dpkg/dpkg-1.15.8.6.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.15.8.8.ebuild,v 1.7 2011/01/08 18:55:28 jer Exp $
-
-EAPI=3
-
-inherit eutils git multilib autotools toolchain-funcs
-
-DESCRIPTION="Package maintenance system for Debian"
-HOMEPAGE="http://packages.qa.debian.org/dpkg"
-EGIT_REPO_URI="git://git.debian.org/dpkg/dpkg.git"
-EGIT_COMMIT="81aacd4b0a84df492d0ba33110537efb6fef836d"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
-IUSE="bzip2 dselect nls test unicode zlib"
-
-LANGS="sv de es ja fr hu pl ru"
-
-for X in ${LANGS} ; do
- IUSE="${IUSE} linguas_${X}"
-done
-
-RDEPEND=">=dev-lang/perl-5.6.0
- dev-perl/TimeDate
- >=sys-libs/ncurses-5.2-r7
- zlib? ( >=sys-libs/zlib-1.1.4 )
- bzip2? ( app-arch/bzip2 )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- nls? ( app-text/po4a )
- test? (
- dev-perl/DateTime-Format-DateParse
- dev-perl/IO-String
- dev-perl/Test-Pod
- )"
-
-src_prepare() {
- git_src_prepare
-
- epatch "${FILESDIR}"/${PN}-1.15.5.6-bootstrap.patch
-
- # don't mess with linker optimisation, respect user's flags (don't break!)
- sed -i -e '/DPKG_LINKER_OPTIMISATIONS/d' configure.ac || die
-
- # Force the use of the running bash for get-version (this file is never
- # installed, so no need to worry about hardcoding a temporary bash)
- sed -i -e '1c\#!'"${BASH}" get-version || die
-
- # this test depends on a Debian only gzip extension that adds --rsyncable
- # which will therefore always fail on Gentoo. (bug #310847).
- sed -i scripts/Makefile.am \
- -e '/850_Dpkg_Compression.t/d' \
- || die "sed failed"
-
- eautopoint
- eautoreconf
-}
-
-src_configure() {
- tc-export CC
- local myconf
- if use nls; then
- myconf="--enable-nls $(use_with dselect)"
- else
- if use dselect; then
- elog "Building dselect requires USE=nls - disabling USE=dselect..."
- fi
- myconf="--disable-nls --without-dselect"
- fi
- econf \
- ${myconf} \
- $(use_with bzip2 bz2) \
- $(use_enable unicode) \
- $(use_with zlib) \
- --disable-compiler-warnings \
- --without-selinux \
- --without-start-stop-daemon
-}
-
-src_install() {
- strip-linguas ${LANGS}
- if [ -z "${LINGUAS}" ] ; then
- LINGUAS=none
- fi
-
- emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
- rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
- dodoc ChangeLog INSTALL THANKS TODO
- keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
- keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
-}
diff --git a/app-arch/dpkg/files/dpkg-1.15.5.6-bootstrap.patch b/app-arch/dpkg/files/dpkg-1.15.5.6-bootstrap.patch
deleted file mode 100644
index dd5cbf1..0000000
--- a/app-arch/dpkg/files/dpkg-1.15.5.6-bootstrap.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/m4/dpkg-arch.m4 2010-01-08 18:23:06.000000000 +0100
-+++ b/m4/dpkg-arch.m4 2010-02-05 08:13:09.000000000 +0100
-@@ -5,7 +5,7 @@
- AC_DEFUN([_DPKG_ARCHITECTURE], [
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
- $2=$(cd $srcdir/scripts; \
-- PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -q$1 2>/dev/null)
-+ pkgdatadir=.. PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -q$1 2>/dev/null)
- ])# _DPKG_ARCHITECURE
-
- # DPKG_CPU_TYPE
---- a/scripts/Dpkg/Arch.pm 2010-01-08 09:00:34.000000000 +0100
-+++ b/scripts/Dpkg/Arch.pm 2010-02-05 08:49:42.000000000 +0100
-@@ -47,8 +47,7 @@
- return $build_arch if defined $build_arch;
-
- my $build_arch = `dpkg --print-architecture`;
-- # FIXME: Handle bootstrapping
-- syserr("dpkg --print-architecture failed") if $? >> 8;
-+ if ($? >> 8) { $build_arch = get_raw_host_arch(); }
-
- chomp $build_arch;
- return $build_arch;
diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index 7351509..bac4d1f 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -7,7 +7,7 @@ AUX 2.12/glibc-2.12-hardened-pie.patch 1542 SHA256 9d11da52900a4cfdaa9052476029c
AUX 2.15/glibc-2.15-localstatedir-backport.patch 412 SHA256 465bedaaf735a48825cd6433007abfb1e40c2ef8ddf94d12d452b486c70ce36b SHA512 76506a540d47ad7e76073c3b25bc46278a9e56e34e17d49caf9fffc0622646e8e0d6905fe7d00599db02f444420ed0b9d64d3d70df78446564b137fd65021e45 WHIRLPOOL f21fb6d6eb3555421f7d90b179a7a2745e7056316eacbf209066f01e742037fd283689c5a5f5a313666a2fb79d5ad0631dbada94d9c7eb958ee01217b605533a
AUX 2.16/glibc-2.16-hardened-pie.patch 1570 SHA256 9a8d8a8268605251782b1fba509cda090f39f56edc8a5497c7b4acfc428041f7 SHA512 1dff16b1ce4ba6246336d19fac21ea6e8d5710e138a23603fa6b79896d895834b6d28bb1948c83648120ca1d038805db7dd7138ba3e28e9071254d6320cdc092 WHIRLPOOL f96487ac4bd95a99e9e70204c686c3f19bb8238cfd4a9856b031be58ac23927886f228a8b4add14213e0489a204c51ebbeb8a376311305025116b8ae45fc90c2
AUX 2.17/glibc-2.17-hardened-pie.patch 1784 SHA256 bba32e40c73aef20122b2825f31e5c3aa058b61feae4f32f336e1941f83f82d1 SHA512 9ecfe2b6c8c982a42786181d6507d5fa588a6868109065451f58a779848837bd5e69c32a24e43a186c2ff63a9784015c51487e342c87982ac074139e36c169fc WHIRLPOOL 1baffbef9e6d870ea2f2ae5be014b71020a213a1a11e9856fa207545867de444ed164cb926b2aac23471854eaaf72a87e38760702b32bfcfa639add8733d925e
-AUX 2.17/glibc-2.17-runtime-prefix.patch 16882 SHA256 712df22a8802a3b773878da3da7f632a6fb8e1f843861dbc65ae34434cf5c7c3 SHA512 55086dfd0ca9c056409d8d3d749dd023da2405b62ec20b33e663d2f91970a08bd4ab322e105add2c5c87c738a306b6799f2c7346b69f446bb5bd85fb6d0a3c84 WHIRLPOOL f6c6ececf21c7f2ef3865ff66442875369952b3c39114346c6d6ffb1bc969df3f13d7d5060443c0ebaee47640181878e923e37b803fdc38962e90c064aaef923
+AUX 2.17/glibc-2.17-runtime-prefix.patch 17804 SHA256 e756d396b563e5d8beeb17a613ab87d463724796c723723303872c98ff831ad2 SHA512 69817447b5962424e86cf3db1797ebb5a818fac3a6b1e498d52cfc20d5f09f6812b1c331b19baeed795b5b3b72edffa33714c765507e8361ce9521296d8418d5 WHIRLPOOL e68cdf9c20036a5036105123f81b3d77a8c1786f55d6c64999ba09d816bbbbb9d47807e3d5a864795855ce883691cecff733524c60fb610d2c1ee4f3348a0f1c
AUX 2.17/locale-gen_prefix.patch 2704 SHA256 0807c8979b7a1a63b48d155417ff8ecc7e14773e928a0d1fe6c349a36fcdadef SHA512 d6b41b953713f7fe0ba14af6d045fc0e6b649f278da691ca5f021d95be5cdabfc87de399880cf988fec2b189fac22864d004ec8d159e59a2348b41945de1d5db WHIRLPOOL 3c7d6b4e789ae494cebea620ed64a6ba8dd401837914f4ead72c7b2d6af94538c9a28f65781db7e6ae0d21c7fac13c531b71147fdb5456ffd39ae1246b331069
AUX 2.17/vdso-disable.patch 1136 SHA256 49006855c1ba3ae3d3aa5ed71787056dc64e993eec70a4bef05bcc9f4d824014 SHA512 6eeb6eae8b8c1777ebd18170a7651b9e95297125cfc3829786c4d02887cad4a5d768fc2950723d1d040d16d15d72491d7443a3c14ca9f20eb2adb1ba6d1649ca WHIRLPOOL 80367da491b958d0b7855d23d3225a5c17a3a7a1b1f9a54ebc093c53823a5ef1642b974b45e079aec0abff0476494368ed9afcaed83b87576ed8458b8348e41e
AUX 2.17/vdso.patch 697 SHA256 26f2089344709de9c1bdd2f974d02ff5d4c465f6ebebd5d1ac2cd72b732de201 SHA512 a303a6828ed001b16f2f5c3532890cff66a50259c2e2aa2843e992f2bed5e6141abc9e120afed25f2e1f30d77bc218c3940d680c3d73c227d2056370d5e6b806 WHIRLPOOL edcaa815b8f86e17d77f0582453a717fbbd848400bfdbd302730fec20a952a584ea8f5ba4f7175b25d84752bc895519d7baa55664073cae5037962b0c1825aa3
@@ -78,7 +78,7 @@ EBUILD glibc-2.15-r1.ebuild 8143 SHA256 94c831d06eb6cd7c153db3267dfc7811739d90b8
EBUILD glibc-2.15-r2.ebuild 7692 SHA256 1ee891da4bbb450ce16318877a9043773c34a7418eb49f7f684155e48ecc1b6b SHA512 4e0e5c7e85a514a0fed90a9e339eef8748e3a0f06211a93463db355b9b921337ead3f645a3fe8b99dbe2f12d1c03e2ffcad7e2dbe2909b5d97fa5486fe53215f WHIRLPOOL 84ab863b0f70cf8d40291a155f21c987e9b48dce005890e34e105bb3fed950d463f0b053fe2d7988a9b218dc3ccc9afb0c952845009b2e7e2569b28298f8e479
EBUILD glibc-2.15-r3.ebuild 7764 SHA256 17540bbede72db02e113f556cd3c4a6873c45be1191bade644b5a78d2557c673 SHA512 b9f856356a1dad8f51a62610defce3984477e7f8265427c7e6d21c7868bb6756de4f66b16d3184fd51180155112339e33547a2348d55a2cf1059ccbdf68f0c3f WHIRLPOOL 9c36e9f55427b2cf0180db983446d572d63be309e64b42bbe3571105446f4eddaa815081faf79fe6fc639e3ddf3e3720f11e7af2e85ea19125ef561176eaeff5
EBUILD glibc-2.16.0.ebuild 7495 SHA256 d498eb21c832602c2711b4fd8607bbb36cbbbcd701405c5f84e2dbbe9ac81774 SHA512 caa429992f3510b4a530fb7d700ba8e67664d5df406ecd198bb7481009e4413cbf9a8f366b77f0e4949670f56dd5e21d7fccee13aa4d13684cfdb8ccf6054aa9 WHIRLPOOL 1f3a56785e164b4d2f8f258bc44b6a324dee3cecd8231b030ac68efdcc007c7cc906519d4f3f3585ed327bc572b8a2ded827afdeed9aaad1b81aeeca915571f7
-EBUILD glibc-2.17.ebuild 7570 SHA256 99b486f387b55bba164f01ca95f05621c56f721ca67f3e19b9176263bbeaa7c0 SHA512 00b3a91eb189d532f1d957ddfc395a3187e68e4d9d932ef4a3119ab5f6008fa401770e369a75dae8ad994425b8ae72201e2dd0bae7b7c28c871f34ba2fdf1f0f WHIRLPOOL 128d411a2ff9fdae035d2b9db13c6806e64a1c3b92f1fa1f8ee15b423dc8352440efe530ce64934ef0ed762f316d4e014d2efe50c30e793fc1aebfac2f9aba27
+EBUILD glibc-2.17.ebuild 7607 SHA256 ccafda28cf17a274271f3b4f7f7a97c6b774b8dc24a0e1975f3958579a979367 SHA512 dafea501e9d99e3330fa20176b38fcbee12557520a95aa135bc997634e56b42f6e840ed3c94747dbfccb0f18cea002232e77ae3556a5d8a95f68000e23acc907 WHIRLPOOL 86397411115a13b401176eed39095c076f58742c3e59f36a4dbec0235da3e9f487bc79ab9304e5d11ec30e212b61f60f7d9a90cc35fd7ea96da52c80e0c240ff
EBUILD glibc-2.9_p20081201-r3.ebuild 6770 SHA256 87e75b306b69d170c7fd6083c7a40303ea292616a810c3e5302eb13ff72932b8 SHA512 3dc0d6f0b99a1e83caa8a152bb7752b8b504324876bed83657b683c73f8a3432150cb5d3b42aea11d064ee9d1a4d1788dab6c9da11cfc5cf716c214ec145e177 WHIRLPOOL 9fec37815cd88eab81f4452e02e13b96e13b1ad8284b1be7f77213280da54a9de85275cf665307d3920e36c3bc02f6005acd5316f6f2ed3dac5b3b60a80690b0
EBUILD glibc-9999.ebuild 6619 SHA256 523f30d0bd4fb9aef983b7e62e57239d089251d0f3907b6dfb70a00cbc0c2e6c SHA512 2d875c8434720b700bfc99836870e625b7c3010178a4a501e435832e826e7008764878d1e4f88d9f568d21f97de56589bff7984b37d3e9840f19492585cfe16f WHIRLPOOL 7da4b26e63d4f79592891ebd1cf1fb915d40049e8feeb61d9c55f7af601bfe2b7f1a03b1aed51f95be0451c90e93992920949c92ccd2401a0c129b600f5afdb9
MISC ChangeLog 59116 SHA256 c145cda049346dfd34078de4c7b7823136c0f4a25aab7bf2c479481966b74de2 SHA512 e2d51f169bde9d5c9ba4cd85857717b8d2fdc81e8f50fad9be9a9e426efd721de0523038960b1ea615b32d6d61a5bcc929d42a18d2db3732e008548ff3b3250e WHIRLPOOL 9bc612e38b91c84c3de5dbee260207321fdc0069c64851be83f294ecec0391ddf399a7ebe8d45a4ba5169b099597fed4edf9023541f95355028f37a01f79cda1
diff --git a/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch b/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch
index 50453b9..fd66bb9 100644
--- a/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch
+++ b/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch
@@ -424,3 +424,29 @@ Index: work/glibc-2.17/resolv/resolv.h
#endif
struct res_sym {
+Index: work/glibc-2.17/sysdeps/posix/system.c
+===================================================================
+--- work.orig/glibc-2.17/sysdeps/posix/system.c
++++ work/glibc-2.17/sysdeps/posix/system.c
+@@ -26,7 +26,7 @@
+ #include <sysdep-cancel.h>
+
+
+-#define SHELL_PATH "/bin/sh" /* Path of the shell. */
++#define SHELL_PATH "@GENTOO_PORTAGE_EPREFIX@/bin/sh" /* Path of the shell. */
+ #define SHELL_NAME "sh" /* Name to give it. */
+
+
+Index: work/glibc-2.17/libio/iopopen.c
+===================================================================
+--- work.orig/glibc-2.17/libio/iopopen.c
++++ work/glibc-2.17/libio/iopopen.c
+@@ -222,7 +222,7 @@ _IO_new_proc_open (fp, command, mode)
+ _IO_close (fd);
+ }
+
+- _IO_execl ("/bin/sh", "sh", "-c", command, (char *) 0);
++ _IO_execl ("@GENTOO_PORTAGE_EPREFIX@/bin/sh", "sh", "-c", command, (char *) 0);
+ _IO__exit (127);
+ }
+ _IO_close (child_end);
diff --git a/sys-libs/glibc/glibc-2.17.ebuild b/sys-libs/glibc/glibc-2.17.ebuild
index 4da9ff5..079a84b 100644
--- a/sys-libs/glibc/glibc-2.17.ebuild
+++ b/sys-libs/glibc/glibc-2.17.ebuild
@@ -206,7 +206,8 @@ eblit-src_unpack-post() {
eprefixify glibc-compat/nss_{compat/compat-{grp,{,s}pwd},files/files-netgrp}.c \
nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \
nss/{db-Makefile,{bug-erange,nss_files/files-init{,groups}}.c} \
- resolv/{netdb,resolv}.h sysdeps/{generic,unix/sysv/linux}/paths.h
+ resolv/{netdb,resolv}.h sysdeps/{{generic,unix/sysv/linux}/paths.h,posix/system.c} \
+ libio/iopopen.c
}
eblit-pkg_preinst-post() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-12 1:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-12 1:45 [gentoo-commits] dev/heroxbd:master commit in: app-admin/eselect-boost/files/, app-admin/eselect-boost/, app-admin/, Benda XU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox