SHA256
1
0
forked from pool/libguestfs
Commit Graph

384 Commits

Author SHA256 Message Date
Charles Arnold
9993a917e4 Accepting request 1071979 from home:vulyanov:branches:Virtualization
- Configure with --enable-appliance-format-auto to allow
  qcow2-format fixed appliances.

KubeVirt libguestfs-tools container now expects the appliance rootfs
to be in qcow2 format instead of raw.

OBS-URL: https://build.opensuse.org/request/show/1071979
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=541
2023-03-15 10:25:05 +00:00
Charles Arnold
855831c048 - Update to version 1.50.1
* This is a bug fix release. No upstream changelog.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=539
2023-02-22 20:24:18 +00:00
Charles Arnold
6f8f0f0625 - Update to version 1.50.0
* https://libguestfs.org/guestfs-release-notes-1.50.1.html
  * Inspection
    When listing the packages in RPM-based guests, the inspection
    API no longer checks package signatures. This is because the
    newer librpm used by libguestfs does not understand signatures
    stored in older guests, such as SHA1 used by RHEL 6 (thanks
    Panu Matilainen).
    "guestfs_inspect_get_hostname" in guestfs(3) can now handle
    /etc/hostname files containing comments (thanks Dawid Zamirski).
    "guestfs_file_architecture" in guestfs(3) can now parse files
    using zstd compression.
    "guestfs_inspect_get_osinfo" in guestfs(3) now returns the
    correct osinfo field for Windows 11. However because of
    decisions made by Microsoft, these guests still return product
    name and other strings identifying as Windows 10 (thanks Yaakov
    Selkowitz, Yongkui Guo).
  * New APIs
    "guestfs_device_name" in guestfs(3) is a new API to read the
    device name associated with a drive, for example calling this
    with 0 will return /dev/sda.
    "guestfs_clevis_luks_unlock" in guestfs(3) is a new API for
    unlocking disks using the Clevis/Tang network-based full disk
    encryption scheme. Furthermore implement this in guestfish and
    guestmount (Laszlo Ersek).
    "guestfs_inspect_get_build_id" in guestfs(3) is a new API for
    reading the build ID from some Linux and Windows guests. It is
    not widely used on Linux, but for Windows it is vital for
    identifying Windows 11.
  * Other API changes

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=537
2023-02-09 22:19:33 +00:00
Charles Arnold
bf2825a32c Include jsc in comment
* jsc#PED-2113

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=535
2023-01-30 21:44:05 +00:00
Charles Arnold
371394c089 Accepting request 1043309 from home:dimstar:Factory
- Fix build with RPM 4.18: rpm wants to do a proper cleanup, and
  fails on the design choice to have /usr/lib65 without write
  permission. As we already tar'ed the content up, we can simply
  change the permissions of winsupport's content to allow proper
  erasing.

OBS-URL: https://build.opensuse.org/request/show/1043309
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=533
2022-12-16 16:34:17 +00:00
Charles Arnold
8327a03b19 Accepting request 1039189 from openSUSE:Factory:RISCV
- Enable build on riscv64

OBS-URL: https://build.opensuse.org/request/show/1039189
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=532
2022-12-15 17:48:56 +00:00
Charles Arnold
1909e063be - Update to version 1.48.6
* This is a bug fix release. No upstream changelog.
- Drop f162e47e-m4-Fix-configure-disable-ocaml.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=530
2022-11-29 19:57:00 +00:00
Charles Arnold
e077767708 Sync with SLE15-SP5 and Factory changes.
- Drop requirement for icoutils in SLE as this package is not
  available.
  libguestfs.spec

- jsc#PED-2113 [Virt Tools] Refresh Virtualization Tools for Xen
  and KVM Management
