SHA256
1
0
forked from pool/libguestfs
Commit Graph

427 Commits

Author SHA256 Message Date
Charles Arnold
59b086c9c7 Restore ExclusiveArch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=498
2022-04-14 22:07:43 +00:00
Charles Arnold
2e4e529819 - bsc#1195415 - libguestfs: consider dropping build requirement on
systemd-sysvinit 
  libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=497
2022-04-14 16:36:25 +00:00
Charles Arnold
e1d53b2d91 Accepting request 970000 from home:frispete:15.2:kvm
- Avoid useless builds, if ocaml version isn't up to the task
  libguestfs uses get_uint8(), available since ocaml 4.13.0

OBS-URL: https://build.opensuse.org/request/show/970000
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=496
2022-04-13 20:59:24 +00:00
Charles Arnold
b3de383295 - Update to version 1.48.0
* Fix allocation and deallocation of string lists in golang
    bindings (Laszlo Ersek).
  * Multiple fixes to the OCaml bindings:
  * Add support for Kylin (Laszlo Ersek).
  * Add support for Rocky Linux (Neil Hanlon).
  * Inspection of guests which use LUKS encryption on top of LVM
    logical volumes should now work (Laszlo Ersek).
  * "guestfs_list_9p" and "guestfs_mount_9p" are deprecated and
    now return errors.
  * "guestfs_remove_drive" has been deprecated and now returns an
    error.
  * "guestfs_add_drive" no longer supports hotplugging
  * In "guestfs_xfs_admin" the "lazycounter" parameter is deprecated
    because it is no longer supported in recent versions of XFS.
  * The User-mode Linux ("uml") backend has been removed.
  * Partition APIs now cope with the broken MBR partition tables
    created by dosfstools ≥ 4.2 (Laszlo Ersek).
  * Various bug fixes

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=495
2022-03-17 22:27:27 +00:00
Charles Arnold
1e3cebb542 - Update to version 1.46.2
* This release has moved many virt tools like virt-builder,
    virt-cat, virt-customize, virt-df, etc. to the guestfs-tools
    project. This makes libguestfs a bit easier to build and manage.
  * The build now uses and requires PCRE2 (instead of PCRE).
  * This version requires libvirt ≥ 7.1.0, if libvirt is enabled.
  * gnulib is no longer bundled with libguestfs, making builds from
    git much simpler.
  * Perl Sys::Virt (libvirt bindings for Perl) are no longer
    required by libguestfs.
  * The code has been compiled with both LTO and GCC -fanalyzer and
    many bugs and warnings fixed.
  * Various fixes for qemu 6.1.
  * Update appliance packages on SUSE and several other improvements
    to the init script (Olaf Hering).
  * We now use the qemu / libvirt feature -cpu max to select the
    best CPU to run the appliance.
  * When passing the appliance filesystem UUID to supermin we now
    read it directly out of the appliance instead of using the
    file(1) program. This is more reliable.
  * The qemu -enable-fips option is no longer used. It was not
    needed and has been deprecated by qemu.
  * We no longer use qemu's sga (Serial Graphics Adapter) option
    ROM, instead using the equivalent seabios feature.
  * Various bug fixes
- Dropped scripts and patches
  Pod-Simple-3.23.tar.xz
  libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
  libguestfs.test.simple.create-opensuse-guest.sh
  libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=494
2022-02-24 22:27:30 +00:00
Charles Arnold
6dd3989061 - bsc#1195415 - libguestfs: consider dropping build requirement on
systemd-sysvinit 
  libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=493
2022-02-07 22:47:47 +00:00
Charles Arnold
434f46da61 Drop dependency on netpbm-progs which is optional.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=492
2022-02-01 21:20:54 +00:00
Charles Arnold
d5ac212b08 Adjustments to spec file for handling renamed packages
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=491
2022-01-31 23:39:01 +00:00
Charles Arnold
90587d125b Add a Requires for supermin and obsolete libguestfs0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=490
2022-01-03 20:24:04 +00:00
Charles Arnold
467e443d95 - Update to version 1.46.1
* This release has moved many virt tools like virt-builder,
    virt-cat, virt-customize, virt-df, etc. to the guestfs-tools
    project. This makes libguestfs a bit easier to build and manage.
  * The build now uses and requires PCRE2 (instead of PCRE).
  * This version requires libvirt ≥ 7.1.0, if libvirt is enabled.
  * gnulib is no longer bundled with libguestfs, making builds from
    git much simpler.
  * Perl Sys::Virt (libvirt bindings for Perl) are no longer
    required by libguestfs.
  * The code has been compiled with both LTO and GCC -fanalyzer and
    many bugs and warnings fixed.
  * Various fixes for qemu 6.1.
  * Update appliance packages on SUSE and several other improvements
    to the init script (Olaf Hering).
  * We now use the qemu / libvirt feature -cpu max to select the
    best CPU to run the appliance.
  * When passing the appliance filesystem UUID to supermin we now
    read it directly out of the appliance instead of using the
    file(1) program. This is more reliable.
  * The qemu -enable-fips option is no longer used. It was not
    needed and has been deprecated by qemu.
  * We no longer use qemu's sga (Serial Graphics Adapter) option
    ROM, instead using the equivalent seabios feature.
  * Various bug fixes
