Initial package
authorHilko Bengen <bengen@debian.org>
Fri, 24 Dec 2021 15:05:13 +0000 (16:05 +0100)
committerHilko Bengen <bengen@debian.org>
Sat, 25 Dec 2021 11:52:50 +0000 (12:52 +0100)
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/source/lintian-overrides [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..16f77c4
--- /dev/null
@@ -0,0 +1,5 @@
+guestfs-tools (1.46.1-1) unstable; urgency=medium
+
+  * Initial release (Closes: #1002577)
+
+ -- Hilko Bengen <bengen@debian.org>  Sat, 25 Dec 2021 12:37:58 +0100
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..b3445d0
--- /dev/null
@@ -0,0 +1,72 @@
+Source: guestfs-tools
+Section: utils
+Priority: optional
+Maintainer: Hilko Bengen <bengen@debian.org>
+Build-Depends: debhelper-compat (= 13),
+ pkg-config,
+ libguestfs-dev (>> 1:1.46),
+ libguestfs-ocaml-dev (>> 1:1.46),
+ libguestfs-perl (>> 1:1.46),
+ ocaml-nox, ocaml-findlib,
+ libgettext-ocaml-dev,
+ libounit-ocaml-dev <!nocheck>,
+ libvirt-ocaml-dev,
+ libjansson-dev,
+ liblzma-dev,
+ libpcre2-dev,
+ libtinfo-dev,
+ libvirt-dev,
+ libxml2-dev,
+ libmodule-build-perl,
+ gettext,
+ po4a,
+ bison,
+ flex,
+ sqlite3,
+ xorriso,
+ xz-utils,
+ bash-completion,
+ guestfish (>> 1:1.46) <!nocheck>,
+ libxml2-utils <!nocheck>,
+ linux-image-alpha-generic [alpha] <!nocheck>,
+ linux-image-marvell [armel] <!nocheck> | linux-image-versatile [armel] <!nocheck>,
+ linux-image-armmp [armhf] <!nocheck>,
+ linux-image-arm64 [arm64] <!nocheck>,
+ linux-image-4kc-malta [mips mipsel] <!nocheck> | linux-image-5kc-malta [mips mipsel] <!nocheck>,
+ linux-image-5kc-malta [mips64 mips64el] <!nocheck>,
+ linux-image-s390x [s390x] <!nocheck>,
+ linux-image-parisc [hppa] <!nocheck>,
+ linux-image-powerpc [powerpc] <!nocheck>,
+ linux-image-powerpc64 [ppc64] <!nocheck>,
+ linux-image-powerpc64le [ppc64el] <!nocheck>,
+ linux-image-sparc64 [sparc sparc64] <!nocheck>,
+ linux-image-amd64 [amd64 x32] <!nocheck>,
+ linux-image-686-pae [i386] <!nocheck> | linux-image-586 [i386] <!nocheck> | linux-image-486 [i386] <!nocheck>,
+ linux-image-riscv64 [riscv64] <!nocheck>,
+ linux-image-itanium [ia64] <!nocheck> | linux-image-mckinley [ia64] <!nocheck>,
+Standards-Version: 4.6.0
+Homepage: https://libguestfs.org
+Vcs-Browser: https://salsa.debian.org/libvirt-team/guestfs-tools
+Vcs-Git: https://salsa.debian.org/libvirt-team/guestfs-tools.git
+Rules-Requires-Root: no
+
+Package: guestfs-tools
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends},
+ libguestfs-perl,
+ libintl-perl,
+ libstring-shellquote-perl,
+ libsys-virt-perl,
+ libwin-hivex-perl,
+ curl,
+Recommends: virt-p2v, gnupg, libguestfs-tools (>= 1:1.46),
+Breaks: libguestfs-tools (<< 1:1.46)
+Replaces: libguestfs-tools (<< 1:1.46)
+Description: guest disk image management system - tools
+ The libguestfs library allows accessing and modifying guest disk
+ images.
+ .
+ This package contains the guestfish interactive shell and various
+ virtualization tools, including virt-cat, virt-df, virt-edit,
+ virt-filesystems, virt-inspector, virt-ls, virt-make-fs, virt-rescue,
+ virt-resize, virt-tar, and virt-win-reg.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..41d9812
--- /dev/null
@@ -0,0 +1,57 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: guestfs-tools
+Source: <http://libguestfs.org/>
+
+Files: *
+Copyright: Red Hat Inc.
+License: GPL-2.0+
+
+Files: common/utils/* common/structs/*
+Copyright: Red Hat Inc.
+License: LGPL-2.0+
+
+Files: gnulib/lib/human.h gnulib/lib/xstrtol.* gnulib/lib/human.c gnulib/lib/argmatch.c gnulib/lib/xstrtol.h gnulib/lib/argmatch.h
+Copyright: Free Software Foundation, Inc.
+License: GPL-2.0+
+
+Files: gnulib/lib/getprogname.h gnulib/lib/ignore-value.h gnulib/lib/bitrotate.h gnulib/lib/hash.c gnulib/lib/xalloc-oversized.h gnulib/lib/c-ctype.h gnulib/lib/hash.h
+Copyright: Free Software Foundation, Inc.
+License: LGPL-2.0+
+
+Files: debian/*
+Copyright: 2021 Hilko Bengen <bengen@debian.org>
+License: GPL-2.0+
+
+License: GPL-2.0+
+ This package 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 of the License, or
+ (at your option) any later version.
+ .
+ This package 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, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: LGPL-2.0+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+ .
+ This package 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
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in "/usr/share/common-licenses/LGPL-2".
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..dc1ffbd
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+# Disable because the test seems to hang.
+export SKIP_RHBZ1285847_SH=1
+export SKIP_TEST_VIRT_SYSPREP_SCRIPT_SH=1
+
+%:
+       dh $@
+
+override_dh_auto_install:
+       dh_auto_install
+       sed -i -e '1s,.*,#!/usr/bin/perl,' debian/guestfs-tools/usr/bin/virt-win-reg
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644 (file)
index 0000000..55ab182
--- /dev/null
@@ -0,0 +1,5 @@
+# See test-data/binaries/README
+guestfs-tools source: source-is-missing test-data/binaries/bin-*-dynamic
+guestfs-tools source: source-is-missing test-data/binaries/lib-*.so
+guestfs-tools source: source-contains-prebuilt-windows-binary test-data/binaries/*.exe
+guestfs-tools source: source-contains-prebuilt-windows-binary test-data/binaries/*.dll
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..f3c708f
--- /dev/null
@@ -0,0 +1,3 @@
+version=4
+
+https://download.libguestfs.org/guestfs-tools/([\d\.]*)-stable/libguestfs-([\d\.]*)\.tar\.gz