libguestfs.git
3 years agoUpdate debian/patches for new upstream. archive/raspbian/1%1.46.2-4+rpi1 raspbian/1%1.46.2-4+rpi1
Peter Michael Green [Thu, 27 Jan 2022 10:22:23 +0000 (10:22 +0000)]
Update debian/patches for new upstream.

3 years agoManual merge of version 1:1.44.1-5+rpi1 and 1:1.46.2-4 to produce 1:1.46.2-4+rpi1
Peter Michael Green [Thu, 27 Jan 2022 09:09:31 +0000 (09:09 +0000)]
Manual merge of version 1:1.44.1-5+rpi1 and 1:1.46.2-4 to produce 1:1.46.2-4+rpi1

3 years agoMerge libguestfs (1:1.46.2-4) import into refs/heads/workingbranch
Hilko Bengen [Sat, 1 Jan 2022 17:32:00 +0000 (17:32 +0000)]
Merge libguestfs (1:1.46.2-4) import into refs/heads/workingbranch

3 years agoSet special CPU type on RISCV64
Hilko Bengen [Thu, 30 Dec 2021 20:05:43 +0000 (21:05 +0100)]
Set special CPU type on RISCV64

Gbp-Pq: Name Set-special-CPU-type-on-RISCV64.patch

3 years agoFix golang bindtest and check-mli.sh for out-of-tree builds
Hilko Bengen [Mon, 27 Dec 2021 00:17:16 +0000 (01:17 +0100)]
Fix golang bindtest and check-mli.sh for out-of-tree builds

Gbp-Pq: Name Fix-golang-bindtest-and-check-mli.sh-for-out-of-tree-buil.patch

3 years agoUpdate packagelist as haxdump has been moved to bsdextrautils in Debian
Hilko Bengen [Mon, 1 Feb 2021 20:12:58 +0000 (21:12 +0100)]
Update packagelist as haxdump has been moved to bsdextrautils in Debian

Gbp-Pq: Name Update-packagelist-as-haxdump-has-been-moved-to-bsdextrau.patch