- bsc#1201064 - Libguestfs: Buffer overflow in get_keys leads
  to DOS - CVE-2022-2211

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=528
2022-10-27 14:34:27 +00:00
Charles Arnold
54811d9271 Accepting request 1030198 from home:lnussel:branches:Virtualization
- Drop reiserfs (boo#1191092)

OBS-URL: https://build.opensuse.org/request/show/1030198
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=526
2022-10-24 14:01:38 +00:00
Charles Arnold
ac23b9a808 Adjustments to quite rpmlint building for 15-SP5
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=525
2022-10-03 19:27:02 +00:00
Charles Arnold
e7d98ecfe9 - Upstream patch to fix running configure --disable-ocaml
f162e47e-m4-Fix-configure-disable-ocaml.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=523
2022-09-06 16:36:25 +00:00
Charles Arnold
4b12b3ec01 - Update to version 1.48.4
* This is a bug fix release
- Drop patches included in new tarball
  CVE-2022-2211-docs-guestfs-security-document.patch
  CVE-2022-2211-options-fix-buffer-overflow-in-get_keys.patch
- CVE-2022-2211 - Fix buffer overflow in get_keys()

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=521
2022-07-12 21:55:44 +00:00
Charles Arnold
7898a20f8a - CVE-2022-2211 - Fix buffer overflow in get_keys()
CVE-2022-2211-options-fix-buffer-overflow-in-get_keys.patch
  CVE-2022-2211-docs-guestfs-security-document.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=518
2022-06-29 16:19:00 +00:00
Charles Arnold
4abb31e0da - bsc#1190501 - virt-builder fails to install packages when
building an image. Add Recommends: dhcp-client for the appliance.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=516
2022-06-03 22:03:40 +00:00
Charles Arnold
433bd9bd5f - Add Recommends: dhcp-client for the appliance.
libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=515
2022-06-03 21:26:37 +00:00
Charles Arnold
f23952ddd9 Drop for building ruby-libguestfs
Requires:       ruby(release)
Provides:       ruby(guestfs) = %{version}

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=513
2022-06-02 14:36:05 +00:00
Charles Arnold
b5aaee3daa Add requirement for glib2-devel for gobject-devel
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=512
2022-06-01 17:42:29 +00:00
Charles Arnold
92ecd6951c libguestfs-devel requires libguestfs0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=511
2022-06-01 16:58:56 +00:00
Charles Arnold
dfe5a7cfe3 Fix Requires for gobject-devel
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=510
2022-06-01 16:02:45 +00:00
Charles Arnold
394b1b3eaa - Update to version 1.48.3
* Several bugs fixed in this release since version 1.48.1
  * Updated language files

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=509
2022-06-01 15:34:55 +00:00
Charles Arnold
d7c69d5b4d - Package changes
* New libguestfs.spec file.
  * Moved guestfs-tools to a new and separate project and package
  * Renamed packages
    guestfs-winsupport -> libguestfs-winsupport
    guestfsd -> libguestfsd
  * New packages
    libguestfs, libguestfs-typelib-Guestfs,
    libguestfs-gobject, libguestfs-gobject-devel
    libguestfs-rescue, libguestfs-rsync, libguestfs-xfs
  * Dropped package libguestfs-test

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=508
2022-05-26 14:37:21 +00:00
Charles Arnold
7f44058175 - Add relevant %post{,un} sections
- Add another rpmlint filter
- Add uk man dirs

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=507
2022-05-26 02:57:06 +00:00
Charles Arnold
4857e9df9e Spec file changes to build libguestfs0 and typelib packages.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=506
2022-05-26 02:33:07 +00:00
Charles Arnold
b98572f22b For libguestfs-gobject, add Obsoletes: libguestfs0 < %{version}
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=505
2022-05-24 15:39:32 +00:00
Charles Arnold
d3ef81e6e0 lua-guestfs should be lua-libguestfs
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=504
2022-05-23 18:42:01 +00:00
Charles Arnold
bd432c6f3c Adjust Provides and Obsoletes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=503
2022-05-23 17:30:45 +00:00
Charles Arnold
852944dae4 Resolve conflicts created by splitting guestfs-tools out
of libguestfs and renaming libguestfs0 to libguestfs.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=502
2022-05-20 21:34:31 +00:00
Charles Arnold
05ddc86d49 Add ExclusiveArch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=501
2022-04-25 17:11:14 +00:00
Charles Arnold
d35b7a43ed - Update to version 1.48.1
* Updated language files
  * A few bug fixes in this release
  * Drop requirement for newer ocaml required by Bytes.get_uint8.
    It is replaced with a local implementation.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=500
2022-04-18 21:48:58 +00:00
Charles Arnold
957c671e6c - Add relevant %post{,un} sections
- Add another rpmlint filter

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=499
2022-04-15 20:19:14 +00:00
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
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