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 EE7AF138330 for ; Sat, 1 Oct 2016 19:06:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AEA221C084; Sat, 1 Oct 2016 19:06:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F77921C084 for ; Sat, 1 Oct 2016 19:06:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 946D83407D0 for ; Sat, 1 Oct 2016 19:06:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C3C224A5 for ; Sat, 1 Oct 2016 19:06:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1475348756.2ec63c8f37bf941674ac4978f349de7f7dcf95f9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/unsandbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/unsandbox/Manifest app-portage/unsandbox/metadata.xml app-portage/unsandbox/unsandbox-1.ebuild X-VCS-Directories: app-portage/unsandbox/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2ec63c8f37bf941674ac4978f349de7f7dcf95f9 X-VCS-Branch: master Date: Sat, 1 Oct 2016 19:06:01 +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-Archives-Salt: 530675fc-8a3a-42ff-8d8c-7f43db8dab87 X-Archives-Hash: a19f3cda45db5d5f70e7664c08236549 commit: 2ec63c8f37bf941674ac4978f349de7f7dcf95f9 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 1 17:43:48 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 1 19:05:56 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec63c8f app-portage/unsandbox: Introduce the sandbox escape tool app-portage/unsandbox/Manifest | 1 + app-portage/unsandbox/metadata.xml | 8 ++++++++ app-portage/unsandbox/unsandbox-1.ebuild | 28 ++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/app-portage/unsandbox/Manifest b/app-portage/unsandbox/Manifest new file mode 100644 index 00000000..5b8f98d --- /dev/null +++ b/app-portage/unsandbox/Manifest @@ -0,0 +1 @@ +DIST unsandbox.c 678 SHA256 806422d7cc96de98a6283ed11efcfe37d6597236d861313849fbd7a6e24e7cfa SHA512 380bb1c59442c1637de0b95450a58be7249b7943e061b3ec18464f5fa04629e27453aaefa85d48f84c4f3a0affaa9302a81d36b33a860d027280e4e9a396fd04 WHIRLPOOL b7dfe56418ec6970cf053454aebd70cf0fcc9bb7eb1f8f0583d1c6b01d6c500327407b4f9e8db118d0552546f4ea0c60ce38f8bd27bdfaeabd8804f958c59262 diff --git a/app-portage/unsandbox/metadata.xml b/app-portage/unsandbox/metadata.xml new file mode 100644 index 00000000..0319eec --- /dev/null +++ b/app-portage/unsandbox/metadata.xml @@ -0,0 +1,8 @@ + + + + + mgorny@gentoo.org + Michał Górny + + diff --git a/app-portage/unsandbox/unsandbox-1.ebuild b/app-portage/unsandbox/unsandbox-1.ebuild new file mode 100644 index 00000000..d474616 --- /dev/null +++ b/app-portage/unsandbox/unsandbox-1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="The Sandbox escapist tool" +HOMEPAGE="http://dev.gentoo.org/~mgorny/unsandbox.c" +SRC_URI="http://dev.gentoo.org/~mgorny/unsandbox.c" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S=${WORKDIR} + +src_unpack() { + cp "${DISTDIR}"/unsandbox.c "${WORKDIR}"/ || die +} + +src_compile() { + emake LDLIBS=-ldl unsandbox +} + +src_install() { + dobin unsandbox +}