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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42A44158498 for ; Mon, 20 May 2024 00:18:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED3CDE2A1B; Mon, 20 May 2024 00:18:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6992E2A1B for ; Mon, 20 May 2024 00:18:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9152B33BF39 for ; Mon, 20 May 2024 00:18:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC4181AFA for ; Mon, 20 May 2024 00:18:49 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1716143333.99dce31f122a6e6061b313fb46ecc181e97cd7a0.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-containers/arachsys-containers/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-containers/arachsys-containers/Manifest app-containers/arachsys-containers/arachsys-containers-1.7.ebuild app-containers/arachsys-containers/metadata.xml X-VCS-Directories: app-containers/arachsys-containers/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 99dce31f122a6e6061b313fb46ecc181e97cd7a0 X-VCS-Branch: master Date: Mon, 20 May 2024 00:18:49 +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: 426eabde-97d8-4d15-8f30-0eace50a955f X-Archives-Hash: 1dbf2baf90dc200b5f0e18df2f25f275 commit: 99dce31f122a6e6061b313fb46ecc181e97cd7a0 Author: Carlos Eduardo gmail com> AuthorDate: Sun May 19 18:27:26 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Sun May 19 18:28:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99dce31f app-containers/arachsys-containers: new package, add 1.7 Signed-off-by: Carlos Eduardo gmail.com> app-containers/arachsys-containers/Manifest | 1 + .../arachsys-containers-1.7.ebuild | 28 ++++++++++++++++++++++ app-containers/arachsys-containers/metadata.xml | 23 ++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/app-containers/arachsys-containers/Manifest b/app-containers/arachsys-containers/Manifest new file mode 100644 index 0000000000..72aa2ef7da --- /dev/null +++ b/app-containers/arachsys-containers/Manifest @@ -0,0 +1 @@ +DIST containers-1.7.tar.gz 13703 BLAKE2B c1ed49e4a7201b8f83daad7c9f54ac0532db98362d9f79fc105ee384c18b0c3f775d806337970205e35b08c0377c39f5538550f94f6578cb023b7c832f37d290 SHA512 864255909eab55f698969e48f7150f5005a65401cbd95988f780f309b50116d4a5e1c4aebc706d73b783c3a36b900dab16d8c54c4b2b8c92d977649a4f15ad93 diff --git a/app-containers/arachsys-containers/arachsys-containers-1.7.ebuild b/app-containers/arachsys-containers/arachsys-containers-1.7.ebuild new file mode 100644 index 0000000000..b266cf5d17 --- /dev/null +++ b/app-containers/arachsys-containers/arachsys-containers-1.7.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit toolchain-funcs + +MY_PN="${PN#arachsys-}" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Simple containers using Linux user namespaces" +HOMEPAGE="https://arachsys.github.io" +SRC_URI="https://github.com/arachsys/${MY_PN}/archive/refs/tags/${MY_P}.tar.gz" +# weird tag names +S="${WORKDIR}/${MY_PN}-${MY_P}" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+suid" + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="$CFLAGS" +} + +src_install() { + into / + dobin inject contain pseudo + dodoc README TIPS + use suid && fperms u+s /bin/contain /bin/pseudo +} diff --git a/app-containers/arachsys-containers/metadata.xml b/app-containers/arachsys-containers/metadata.xml new file mode 100644 index 0000000000..1810c580ff --- /dev/null +++ b/app-containers/arachsys-containers/metadata.xml @@ -0,0 +1,23 @@ + + + + + carana2099@gmail.com + Carlos E. + + + This package is a minimalist implementation of containers for Linux, making secure + containers as easy to create and use as a traditional chroot. It comprises three + utilities, contain, inject and pseudo, which use the kernel support for user + namespaces merged in Linux 3.8. + + + + allow unprivileged users to have multiple UIDs/GIDs in the container (see CVE-2014-8989 for implications) + + + + mailto:chris@arachsys.com + arachsys/containers + +