Commit Graph

452 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
64cfd4d696 Accepting request 709446 from home:dimstar:Factory
Allow OBS to pick better candidates to shorten rebuild queues

OBS-URL: https://build.opensuse.org/request/show/709446
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=437
2019-06-26 07:40:54 +00:00
Larry Dewey
3129552e76 Accepting request 695338 from home:ldewey:branches:Virtualization
- Fixing issue with virt-customize in SLES and openSUSE guests
  (boo#1132790)
  Patches added:
    28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch
    70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch

OBS-URL: https://build.opensuse.org/request/show/695338
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=435
2019-04-17 20:59:11 +00:00
Cédric Bosdonnat
20f23f75d3 Accepting request 692396 from home:ldewey:branches:Virtualization
- Fixing issue with virt-customize uninstall and '-l'
  (bnc#1131342)
  Patches added:
    fd43730e-error-with-uninstall-option-on-SUSE.patch

OBS-URL: https://build.opensuse.org/request/show/692396
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=433
2019-04-09 09:30:12 +00:00
d669de6745 Accepting request 616042 from home:olh:branches:Virtualization
- Remove zerofree from BuildRequires because only supermin will
  consider this feature at runtime.

OBS-URL: https://build.opensuse.org/request/show/616042
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=431
2018-06-13 07:04:23 +00:00
Cédric Bosdonnat
c15bbf9592 Accepting request 598473 from home:cbosdonnat:branches:Virtualization
- Build against libtirpc

OBS-URL: https://build.opensuse.org/request/show/598473
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=429
2018-04-19 09:47:36 +00:00
Cédric Bosdonnat
af22ed5454 Accepting request 580945 from home:cbosdonnat:branches:Virtualization
- Remove unneeded createrepo build dependency (bsc#1082689)
- builder-repository: fix SLES short id computation
  Patch added:
    0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch
- Fix handling of Latin-1 encoding in rpmdb (bsc#1075803)
  Patches added:
    0001-Introduce-a-wrapper-around-xmlParseURI.patch
    0002-common-extract-UTF-8-conversion-function.patch
    0003-inspector-rpm-summary-and-description-may-not-be-utf.patch

OBS-URL: https://build.opensuse.org/request/show/580945
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=427
2018-02-28 12:33:26 +00:00
e8e06d1a48 Accepting request 579465 from home:adamm:branches:Virtualization
- Remove dependency on wodim for openSUSE:Factory and use cdrtools
  (bnc#1081739)

OBS-URL: https://build.opensuse.org/request/show/579465
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=425
2018-02-23 13:14:55 +00:00
Cédric Bosdonnat
8675709585 Accepting request 575410 from home:cbosdonnat:branches:Virtualization
Remove v2v test harness since it brings more troubles than goodness

OBS-URL: https://build.opensuse.org/request/show/575410
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=423
2018-02-11 20:20:53 +00:00
Cédric Bosdonnat
0d15c6f52a Accepting request 574844 from home:cbosdonnat:branches:Virtualization
Fix URL and libvirt dependency

OBS-URL: https://build.opensuse.org/request/show/574844
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=422
2018-02-09 21:05:17 +00:00
Cédric Bosdonnat
e6dbb72b99 Accepting request 574839 from home:cbosdonnat:branches:Virtualization
- update to version 1.38.0:
  * Virt-builder-repository is a new tool allowing end users to
    create and update virt-builder repositories. (fate#318952)
  * Virt-rescue has been substantially rewritten, implementing job
    control, -m and -i options, escape keys, etc.
  * Virt-builder planner has been improved so that faster and more
    efficient build plans are chosen for complex cases, especially when
    either the tmpdir or output is on networked storage.
  * Virt-customize now sets a random /etc/machine-id for Linux guests, if
    one is not already set.
  * Virt-df now works correctly on filesystems with block sizes smaller
    than 1K.
  * Virt-dib has further compatibility enhancements with diskimage-builder.
  * Virt-sysprep removes "DHCP_HOSTNAME" from ifcfg-* files.
  * Virt-resize now correctly copies GPT partition attributes from the
    source to the destination. (bsc#1074585)
  * Bash tab completion implemented or enhanced for: virt-win-reg,
    virt-v2v-copy-to-local.
  * Both virt-v2v and virt-p2v are now able to pass through the source CPU
    vendor, model and topology.
  * Virt-v2v now supports encrypted guests.
  * Virt-v2v now detects the special Linux Xen PV-only kernels correctly
  * Virt-v2v -o glance now generates the right properties for UEFI guests
  * Virt-v2v -o null now avoids spooling the guest to a temporary file,
    instead it writes to the qemu "null block device".  This makes it
    faster and use almost no disk space.
  * Virt-v2v -i libvirtxml can now open network disks over http or https.
  * Virt-v2v will now give a warning about host passthrough devices
  * Inspection support was rewritten in OCaml and included inside the
    daemon.  This makes inspection considerably faster, more robust and
    more easily extensible in future.
  * The libguestfs API is now thread-safe (although not parallel).  You can
    call APIs on the same handle from multiple threads without needing to
    take a lock.
- Removed patches:
    531316cc-build-improve-and-simplify-distro-detection.patch
    9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
    f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
- Added patches:
    d0e5a819-python-Fix-missing-additional-backslashes.patch

OBS-URL: https://build.opensuse.org/request/show/574839
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=421
2018-02-09 20:35:53 +00:00
Cédric Bosdonnat
c3c36fd757 Accepting request 554861 from home:cbosdonnat:branches:Virtualization
- Don't run fdupes as it symlinks some of the python3 binding
  files to their python2 equivalent

OBS-URL: https://build.opensuse.org/request/show/554861
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=419
2017-12-06 15:46:58 +00:00
Cédric Bosdonnat
04b6f777c5 Accepting request 554551 from home:cbosdonnat:branches:Virtualization
- add hwinfo to the appliance packages for ntfs support.
  (bsc#1070976)

OBS-URL: https://build.opensuse.org/request/show/554551
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=418
2017-12-05 15:32:05 +00:00
Cédric Bosdonnat
b51803f5d7 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=417 2017-12-05 10:09:16 +00:00
Cédric Bosdonnat
970ea4d7bd Accepting request 548191 from home:cbosdonnat:branches:Virtualization
- evtxdump is in python3-evtx, drop python2 dependency
  (fate#323526)

OBS-URL: https://build.opensuse.org/request/show/548191
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=416
2017-12-04 17:20:49 +00:00
Cédric Bosdonnat
3cb4b5ef3c - Remove useless patch: 0000-hotfix.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=415
2017-11-30 13:08:00 +00:00
Cédric Bosdonnat
b4a9c7b26f Accepting request 546686 from home:cbosdonnat:branches:Virtualization
Fix is_opensuse macro mess in spec file

OBS-URL: https://build.opensuse.org/request/show/546686
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=414
2017-11-30 10:54:44 +00:00
Cédric Bosdonnat
e74a187725 - Add db48-utils dependency: needed to inspect the installed
packages.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=413
2017-11-22 16:23:43 +00:00
Cédric Bosdonnat
3725fcbc09 Accepting request 536716 from home:cbosdonnat:branches:Virtualization
- Force distro detection
  Removed:
    * use-idlike.patch
  Added:
    * 531316cc-build-improve-and-simplify-distro-detection.patch

OBS-URL: https://build.opensuse.org/request/show/536716
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=411
2017-10-26 07:50:17 +00:00
Cédric Bosdonnat
45101f7822 - Move guestfs-data to libguestfs0. bsc#1064399
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=410
2017-10-25 13:25:49 +00:00
a68204cbea Accepting request 533662 from home:sbrabec:branches:Virtualization
- Use "OCaml" in RPM group exactly as all other packages do.

OBS-URL: https://build.opensuse.org/request/show/533662
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=408
2017-10-13 06:56:20 +00:00
2a8db46d2a Accepting request 528077 from home:jengelh:branches:Virtualization
- Update summaries and RPM groups. Trim description for size.
- Replace old $RPM_ shell vars by macros.
  Remove redundant %clean section.

OBS-URL: https://build.opensuse.org/request/show/528077
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=406
2017-09-25 09:23:26 +00:00
Cédric Bosdonnat
77da480dd9 Accepting request 527667 from home:cbosdonnat:branches:Virtualization
- Add windows support files to the appliance for SLES (fate#316274)
- Merge SLES and openSUSE spec files.

OBS-URL: https://build.opensuse.org/request/show/527667
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=405
2017-09-21 09:01:23 +00:00
Cédric Bosdonnat
f90b15aef3 Accepting request 521908 from home:cbosdonnat:branches:Virtualization
- Tweak configuration before building for python3 or PyString_*
  symbols will still be missing

OBS-URL: https://build.opensuse.org/request/show/521908
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=403
2017-09-07 08:20:20 +00:00
Cédric Bosdonnat
e7da7e37ad Accepting request 520153 from home:cbosdonnat:branches:Virtualization
- Fix python binding for python3
  add patches:
  * 9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
  * f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
- Better fix for SUSE distro detection using ID_LIKE as fallback:
  * use-idlike.patch

OBS-URL: https://build.opensuse.org/request/show/520153
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=401
2017-09-01 14:44:47 +00:00
Cédric Bosdonnat
308f6baa27 Accepting request 514065 from home:cbosdonnat:branches:Virtualization
- Fix python binding package
  * Replace python-libguestfs by python[23]-libguestfs packages
  * Add egg-info to python[23]-libguestfs package

OBS-URL: https://build.opensuse.org/request/show/514065
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=399
2017-08-02 16:04:59 +00:00