From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 874B9138334 for ; Thu, 7 Feb 2019 11:33:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9135E0A88; Thu, 7 Feb 2019 11:33:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8813CE0A88 for ; Thu, 7 Feb 2019 11:33:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0467F335DB6 for ; Thu, 7 Feb 2019 11:33:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0855535 for ; Thu, 7 Feb 2019 11:33:44 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1549539211.32944f679f6caabb71aa41400a45d640bb68a10a.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/jail/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/jail/jail-2.0-r1.ebuild X-VCS-Directories: app-misc/jail/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 32944f679f6caabb71aa41400a45d640bb68a10a X-VCS-Branch: master Date: Thu, 7 Feb 2019 11:33:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 793b569c-1ae2-42eb-ad14-d8e6413b64f8 X-Archives-Hash: 1cbe05c4e2179a6dd1351527e790c18f commit: 32944f679f6caabb71aa41400a45d640bb68a10a Author: Mikle Kolyada gentoo org> AuthorDate: Thu Feb 7 11:33:31 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Thu Feb 7 11:33:31 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32944f67 app-misc/jail: Drop old Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-misc/jail/jail-2.0-r1.ebuild | 70 ---------------------------------------- 1 file changed, 70 deletions(-) diff --git a/app-misc/jail/jail-2.0-r1.ebuild b/app-misc/jail/jail-2.0-r1.ebuild deleted file mode 100644 index 60664a83e8e..00000000000 --- a/app-misc/jail/jail-2.0-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -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="" - -DEPEND=">=sys-apps/sed-4" -RDEPEND="dev-lang/perl - dev-util/strace" - -src_prepare() { - epatch \ - "${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 -} - -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 - - # Below didn't work. Don't know why - #append-ldflags -Wl,-z,now - 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} -}