- Dropped scripts and patches
  Pod-Simple-3.23.tar.xz
  libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
  libguestfs.test.simple.create-opensuse-guest.sh
  libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=489
2021-12-21 20:41:07 +00:00
7991ba2b0f OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=488 2021-12-16 14:25:35 +00:00
Charles Arnold
cfd5004acf - Fix build errors in Factory
* Alert ocaml_deprecated_cli: Setting a warning with a sequence
    of lowercase or uppercase letters, like 'CDEFLMPSUVYZX', is
    deprecated.
  63c9cd93-m4-guestfs-ocaml.m4-Fix-deprecated-warning-format.patch
  * Error (warning 6 [labels-omitted]): label verbose was omitted
    in the application of this function.
  a4930f5f-customize-Suppress-OCaml-warning.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=486
2021-10-27 03:27:22 +00:00
Charles Arnold
a7c0f2faa1 - Update spec file licenses to GPL-2.0-or-later
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=485
2021-10-05 21:57:32 +00:00
Charles Arnold
e135b4bcc8 - bsc#1190501 - virt-builder fails to install packages when
building an image
  9db0c98c-appliance-enable-bashs-Process-Substitution-feature.patch
- Upstream bug fixes
  c0de4de9-appliance-add-reboot-and-netconfig-for-SUSE.patch
  f47e0bb6-appliance-reorder-mounting-of-special-filesystems-in-init.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=484
2021-09-15 16:53:39 +00:00
Charles Arnold
1f8c5d88a1 - bsc#1178495 - Leap Gap: Libguestfs.spec contains the is_opensuse
macro
  libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=483
2021-09-15 14:03:48 +00:00
Charles Arnold
dfce015b70 Actually remove 0004-python-include-dirs.patch like the change log already states.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=482
2021-09-15 14:01:51 +00:00
Charles Arnold
80219ce3b0 Use pcre2-devel instead of pcre-devel
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=481
2021-09-14 21:23:29 +00:00
Charles Arnold
921cbcfab0 - Newer cpio versions must be told to extract over symlinks
libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
  libguestfs.test.simple.create-opensuse-guest.sh
  libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh
  libguestfs.test.simple.create-sles12-guest.sh
- Allow the use busybox dhcp client
  appliance.patch
  netconfig.patch

- Update to version 1.44.2
  makefile-ocaml-find-guestfs.patch
  * Port libguestfs to use pcre2 instead of pcre
  * inspection: More reliable detection of Linux split /usr configurations
  * python: Relicense setup.py to LGPLv2+ (originally GPLv2+)
  * lib: qemu: Don't use -enable-fips option.
  * rust: Fix deprecated use of panic!(format!(...))
  * point users to Libera Chat rather than FreeNode
  * python: Don't leak fields when creating Python structs
  * appliance: Add IBM850 iconv converter for syslinux
  * launch: board model for RISC-V
  * lib: Add osinfo information for Windows Server 2022 Datacenter
  * lib: Autodetect backing format for qemu-img create -b
  * appliance: Fix searching for shared libraries on usr-merged Debian systems
  * appliance: Add mount package for Debian
  * m4/guestfs-appliance.m4: Add support for Alma and Cloud Linux
  * daemon/luks.c: Ignore bogus GCC -fanalyzer double-free warning
  * daemon/xattr.c: Increase size of temporary buffer for %zu
  * daemon/utils.c: Fix potential unbounded stack usage
  * Various other bug fixes
