summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-05-15 14:31:11 +0000
committerSamuli Suominen <drac@gentoo.org>2008-05-15 14:31:11 +0000
commit9ddbece34ac2719153421a7de2f7291537dac4cb (patch)
tree38f6cb175705eaf8f1a926be5955fdb3071b1048 /app-emulation
parentRemove mask of disc-cover and bug-bugs-geniewhatever since they have been alr... (diff)
downloadgentoo-2-9ddbece34ac2719153421a7de2f7291537dac4cb.tar.gz
gentoo-2-9ddbece34ac2719153421a7de2f7291537dac4cb.tar.bz2
gentoo-2-9ddbece34ac2719153421a7de2f7291537dac4cb.zip
Removed x86-chroot for treecleaners, as stated by base-system: it makes no sense to have this as a package ib bug 193566
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/x86-chroot/ChangeLog42
-rw-r--r--app-emulation/x86-chroot/Manifest6
-rw-r--r--app-emulation/x86-chroot/files/initd37
-rw-r--r--app-emulation/x86-chroot/files/x86-chroot4
-rw-r--r--app-emulation/x86-chroot/metadata.xml14
-rw-r--r--app-emulation/x86-chroot/x86-chroot-2006.1.ebuild73
6 files changed, 0 insertions, 176 deletions
diff --git a/app-emulation/x86-chroot/ChangeLog b/app-emulation/x86-chroot/ChangeLog
deleted file mode 100644
index cef3200b5b5d..000000000000
--- a/app-emulation/x86-chroot/ChangeLog
+++ /dev/null
@@ -1,42 +0,0 @@
-# ChangeLog for app-emulation/x86-chroot
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/x86-chroot/ChangeLog,v 1.10 2007/08/28 11:58:41 angelos Exp $
-
- 28 Aug 2007; Christoph Mende <angelos@gentoo.org>
- x86-chroot-2006.1.ebuild:
- Removed redundant dependency on sys-apps/setarch
-
- 01 Jun 2007; Christoph Mende <angelos@gentoo.org>
- x86-chroot-2006.1.ebuild:
- Added RESTRICT=userpriv, bug 178935
-
- 08 Apr 2007; Simon Stelling <blubb@gentoo.org> metadata.xml:
- reassign to maintainer-needed
-
- 27 Jan 2007; <blubb@gentoo.org> x86-chroot-2006.1.ebuild:
- fix bug 162696
-
- 25 Jan 2007; Marius Mauch <genone@gentoo.org> x86-chroot-2006.1.ebuild:
- Replacing einfo with elog
-
- 16 Jan 2007; <blubb@gentoo.org> files/initd, files/x86-chroot,
- -x86-chroot-2006.0.ebuild:
- fix bug 162353 and remove old version
-
- 04 Oct 2006; Simon Stelling <blubb@gentoo.org> x86-chroot-2006.1.ebuild:
- tweak make.conf for bug 150022
-
-*x86-chroot-2006.1 (05 Sep 2006)
-
- 05 Sep 2006; <blubb@gentoo.org> +x86-chroot-2006.1.ebuild:
- release bump
-
- 27 Aug 2006; <blubb@gentoo.org> files/initd, x86-chroot-2006.0.ebuild:
- xhost needs to be run outside the chroot
-
-*x86-chroot-2006.0 (25 Aug 2006)
-
- 25 Aug 2006; <blubb@gentoo.org> +files/initd, +files/x86-chroot,
- +metadata.xml, +x86-chroot-2006.0.ebuild:
- initial import by me
-
diff --git a/app-emulation/x86-chroot/Manifest b/app-emulation/x86-chroot/Manifest
deleted file mode 100644
index 9b9f622f714a..000000000000
--- a/app-emulation/x86-chroot/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX initd 1442 RMD160 ee5eb105226082c87d56255dba0f5a6cb9bd3084 SHA1 958bedee6e7c2972382dc200f6c3c5d53311ec92 SHA256 21b4fa553bcfe928c6476b1bc601bb64f57f67c310cd608983545a57b8a6d17e
-AUX x86-chroot 147 RMD160 11e7cff1940f1416bb26a21e72c4ddfab528e71d SHA1 7caa06133af6fae8b9a231fdec038a4b2e7f8b7d SHA256 040815e312e836b13e3f00dbba0acf4de0e74126493b9fd80c2b0d4a2ec6f074
-DIST stage3-i686-2006.1.tar.bz2 112603344 RMD160 07b84e3115f849221fbf5a73c7d5969a46fe9814 SHA1 846daae998047a6e48532f6a3b2cd1502432a32e SHA256 5837a8f6788df03f75c1b01c29981d9faab598ed18691de0ba0983105b59d7de
-EBUILD x86-chroot-2006.1.ebuild 2356 RMD160 4f8a0456ab07ac856b705aa9ec0dfa1a81a2b1ca SHA1 817e2efe436d4547c44dab0ca2c20a44dde49a2e SHA256 c6e8179ff702cd064c51c431e8cdf0aa339e7f05d3570e2364c99f260896b1e2
-MISC ChangeLog 1392 RMD160 85a7cda64d167bad6e3eddf8a74b10a557a87b79 SHA1 d0e846e63d643d02b13ab8bf2a95b12d17c04af9 SHA256 41d39f4c807b712fec79551acba579a589f5d9ce07bf0af4df574308df838b89
-MISC metadata.xml 497 RMD160 243c6bac1c06f46a4b091ff03a2ac99d8804f793 SHA1 78d6c172d717f67318c10b2bb06cff3af705620d SHA256 82672827ab7e7dfe7dd26bb5725544a29829f6f95871652594ad02b9c0aaf7dc
diff --git a/app-emulation/x86-chroot/files/initd b/app-emulation/x86-chroot/files/initd
deleted file mode 100644
index 0bd9bb1d52ea..000000000000
--- a/app-emulation/x86-chroot/files/initd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-CHROOT_LOCATION=${CHROOT_LOCATION:-/opt/x86-chroot}
-
-depend() {
- need localmount
- need bootmisc
-}
-
-start() {
- ebegin "Mounting 32bits chroot dirs to ${CHROOT_LOCATION}"
- for loc in /dev /dev/pts /dev/shm /proc /proc/bus/usb /sys /tmp ; do
- mount -o bind ${loc} ${CHROOT_LOCATION}${loc} >/dev/null
- done
- eval "$(portageq envvar -v PORTDIR DISTDIR)"
- [[ -d ${CHROOT_LOCATION}/usr/portage/distfiles ]] || mkdir -p ${CHROOT_LOCATION}/usr/portage/distfiles
- mount -o bind ${PORTDIR} ${CHROOT_LOCATION}/usr/portage >/dev/null
- mount -o bind ${DISTDIR} ${CHROOT_LOCATION}/usr/portage/distfiles >/dev/null
- eend $? "An error occured while attempting to mount 32bit chroot directories"
-
- ebegin "Copying 32bits chroot files"
- for conffile in resolv.conf passwd shadow group gshadow hosts ; do
- [[ -f /etc/${conffile} ]] && cp -pf /etc/${conffile} ${CHROOT_LOCATION}/etc >/dev/null &
- done
- cp -Ppf /etc/localtime ${CHROOT_LOCATION}/etc >/dev/null &
- eend $? "An error occured while attempting to copy 32 bits chroot files."
-}
-
-stop() {
- ebegin "Unmounting 32bits chroot dirs"
- for loc in /dev/pts /dev/shm /dev /proc/bus/usb /proc /sys /tmp /usr/portage/distfiles /usr/portage; do
- umount -f ${CHROOT_LOCATION}${loc} >/dev/null
- done
- eend $? "An error occured while attempting to unmount 32bits chroot directories"
-}
diff --git a/app-emulation/x86-chroot/files/x86-chroot b/app-emulation/x86-chroot/files/x86-chroot
deleted file mode 100644
index 6233c243d91d..000000000000
--- a/app-emulation/x86-chroot/files/x86-chroot
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-source /etc/conf.d/x86-chroot
-which xhost &>/dev/null && xhost local:localhost &>/dev/null
-linux32 chroot ${CHROOT_LOCATION} /bin/bash
diff --git a/app-emulation/x86-chroot/metadata.xml b/app-emulation/x86-chroot/metadata.xml
deleted file mode 100644
index 3ef354b053d3..000000000000
--- a/app-emulation/x86-chroot/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>amd64</herd>
-<maintainer>
- <email>maintainer-needed@gentoo.org</email>
-</maintainer>
-<longdescription lang="en">
-x86-chroot is aimed at amd64 users that need to run 32bit software. The tool
-installs the latest Gentoo release, sets up all the needed mounts and files and
-applies the X hack to get apps using X running in the chroot.
-</longdescription>
-</pkgmetadata>
-
diff --git a/app-emulation/x86-chroot/x86-chroot-2006.1.ebuild b/app-emulation/x86-chroot/x86-chroot-2006.1.ebuild
deleted file mode 100644
index 9734ebb09383..000000000000
--- a/app-emulation/x86-chroot/x86-chroot-2006.1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/x86-chroot/x86-chroot-2006.1.ebuild,v 1.7 2007/08/28 11:58:41 angelos Exp $
-
-inherit linux-info
-
-DESCRIPTION="Provides a 32bit chroot for amd64 users"
-HOMEPAGE="http://amd64.gentoo.org/"
-SRC_URI="http://distfiles.gentoo.org/releases/x86/${PV}/stages/stage3-i686-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="${PV}"
-KEYWORDS="-* ~amd64"
-IUSE="X"
-
-RDEPEND="X? ( x11-apps/xhost )"
-
-RESTRICT="userpriv" #178935
-
-CONFIG_CHECK="IA32_EMULATION"
-CHROOT_LOCATION=${CHROOT_LOCATION:-/opt/x86-chroot}
-
-pkg_setup() {
- if [[ -e ${CHROOT_LOCATION} && -z ${IKNOWMYSHIT} ]] ; then
- eerror "ATTENTION! The location you are going to install the chroot to"
- eerror "already exists and probably contains a chroot. Re-merging ${PN}"
- eerror "will overwrite files in the chroot and likely result in a broken"
- eerror "chroot. If you still want to merge it, execute:"
- eerror ""
- eerror "export IKNOWMYSHIT=breakmychroot"
- die "Previous chroot instance found!"
- fi
- linux-info_pkg_setup
-}
-
-src_unpack() {
- cd ${WORKDIR}
- mkdir -p ".${CHROOT_LOCATION}"
- cd ".${CHROOT_LOCATION}"
- unpack ${A}
-}
-
-src_compile() {
- cat <<- EOF > "${WORKDIR}/${CHROOT_LOCATION}/etc/make.conf"
- CFLAGS="-O2 -march=i686 -msse2 -pipe"
- CHOST="i686-pc-linux-gnu"
- CXXFLAGS="\${CFLAGS}"
- EOF
-
- echo -e "env-update\nsource /etc/profile" >> "${WORKDIR}/${CHROOT_LOCATION}/root/.bashrc"
- echo "CHROOT_LOCATION=${CHROOT_LOCATION}" > "${WORKDIR}/${CHROOT_LOCATION}/etc/conf.d/${PN}"
-}
-
-src_install() {
- mv ${WORKDIR}/* ${D}/ || die "moving chroot failed!"
- newinitd ${FILESDIR}/initd ${PN} || die "could not install init.d file!"
- mkdir -p "${D}/etc/conf.d"
- echo "CHROOT_LOCATION=${CHROOT_LOCATION}" > "${D}/etc/conf.d/${PN}" || die "could not install conf.d file!"
- dobin ${FILESDIR}/${PN} || die "couldn't install x86-chroot"
-}
-
-pkg_postinst() {
- elog "Your chroot system is now installed. To do all the necessary setup"
- elog "work, run '/etc/init.d/x86-chroot start'. To start a chroot session,"
- elog "run 'x86-chroot'."
-}
-
-pkg_prerm() {
- [[ -f /etc/conf.d/${PN} ]] && source /etc/conf.d/${PN}
- ewarn "There are still files around in ${CHROOT_LOCATION}; make sure you
- manually"
- ewarn "remove that directory *after* checking the mounts for it"
-}