3 years agoFix out-of-tree build for po/*
Hilko Bengen [Sun, 10 Jan 2021 01:33:22 +0000 (02:33 +0100)]
Fix out-of-tree build for po/*

Gbp-Pq: Name Fix-out-of-tree-build-for-po.patch

3 years agoMake sure that generated ocaml-link.sh is used in out-of-tree builds
Hilko Bengen [Tue, 10 Mar 2020 19:06:39 +0000 (20:06 +0100)]
Make sure that generated ocaml-link.sh is used in out-of-tree builds

Gbp-Pq: Name Make-sure-that-generated-ocaml-link.sh-is-used-in-out-of-.patch

3 years agoCheck for caml_alloc_initialized_string existence even if --disable-ocaml
Hilko Bengen [Tue, 10 Mar 2020 16:23:15 +0000 (17:23 +0100)]
Check for caml_alloc_initialized_string existence even if --disable-ocaml

Gbp-Pq: Name Check-for-caml_alloc_initialized_string-existence-even-if.patch

3 years agoLink .mli files corresponding to autorgenerated .ml files into builddir
Hilko Bengen [Mon, 13 Jan 2020 19:13:30 +0000 (20:13 +0100)]
Link .mli files corresponding to autorgenerated .ml files into builddir

This avoids build failures in separate builds such as this one:

,----
| ocamlfind ocamlc -package str,unix -I . -a guestfs_config.cmo stringMap.cmo stringSet.cmo std_utils.cmo -o mlstdutils.cma
| ar cr libmlstdutils.a libmlstdutils_a-dummy.o
| ranlib libmlstdutils.a
| File "_none_", line 1:
| Error: Files std_utils.cmo and guestfs_config.cmo
|        make inconsistent assumptions over interface Guestfs_config
| make[4]: *** [Makefile:2580: mlstdutils.cma] Error 2
`----

Gbp-Pq: Name Link-.mli-files-corresponding-to-autorgenerated-.ml-files.patch

3 years agopython: Recognize python-X.Y-embed flavor introduced with Python 3.8 in Debian
Hilko Bengen [Fri, 10 Jan 2020 23:15:24 +0000 (00:15 +0100)]
python: Recognize python-X.Y-embed flavor introduced with Python 3.8 in Debian

The non-"embed" .pc file does not include linker instructions. See
Debian bug #948017

Gbp-Pq: Name python-Recognize-python-X.Y-embed-flavor-introduced-with-.patch

3 years agoProperly handle autogenerated *config.ml files in builddir
Hilko Bengen [Mon, 23 Dec 2019 11:46:43 +0000 (12:46 +0100)]
Properly handle autogenerated *config.ml files in builddir

Gbp-Pq: Name Properly-handle-autogenerated-config.ml-files-in-builddir.patch

3 years agoChange cryptsetop->cryptsetup-bin in appliance
Hilko Bengen [Tue, 16 Apr 2019 13:58:05 +0000 (15:58 +0200)]
Change cryptsetop->cryptsetup-bin in appliance

Gbp-Pq: Name Change-cryptsetop-cryptsetup-bin-in-appliance.patch

3 years agoFix up perl path in installed scripts
Hilko Bengen [Sat, 28 Jul 2018 16:59:16 +0000 (18:59 +0200)]
Fix up perl path in installed scripts

Gbp-Pq: Name Fix-up-perl-path-in-installed-scripts.patch

3 years agoAdd libtinfo to guestfsd (fixes FTBFS on architectures that lack a native OCaml compiler)
Hilko Bengen [Mon, 9 Apr 2018 21:26:40 +0000 (23:26 +0200)]
Add libtinfo to guestfsd (fixes FTBFS on architectures that lack a native OCaml compiler)

Gbp-Pq: Name Add-libtinfo-to-guestfsd-fixes-FTBFS-on-architectures-tha.patch

3 years agoAdd fdisk to appliance list
Hilko Bengen [Mon, 14 Aug 2017 19:39:58 +0000 (21:39 +0200)]
Add fdisk to appliance list

Gbp-Pq: Name Add-fdisk-to-appliance-list.patch

3 years agoFix /sbin/reboot requirements
Hilko Bengen [Thu, 20 Jul 2017 21:30:28 +0000 (23:30 +0200)]
Fix /sbin/reboot requirements

Gbp-Pq: Name Fix-sbin-reboot-requirements.patch

3 years agoMake php buildable with builddir != srcdir
Hilko Bengen [Sat, 14 May 2016 11:34:07 +0000 (13:34 +0200)]
Make php buildable with builddir != srcdir

Gbp-Pq: Name Make-php-buildable-with-builddir-srcdir.patch

3 years agoRun gzip (inside of tar zcf) with -n
Hilko Bengen [Tue, 9 Feb 2016 22:21:11 +0000 (23:21 +0100)]
Run gzip (inside of tar zcf) with -n

Gbp-Pq: Name Run-gzip-inside-of-tar-zcf-with-n.patch

3 years agoGenerate tarballs for supermin appliance using reproducible timestamp
Hilko Bengen [Sat, 14 Feb 2015 13:17:09 +0000 (14:17 +0100)]
Generate tarballs for supermin appliance using reproducible timestamp

Gbp-Pq: Name Generate-tarballs-for-supermin-appliance-using-reproducib.patch

3 years agoDo not use DTB for armel
Hilko Bengen [Sun, 6 Jul 2014 19:34:47 +0000 (21:34 +0200)]
Do not use DTB for armel

Gbp-Pq: Name Do-not-use-DTB-for-armel.patch

3 years agoperl: Fix out-of-tree build by generating symlinks
Hilko Bengen [Thu, 23 May 2013 17:20:17 +0000 (19:20 +0200)]
perl: Fix out-of-tree build by generating symlinks

Gbp-Pq: Name perl-Fix-out-of-tree-build-by-generating-symlinks.patch

3 years agolibguestfs (1:1.46.2-4) unstable; urgency=medium
Hilko Bengen [Sat, 1 Jan 2022 17:32:00 +0000 (17:32 +0000)]
libguestfs (1:1.46.2-4) unstable; urgency=medium

  * Bump Standards-Version, DH compat level, don't require root for build
  * Remove grub-pc build-dependency (=libguestfs0 runtime dependency)
Closes: #1002893
[dgit import unpatched libguestfs 1:1.46.2-4]

3 years agoImport libguestfs_1.46.2-4.debian.tar.xz
Hilko Bengen [Sat, 1 Jan 2022 17:32:00 +0000 (17:32 +0000)]
Import libguestfs_1.46.2-4.debian.tar.xz

[dgit import tarball libguestfs 1:1.46.2-4 libguestfs_1.46.2-4.debian.tar.xz]

3 years agoMerge libguestfs (1:1.46.2-2) import into refs/heads/workingbranch
Hilko Bengen [Mon, 27 Dec 2021 00:55:09 +0000 (00:55 +0000)]
Merge libguestfs (1:1.46.2-2) import into refs/heads/workingbranch

3 years agoFix golang bindtest and check-mli.sh for out-of-tree builds
Hilko Bengen [Mon, 27 Dec 2021 00:17:16 +0000 (01:17 +0100)]
Fix golang bindtest and check-mli.sh for out-of-tree builds

Gbp-Pq: Name Fix-golang-bindtest-and-check-mli.sh-for-out-of-tree-buil.patch

3 years agoUpdate packagelist to require grub-pc on Debian
Hilko Bengen [Mon, 27 Dec 2021 00:14:32 +0000 (01:14 +0100)]
Update packagelist to require grub-pc on Debian

This is required to get a test passing

Gbp-Pq: Name Update-packagelist-to-require-grub-pc-on-Debian.patch

3 years agoUpdate packagelist as haxdump has been moved to bsdextrautils in Debian
Hilko Bengen [Mon, 1 Feb 2021 20:12:58 +0000 (21:12 +0100)]
Update packagelist as haxdump has been moved to bsdextrautils in Debian

Gbp-Pq: Name Update-packagelist-as-haxdump-has-been-moved-to-bsdextrau.patch

3 years agoFix out-of-tree build for po/*
Hilko Bengen [Sun, 10 Jan 2021 01:33:22 +0000 (02:33 +0100)]
Fix out-of-tree build for po/*

Gbp-Pq: Name Fix-out-of-tree-build-for-po.patch

3 years agoMake sure that generated ocaml-link.sh is used in out-of-tree builds
Hilko Bengen [Tue, 10 Mar 2020 19:06:39 +0000 (20:06 +0100)]
Make sure that generated ocaml-link.sh is used in out-of-tree builds

Gbp-Pq: Name Make-sure-that-generated-ocaml-link.sh-is-used-in-out-of-.patch

3 years agoCheck for caml_alloc_initialized_string existence even if --disable-ocaml
Hilko Bengen [Tue, 10 Mar 2020 16:23:15 +0000 (17:23 +0100)]
Check for caml_alloc_initialized_string existence even if --disable-ocaml

Gbp-Pq: Name Check-for-caml_alloc_initialized_string-existence-even-if.patch

3 years agoLink .mli files corresponding to autorgenerated .ml files into builddir
Hilko Bengen [Mon, 13 Jan 2020 19:13:30 +0000 (20:13 +0100)]
Link .mli files corresponding to autorgenerated .ml files into builddir

This avoids build failures in separate builds such as this one:

,----
| ocamlfind ocamlc -package str,unix -I . -a guestfs_config.cmo stringMap.cmo stringSet.cmo std_utils.cmo -o mlstdutils.cma
| ar cr libmlstdutils.a libmlstdutils_a-dummy.o
| ranlib libmlstdutils.a
| File "_none_", line 1:
| Error: Files std_utils.cmo and guestfs_config.cmo
|        make inconsistent assumptions over interface Guestfs_config
| make[4]: *** [Makefile:2580: mlstdutils.cma] Error 2
`----

Gbp-Pq: Name Link-.mli-files-corresponding-to-autorgenerated-.ml-files.patch

3 years agopython: Recognize python-X.Y-embed flavor introduced with Python 3.8 in Debian
Hilko Bengen [Fri, 10 Jan 2020 23:15:24 +0000 (00:15 +0100)]
python: Recognize python-X.Y-embed flavor introduced with Python 3.8 in Debian

The non-"embed" .pc file does not include linker instructions. See
Debian bug #948017

Gbp-Pq: Name python-Recognize-python-X.Y-embed-flavor-introduced-with-.patch

3 years agoProperly handle autogenerated *config.ml files in builddir
Hilko Bengen [Mon, 23 Dec 2019 11:46:43 +0000 (12:46 +0100)]
Properly handle autogenerated *config.ml files in builddir

Gbp-Pq: Name Properly-handle-autogenerated-config.ml-files-in-builddir.patch

3 years agoChange cryptsetop->cryptsetup-bin in appliance
Hilko Bengen [Tue, 16 Apr 2019 13:58:05 +0000 (15:58 +0200)]
Change cryptsetop->cryptsetup-bin in appliance

Gbp-Pq: Name Change-cryptsetop-cryptsetup-bin-in-appliance.patch

3 years agoFix up perl path in installed scripts
Hilko Bengen [Sat, 28 Jul 2018 16:59:16 +0000 (18:59 +0200)]
Fix up perl path in installed scripts

Gbp-Pq: Name Fix-up-perl-path-in-installed-scripts.patch

3 years agoAdd libtinfo to guestfsd (fixes FTBFS on architectures that lack a native OCaml compiler)
Hilko Bengen [Mon, 9 Apr 2018 21:26:40 +0000 (23:26 +0200)]
Add libtinfo to guestfsd (fixes FTBFS on architectures that lack a native OCaml compiler)

Gbp-Pq: Name Add-libtinfo-to-guestfsd-fixes-FTBFS-on-architectures-tha.patch

3 years agoAdd fdisk to appliance list
Hilko Bengen [Mon, 14 Aug 2017 19:39:58 +0000 (21:39 +0200)]
Add fdisk to appliance list

Gbp-Pq: Name Add-fdisk-to-appliance-list.patch

3 years agoFix /sbin/reboot requirements
Hilko Bengen [Thu, 20 Jul 2017 21:30:28 +0000 (23:30 +0200)]
Fix /sbin/reboot requirements

Gbp-Pq: Name Fix-sbin-reboot-requirements.patch

3 years agoMake php buildable with builddir != srcdir
Hilko Bengen [Sat, 14 May 2016 11:34:07 +0000 (13:34 +0200)]
Make php buildable with builddir != srcdir

Gbp-Pq: Name Make-php-buildable-with-builddir-srcdir.patch

3 years agoRun gzip (inside of tar zcf) with -n
Hilko Bengen [Tue, 9 Feb 2016 22:21:11 +0000 (23:21 +0100)]
Run gzip (inside of tar zcf) with -n

Gbp-Pq: Name Run-gzip-inside-of-tar-zcf-with-n.patch

3 years agoGenerate tarballs for supermin appliance using reproducible timestamp
Hilko Bengen [Sat, 14 Feb 2015 13:17:09 +0000 (14:17 +0100)]
Generate tarballs for supermin appliance using reproducible timestamp

Gbp-Pq: Name Generate-tarballs-for-supermin-appliance-using-reproducib.patch

3 years agoDo not use DTB for armel
Hilko Bengen [Sun, 6 Jul 2014 19:34:47 +0000 (21:34 +0200)]
Do not use DTB for armel

Gbp-Pq: Name Do-not-use-DTB-for-armel.patch

3 years agoperl: Fix out-of-tree build by generating symlinks
Hilko Bengen [Thu, 23 May 2013 17:20:17 +0000 (19:20 +0200)]
perl: Fix out-of-tree build by generating symlinks

Gbp-Pq: Name perl-Fix-out-of-tree-build-by-generating-symlinks.patch

3 years agolibguestfs (1:1.46.2-2) unstable; urgency=medium
Hilko Bengen [Mon, 27 Dec 2021 00:55:09 +0000 (00:55 +0000)]
libguestfs (1:1.46.2-2) unstable; urgency=medium

  * Switch to exfatprogs (Closes: #992286)
  * Update build dependencies for appliance
  * Rework patches
  * Determine Python3 versions using py3versions --supported (Lintian)

[dgit import unpatched libguestfs 1:1.46.2-2]

3 years agoImport libguestfs_1.46.2-2.debian.tar.xz
Hilko Bengen [Mon, 27 Dec 2021 00:55:09 +0000 (00:55 +0000)]
Import libguestfs_1.46.2-2.debian.tar.xz

[dgit import tarball libguestfs 1:1.46.2-2 libguestfs_1.46.2-2.debian.tar.xz]

3 years agoImport libguestfs_1.46.2.orig.tar.gz
Hilko Bengen [Sat, 25 Dec 2021 01:17:59 +0000 (01:17 +0000)]
Import libguestfs_1.46.2.orig.tar.gz

[dgit import orig libguestfs_1.46.2.orig.tar.gz]

4 years agoMerge libguestfs (1:1.44.2-1.1) import into refs/heads/workingbranch
Antonio Terceiro [Sat, 4 Dec 2021 15:11:35 +0000 (15:11 +0000)]
Merge libguestfs (1:1.44.2-1.1) import into refs/heads/workingbranch

4 years agoDon't use guestfs package
Hilko Bengen [Sat, 25 Sep 2021 15:19:25 +0000 (17:19 +0200)]
Don't use guestfs package

This avoids build errors:
,----
| ocamlfind: Package `guestfs' not found
`----

Apparently, ocamlfind only looks for the guestfs package in
system-wide preconfigured search paths, not in paths specified with -I.

Gbp-Pq: Name Don-t-use-guestfs-package.patch

4 years agocustomize, resize, sparsify, sysprep: Link explicitly with pthread
Richard W.M. Jones [Thu, 4 Mar 2021 11:57:44 +0000 (11:57 +0000)]
customize, resize, sparsify, sysprep: Link explicitly with pthread

Cherry picked from guestfs-tools commit 87543dad61.

Gbp-Pq: Name customize-resize-sparsify-sysprep-Link-explicitly-with-pt.patch

4 years agoocaml/examples: Link examples to gnulib
Richard W.M. Jones [Sat, 11 Sep 2021 08:36:08 +0000 (09:36 +0100)]
ocaml/examples: Link examples to gnulib

It's unclear why exactly the OCaml library is using replacement
symbols, but it is so we need gnulib.  Note this only applies in the
stable-1.44 branch since upstream we have finally got rid of gnulib,
because of exactly these kinds of problems that it causes everyone.

ocamlfind ocamlopt -cclib -L../../lib/.libs -package unix -linkpkg \
          -warn-error A -I .. mlguestfs.cmxa create_disk.ml -o create_disk
../libmlguestfs.a(libguestfsocaml_a-guestfs-c.o): In function `guestfs_finalize':
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:86: undefined reference to `rpl_free'
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:88: undefined reference to `rpl_free'
../libmlguestfs.a(libguestfsocaml_a-guestfs-c.o): In function `guestfs_int_ocaml_set_event_callback':
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:239: undefined reference to `rpl_free'
../libmlguestfs.a(libguestfsocaml_a-guestfs-c.o): In function `guestfs_int_ocaml_delete_event_callback':
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:266: undefined reference to `rpl_free'
../libmlguestfs.a(libguestfsocaml_a-guestfs-c.o): In function `guestfs_int_ocaml_event_to_string':
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:290: undefined reference to `rpl_free'
../libmlguestfs.a(libguestfsocaml_a-guestfs-c-actions.o):/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c-actions.c:1188: more undefined references to `rpl_free' follow
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
make[2]: *** [Makefile:2272: create_disk] Error 2

Gbp-Pq: Name ocaml-examples-Link-examples-to-gnulib.patch

4 years agodaemon: Build with -pthread
Richard W.M. Jones [Sat, 11 Sep 2021 08:27:17 +0000 (09:27 +0100)]
daemon: Build with -pthread

The daemon failed to link with glibc < 2.34 because we didn't include
the separate pthread library.  Adding -pthread fixes this.

Note this change was also make upstream in commit 733d2182b6 ("Remove
the tools.") although I think either by accident or unrelated.

Reported-by: Toolybird
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2003326
Gbp-Pq: Name daemon-Build-with-pthread.patch

4 years agoUpdate packagelist as haxdump has been moved to bsdextrautils in Debian
Hilko Bengen [Mon, 1 Feb 2021 20:12:58 +0000 (21:12 +0100)]
Update packagelist as haxdump has been moved to bsdextrautils in Debian

Gbp-Pq: Name Update-packagelist-as-haxdump-has-been-moved-to-bsdextrau.patch

4 years agoFix out-of-tree build for po/*
Hilko Bengen [Sun, 10 Jan 2021 01:33:22 +0000 (02:33 +0100)]
Fix out-of-tree build for po/*

Gbp-Pq: Name Fix-out-of-tree-build-for-po.patch

4 years agoAdd support for YARA 4
Hilko Bengen [Sun, 3 May 2020 22:32:37 +0000 (00:32 +0200)]
Add support for YARA 4

Gbp-Pq: Name Add-support-for-YARA-4.patch

4 years agoMake sure that generated ocaml-link.sh is used in out-of-tree builds
Hilko Bengen [Tue, 10 Mar 2020 19:06:39 +0000 (20:06 +0100)]
Make sure that generated ocaml-link.sh is used in out-of-tree builds

Gbp-Pq: Name Make-sure-that-generated-ocaml-link.sh-is-used-in-out-of-.patch

4 years agoCheck for caml_alloc_initialized_string existence even if --disable-ocaml
Hilko Bengen [Tue, 10 Mar 2020 16:23:15 +0000 (17:23 +0100)]
Check for caml_alloc_initialized_string existence even if --disable-ocaml

Gbp-Pq: Name Check-for-caml_alloc_initialized_string-existence-even-if.patch

4 years agoLink .mli files corresponding to autorgenerated .ml files into builddir
Hilko Bengen [Mon, 13 Jan 2020 19:13:30 +0000 (20:13 +0100)]
Link .mli files corresponding to autorgenerated .ml files into builddir

This avoids build failures in separate builds such as this one:

,----
| ocamlfind ocamlc -package str,unix -I . -a guestfs_config.cmo stringMap.cmo stringSet.cmo std_utils.cmo -o mlstdutils.cma
| ar cr libmlstdutils.a libmlstdutils_a-dummy.o
| ranlib libmlstdutils.a
| File "_none_", line 1:
| Error: Files std_utils.cmo and guestfs_config.cmo
|        make inconsistent assumptions over interface Guestfs_config
| make[4]: *** [Makefile:2580: mlstdutils.cma] Error 2
`----

Gbp-Pq: Name Link-.mli-files-corresponding-to-autorgenerated-.ml-files.patch

4 years agopython: Recognize python-X.Y-embed flavor introduced with Python 3.8 in Debian
Hilko Bengen [Fri, 10 Jan 2020 23:15:24 +0000 (00:15 +0100)]
python: Recognize python-X.Y-embed flavor introduced with Python 3.8 in Debian

The non-"embed" .pc file does not include linker instructions. See
Debian bug #948017

Gbp-Pq: Name python-Recognize-python-X.Y-embed-flavor-introduced-with-.patch

4 years agoProperly handle autogenerated *config.ml files in builddir
Hilko Bengen [Mon, 23 Dec 2019 11:46:43 +0000 (12:46 +0100)]
Properly handle autogenerated *config.ml files in builddir

Gbp-Pq: Name Properly-handle-autogenerated-config.ml-files-in-builddir.patch

4 years agoChange cryptsetop->cryptsetup-bin in appliance
Hilko Bengen [Tue, 16 Apr 2019 13:58:05 +0000 (15:58 +0200)]
Change cryptsetop->cryptsetup-bin in appliance

Gbp-Pq: Name Change-cryptsetop-cryptsetup-bin-in-appliance.patch

4 years agoFix up perl path in installed scripts
Hilko Bengen [Sat, 28 Jul 2018 16:59:16 +0000 (18:59 +0200)]
Fix up perl path in installed scripts

Gbp-Pq: Name Fix-up-perl-path-in-installed-scripts.patch

4 years agoAdd libtinfo to guestfsd (fixes FTBFS on architectures that lack a native OCaml compiler)
Hilko Bengen [Mon, 9 Apr 2018 21:26:40 +0000 (23:26 +0200)]
Add libtinfo to guestfsd (fixes FTBFS on architectures that lack a native OCaml compiler)

Gbp-Pq: Name Add-libtinfo-to-guestfsd-fixes-FTBFS-on-architectures-tha.patch

4 years agoAdd fdisk to appliance list
Hilko Bengen [Mon, 14 Aug 2017 19:39:58 +0000 (21:39 +0200)]
Add fdisk to appliance list

Gbp-Pq: Name Add-fdisk-to-appliance-list.patch

4 years agoFix /sbin/reboot requirements
Hilko Bengen [Thu, 20 Jul 2017 21:30:28 +0000 (23:30 +0200)]
Fix /sbin/reboot requirements

Gbp-Pq: Name Fix-sbin-reboot-requirements.patch

4 years agoMake php buildable with builddir != srcdir
Hilko Bengen [Sat, 14 May 2016 11:34:07 +0000 (13:34 +0200)]
Make php buildable with builddir != srcdir

Gbp-Pq: Name Make-php-buildable-with-builddir-srcdir.patch

4 years agoRun gzip (inside of tar zcf) with -n
Hilko Bengen [Tue, 9 Feb 2016 22:21:11 +0000 (23:21 +0100)]
Run gzip (inside of tar zcf) with -n

Gbp-Pq: Name Run-gzip-inside-of-tar-zcf-with-n.patch

4 years agoGenerate tarballs for supermin appliance using reproducible timestamp
Hilko Bengen [Sat, 14 Feb 2015 13:17:09 +0000 (14:17 +0100)]
Generate tarballs for supermin appliance using reproducible timestamp

Gbp-Pq: Name Generate-tarballs-for-supermin-appliance-using-reproducib.patch

4 years agoDo not use DTB for armel
Hilko Bengen [Sun, 6 Jul 2014 19:34:47 +0000 (21:34 +0200)]
Do not use DTB for armel

Gbp-Pq: Name Do-not-use-DTB-for-armel.patch

4 years agoperl: Fix out-of-tree build by generating symlinks
Hilko Bengen [Thu, 23 May 2013 17:20:17 +0000 (19:20 +0200)]
perl: Fix out-of-tree build by generating symlinks

Gbp-Pq: Name perl-Fix-out-of-tree-build-by-generating-symlinks.patch

4 years agolibguestfs (1:1.44.2-1.1) unstable; urgency=medium
Antonio Terceiro [Sat, 4 Dec 2021 15:11:35 +0000 (15:11 +0000)]
libguestfs (1:1.44.2-1.1) unstable; urgency=medium

  * Non-maintainer upload.
  * debian/rules: use the appropriate way to get the Ruby versions to build
    for (Closes: #998636)

[dgit import unpatched libguestfs 1:1.44.2-1.1]

4 years agoImport libguestfs_1.44.2-1.1.debian.tar.xz
Antonio Terceiro [Sat, 4 Dec 2021 15:11:35 +0000 (15:11 +0000)]
Import libguestfs_1.44.2-1.1.debian.tar.xz

[dgit import tarball libguestfs 1:1.44.2-1.1 libguestfs_1.44.2-1.1.debian.tar.xz]

4 years agoMerge version 1:1.44.1-2+rpi1 and 1:1.44.1-5 to produce 1:1.44.1-5+rpi1 archive/raspbian/1%1.44.1-5+rpi1 raspbian/1%1.44.1-5+rpi1
Raspbian automatic forward porter [Tue, 28 Sep 2021 22:01:51 +0000 (23:01 +0100)]
Merge version 1:1.44.1-2+rpi1 and 1:1.44.1-5 to produce 1:1.44.1-5+rpi1

4 years agoMerge libguestfs (1:1.44.2-1) import into refs/heads/workingbranch
Hilko Bengen [Sat, 25 Sep 2021 15:51:52 +0000 (16:51 +0100)]
Merge libguestfs (1:1.44.2-1) import into refs/heads/workingbranch

4 years agoImport libguestfs_1.44.2.orig.tar.gz
Hilko Bengen [Sat, 25 Sep 2021 15:51:52 +0000 (16:51 +0100)]
Import libguestfs_1.44.2.orig.tar.gz

[dgit import orig libguestfs_1.44.2.orig.tar.gz]

4 years agoDon't use guestfs package
Hilko Bengen [Sat, 25 Sep 2021 15:19:25 +0000 (17:19 +0200)]
Don't use guestfs package

This avoids build errors:
,----
| ocamlfind: Package `guestfs' not found
`----

Apparently, ocamlfind only looks for the guestfs package in
system-wide preconfigured search paths, not in paths specified with -I.

Gbp-Pq: Name Don-t-use-guestfs-package.patch

4 years agocustomize, resize, sparsify, sysprep: Link explicitly with pthread
Richard W.M. Jones [Thu, 4 Mar 2021 11:57:44 +0000 (11:57 +0000)]
customize, resize, sparsify, sysprep: Link explicitly with pthread

Cherry picked from guestfs-tools commit 87543dad61.

Gbp-Pq: Name customize-resize-sparsify-sysprep-Link-explicitly-with-pt.patch

4 years agoocaml/examples: Link examples to gnulib
Richard W.M. Jones [Sat, 11 Sep 2021 08:36:08 +0000 (09:36 +0100)]
ocaml/examples: Link examples to gnulib

It's unclear why exactly the OCaml library is using replacement
symbols, but it is so we need gnulib.  Note this only applies in the
stable-1.44 branch since upstream we have finally got rid of gnulib,
because of exactly these kinds of problems that it causes everyone.

ocamlfind ocamlopt -cclib -L../../lib/.libs -package unix -linkpkg \
          -warn-error A -I .. mlguestfs.cmxa create_disk.ml -o create_disk
../libmlguestfs.a(libguestfsocaml_a-guestfs-c.o): In function `guestfs_finalize':
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:86: undefined reference to `rpl_free'
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:88: undefined reference to `rpl_free'
../libmlguestfs.a(libguestfsocaml_a-guestfs-c.o): In function `guestfs_int_ocaml_set_event_callback':
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:239: undefined reference to `rpl_free'
../libmlguestfs.a(libguestfsocaml_a-guestfs-c.o): In function `guestfs_int_ocaml_delete_event_callback':
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:266: undefined reference to `rpl_free'
../libmlguestfs.a(libguestfsocaml_a-guestfs-c.o): In function `guestfs_int_ocaml_event_to_string':
/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c.c:290: undefined reference to `rpl_free'
../libmlguestfs.a(libguestfsocaml_a-guestfs-c-actions.o):/home/rjones/d/libguestfs-1.44/ocaml/guestfs-c-actions.c:1188: more undefined references to `rpl_free' follow
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
make[2]: *** [Makefile:2272: create_disk] Error 2

Gbp-Pq: Name ocaml-examples-Link-examples-to-gnulib.patch

4 years agodaemon: Build with -pthread
Richard W.M. Jones [Sat, 11 Sep 2021 08:27:17 +0000 (09:27 +0100)]
daemon: Build with -pthread

The daemon failed to link with glibc < 2.34 because we didn't include
the separate pthread library.  Adding -pthread fixes this.

Note this change was also make upstream in commit 733d2182b6 ("Remove
the tools.") although I think either by accident or unrelated.

Reported-by: Toolybird
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2003326
Gbp-Pq: Name daemon-Build-with-pthread.patch

4 years agoUpdate packagelist as haxdump has been moved to bsdextrautils in Debian
Hilko Bengen [Mon, 1 Feb 2021 20:12:58 +0000 (21:12 +0100)]
Update packagelist as haxdump has been moved to bsdextrautils in Debian

Gbp-Pq: Name Update-packagelist-as-haxdump-has-been-moved-to-bsdextrau.patch

4 years agoFix out-of-tree build for po/*
Hilko Bengen [Sun, 10 Jan 2021 01:33:22 +0000 (02:33 +0100)]
Fix out-of-tree build for po/*

Gbp-Pq: Name Fix-out-of-tree-build-for-po.patch

4 years agoAdd support for YARA 4
Hilko Bengen [Sun, 3 May 2020 22:32:37 +0000 (00:32 +0200)]
Add support for YARA 4

Gbp-Pq: Name Add-support-for-YARA-4.patch

4 years agoMake sure that generated ocaml-link.sh is used in out-of-tree builds
Hilko Bengen [Tue, 10 Mar 2020 19:06:39 +0000 (20:06 +0100)]
Make sure that generated ocaml-link.sh is used in out-of-tree builds

Gbp-Pq: Name Make-sure-that-generated-ocaml-link.sh-is-used-in-out-of-.patch

4 years agoCheck for caml_alloc_initialized_string existence even if --disable-ocaml
Hilko Bengen [Tue, 10 Mar 2020 16:23:15 +0000 (17:23 +0100)]
Check for caml_alloc_initialized_string existence even if --disable-ocaml

Gbp-Pq: Name Check-for-caml_alloc_initialized_string-existence-even-if.patch

4 years agoLink .mli files corresponding to autorgenerated .ml files into builddir
Hilko Bengen [Mon, 13 Jan 2020 19:13:30 +0000 (20:13 +0100)]
Link .mli files corresponding to autorgenerated .ml files into builddir

This avoids build failures in separate builds such as this one:

,----
| ocamlfind ocamlc -package str,unix -I . -a guestfs_config.cmo stringMap.cmo stringSet.cmo std_utils.cmo -o mlstdutils.cma
| ar cr libmlstdutils.a libmlstdutils_a-dummy.o
| ranlib libmlstdutils.a
| File "_none_", line 1:
| Error: Files std_utils.cmo and guestfs_config.cmo
|        make inconsistent assumptions over interface Guestfs_config
| make[4]: *** [Makefile:2580: mlstdutils.cma] Error 2
`----

Gbp-Pq: Name Link-.mli-files-corresponding-to-autorgenerated-.ml-files.patch

4 years agopython: Recognize python-X.Y-embed flavor introduced with Python 3.8 in Debian
Hilko Bengen [Fri, 10 Jan 2020 23:15:24 +0000 (00:15 +0100)]
python: Recognize python-X.Y-embed flavor introduced with Python 3.8 in Debian

The non-"embed" .pc file does not include linker instructions. See
Debian bug #948017

Gbp-Pq: Name python-Recognize-python-X.Y-embed-flavor-introduced-with-.patch

4 years agoProperly handle autogenerated *config.ml files in builddir
Hilko Bengen [Mon, 23 Dec 2019 11:46:43 +0000 (12:46 +0100)]
Properly handle autogenerated *config.ml files in builddir

Gbp-Pq: Name Properly-handle-autogenerated-config.ml-files-in-builddir.patch

4 years agoChange cryptsetop->cryptsetup-bin in appliance
Hilko Bengen [Tue, 16 Apr 2019 13:58:05 +0000 (15:58 +0200)]
Change cryptsetop->cryptsetup-bin in appliance

Gbp-Pq: Name Change-cryptsetop-cryptsetup-bin-in-appliance.patch

4 years agoFix up perl path in installed scripts
Hilko Bengen [Sat, 28 Jul 2018 16:59:16 +0000 (18:59 +0200)]
Fix up perl path in installed scripts

Gbp-Pq: Name Fix-up-perl-path-in-installed-scripts.patch

4 years agoAdd libtinfo to guestfsd (fixes FTBFS on architectures that lack a native OCaml compiler)
Hilko Bengen [Mon, 9 Apr 2018 21:26:40 +0000 (23:26 +0200)]
Add libtinfo to guestfsd (fixes FTBFS on architectures that lack a native OCaml compiler)

Gbp-Pq: Name Add-libtinfo-to-guestfsd-fixes-FTBFS-on-architectures-tha.patch

4 years agoAdd fdisk to appliance list
Hilko Bengen [Mon, 14 Aug 2017 19:39:58 +0000 (21:39 +0200)]
Add fdisk to appliance list

Gbp-Pq: Name Add-fdisk-to-appliance-list.patch

4 years agoFix /sbin/reboot requirements
Hilko Bengen [Thu, 20 Jul 2017 21:30:28 +0000 (23:30 +0200)]
Fix /sbin/reboot requirements

Gbp-Pq: Name Fix-sbin-reboot-requirements.patch

4 years agoMake php buildable with builddir != srcdir
Hilko Bengen [Sat, 14 May 2016 11:34:07 +0000 (13:34 +0200)]
Make php buildable with builddir != srcdir

Gbp-Pq: Name Make-php-buildable-with-builddir-srcdir.patch

4 years agoRun gzip (inside of tar zcf) with -n
Hilko Bengen [Tue, 9 Feb 2016 22:21:11 +0000 (23:21 +0100)]
Run gzip (inside of tar zcf) with -n

Gbp-Pq: Name Run-gzip-inside-of-tar-zcf-with-n.patch

4 years agoGenerate tarballs for supermin appliance using reproducible timestamp
Hilko Bengen [Sat, 14 Feb 2015 13:17:09 +0000 (14:17 +0100)]
Generate tarballs for supermin appliance using reproducible timestamp

Gbp-Pq: Name Generate-tarballs-for-supermin-appliance-using-reproducib.patch

4 years agoDo not use DTB for armel
Hilko Bengen [Sun, 6 Jul 2014 19:34:47 +0000 (21:34 +0200)]
Do not use DTB for armel

Gbp-Pq: Name Do-not-use-DTB-for-armel.patch

4 years agoperl: Fix out-of-tree build by generating symlinks
Hilko Bengen [Thu, 23 May 2013 17:20:17 +0000 (19:20 +0200)]
perl: Fix out-of-tree build by generating symlinks

Gbp-Pq: Name perl-Fix-out-of-tree-build-by-generating-symlinks.patch

4 years agolibguestfs (1:1.44.2-1) unstable; urgency=medium
Hilko Bengen [Sat, 25 Sep 2021 15:51:52 +0000 (16:51 +0100)]
libguestfs (1:1.44.2-1) unstable; urgency=medium

  * New upstream version 1.44.2
  * Use PCRE2 instead of PCRE
  * Update patches, drop number prefixes

[dgit import unpatched libguestfs 1:1.44.2-1]

4 years agoImport libguestfs_1.44.2-1.debian.tar.xz
Hilko Bengen [Sat, 25 Sep 2021 15:51:52 +0000 (16:51 +0100)]
Import libguestfs_1.44.2-1.debian.tar.xz

[dgit import tarball libguestfs 1:1.44.2-1 libguestfs_1.44.2-1.debian.tar.xz]

4 years agoMerge libguestfs (1:1.44.1-5) import into refs/heads/workingbranch
Hilko Bengen [Mon, 20 Sep 2021 20:58:15 +0000 (21:58 +0100)]
Merge libguestfs (1:1.44.1-5) import into refs/heads/workingbranch