- Upstream bug fixes post 1.44.2

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=480
2021-09-14 17:44:16 +00:00
290c5249f3 - Remove Group tags
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=479
2021-07-19 15:38:22 +00:00
b4892d1cff - Remove BuildRoot and defattr
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=478
2021-07-19 15:37:34 +00:00
6020a4096b - Use _udevrulesdir
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=477
2021-07-19 15:36:33 +00:00
4cfc54c6d8 - Use autosetup
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=476
2021-07-19 15:33:53 +00:00
aa0545b4ec - Remove obsolete 0004-python-include-dirs.patch and related
workaround in spec file

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=475
2021-07-19 15:32:28 +00:00
685f47c762 - Remove obsolete yajl
- Add conditional to ocaml_preserve_bytecode
- Remove traces of python2 code
- Use pkgconfig(python3) to refer to variants of python3

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=474
2021-07-19 09:02:47 +00:00
7a68e494ff - For unknown reasons the appliance build fails randomly
Workaround it by retrying the build once

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=472
2021-05-28 10:52:28 +00:00
80874171af - Remove ocaml_native_compiler conditional
build native target unconditionally

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=470
2021-04-21 13:09:58 +00:00
fdd94d0c9c - add libguestfs.env.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=469
2021-04-14 08:36:39 +00:00
681c070c87 - Update to version 1.44.1
* lib/appliance-kcmdline.c: Read UUID directly from appliance.
  * daemon/xfs.c: Fix error message.
  * daemon: chroot: Fix long-standing possible deadlock.
  * daemon: Don't return bogus failure from readdir.
  * daemon/btrfs.c: Ignore mkfs.btrfs allocstart option.
  * python: Ignore code style error E128.
  * php: Fix the build.
  * builder: Don't redefine Val_none (OCaml 4.12).
  * daemon: lvm: Use lvcreate --yes to avoid interactive prompts.
  * Update common submodule.
  * lib/fuse.c: Use safe_malloc instead of malloc.
  * fuse/guestmount.c: Avoid leaking fp on error path.
  * diff: Don't try to call unlink(NULL) on certain error paths.
  * daemon/tar.c: Avoid bogus GCC analyzer warning.
  * daemon/command.c daemon/debug.c df/main.c: Ignore bogus GCC analyzer warnings
  * appliance: Add dhclient for Arch-like Manjaro distro.
  * fish/tilde.c: Suppress more bogus -fanalyser warnings.
  * lib/qemu.c: Suppress another bogus -fanalyser warning.
  * builder: templates: Add ubuntu-20.04.
  * builder: templates: Added rhel-7.9.
  * lib: Move CLEANUP_GL_RECURSIVE_LOCK_UNLOCK to libguestfs header.
  * appliance: Avoid having ${exec_prefix} in guestfs appliance path.
  * build: Avoid warnings about unknown pragmas.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=468
2021-04-14 08:09:18 +00:00
f61506fba1 style
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=467
2021-04-13 15:18:55 +00:00
c5a9c60484 - Require current ocaml-rpm-macros
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=466
2021-04-13 15:13:14 +00:00
Charles Arnold
fbdd88117e - Modify Source0 to point at the correct url for the source.
libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=464
2021-01-12 12:42:37 +00:00
Charles Arnold
02e1a0bd4e - Update to version 1.44.0
* The minimum version of Python required is 3.6.
  * Python bindings no longer use deprecated
    "PyEval_ThreadsInitialized".
  * Python bindings now include type hints (Sam Eiderman).
  * Erlang bindings now use libei instead of liberl_interface
    (Sergei Golovan).
  * virt-get-kernel(1) can now find uncompressed kernels
    (Pino Toscano).
  * virt-sysprep(1) now regenerates the guest certificate store
    when a certificate is removed from the guest (Pino Toscano).
  * virt-sysprep(1) can now remove IPA enrollment files and
    Kerberos keytabs
    (Pino Toscano, Christian Heimes and François Cami).
  * "cryptsetup-open" and "cryptsetup-close" replace "luks-open",
    luks-open-ro and luks-close. The new APIs add support for
    BitLocker encryption.
  * "lvm-canonical-lv" no longer produces a noisy error message
    when called with a non-LV parameter.
  * Various other bug fixes
- Drop
   bfd08867-golang-Fix-path-to-include-guestfs.h..patch
   dbfab7d3-build-fix-includedir-in-uninstalled-libguestfs.pc.patch

- Drop is_opensuse references to remove differences between Leap
  and SLES packaging
  libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=463
2021-01-11 22:42:53 +00:00
Charles Arnold
c3e8b06073 The location of guestfs.h has moved.
0004-python-include-dirs.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=462
2020-10-07 19:07:09 +00:00
Charles Arnold
1f8c975e36 - Added upstream bug fixes
dbfab7d3-build-fix-includedir-in-uninstalled-libguestfs.pc.patch
  bfd08867-golang-Fix-path-to-include-guestfs.h..patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=461
