summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-11-04 13:08:26 +0100
committerPacho Ramos <pacho@gentoo.org>2018-11-04 13:33:56 +0100
commit4b798a2e805a6680abb3cb2244b17320146523f6 (patch)
treefac94bc6d7af5a7c900b9c14dc0f01a1f3dae2cc /app-misc/jail
parentapp-misc/jail: Lots of bugfixes (diff)
downloadgentoo-4b798a2e805a6680abb3cb2244b17320146523f6.tar.gz
gentoo-4b798a2e805a6680abb3cb2244b17320146523f6.tar.bz2
gentoo-4b798a2e805a6680abb3cb2244b17320146523f6.zip
app-misc/jail: Drop old
Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-misc/jail')
-rw-r--r--app-misc/jail/jail-2.0-r2.ebuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/app-misc/jail/jail-2.0-r2.ebuild b/app-misc/jail/jail-2.0-r2.ebuild
deleted file mode 100644
index 8243ee0dfd3c..000000000000
--- a/app-misc/jail/jail-2.0-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit eutils flag-o-matic
-
-DESCRIPTION="Builds a chroot and configures all the required files, directories and libraries"
-HOMEPAGE="https://github.com/spiculator/jail"
-SRC_URI="https://github.com/spiculator/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-lang/perl
- dev-util/strace
-"
-DEPEND=""
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.9-gentoo.patch
- "${FILESDIR}"/${PN}-1.9-wrongshell.patch
- "${FILESDIR}"/${PN}-1.9-multiuser-rsa.patch
- "${FILESDIR}"/${PN}-1.9-ldflags.patch
- "${FILESDIR}"/${PN}-2.0-sysmacros.patch
- "${FILESDIR}"/${PN}-2.0-symlinks.patch #659094
-)
-
-src_compile() {
- # configuration files should be installed in /etc not /usr/etc
- sed -i "s:\$4/etc:\${D}/etc:g" install.sh || die
-
- # the destination directory should be /usr not /usr/local
- sed -i -e "s:usr/local:${D}/usr:g" \
- -e "s:^COPT =.*:COPT = -Wl,-z,no:g" src/Makefile || die
-
- emake -C src CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- emake -C src install
-
- # remove //var/tmp/portage/${P}/image//usr from files
- FILES=( "${D}/usr/bin/mkjailenv"
- "${D}/usr/bin/addjailsw"
- "${D}/usr/bin/addjailuser"
- "${D}/etc/jail.conf"
- "${D}/usr/lib/libjail.pm"
- "${D}/usr/lib/arch/generic/definitions"
- "${D}/usr/lib/arch/generic/functions"
- "${D}/usr/lib/arch/linux/definitions"
- "${D}/usr/lib/arch/linux/functions"
- "${D}/usr/lib/arch/freebsd/definitions"
- "${D}/usr/lib/arch/freebsd/functions"
- "${D}/usr/lib/arch/irix/definitions"
- "${D}/usr/lib/arch/irix/functions"
- "${D}/usr/lib/arch/solaris/definitions"
- "${D}/usr/lib/arch/solaris/functions" )
-
- for f in "${FILES[@]}"; do
- sed -i "s:/${D}/usr:/usr:g" ${f} || die
- done
-
- sed -i "s:/usr/etc:/etc:" "${D}"/usr/lib/libjail.pm || die
-
- dodoc doc/{CHANGELOG,INSTALL,README,SECURITY,VERSION}
-}