[Pkg-ocaml-maint-commits] [SCM] virt-mem packaging branch, master, updated. upstream/0.2.7-2-g0c074b3

Guido Guenther agx at sigxcpu.org
Thu Nov 6 16:59:36 UTC 2008


The following commit has been merged in the master branch:
commit 0c074b37cb9920feb66b6803520dcbfb67a31b5b
Author: Guido Günther <agx at sigxcpu.org>
Date:   Thu Nov 6 17:55:43 2008 +0100

    add debian packaging
    
    (almost done)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5991f92
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+virt-mem (0.2.9-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Guido Günther <agx at sigxcpu.org>  Thu, 06 Nov 2008 13:21:16 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..363a8a7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: virt-mem
+Section: admin
+Priority: extra
+Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers at lists.alioth.debian.org>
+Uploaders: Sylvain Le Gall <gildor at debian.org>, Guido Günther <agx at sigxcpu.org>
+Build-Depends: cdbs, debhelper (>= 7),autotools-dev, quilt, ocaml-nox,
+ ocaml-findlib, libvirt-ocaml-dev, libbitstring-ocaml-dev, libextlib-ocaml-dev,
+ libxml-light-ocaml-dev, camlp4-extra, libgettext-ocaml-dev, libpcre-ocaml-dev
+Standards-Version: 3.8.0
+Homepage: http://et.redhat.com/~rjones/virt-mem/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/virt-mem.git
+Vcs-Browser: http://git.debian.org/git/pkg-ocaml-maint/packages/virt-mem.git
+
+Package: virt-mem
+Architecture: any
+Depends:ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}
+Description: monitoring and management tools for virtual machines
+ These commands allow you to monitor virtual machines without needing to log
+ into the the the machine itself or install any extra software inside the
+ virtual machine:
+ .
+  * virt-uname: 'uname' command, shows OS version, architecture, etc.
+  * virt-dmesg: 'dmesg' command, shows kernel messages
+  * virt-ps: 'ps' command, shows process list
+  * virt-ifconfig: 'ifconfig' command, shows network interfaces
+ .
+ At the moment only support virtual machines running Linux kernel >= 2.6 are
+ supported.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7612f32
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,21 @@
+This package was debianized by Guido Günther <agx at sigxcpu.org> on
+Thu, 06 Nov 2008 13:21:16 +0100.
+
+It was downloaded from http://et.redhat.com/~rjones/virt-mem/
+
+Upstream Author:
+
+    Richard W.M. Jones <rjones at redhat.com>
+
+Copyright:
+
+    (C) Copyright 2008 Richard W.M. Jones, Red Hat Inc.
+
+License:
+
+    You are free to distribute this software under the terms of the GNU General
+    Public License Version 2. The full text of this license can be found in the
+    file /usr/share/common-licenses/GPL-2
+
+The Debian packaging is (C) 2008, Guido Günther <agx at sigxcpu.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..423674f
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README
+virt-mem.txt
diff --git a/debian/patches/destdir.diff b/debian/patches/destdir.diff
new file mode 100644
index 0000000..ab73669
--- /dev/null
+++ b/debian/patches/destdir.diff
@@ -0,0 +1,13 @@
+diff --git a/po/Makefile.in b/po/Makefile.in
+index 1828a68..d67890b 100644
+--- a/po/Makefile.in
++++ b/po/Makefile.in
+@@ -28,7 +28,7 @@ OCAML_GETTEXT_COMPILE_OPTIONS =
+ OCAML_GETTEXT_INSTALL_OPTIONS =
+ OCAML_GETTEXT_MERGE_OPTIONS   =
+ 
+-PODIR		= @prefix@/share/locale
++PODIR		= $(DESTDIR)/@prefix@/share/locale
+ 
+ POFILES		= $(addsuffix .po,$(LINGUAS))
+ MOFILES		= $(addsuffix .mo,$(LINGUAS))
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8ddc7b1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+destdir.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..69e11bf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+# debian/rules for ocaml-libvirt package
+# Copyright (C) 2008 Guido Günther <agx at sigxcpu.org>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+# MA 02110-1301, USA.
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/ocaml.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DESTDIR_DEV=$(CURDIR)/debian/virt-mem
+DEB_CONFIGURE_EXTRA_FLAGS := --mandir=/usr/share/man
+
+DEB_MAKE_CLEAN_TARGET    := clean
+DEB_MAKE_BUILD_TARGET    := all
+DEB_MAKE_INSTALL_TARGET  := install
+DEB_MAKE_INSTALL_TARGET  += OCAMLDESTDIR="$(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)" DESTDIR="$(DESTDIR_DEV)"
+

-- 
virt-mem packaging



More information about the Pkg-ocaml-maint-commits mailing list