2020-10-06 22:07:16 +00:00
Charles Arnold
c8a6e6d9c9 - Update to version 1.43.2
* Bug fix release
  * Updated language files
  * Drop support for python 2
  * builder: New templates added
  * sysprep: ca-certificates: request system CA store update
  * Various other bug fixes

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=460
2020-10-06 20:23:44 +00:00
Charles Arnold
6ddb96979f - Update to version 1.43.1
- Drop
  31e6b187-po-Remove-virt-v2v-related-dependency-from-POTFILES-ml..patch
  7265f08c-lib-remove-extra-LIBS-from-pkg-config-file.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=459
2020-07-21 19:00:34 +00:00
Charles Arnold
5d52fb7f0a Pass --with-guestfs-path when invoking configure script in the spec file (bsc#1172818)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=457
2020-07-09 20:09:34 +00:00
Charles Arnold
31112bdc80 - bsc#1172818 - libguestfs: inconsistent LIBGUESTFS_PATH
libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=456
2020-07-07 21:53:39 +00:00
Charles Arnold
28e0a64ea8 Remove comment. The patches committed for this entry were reverted
but the comment was not removed

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=454
2020-05-22 17:25:40 +00:00
Charles Arnold
65b1146811 - Update to version 1.42.0
* virt-v2v is moved out from libguestfs into its own package
  * virt-p2v is moved out from libguestfs into its own package
  * Add support for the Vala language
  * Add support for the Rust language
  * Reproducible builds
  * Advanced Format disks (which use 4K sectors) can now be
    processed by libguestfs. Use the new optional blocksize
    parameter to guestfs_add_drive_opts, and the --blocksize option
    added to several tools
  * Windows CompactOS (NTFS file compression) is now supported.
  * Advanced machine readable output in various virt tools now
    supports JSON output, and writing logs to a numbered file
    descriptor
  * virt-filesystems tool now more accurately reports filesystem
    total size, in the case where for example the filesystem does
    not occupy the whole of its containing device
  * Python ≥ 2.7 is required.
  * Python bindings are now more extensively tested
  * Python bindings should now work with Python ≥ 3.8.
  * Multiple fixes to avoid crashes in the Python bindings
  * OCaml bindings are compiled with -DCAML_NAME_SPACE to ensure no
    non-caml_-namespaced symbols are used
  * OCaml bindings should now work with OCaml 4.09 and 4.10.
  * Fix compatibility with newer cgo for Go bindings
  * Go API error handling is now more idiomatic
  * Update documentation about how to handle boolean parameters in
    Ruby bindings
  * Libguestfs can now extract icons for Gentoo, newer SUSE and
    OpenMandriva guests. Improved extraction of RHEL icons.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=452
2020-05-06 20:58:16 +00:00
Charles Arnold
e746a46e6f - bsc#1167131 - virt-v2v fails importing ubuntu 18.04 LTS ova
500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=450
2020-03-19 16:28:31 +00:00
Larry Dewey
7ea970047b Accepting request 766144 from home:ldewey:branches:Virtualization
Removing previous commit.

OBS-URL: https://build.opensuse.org/request/show/766144
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=449
2020-01-21 19:38:19 +00:00
Larry Dewey
71a7811fa9 Accepting request 766138 from home:ldewey:branches:Virtualization
- Added patches to configure sparsify to ignore readonly images.
  (bsc#1161169, rhbz#1064041)

OBS-URL: https://build.opensuse.org/request/show/766138
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=448
2020-01-21 18:57:34 +00:00
Larry Dewey
a76e53adc1 Accepting request 729776 from home:cgiboudeaux:fat-lto-objects
- Use -ffat-lto-objects when building static libraries.

OBS-URL: https://build.opensuse.org/request/show/729776
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=446
2019-09-11 14:47:32 +00:00
Larry Dewey
b31739290f Accepting request 729526 from home:ldewey:branches:Virtualization
Added lvm2 to Requires for using virt-resize with xfs images (bsc#1138860)

OBS-URL: https://build.opensuse.org/request/show/729526
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=445
2019-09-09 17:04:40 +00:00
Larry Dewey
c670eb6e73 Patches added:
netconfig.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=444
2019-09-09 15:28:38 +00:00
Larry Dewey
e639c6c126 Accepting request 726961 from home:gmoro:branches:Virtualization
Added patch to supermin appliance description, fixes boo#1136878

OBS-URL: https://build.opensuse.org/request/show/726961
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=443
2019-08-31 07:24:06 +00:00
92f3ff5d03 - Remove empty /etc/libguestfs-tools.conf
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=441
2019-08-22 13:39:37 +00:00
080c091e16 +lto
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=440
2019-08-08 09:25:44 +00:00
5e8a4ccd9e - disable lto
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=439
2019-08-08 08:10:55 +00:00