summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandall2013-09-17 17:17:38 -0700
committerEric Sandall2013-09-17 17:17:38 -0700
commit193ec830ba4fb6f899fcfd7b3407fcb2aceec7f2 (patch)
treecdf3bce7220667b4b1afa8371d6e6f26fd4a1fb6
parent74f2a8bd4a076e27f5f718ebaefc5f596c930eae (diff)
libguestfs: Set of tools for virtual machine disk images
This and supermin need more work to fully support SMGL.
-rw-r--r--ChangeLog1
-rwxr-xr-xutils/libguestfs/BUILD7
-rwxr-xr-xutils/libguestfs/DEPENDS78
-rwxr-xr-xutils/libguestfs/DETAILS29
-rw-r--r--utils/libguestfs/HISTORY3
5 files changed, 118 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ad6792ed9..ff66a40022 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* redhat.gpg: Add E1B768A0 for libguestfs and supermin from Red Hat
See https://www.redhat.com/archives/libguestfs/2013-May/msg00005.html
* utils/supermin: Added Tool for building supermin appliances
+ * utils/libguestfs: Added Set of tools for virtual machine disk images
2013-09-15 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* utils/input-utils: new spell, a set of tools for debugging input
diff --git a/utils/libguestfs/BUILD b/utils/libguestfs/BUILD
new file mode 100755
index 0000000000..da3c3f1401
--- /dev/null
+++ b/utils/libguestfs/BUILD
@@ -0,0 +1,7 @@
+# Disabling daemon as it fails to link during build
+# Disabling appliacen as supermin needs to be ported to Sorcery for this to work
+OPTS="--disable-daemon \
+ --disable-appliance \
+ $OPTS" &&
+
+default_build
diff --git a/utils/libguestfs/DEPENDS b/utils/libguestfs/DEPENDS
new file mode 100755
index 0000000000..cf2dbf31c1
--- /dev/null
+++ b/utils/libguestfs/DEPENDS
@@ -0,0 +1,78 @@
+depends genisoimage &&
+depends supermin &&
+
+optional_depends 'erlang' \
+ '--enable-erlang' \
+ '--disable-erlang' \
+ 'for Erlang language bindings' &&
+
+optional_depends 'fuse' \
+ '--enable-fuse' \
+ '--disable-fuse' \
+ 'for FUSE (guestmount) support' &&
+
+optional_depends 'ghc' \
+ '--enable-haskell' \
+ '--disable-haskell' \
+ 'for Haskell language bindings' &&
+
+optional_depends 'glib2' \
+ '--enable-gobject' \
+ '--disable-gobject' \
+ 'for GObject bindings' &&
+
+optional_depends 'gobject-introspection' \
+ '--enable-introspection=yes' \
+ '--enable-introspection=no' \
+ 'for GObject introspection' &&
+
+optional_depends 'gtk-doc' \
+ '--enable-gtk-doc' \
+ '--disable-gtk-doc' \
+ 'to build documentation' &&
+
+optional_depends 'JDK' \
+ '--with-java' \
+ '--without-java' \
+ 'for Java language bindings' &&
+
+optional_depends 'libvirt' \
+ '--with-libvirt --with-default-backend=libvirt' \
+ '--without-libvirt' \
+ 'for libvirt support' &&
+
+optional_depends 'lua' \
+ '--enable-lua' \
+ '--disable-lua' \
+ 'for Lua language bindings' &&
+
+optional_depends 'ocaml' \
+ '--enable-ocaml' \
+ '--disable-ocaml' \
+ 'for OCaml language bindings' &&
+
+optional_depends 'perl' \
+ '--enable-perl' \
+ '--disable-perl' \
+ 'for perl language bindings' &&
+
+optional_depends 'PHP' \
+ '--enable-php' \
+ '--disable-php' \
+ 'for PHP language bindings' &&
+
+# Untested with Python 3
+optional_depends 'python' \
+ '--enable-python' \
+ '--disable-python' \
+ 'for Python language bindings' &&
+
+optional_depends 'readline' \
+ '--with-readline' \
+ '--without-readline' \
+ 'for fancy command line editing' &&
+
+optional_depends 'RUBY' \
+ '--enable-ruby' \
+ '--disable-ruby' \
+ 'for Ruby language bindings'
diff --git a/utils/libguestfs/DETAILS b/utils/libguestfs/DETAILS
new file mode 100755
index 0000000000..c35e71f8af
--- /dev/null
+++ b/utils/libguestfs/DETAILS
@@ -0,0 +1,29 @@
+ SPELL=libguestfs
+ VERSION=1.22.6
+ BRANCH="$(echo ${VERSION} | cut -d. -f1,2)"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE2="${SOURCE}.sig"
+ SOURCE_GPG="redhat.gpg:${SOURCE2}:UPSTREAM_HASH"
+ SOURCE2_IGNORE="signature"
+ SOURCE_URL[0]="http://libguestfs.org/download/${BRANCH}-stable/${SOURCE}"
+ SOURCE2_URL[0]="http://libguestfs.org/download/${BRANCH}-stable/${SOURCE2}"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://libguestfs.org"
+ LICENSE[0]="GPL/LGPL"
+ ENTERED=20130917
+ SHORT="Set of tools for virtual machine disk images"
+cat << EOF
+libguestfs is a set of tools for accessing and modifying virtual machine (VM)
+disk images. You can use this for viewing and editing files inside guests,
+scripting changes to VMs, monitoring disk used/free statistics, P2V, V2V,
+performing partial backups, cloning VMs, and much else besides.
+
+libguestfs can access nearly any type of filesystem including: all known types
+of Linux filesystem (ext2/3/4, XFS, btrfs etc), any Windows filesystem (VFAT
+and NTFS), any Mac OS X and BSD filesystems, LVM2 volume management, MBR and
+GPT disk partitions, raw disks, qcow2, VirtualBox VDI, VMWare VMDK, Hyper-V
+VHD/VHDX, on files, local devices, CD and DVD ISOs, SD cards, or remotely over
+FTP, HTTP, ssh, iSCSI, NBD, Gluster, Ceph, Sheepdog, and much much more.
+
+libguestfs doesn't need root permissions.
+EOF
diff --git a/utils/libguestfs/HISTORY b/utils/libguestfs/HISTORY
new file mode 100644
index 0000000000..3a2a070dd8
--- /dev/null
+++ b/utils/libguestfs/HISTORY
@@ -0,0 +1,3 @@
+2013-09-17 Eric Sandall <sandalle@sourcemage.org>
+ * Created
+