From 79b9078ece07c372fa0d1776cf3fd37d29dcfe66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sun, 29 Nov 2020 19:34:59 +0100 Subject: [PATCH] sys-apps/fchroot: new pkg; add version 0.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć --- sys-apps/fchroot/Manifest | 1 + sys-apps/fchroot/fchroot-0.1.2.ebuild | 26 ++++++++++++++++++++++++++ sys-apps/fchroot/metadata.xml | 18 ++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 sys-apps/fchroot/Manifest create mode 100644 sys-apps/fchroot/fchroot-0.1.2.ebuild create mode 100644 sys-apps/fchroot/metadata.xml diff --git a/sys-apps/fchroot/Manifest b/sys-apps/fchroot/Manifest new file mode 100644 index 0000000..8b4e0d3 --- /dev/null +++ b/sys-apps/fchroot/Manifest @@ -0,0 +1 @@ +DIST fchroot-0.1.2.tar.gz 8351 BLAKE2B 342d9fcd3df13ce0e6ef2d9ccefb66f98cd4c6cd24855bcbce2299f5a6896408a310020c85b09079778bb904476b8bb8728099a135ba4a499528acbfd578cc55 SHA512 b1cead02a25d980d42ca22bcde6c421d7ff3e6d6357f979d59286c870f3d726950a115b7e63c4e990ddcf078c58a9393271b9a756104fe539102070e4af7c77e diff --git a/sys-apps/fchroot/fchroot-0.1.2.ebuild b/sys-apps/fchroot/fchroot-0.1.2.ebuild new file mode 100644 index 0000000..df25e44 --- /dev/null +++ b/sys-apps/fchroot/fchroot-0.1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="Funtoo's franken-chroot tool - chroot from AMD64 to ARM system" +HOMEPAGE="https://code.funtoo.org/bitbucket/users/drobbins/repos/fchroot/browse" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +RESTRICT="mirror test" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ${PYTHON_DEPS} + app-emulation/qemu[qemu_softmmu_targets_x86_64,qemu_softmmu_targets_aarch64,qemu_softmmu_targets_arm,static-user] + dev-libs/glib[static-libs] + dev-libs/libpcre[static-libs] + sys-apps/attr[static-libs] + sys-libs/zlib[static-libs] +" diff --git a/sys-apps/fchroot/metadata.xml b/sys-apps/fchroot/metadata.xml new file mode 100644 index 0000000..3bcdd61 --- /dev/null +++ b/sys-apps/fchroot/metadata.xml @@ -0,0 +1,18 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + fchroot + + + fchroot, also known as "Franken-Chroot" or "Funtoo Chroot", is a utility that helps you to leverage the magic of QEMU to chroot into a non-native system. + For example, on your x86-compatible 64-bit PC, it is possible to chroot into a 32-bit or 64-bit ARM environment and have it actually work. + This is accomplished by leveraging the "binfmt-misc" functionality built-in to the Linux kernel, combined with QEMU to perform emulation of non-native instruction sets. + fchroot itself doesn't do any magic except provide a very easy-to-use mechanism to get this to work, typically requiring little or no manual configuration. + You simply run fchroot just like chroot, and everything works. + +