SHA256
1
0
forked from pool/libguestfs
Commit Graph

477 Commits

Author SHA256 Message Date
Charles Arnold
6bb32fff80 - Upstream bug fixes
Initialise-bar-fp-as-NULL.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=571
2024-03-29 19:13:46 +00:00
Charles Arnold
768d2e7c5e - Fix command line argument parsing with upstream commit
Split-chown-parameter-on-character.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=570
2024-03-28 19:18:42 +00:00
Charles Arnold
b13d3ce30c - bsc#1206361 - SLES 15 SP5 Beta2 - virt-customize ssh-inject fails
(s390x/kvm/libvirt) (-> Server-Applications module)
  use-rtc-driftfix-slew-for-x86-only.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=568
2024-02-06 17:46:24 +00:00
Charles Arnold
a47ed8d595 Accepting request 1143191 from home:dimstar:Factory
- BuildRequire pkgconfig(libzstd) additionaly to zstd: we need the
  devel package. In the past, it was pulled in by indirect deps.

OBS-URL: https://build.opensuse.org/request/show/1143191
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=566
2024-02-01 14:44:32 +00:00
Charles Arnold
241b3992e9 - Copy sorted packagelist to packages during supermin appliance
setup. (bsc#1215586)
  libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=564
2024-01-11 22:57:43 +00:00
Charles Arnold
b74122fd84 Add -p flag to mkdir in case re-using sandbox.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=563
2024-01-09 23:04:21 +00:00
Charles Arnold
2f9c3e0503 - Update to version 1.52.0 (jsc#PED-6305)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=561
2024-01-08 15:51:35 +00:00
Charles Arnold
b051018cfa Accepting request 1133981 from home:bmwiedemann:branches:Virtualization
Provide a tar-wrapper that creates bit-reproducible output (boo#1218191)

Note: needs testing that everything still works as expected.

OBS-URL: https://build.opensuse.org/request/show/1133981
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=560
2024-01-08 15:49:08 +00:00
Charles Arnold
ca7e74e313 Accepting request 1133020 from home:olh:branches:Virtualization
- Use ocaml-rpm-macros to track OCaml ABI
- Remove unused perl_gen_filelist

sync changes file from SLE15

OBS-URL: https://build.opensuse.org/request/show/1133020
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=559
2024-01-08 15:18:16 +00:00
Charles Arnold
46d45c57c4 - Update to version 1.52.0
* The Python bindings now use bytes (instead of str) for the
    event callback message, since it may contain arbitrary 8 bit
    data
    Fix a rare crash, and avoid memory leaks in event callbacks
  * Support for OCaml 5, and OCaml ≥ 4.07 is now the minimum
  * The OCaml bindings now release the runtime lock around calls
    to guestfs_close, since that call might be long-running (for
    example it might have to shut down the appliance and synch disks).
  * Support OpencloudOS
  * SELinux relabelling now runs in parallel, meaning it's a lot
    quicker
  * Add support for lzma and zstd compression methods in tar APIs
    (like guestfs_tar_in)
  * guestfs_pvs_full previously didn't always return the correct
    device names. This has now been fixed.
  * guestfs_btrfs_filesystem_balance fixed so it now works with
    more modern btrfs tools (Jürgen Hötzel).
  * The guestfish(1) --key option now recognizes LVM names like
    /dev/mapper/rhel_bootp--73--75--123-root
  * guestfish --key option also supports a new --key all:...
    selector to try the same key on all devices.
  * In guestmount(1) avoid calling fclose(NULL) on error paths,
    which might have caused a crash on some platforms.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=557
2024-01-04 20:17:55 +00:00
Charles Arnold
b6a0221f51 - Update to version 1.51.10
* options: Allow --key all:SELECTOR to be used to match any
    device. Rewrite --key documentation.
  * mltools/libosinfo-c.c: Fix off-by-one error
  * mldrivers: look for bootloader config in /boot/grub/grub.cfg in
    case of UEFI
  * daemon/btrfs: Use new syntax for balance command
  * ocaml: Nullify custom block before releasing runtime lock
  * ocaml: Use Gc.finalise instead of a C finalizer

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=556
2024-01-02 18:40:23 +00:00
Charles Arnold
ab781585c3 - Update to version 1.51.9
* Include <libxml/parser.h> for xmlReadMemory
  * Language translations

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=554
2023-12-11 20:22:52 +00:00
Charles Arnold
2e48e27d85 Accepting request 1130767 from home:olh:branches:Virtualization
- Require OCaml 4.07+

OBS-URL: https://build.opensuse.org/request/show/1130767
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=552
2023-12-04 15:47:55 +00:00
Charles Arnold
d42fb7fc56 - Update to version 1.51.8
* There are no upstream release notes for verion 1.51.x
  * Dropped the virt-dib tool
  * Add support for lzma and zstd compression methods.
  * Add --chown option for virt-customize
  * Add new virt-customize --tar-in operation
  * Various bug fixes and language translations
- Drop patch contained in new tarball
  Omit-file--S-option-on-older-distros-that-lack-support.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=551
2023-11-28 20:05:28 +00:00
Charles Arnold
44d90ba9dd Update comment
libguestfs.spec (see also bsc#1215664)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=549
2023-09-25 22:14:06 +00:00
Charles Arnold
89bd589d71 Update comment
See also bsc#1215461

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=548
2023-09-25 22:12:16 +00:00
Charles Arnold
791af902b9 - bsc#1215543 - guestfs regression: file: Use -S option with -z
Omit-file--S-option-on-older-distros-that-lack-support.patch
- bsc#1215586 - guestfs regression: non functional network due to
  missing sysconfig-netconfig
  libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=547
2023-09-25 21:01:06 +00:00
Charles Arnold
01fa11bbb8 - bsc#1212972 - cannot find any suitable libguestfs supermin
libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=545
2023-07-05 17:39:02 +00:00
Charles Arnold
f7ba4a0966 Accepting request 1074597 from home:marxin:branches:Virtualization
- Enable LTO as it works fine now (use FAT lto objects for static libs).

OBS-URL: https://build.opensuse.org/request/show/1074597
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=543
2023-03-30 18:23:56 +00:00
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
12360924d7 - 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=519
2022-06-30 16:44:12 +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