app-emulation/libguestfs-appliance: 1.36.1 → 1.38.0
authorGilles Dartiguelongue <eva@gentoo.org>
Fri, 7 Dec 2018 14:42:27 +0000 (15:42 +0100)
committerGilles Dartiguelongue <eva@gentoo.org>
Fri, 7 Dec 2018 16:24:37 +0000 (17:24 +0100)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
app-emulation/libguestfs-appliance/Manifest
app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild [new file with mode: 0644]

index 655bed989ccf2428055ed2a2aebfffd694c1b814..392361c2ccf6dc16e85e6b10f47b942745d24663 100644 (file)
@@ -1 +1,2 @@
 DIST appliance-1.36.1.tar.xz 91514476 BLAKE2B 4cb328178e93b2430c85d1eb23450633220cabfa16e4dbbb11e0e5b75f7fc4c33daabc171dd19aee46ce385ec06665010e52d8dafac7581695cf40ff5d194dcb SHA512 2af550078a0e6b37e97988018f579df0e19072d06cbb53eccd85c2873850b472cabf34bbfb4e0ef5f43b5a1af4155f014eeefb85a1b05035d7916c7b1187d722
+DIST appliance-1.38.0.tar.xz 96537604 BLAKE2B 8b425b624dec274f2913ab9ff89cc02fea6c9244d6e3ee64f054d2a91f7959d9dbc03d55e9f5b4f5df835007581a18914b5c790f55b01c3398412ce5a7e9309d SHA512 a423fd54627ffb9c2ae05b26ad60b9089f8119a99d30612a33921a2662ba42332ad0a7a7ad6c33b7042fc02a5c4dc9b563158650c6cb4a3eaaae6b764f7d7082
diff --git a/app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild
new file mode 100644 (file)
index 0000000..31e8b16
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+CHECKREQS_DISK_USR=500M
+CHECKREQS_DISK_BUILD=500M
+
+inherit check-reqs
+
+DESCRIPTION="VM appliance disk image used in libguestfs package"
+HOMEPAGE="http://libguestfs.org/"
+SRC_URI="http://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+# Mixing libguestfs versions causes weird problems. #501588
+RDEPEND="!<app-emulation/libguestfs-${PV}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+       # We'll unpack the tarball directly into ${D} to speed up install.
+       # Otherwise we need to duplicate hundreds of data.
+       :
+}
+
+src_install() {
+       dodir /usr/share/guestfs
+       cd "${ED}"/usr/share/guestfs
+       unpack ${A}
+       cd appliance || die
+       dodoc README*
+       # Don't rm README.* here, at least README.fixed is needed for libguestfs, see
+       # https://bugzilla.redhat.com/show_bug.cgi?id=1183780
+       chmod 755 . || die
+       chmod 644 * || die
+
+       newenvd "${FILESDIR}"/env.file 99"${PN}"
+}