sys-kernel/bliss-initramfs: re-adding package
authorJonathan Vasquez <jon@xyinn.org>
Mon, 10 Feb 2020 12:10:38 +0000 (07:10 -0500)
committerMikle Kolyada <zlogene@gentoo.org>
Tue, 11 Feb 2020 14:11:25 +0000 (17:11 +0300)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jonathan Vasquez <fearedbliss@gentoo.org>
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
sys-kernel/bliss-initramfs/Manifest [new file with mode: 0644]
sys-kernel/bliss-initramfs/bliss-initramfs-8.0.0.ebuild [new file with mode: 0644]
sys-kernel/bliss-initramfs/metadata.xml [new file with mode: 0644]

diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest
new file mode 100644 (file)
index 0000000..df67044
--- /dev/null
@@ -0,0 +1 @@
+DIST bliss-initramfs-8.0.0.tar.gz 28234 BLAKE2B fc1295d9d203e32b5339e42b7c5565f669212e8c17b570b3f8a304dae32ec242c62b74f6dbccacd710b0cc2c4418c3b4a7af64dddc36a52f23881c74457cab7d SHA512 94bf5261cd1ddbf902e026f5e20344aa7def76115009fd18fe67efe65e24b376622ee852236b540452f0f2b2c847debf145602c73dee0113ea0215c7abcbe0df
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-8.0.0.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-8.0.0.ebuild
new file mode 100644 (file)
index 0000000..a7d3488
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+inherit python-single-r1
+
+DESCRIPTION="Boot your system's rootfs from OpenZFS/LUKS"
+HOMEPAGE="https://github.com/fearedbliss/bliss-initramfs"
+SRC_URI="https://github.com/fearedbliss/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="strip"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       app-arch/cpio
+       virtual/udev"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+src_install() {
+       # Copy the main executable
+       local executable="mkinitrd.py"
+       exeinto "/opt/${PN}"
+       doexe "${executable}"
+
+       # Copy the libraries required by this executable
+       cp -r "${S}/files" "${D}/opt/${PN}" || die
+       cp -r "${S}/pkg" "${D}/opt/${PN}" || die
+
+       # Copy documentation files
+       dodoc README.md README-MORE USAGE
+
+       # Make a relative symbolic link: /sbin/bliss-initramfs
+       dosym "../opt/${PN}/${executable}" "/sbin/${PN}"
+}
diff --git a/sys-kernel/bliss-initramfs/metadata.xml b/sys-kernel/bliss-initramfs/metadata.xml
new file mode 100644 (file)
index 0000000..b09c5a9
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>fearedbliss@gentoo.org</email>
+        <name>Jonathan Vasquez</name>
+    </maintainer>
+    <upstream>
+        <remote-id type="github">fearedbliss/bliss-initramfs</remote-id>
+    </upstream>
+</pkgmetadata>