public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/virtme-ng/
Date: Wed, 29 Jan 2025 08:38:58 +0000 (UTC)	[thread overview]
Message-ID: <1738139890.54bd57e5a3e1749021e19694d27c84f393d2cb6c.flow@gentoo> (raw)

commit:     54bd57e5a3e1749021e19694d27c84f393d2cb6c
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 08:34:13 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 08:38:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54bd57e5

sys-kernel/virtme-ng: new package, add 1.32_p20250124

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-kernel/virtme-ng/Manifest                      |  9 +++
 sys-kernel/virtme-ng/metadata.xml                  | 13 +++
 .../virtme-ng/virtme-ng-1.32_p20250124.ebuild      | 92 ++++++++++++++++++++++
 3 files changed, 114 insertions(+)

diff --git a/sys-kernel/virtme-ng/Manifest b/sys-kernel/virtme-ng/Manifest
new file mode 100644
index 000000000000..8299de669776
--- /dev/null
+++ b/sys-kernel/virtme-ng/Manifest
@@ -0,0 +1,9 @@
+DIST base64-0.22.1.crate 81597 BLAKE2B 6f216a560bd36e6e6b74e908344b457594cc768d9763070e269b56a14b150cbfc4b7f599d4c2a0a5f783638170ee132f0796fefb14fcac7fd73c58db0791007a SHA512 91cf2e4e7fc8815f9b8a86a7fa722a20eee3dc1dd57111b29e420de87ce7836bcdb1db01d3cafb9a977710ef63e7cc41b7772762323e68e0e832156858aace20
+DIST bitflags-2.8.0.crate 47482 BLAKE2B cfa5dac5bb9fda57a5887773399d2507e83ed30fb0c5a332c48905f912c9b8d3c5e6493a9626a73459cb67d63973efff719ab4153a14e774ff4a632c96872ca2 SHA512 f1bc02c858432b0e1fc3b10f239c5886e51d620d55a75521bdf35c8e8f6b6cf8db97e90e08eb2e96715a2c5b28858af305eb266f1ce0c90f9d3945d6d9bdda8b
+DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+DIST cfg_aliases-0.2.1.crate 6355 BLAKE2B a758d9c88527f0e6e7cfd6d4c83eda1bcb4d6e2438189fe08e8ecbcaa78d56afc5a4873f3b82bf7da96afd690b44cdf1e44466b6da0f37c358b340481017103e SHA512 74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c
+DIST libc-0.2.169.crate 757901 BLAKE2B 1012cf93d8975aa20fc3f2332e253426ff66be6aed63ace5292cc8568ee419b0f1a4b5b39ddbb78d9c2dfd8d72eb0d068c98faa229ab55556da5e674429f0e97 SHA512 c4566330a7967efc211edf31a23647d1a33aa51fc25aa4e9337716748c8fd4be0ae63679220ff2cf6e892f37d03bc5264c55e8f082eb82574a6ec1fa8e5e45ce
+DIST log-0.4.21.crate 43442 BLAKE2B 8429b3270794d3e2c7f7d5b58bd4fa1abb9d4807ab3a1ac980ac81c11d9544635003d8cf2e608c2c0094865459108a2879f280278e121df68d09bc1561d604ba SHA512 0becc1a06b6e7048cff6c0bb8df49a16ac4772133c00239e9e9459c0811e7715c500f440cf1a9aef8d7ad74f57434559ca9b55917f588b8e476cf36eb6d4e10b
+DIST nix-0.29.0.crate 318248 BLAKE2B 3a13a88375a359cf77b28d7f77f47f178bd31ef74b7627b6701bc6fc601024706be4e9ac1a076c7cba26b64d3bac4de17aab45fe3c045aa7a36e2d9232e872ca SHA512 86c05084aa0e6238f8d48df0f5ce6e6d7661b589f4f3fbdad43387c59c0d6afafea4badf25d31db1611615de19a0b9ef18ce614846b79a47cad4e2c9367dbe7f
+DIST uzers-0.12.1.crate 29272 BLAKE2B 1a79446814c636702a8845291c8f0add0a0a6b468de8e07a7d8fc5bc3098490e48125abc809c0f44a9e47c9becb4806e29dcf390a6311f952de35a886b85d721 SHA512 93c4160bfcbdca57a3c945b73a94d1ba8612e0258950f7c10307dd57c838a0664890cbe34a98649c18fb783744423a7fd240da8b5eabe1e660a533e9b32f6260
+DIST virtme-ng-1.32_p20250124.gh.tar.gz 92665 BLAKE2B dad94fd1ba5f93f6b012f3239a3e207561ff40ab7c75ec11c263363a7d6505b23c88181d8cc6e55ef8c3589fd7e3a97741d4eaa5248151ac796c97697c115253 SHA512 02048a7ba8c80a684c346c222ea711e4838cf4441225c3d8c42cb861f7b0e0cbbaad0514ec210662d73f00550f6cc078b077b54b644b536b15fb07e589a05e0e

