[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, master, updated. debian/1.14.2-1

Hilko Bengen bengen at debian.org
Fri Nov 11 07:30:39 UTC 2011


The following commit has been merged in the master branch:
commit a563153045b695e40199660dfe2cad690dc25bb3
Author: Hilko Bengen <bengen at debian.org>
Date:   Thu Nov 10 21:38:47 2011 +0100

    Added package for Erlang bindings

diff --git a/debian/control b/debian/control
index bc7b2a7..adba737 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends: debhelper (>= 7.0.50~), autotools-dev, aptitude,
   gperf, libxml2-utils,
   qemu-kvm (>= 0.13),
   genisoimage, pkg-config,
+  erlang-dev,
   dh-ocaml, ocaml, ocaml-findlib, libpcre-ocaml-dev,
   python (>= 2.6.7-2), python-all-dev (>= 2.6.6-3~), python3-all-dev,
   libtest-pod-coverage-perl, libextutils-command-perl, libintl-perl, libtest-pod-perl,
@@ -410,3 +411,29 @@ Description: guest disk image management system - OCaml development files
  .
  This package contains all the files needed to develop OCaml programs
  which use OCaml bindings to libguestfs.
+
+Package: erlang-guestfs
+Section: interpreters
+Architecture: i386 amd64
+Depends: ${erlang-base:Depends}, ${erlang-abi:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: guest disk image management system - OCaml development files
+ The libguestfs library allows accessing and modifying guest disk
+ images. It offers the following features, among many others:
+  * making batch configuration changes to guests;
+  * viewing and editing files inside guests;
+  * getting disk used/free statistics;
+  * migrating between virtualization systems;
+  * performing partial backups;
+  * performing partial guest clones;
+  * cloning guests and changing registry/UUID/hostname info.
+ .
+ It uses the Linux kernel and qemu code, and can access any type of guest
+ file system that Linux and qemu can, including but not limited to: ext2/3/4,
+ btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, qcow2,
+ vmdk.
+ .
+ The library provides ways to enumerate guest storage (such as partitions, LVs,
+ what file system is in each LV, etc.); to run commands in the context of the
+ guest; and to upload and download files and directories.
+ .
+ This package contains Erlang bindings to libguestfs.
diff --git a/debian/erlang-guestfs.dirs b/debian/erlang-guestfs.dirs
new file mode 100644
index 0000000..1a940c3
--- /dev/null
+++ b/debian/erlang-guestfs.dirs
@@ -0,0 +1,3 @@
+/usr/bin
+/usr/lib/erlang/lib
+/usr/share/man/man3
diff --git a/debian/erlang-guestfs.install b/debian/erlang-guestfs.install
new file mode 100644
index 0000000..6984b40
--- /dev/null
+++ b/debian/erlang-guestfs.install
@@ -0,0 +1,3 @@
+/usr/bin/erl-guestfs
+/usr/lib/erlang/lib/libguestfs*
+/usr/share/man/man3/guestfs-erlang.3
\ No newline at end of file
diff --git a/debian/erlang-guestfs.lintian-overrides b/debian/erlang-guestfs.lintian-overrides
new file mode 100644
index 0000000..e8ed66e
--- /dev/null
+++ b/debian/erlang-guestfs.lintian-overrides
@@ -0,0 +1 @@
+erlang-guestfs: virtual-package-depends-without-real-package-depends
diff --git a/debian/rules b/debian/rules
index da57b29..29e977a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,6 @@ COMMON_CONFIG_FLAGS = \
 	--with-java-home=no  \
 	--disable-ruby       \
 	--disable-haskell    \
-	--disable-erlang     \
 	--disable-php
 
 override_dh_auto_clean:
@@ -32,6 +31,7 @@ override_dh_auto_configure:
 		    $(COMMON_CONFIG_FLAGS) \
 	            --disable-daemon --disable-fuse \
 	            --disable-ocaml --disable-perl \
+		    --disable-erlang \
 	            PYTHON=$$p ; \
 	    fi ; \
 	done
@@ -91,6 +91,7 @@ override_dh_install:
 		debian/build-${PYTHON_DEFAULT}/appliance/supermin.d/daemon.img \
 		debian/tmp/usr/lib/guestfs/supermin.d/
 
+	erlang-depends -perlang-guestfs
 	dh_install
 
 %:

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list