pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libguestfs-appliance: Fixed appliance binaries for libguestfs
Module Name: pkgsrc-wip
Committed By: Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By: tnn
Date: Thu Oct 4 21:30:03 2018 +0200
Changeset: 1ccbbcce5c91f1191cb4bd3beb457883651f25ed
Modified Files:
Makefile
Added Files:
libguestfs-appliance/DESCR
libguestfs-appliance/Makefile
libguestfs-appliance/PLIST
libguestfs-appliance/distinfo
Log Message:
libguestfs-appliance: Fixed appliance binaries for libguestfs
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1ccbbcce5c91f1191cb4bd3beb457883651f25ed
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libguestfs-appliance/DESCR | 13 +++++++++++++
libguestfs-appliance/Makefile | 33 +++++++++++++++++++++++++++++++++
libguestfs-appliance/PLIST | 6 ++++++
libguestfs-appliance/distinfo | 6 ++++++
5 files changed, 59 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index f95d0826aa..108a52317d 100644
--- a/Makefile
+++ b/Makefile
@@ -1825,6 +1825,7 @@ SUBDIR+= libgtop
SUBDIR+= libgweather
SUBDIR+= libgxim
SUBDIR+= libgzstream
+SUBDIR+= libguestfs-appliance
SUBDIR+= libharu
SUBDIR+= libhttpd
SUBDIR+= libi2pd
diff --git a/libguestfs-appliance/DESCR b/libguestfs-appliance/DESCR
new file mode 100644
index 0000000000..e8625535e3
--- /dev/null
+++ b/libguestfs-appliance/DESCR
@@ -0,0 +1,13 @@
+This is the "fixed appliance", a pre-built binary appliance for libguestfs.
+
+Internally, libguestfs is implemented by running an appliance (a special type
+of small virtual machine) using qemu(1). Qemu runs as a child process of the
+main program.
+
+Inside the appliance is a Linux kernel and a complete stack of userspace
+tools (such as LVM and ext2 programs) and a small controlling daemon called
+"guestfsd". The library talks to "guestfsd" using remote procedure calls (RPC).
+There is a mostly one-to-one correspondence between libguestfs API calls and
+RPC calls to the daemon. Lastly the disk image(s) are attached to the qemu
+process which translates device access by the appliance's Linux kernel into
+accesses to the image.
diff --git a/libguestfs-appliance/Makefile b/libguestfs-appliance/Makefile
new file mode 100644
index 0000000000..604939b16a
--- /dev/null
+++ b/libguestfs-appliance/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+DISTNAME= appliance-1.38.0
+PKGNAME= libguestfs-${DISTNAME}
+CATEGORIES= emulators filesystems
+MASTER_SITES= http://download.libguestfs.org/binaries/appliance/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://libguestfs.org/guestfs-building.1.html\#using-a-prebuilt-binary-appliance
+COMMENT= Fixed appliance binaries for libguestfs
+LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2.1
+
+BUILD_DEPENDS+= qemu-[0-9]*:../../emulators/qemu
+
+EXTRACT_USING= bsdtar
+NO_CONFIGURE= yes
+USE_TOOLS+= pax
+WRKSRC= ${WRKDIR}/appliance
+
+CHECK_WRKREF_SKIP+= lib/guestfs/*
+INSTALLATION_DIRS+= lib/guestfs
+
+do-build:
+ ${PREFIX}/bin/qemu-img convert -f raw -O qcow2 -c \
+ ${WRKSRC}/root ${WRKSRC}/root.qcow2
+ rm ${WRKSRC}/root
+ ln -s root.qcow2 ${WRKSRC}/root
+
+do-install:
+ cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/lib/guestfs/.
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libguestfs-appliance/PLIST b/libguestfs-appliance/PLIST
new file mode 100644
index 0000000000..50f9554c1f
--- /dev/null
+++ b/libguestfs-appliance/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+lib/guestfs/README.fixed
+lib/guestfs/initrd
+lib/guestfs/kernel
+lib/guestfs/root
+lib/guestfs/root.qcow2
diff --git a/libguestfs-appliance/distinfo b/libguestfs-appliance/distinfo
new file mode 100644
index 0000000000..95f187ca15
--- /dev/null
+++ b/libguestfs-appliance/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (appliance-1.38.0.tar.xz) = ec284cf371566983084a5e0427ed4f7ee48bd981
+RMD160 (appliance-1.38.0.tar.xz) = 872e9d88a39fa9257c7a07c00c7f6a9e34bed7da
+SHA512 (appliance-1.38.0.tar.xz) = a423fd54627ffb9c2ae05b26ad60b9089f8119a99d30612a33921a2662ba42332ad0a7a7ad6c33b7042fc02a5c4dc9b563158650c6cb4a3eaaae6b764f7d7082
+Size (appliance-1.38.0.tar.xz) = 96537604 bytes
Home |
Main Index |
Thread Index |
Old Index