diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-10-01 19:43:48 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-10-01 21:05:56 +0200 |
commit | 2ec63c8f37bf941674ac4978f349de7f7dcf95f9 (patch) | |
tree | 81af0323f88f6f0e2aa920a5d5e681e72cc836bb /app-portage | |
parent | sys-libs/compiler-rt-sanitizers: Use pre-installed lit (diff) | |
download | gentoo-2ec63c8f37bf941674ac4978f349de7f7dcf95f9.tar.gz gentoo-2ec63c8f37bf941674ac4978f349de7f7dcf95f9.tar.bz2 gentoo-2ec63c8f37bf941674ac4978f349de7f7dcf95f9.zip |
app-portage/unsandbox: Introduce the sandbox escape tool
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/unsandbox/Manifest | 1 | ||||
-rw-r--r-- | app-portage/unsandbox/metadata.xml | 8 | ||||
-rw-r--r-- | app-portage/unsandbox/unsandbox-1.ebuild | 28 |
3 files changed, 37 insertions, 0 deletions
diff --git a/app-portage/unsandbox/Manifest b/app-portage/unsandbox/Manifest new file mode 100644 index 000000000000..5b8f98d5622f --- /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 000000000000..0319eec4c8be --- /dev/null +++ b/app-portage/unsandbox/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> +</pkgmetadata> diff --git a/app-portage/unsandbox/unsandbox-1.ebuild b/app-portage/unsandbox/unsandbox-1.ebuild new file mode 100644 index 000000000000..d474616ed9bb --- /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 +} |