commit:     1bae0800ad08cda8053a0f9c088e82dda29dad64
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Thu Nov 22 01:13:56 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Thu Nov 22 01:13:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=1bae0800

add libguestfs-appliance

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/libguestfs-appliance/Manifest        |  4 ++
 app-emulation/libguestfs-appliance/files/env.file  |  1 +
 .../libguestfs-appliance-1.38.0.ebuild             | 44 ++++++++++++++++++++++
 app-emulation/libguestfs-appliance/metadata.xml    | 18 +++++++++
 4 files changed, 67 insertions(+)

diff --git a/app-emulation/libguestfs-appliance/Manifest 
b/app-emulation/libguestfs-appliance/Manifest
new file mode 100644
index 0000000..69900b1
--- /dev/null
+++ b/app-emulation/libguestfs-appliance/Manifest
@@ -0,0 +1,4 @@
+AUX env.file 47 BLAKE2B 
2b9034e60acea9f2300ec234a7ccdd6b438d2370808f8c30c8470c735287d1ed5ee6f75f0c1fa05423a39e558ca5daa258de44b1125999ac47e289c7c4df332d
 SHA512 
74b5c63ab4421238b4e2c54dfc9579dea719101c0b9066341ddf3aa64ff1ed739e6d38e837b388ded1f741bc57c47a52772bf22ee52318acc5cb34908f1df1fd
+DIST appliance-1.38.0.tar.xz 96537604 BLAKE2B 
8b425b624dec274f2913ab9ff89cc02fea6c9244d6e3ee64f054d2a91f7959d9dbc03d55e9f5b4f5df835007581a18914b5c790f55b01c3398412ce5a7e9309d
 SHA512 
a423fd54627ffb9c2ae05b26ad60b9089f8119a99d30612a33921a2662ba42332ad0a7a7ad6c33b7042fc02a5c4dc9b563158650c6cb4a3eaaae6b764f7d7082
+EBUILD libguestfs-appliance-1.38.0.ebuild 1062 BLAKE2B 
4279472548f0bbafdc592974217c8267ece2304838d21344035fcff6d1a15292699607c7f9454f2cdbf95f55ada9cadde4ec10a7e74e64a02da6e449c48299f1
 SHA512 
12f8ffa19b7d8a318e3b1234a4fa42f9a97b9b849e78a978b0b663b76568921ef5675f87698e18c4638c5e473acc1a3ddba2402e67ddd6dfbe2064e9510f3335
+MISC metadata.xml 596 BLAKE2B 
3d94e13ab097a9428d8025d2215fb17faa5a838a256aabb535b7060e2d9fbdc86ceac11c26dd62524703a580a5b6686497213d3278540a341c12ef321346a733
 SHA512 
cb83cbc7c3bd7bbaf82cd5aa9915416916d70cfb77f8b668d1ddce19e674fbf38998d7d9791204b7e666dc972d25f60d5d74ac6114726ca2ff5aa9071e067623

diff --git a/app-emulation/libguestfs-appliance/files/env.file 
b/app-emulation/libguestfs-appliance/files/env.file
new file mode 100644
index 0000000..577009e
--- /dev/null
+++ b/app-emulation/libguestfs-appliance/files/env.file
@@ -0,0 +1 @@
+LIBGUESTFS_PATH=/usr/share/guestfs/appliance/ 

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
index 0000000..7f91b08
--- /dev/null
+++ b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.38.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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}"
+}

diff --git a/app-emulation/libguestfs-appliance/metadata.xml 
b/app-emulation/libguestfs-appliance/metadata.xml
new file mode 100644
index 0000000..65a3cc9
--- /dev/null
+++ b/app-emulation/libguestfs-appliance/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="person">
+       <email>[email protected]</email>
+       <name>Samuel Bernardo</name>
+       <description>ssnb overlay maintainer</description>
+</maintainer>
+<maintainer type="person">
+       <email>[email protected]</email>
+       <name>Maxim Koltsov</name>
+</maintainer>
+<maintainer type="person">
+       <email>[email protected]</email>
+       <name>Richard Jones</name>
+       <description>Upstream - please CC on bugs that concerns 
upstream</description>
+</maintainer>
+</pkgmetadata>

Reply via email to