debian: Build libguestfs-ocaml and libguestfs-ocaml-dev subpackages.
[libguestfs.git] / debian / control
index 6b58e63..fc49041 100644 (file)
@@ -3,24 +3,31 @@ Section: libs
 Priority: extra
 Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>
 Uploaders: Richard Jones <rjones@redhat.com>, Guido Günther <agx@sigxcpu.org>
-Build-Depends: debhelper (>= 7), autotools-dev,
+Build-Depends: debhelper (>= 7), dpkg-dev, devscripts, autotools-dev,
   febootstrap (>= 3.2),
   libreadline-dev, cdbs, libaugeas-dev, libhivex-dev, libvirt-dev,
   libmagic-dev, libncurses5-dev, libpcre3-dev, libxml2-dev,
-  qemu-system (>= 0.13) | kvm (>= 0.13),
+  gperf,
+# XXX libconfig-dev, but it is not in Debian
+  qemu-system (>= 0.13) | kvm (>= 0.13) | qemu-kvm (>= 0.13) | qemu (>= 0.13),
 # XXX how to say we need Linux >= 2.6.36?
-  mkisofs, pkg-config,
+  genisoimage, pkg-config,
 # when building from git:
-  automake, autoconf, libtool, ocaml,
+  automake, autoconf, libtool, ocaml, ocaml-findlib,
 # for python bindings:
   python-all-dev, python-support,
 # for the perl bindings:
   libtest-pod-coverage-perl, libextutils-command-perl,
   libintl-perl, libtest-pod-perl,
+  libstring-shellquote-perl,
 # for Perl virt tools
   libsys-virt-perl, libwin-hivex-perl,
 # FUSE
-  libfuse-dev, fuse-utils 
+  libfuse-dev, fuse-utils,
+# virt-resize
+  libpcre-ocaml-dev,
+# Debian OCaml
+  dh-ocaml
 Homepage: http://libguestfs.org
 Standards-Version: 3.8.2
 
@@ -29,7 +36,7 @@ Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends},
   febootstrap (>= 3.2),
 # These are needed for virtio-serial:
-  qemu-system (>= 0.13),
+  qemu-system (>= 0.13) | kvm (>= 0.13) | qemu-kvm (>= 0.13) | qemu (>= 0.13),
 # XXX how to say we need Linux >= 2.6.36?
 # For the supermin appliance (see appliance/packagelist):
   bsdmainutils,
@@ -91,6 +98,16 @@ Description: libguestfs filesystem interactive shell
  virtual machine filesystems.  It uses libguestfs and exposes all of the
  functionality of the guestfs API, see guestfs(3).
 
+Package: guestfsd
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+  bsdmainutils, diff, grub-pc, iproute,
+  libaugeas0, udev, binutils, cpio, dosfstools,
+  file, lsof, module-init-tools, net-tools, parted,
+  procps, scrub, strace, zerofree
+Description: Daemon to access to guest virtual machine through virtio serial
+ Daemon to access to guest virtual machine through virtio serial
+
 Package: guestmount
 Section: devel
 Architecture: any
@@ -228,3 +245,51 @@ Description: library for accessing and modifying guest disk images
  the guest. Also you can upload and download files and directories.
  .
  This package contains the Perl bindings.
+
+Package: libguestfs-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: library for accessing and modifying guest disk images
+ libguestfs is a library for accessing and modifying guest disk images. Amongst
+ the things this is good for: 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, and much else besides.
+ .
+ It uses Linux kernel and qemu code, and can access any type of guest
+ filesystem 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.
+ .
+ libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, what
+ filesystem is in each LV, etc.). It can also run commands in the context of 
+ the guest. Also you can upload and download files and directories.
+ .
+ This package contains the OCaml bindings (runtime).
+
+Package: libguestfs-ocaml-dev
+Architecture: any
+Depends: libguestfs-ocaml, libguestfs-dev, ocaml-findlib,
+ ${ocaml:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: library for accessing and modifying guest disk images
+ libguestfs is a library for accessing and modifying guest disk images. Amongst
+ the things this is good for: 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, and much else besides.
+ .
+ It uses Linux kernel and qemu code, and can access any type of guest
+ filesystem 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.
+ .
+ libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, what
+ filesystem is in each LV, etc.). It can also run commands in the context of 
+ the guest. Also you can upload and download files and directories.
+ .
+ This package contains the OCaml bindings.