1
0
mirror of synced 2024-12-22 21:00:20 +01:00

app-misc/gebuilder: new package

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Horea Christian <horea.christ@yandex.com>
This commit is contained in:
Horea Christian 2019-02-27 18:51:46 +01:00
parent 5eaf9f1073
commit 4e36458c96
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,5 @@
*gebuilder-9999 (27 Feb 2019)
27 Feb 2019; Horea Christian <h.chr@mail.ru> +gebuilder-9999.ebuild,
+metadata.xml:
app-misc/gebuilder: new package

View File

@ -0,0 +1,50 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Gentoo System and Image Builder"
HOMEPAGE="https://github.com/IBT-FMI/gebuilder"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="autoupdate btrfs docker"
DEPEND="
>=app-shells/bash-4.2:*
dev-python/python-glanceclient
net-misc/rsync
sys-apps/portage
sys-apps/util-linux
sys-boot/syslinux
sys-fs/duperemove
sys-kernel/dracut
"
RDEPEND="${DEPEND}
sys-process/lsof
docker? ( >=app-emulation/docker-18.05.0 )
btrfs? ( sys-fs/btrfs-progs )
autoupdate? ( virtual/cron )
"
src_unpack() {
mkdir "$S"
cp -r -L "$DOTGENTOO_PACKAGE_ROOT/${PN}/"* -t "$S"
}
src_install() {
insinto /usr/share/gebuilder
doins -r utils config
exeinto /usr/bin
doexe gebuild
insopts "-m0755"
doins -r example_hooks exec.sh scripts
if use autoupdate; then
einfo "Installing weekly cron job:"
insinto /etc/cron.weekly
doins "${FILESDIR}/gebuilder_global_update"
fi
}

View File

@ -0,0 +1,22 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>horea.christ@gmail.com</email>
<name>Horea Christian</name>
</maintainer>
<longdescription lang="en">
GeBuilder is a Gentoo system and image builder which can produce system tarballs,
OpenStack Images, and Docker containers based on the .gentoo live package
distribution standard.
</longdescription>
<use>
<flag name="autoupdate">Configures the system to auto-update existing images.</flag>
<flag name="btrfs">Enable support for btrfs filesystem formatting
(saves space for many images).</flag>
<flag name="docker">Ensure prerequisites for Docker scripts are met.</flag>
</use>
<upstream>
<remote-id type="github">IBT-FMI/gebuilder</remote-id>
</upstream>
</pkgmetadata>