diff --git a/sys-kernel/virtme-ng/metadata.xml b/sys-kernel/virtme-ng/metadata.xml
new file mode 100644
index 000000000000..a12214241560
--- /dev/null
+++ b/sys-kernel/virtme-ng/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<name>Florian Schmaus</name>
+		<email>flow@gentoo.org</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">arighi/virtme-ng</remote-id>
+		<bugs-to>https://github.com/arighi/virtme-ng/issues</bugs-to>
+		<changelog>https://github.com/arighi/virtme-ng/releases</changelog>
+	</upstream>
+</pkgmetadata>

diff --git a/sys-kernel/virtme-ng/virtme-ng-1.32_p20250124.ebuild b/sys-kernel/virtme-ng/virtme-ng-1.32_p20250124.ebuild
new file mode 100644
index 000000000000..aca61e05da85
--- /dev/null
+++ b/sys-kernel/virtme-ng/virtme-ng-1.32_p20250124.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+# for virtme-ng-init
+CRATES="
+	base64@0.22.1
+	bitflags@2.8.0
+	cfg-if@1.0.0
+	cfg_aliases@0.2.1
+	libc@0.2.169
+	log@0.4.21
+	nix@0.29.0
+	uzers@0.12.1
+"
+
+inherit bash-completion-r1 cargo distutils-r1
+
+MY_COMMIT=aa57790b71a05490c773c873bccd66d96dbeea1c
+
+DESCRIPTION="Quickly build and run kernels inside a virtualized snapshot of your live system"
+HOMEPAGE="https://github.com/arighi/virtme-ng"
+
+SRC_URI="
+	https://github.com/arighi/virtme-ng/archive/${MY_COMMIT}.tar.gz
+		-> ${P}.gh.tar.gz
+	${CARGO_CRATE_URIS}
+"
+
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+LICENSE="GPL-2"
+# Dependent crate licenses for virtme-ng-init
+LICENSE+=" MIT"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+DEPEND="
+	dev-python/argcomplete[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]
+"
+# TODO: app-emulation/qemu
+RDEPEND="
+	${DEPEND}
+	app-emulation/qemu
+	app-emulation/virtiofsd
+	net-misc/openssh
+	net-misc/socat
+	sys-apps/busybox[static]
+"
+BDEPEND="dev-python/argparse-manpage[${PYTHON_USEDEP}]"
+
+src_prepare() {
+	default
+
+	sed -i /data_files=data_files/d setup.py || die
+}
+
+src_configure() {
+	distutils-r1_src_configure
+
+	cd virtme_ng_init || die
+	cargo_src_configure
+}
+
+src_compile() {
+	distutils-r1_src_compile
+
+	cd virtme_ng_init || die
+	cargo_src_compile
+}
+
+src_test() {
+	distutils-r1_src_test
+
+	cd virtme_ng_init || die
+	cargo_src_test
+}
+
+src_install() {
+	distutils-r1_src_install
+	insinto etc
+	doins cfg/${PN}.conf
+	dobashcomp virtme-ng-prompt vng-prompt
+
+	cd virtme_ng_init || die
+	cargo_src_install
+}


             reply	other threads:[~2025-01-29  8:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-29  8:38 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-01  9:18 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/virtme-ng/ Florian Schmaus
2025-03-05  8:50 Florian Schmaus
2025-03-05 12:08 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1738139890.54bd57e5a3e1749021e19694d27c84f393d2cb6c.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox