From patchwork Fri Dec 20 11:40:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8331 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4YF57f0yM7z3wxg for ; Fri, 20 Dec 2024 11:40:14 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4YF57Z18Rjz1ZF; Fri, 20 Dec 2024 11:40:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4YF57Y6KTWz33dN; Fri, 20 Dec 2024 11:40:09 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4YF57W3qX4z32qN for ; Fri, 20 Dec 2024 11:40:07 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4YF57V2PJyzty; Fri, 20 Dec 2024 11:40:06 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1734694806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7hF5u5357MKQmibEAYGkFB4EUdSEka+u/dOrMPrfmxk=; b=YJhdjL/vZlI6KaYZKJwfubJgwoXRqUyaTN5Tdv10BQrIQdKT66K1wsKFEUVLPSimo3haH7 GItr02PLGkkwi4AQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1734694806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7hF5u5357MKQmibEAYGkFB4EUdSEka+u/dOrMPrfmxk=; b=Y9v8x7qKxr6WASp6g5C1EZnke38qy7OJtc/vlt0AMHYJY2yTdjnyaZgQVz336pTa4/4T5e uOyoyIvx2O28YoZl2C5gLyg4cYKwF3UVdtfqZR74yMtMKvgZJ5mzm3b/1wkT5/PNqmbjY8 iriMY7CJshjvp9eG0rJWtRhzXdHqtfRK/M3gXLijRr+8mZqGzCS6BAXin1MG5x2E3J8t74 xLGut3U8lKu+9VA8Nsb3QiXTE2Bso9f4bBbmUjbYfNEd2qQEm+3stlTL0ZZgxRgleEUhMn FYM/JVJ+JIGnDQfXKBhI34LNgk1csxsfCZNYthb8GSNaqrIl5HFqMss3xrHOtQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 1/2] libvirt: Update to version 10.10.0 Date: Fri, 20 Dec 2024 12:40:01 +0100 Message-ID: <20241220114002.78636-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: 3AOD56TJPRFXAFCLRMDPGNANJP5MNVXA X-Message-ID-Hash: 3AOD56TJPRFXAFCLRMDPGNANJP5MNVXA X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 10.7.0 to 10.10.0 - Update of rootfile - version 10.7.0 had a change in it which meant that the script friendly output of ``virsh list --uuid`` was replaced. This change was reverted in version 10.8.0 - In version 10.8.0 libyajl was replaced by json-c for JSON parsing and formatting. Therefore this patch set also removes libyajl from IPFire as it is no longer required. - Changelog 10.10.0 New features * qemu: add multi boot device support on s390x For classical mainframe guests (i.e. LPAR or z/VM installations), you always have to explicitly specify the disk where you want to boot from (or "IPL" from, in s390x-speak -- IPL means "Initial Program Load"). In the past QEMU only used the first device in the boot order to IPL from. With the new multi boot device support on s390x that is available with QEMU version 9.2 and newer, this limitation is lifted. If the IPL fails for the first device with the lowest boot index, the device with the second lowest boot index will be tried and so on until IPL is successful or there are no remaining boot devices to try. Limitation: The s390x BIOS will try to IPL up to 8 total devices, any number of which may be disks or network devices. * qemu: Add support for versioned CPU models Updates to QEMU CPU models with -vN suffix can now be used in libvirt just like any other CPU model. * qemu: Support for the 'data-file' QCOW2 image feature The QEMU hypervisor driver now supports QCOW2 images with 'data-file' feature present (both when probing form the image itself and when specified explicitly via ```` element). This can be useful when it's required to keep data "raw" on disk, but the use case requires features of the QCOW2 format such as incremental backups. * swtpm: Add support for profiles Upcoming swtpm release will have TPM profile support that allows to restrict a TPM's provided set of crypto algorithms and commands. Users can now select profile by using ```` in their TPM XML definition. Improvements * qemu: Support UEFI NVRAM images on block storage Libvirt now allows users to use block storage as backend for UEFI NVRAM images and allows them to be in format different than the template. When qcow2 is used as the format, the images are now also auto-populated from the template. * qemu: Automatically add IOMMU when needed When domain of 'qemu' or 'kvm' type has more than 255 vCPUs IOMMU with EIM mode is required. Starting with this release libvirt automatically adds one (or turns on the EIM mode if there's IOMMU without it). * ch: allow hostdevs in domain definition The Cloud Hypervisor driver (ch) now supports ````-s. * ch: Enable callbacks for ch domain events The Cloud Hypervisor driver (ch) now supports emitting events on domain define, undefine, start, boot, stop and destroy. Bug fixes * qemu: Fix reversion and inactive deletion of internal snapshots with UEFI NVRAM. In `v10.9.0 (2024-11-01)`_ creation of internal snapshots of VMs with UEFI firmware was allowed, but certain operations such as reversion or inactive deletion didn't work properly as they didn't consider the NVRAM qcow2 file. * virnetdevopenvswitch: Warn on unsupported QoS settings For OpenVSwitch vNICs libivrt does not set QoS directly using 'tc' but offloads setting to OVS. But OVS is not as feature full as libvirt in this regard and setting different 'peak' than 'average' results in vNIC always sticking with 'peak'. Produce a warning if that's the case. 10.9.0 New features * qemu: zero block detection for non-shared-storage migration Users can now request that all-zero blocks are not transferred when migrating non-shared disk data without actually enabling zero detection on the disk itself. This allows sparsifying images during migration where the source has no access to the allocation state of blocks at the cost of CPU overhead. This feature is available via the ``--migrate-disks-detect-zeroes`` option for ``virsh migrate`` or ``VIR_MIGRATE_PARAM_MIGRATE_DISKS_DETECT_ZEROES`` migration parameter. See the documentation for caveats. Improvements * qemu: internal snapshot improvements The qemu internal snapshot handling code was updated to use modern commands which avoid the problems the old ones had, preventing use of internal snapshots on VMs with UEFI NVRAM. Internal snapshots of VMs using UEFI are now possible provided that the NVRAM is in ``qcow2`` format. The new code also allows better control when deleting snapshots. To prevent possible regressions no strict checking is done, but in case inconsistent state is encountered a log message is added:: warning : qemuSnapshotActiveInternalDeleteGetDevices:3841 : inconsistent internal snapshot state (deletion): VM='snap' snapshot='1727959843' missing='vda ' unexpected='' extra='' Users are encouraged to report any occurence of the above message along with steps they took to the upstream tracker. * qemu: improve documentation of image format settings The documentation of the various ``*_image_format`` settings in ``qemu.conf`` imply they can only be used to control compression of the image. The documentation has been improved to clarify the settings describe the representation of guest memory blocks on disk, which includes compression among other possible layouts. * Report CPU model blockers in domain capabilities When a CPU model is reported as usable='no' an additional ```` element is added for that CPU model listing features required by the CPU model, but not supported on the host. 10.8.0 Improvements * network: make networks with ```` more useful It is now permissable to have a ```` network that has no IP address assigned to the host's port of the bridge. This is the only way to create a libvirt network where guests are unreachable from the host (and vice versa) and also 0 firewall rules are added on the host. It is now also possible for a ```` network to use the ``zone`` attribute of ```` to set the firewalld zone of the bridge interface (normally it would not be set, as is done with other forward modes). * storage: Lessen dependancy on the ``showmount`` program Libvirt now automatically detects presence of ``showmount`` during runtime as we do with other helper programs and also the ``daemon-driver-storage-core`` RPM package now doesn't strongly depend on it if the users wish for a more minimal deployment. * Switch from YAJL to json-c for JSON parsing and formatting The parser and formatter in the libvirt library, as well as the parsers in the nss plugin were rewritten to use json-c instead of YAJL, which is effectively dead upstream. * Relax restrictions for memorytune settings It should now be possible to use resctrl on AMD CPUs as well as Intel CPUs when the resctrl filesystem is mounted with ``mba_MBps`` option. Bug fixes * virsh: Fix script-friedly output of ``virsh list --uuid`` The script-friendly output of just 1 UUID per line was mistakenly replaced by the full human-targetted table view full of redundant information and very hard to parse. Users who wish to see the UUIDs in the tabular output need to use ``virsh list --table --uuid`` as old behaviour was reverted. Note that this also broke the ``libvirt-guests`` script. The bug was introduced in `v10.7.0 (2024-09-02)`_. * network/qemu: fix some cases where ``device-update`` of a network interface was failing: * If the interface was connected to a libvirt network that was providing a pool of VFs to be used with macvtap passthrough mode, then *any* update to the interface would fail, even changing the link state. Updating (the updateable parts of) a macvtap passthrough interface will now succeed. * It previously was not possible to move an interface from a Linux host bridge to an OVS bridge. This (and the opposite direction) now works. * qemu: backup: Fix possible crashes when running monitoring commands during backup job The qemu monitor code was fixed to not crash in specific cases when monitoing APIs are called during a backup job. * Fix various memleaks and overflows Multiple memory leaks and overflows in corner cases were fixed based on upstream issues reported. * network: Better cleanup after disappeared networks If a network disappeared while virtnetworkd was not running not all clean up was done properly once the daemon was started, especially when only the network interface disappeared. This could have in some cases resulted in the network being shown as inactive, but not being able to start. * qemu: Remember memory backing directory for domains If ``memory_backing_dir`` is changed during the lifetime of a domain with file backed memory, files in the old directory would not be cleaned up once the domain is shut down. Now the directory that was used during startup is remembered for each running domain. Signed-off-by: Adolf Belka --- config/rootfiles/packages/libvirt | 74 +++++++++++++++++++++++++++++-- lfs/libvirt | 8 ++-- 2 files changed, 74 insertions(+), 8 deletions(-) diff --git a/config/rootfiles/packages/libvirt b/config/rootfiles/packages/libvirt index 32fdd5cce..55bd39a4e 100644 --- a/config/rootfiles/packages/libvirt +++ b/config/rootfiles/packages/libvirt @@ -87,16 +87,16 @@ usr/bin/virt-xml-validate #usr/lib/libvirt #usr/lib/libvirt-admin.so usr/lib/libvirt-admin.so.0 -usr/lib/libvirt-admin.so.0.10007.0 +usr/lib/libvirt-admin.so.0.10010.0 #usr/lib/libvirt-lxc.so usr/lib/libvirt-lxc.so.0 -usr/lib/libvirt-lxc.so.0.10007.0 +usr/lib/libvirt-lxc.so.0.10010.0 #usr/lib/libvirt-qemu.so usr/lib/libvirt-qemu.so.0 -usr/lib/libvirt-qemu.so.0.10007.0 +usr/lib/libvirt-qemu.so.0.10010.0 #usr/lib/libvirt.so usr/lib/libvirt.so.0 -usr/lib/libvirt.so.0.10007.0 +usr/lib/libvirt.so.0.10010.0 #usr/lib/libvirt/connection-driver usr/lib/libvirt/connection-driver/libvirt_driver_ch.so usr/lib/libvirt/connection-driver/libvirt_driver_interface.so @@ -247,29 +247,73 @@ usr/share/libvirt/cpu_map/x86_486.xml usr/share/libvirt/cpu_map/x86_Broadwell-IBRS.xml usr/share/libvirt/cpu_map/x86_Broadwell-noTSX-IBRS.xml usr/share/libvirt/cpu_map/x86_Broadwell-noTSX.xml +usr/share/libvirt/cpu_map/x86_Broadwell-v1.xml +usr/share/libvirt/cpu_map/x86_Broadwell-v2.xml +usr/share/libvirt/cpu_map/x86_Broadwell-v3.xml +usr/share/libvirt/cpu_map/x86_Broadwell-v4.xml usr/share/libvirt/cpu_map/x86_Broadwell.xml usr/share/libvirt/cpu_map/x86_Cascadelake-Server-noTSX.xml +usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v1.xml +usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v2.xml +usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v3.xml +usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v4.xml +usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v5.xml usr/share/libvirt/cpu_map/x86_Cascadelake-Server.xml usr/share/libvirt/cpu_map/x86_Conroe.xml +usr/share/libvirt/cpu_map/x86_Cooperlake-v1.xml +usr/share/libvirt/cpu_map/x86_Cooperlake-v2.xml usr/share/libvirt/cpu_map/x86_Cooperlake.xml +usr/share/libvirt/cpu_map/x86_Denverton-v1.xml +usr/share/libvirt/cpu_map/x86_Denverton-v2.xml +usr/share/libvirt/cpu_map/x86_Denverton-v3.xml +usr/share/libvirt/cpu_map/x86_Denverton.xml +usr/share/libvirt/cpu_map/x86_Dhyana-v1.xml +usr/share/libvirt/cpu_map/x86_Dhyana-v2.xml usr/share/libvirt/cpu_map/x86_Dhyana.xml usr/share/libvirt/cpu_map/x86_EPYC-Genoa.xml usr/share/libvirt/cpu_map/x86_EPYC-IBPB.xml +usr/share/libvirt/cpu_map/x86_EPYC-Milan-v1.xml +usr/share/libvirt/cpu_map/x86_EPYC-Milan-v2.xml usr/share/libvirt/cpu_map/x86_EPYC-Milan.xml +usr/share/libvirt/cpu_map/x86_EPYC-Rome-v1.xml +usr/share/libvirt/cpu_map/x86_EPYC-Rome-v2.xml +usr/share/libvirt/cpu_map/x86_EPYC-Rome-v3.xml +usr/share/libvirt/cpu_map/x86_EPYC-Rome-v4.xml usr/share/libvirt/cpu_map/x86_EPYC-Rome.xml +usr/share/libvirt/cpu_map/x86_EPYC-v1.xml +usr/share/libvirt/cpu_map/x86_EPYC-v2.xml +usr/share/libvirt/cpu_map/x86_EPYC-v3.xml +usr/share/libvirt/cpu_map/x86_EPYC-v4.xml usr/share/libvirt/cpu_map/x86_EPYC.xml +usr/share/libvirt/cpu_map/x86_GraniteRapids-v1.xml usr/share/libvirt/cpu_map/x86_GraniteRapids.xml usr/share/libvirt/cpu_map/x86_Haswell-IBRS.xml usr/share/libvirt/cpu_map/x86_Haswell-noTSX-IBRS.xml usr/share/libvirt/cpu_map/x86_Haswell-noTSX.xml +usr/share/libvirt/cpu_map/x86_Haswell-v1.xml +usr/share/libvirt/cpu_map/x86_Haswell-v2.xml +usr/share/libvirt/cpu_map/x86_Haswell-v3.xml +usr/share/libvirt/cpu_map/x86_Haswell-v4.xml usr/share/libvirt/cpu_map/x86_Haswell.xml usr/share/libvirt/cpu_map/x86_Icelake-Client-noTSX.xml usr/share/libvirt/cpu_map/x86_Icelake-Client.xml usr/share/libvirt/cpu_map/x86_Icelake-Server-noTSX.xml +usr/share/libvirt/cpu_map/x86_Icelake-Server-v1.xml +usr/share/libvirt/cpu_map/x86_Icelake-Server-v2.xml +usr/share/libvirt/cpu_map/x86_Icelake-Server-v3.xml +usr/share/libvirt/cpu_map/x86_Icelake-Server-v4.xml +usr/share/libvirt/cpu_map/x86_Icelake-Server-v5.xml +usr/share/libvirt/cpu_map/x86_Icelake-Server-v6.xml +usr/share/libvirt/cpu_map/x86_Icelake-Server-v7.xml usr/share/libvirt/cpu_map/x86_Icelake-Server.xml usr/share/libvirt/cpu_map/x86_IvyBridge-IBRS.xml +usr/share/libvirt/cpu_map/x86_IvyBridge-v1.xml +usr/share/libvirt/cpu_map/x86_IvyBridge-v2.xml usr/share/libvirt/cpu_map/x86_IvyBridge.xml +usr/share/libvirt/cpu_map/x86_KnightsMill.xml usr/share/libvirt/cpu_map/x86_Nehalem-IBRS.xml +usr/share/libvirt/cpu_map/x86_Nehalem-v1.xml +usr/share/libvirt/cpu_map/x86_Nehalem-v2.xml usr/share/libvirt/cpu_map/x86_Nehalem.xml usr/share/libvirt/cpu_map/x86_Opteron_G1.xml usr/share/libvirt/cpu_map/x86_Opteron_G2.xml @@ -278,16 +322,38 @@ usr/share/libvirt/cpu_map/x86_Opteron_G4.xml usr/share/libvirt/cpu_map/x86_Opteron_G5.xml usr/share/libvirt/cpu_map/x86_Penryn.xml usr/share/libvirt/cpu_map/x86_SandyBridge-IBRS.xml +usr/share/libvirt/cpu_map/x86_SandyBridge-v1.xml +usr/share/libvirt/cpu_map/x86_SandyBridge-v2.xml usr/share/libvirt/cpu_map/x86_SandyBridge.xml +usr/share/libvirt/cpu_map/x86_SapphireRapids-v1.xml +usr/share/libvirt/cpu_map/x86_SapphireRapids-v2.xml +usr/share/libvirt/cpu_map/x86_SapphireRapids-v3.xml usr/share/libvirt/cpu_map/x86_SapphireRapids.xml +usr/share/libvirt/cpu_map/x86_SierraForest-v1.xml +usr/share/libvirt/cpu_map/x86_SierraForest.xml usr/share/libvirt/cpu_map/x86_Skylake-Client-IBRS.xml usr/share/libvirt/cpu_map/x86_Skylake-Client-noTSX-IBRS.xml +usr/share/libvirt/cpu_map/x86_Skylake-Client-v1.xml +usr/share/libvirt/cpu_map/x86_Skylake-Client-v2.xml +usr/share/libvirt/cpu_map/x86_Skylake-Client-v3.xml +usr/share/libvirt/cpu_map/x86_Skylake-Client-v4.xml usr/share/libvirt/cpu_map/x86_Skylake-Client.xml usr/share/libvirt/cpu_map/x86_Skylake-Server-IBRS.xml usr/share/libvirt/cpu_map/x86_Skylake-Server-noTSX-IBRS.xml +usr/share/libvirt/cpu_map/x86_Skylake-Server-v1.xml +usr/share/libvirt/cpu_map/x86_Skylake-Server-v2.xml +usr/share/libvirt/cpu_map/x86_Skylake-Server-v3.xml +usr/share/libvirt/cpu_map/x86_Skylake-Server-v4.xml +usr/share/libvirt/cpu_map/x86_Skylake-Server-v5.xml usr/share/libvirt/cpu_map/x86_Skylake-Server.xml +usr/share/libvirt/cpu_map/x86_Snowridge-v1.xml +usr/share/libvirt/cpu_map/x86_Snowridge-v2.xml +usr/share/libvirt/cpu_map/x86_Snowridge-v3.xml +usr/share/libvirt/cpu_map/x86_Snowridge-v4.xml usr/share/libvirt/cpu_map/x86_Snowridge.xml usr/share/libvirt/cpu_map/x86_Westmere-IBRS.xml +usr/share/libvirt/cpu_map/x86_Westmere-v1.xml +usr/share/libvirt/cpu_map/x86_Westmere-v2.xml usr/share/libvirt/cpu_map/x86_Westmere.xml usr/share/libvirt/cpu_map/x86_athlon.xml usr/share/libvirt/cpu_map/x86_core2duo.xml diff --git a/lfs/libvirt b/lfs/libvirt index a497ed868..ed076a781 100644 --- a/lfs/libvirt +++ b/lfs/libvirt @@ -26,7 +26,7 @@ include Config SUMMARY = Server side daemon and supporting files for libvirt -VER = 10.7.0 +VER = 10.10.0 THISAPP = libvirt-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -35,9 +35,9 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) SUP_ARCH = x86_64 aarch64 PROG = libvirt -PAK_VER = 36 +PAK_VER = 37 -DEPS = ebtables libpciaccess libyajl qemu +DEPS = ebtables libpciaccess qemu SERVICES = libvirtd virtlogd @@ -49,7 +49,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 331f8c01395c70536ac094a156810f93cd85aab9f25bdde40633698a27f5863cb5c88c520199a5182318f376cb1a3484f3c487da74a41925a521c4a305c51f13 +$(DL_FILE)_BLAKE2 = 8042ce1493c3ffd6e6deeb7d94d0744da18850fe416480487a57ffd33bf3390f587849f308aad12fd38c887628f90137ba717ea11ef7e0f73a97b157fa985a6e install : $(TARGET) check : $(patsubst %,$(DIR_CHK)/%,$(objects)) From patchwork Fri Dec 20 11:40:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8332 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4YF57g0cgqz3x61 for ; Fri, 20 Dec 2024 11:40:15 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4YF57Z661hz6CX; Fri, 20 Dec 2024 11:40:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4YF57Z1B2Xz34G8; Fri, 20 Dec 2024 11:40:10 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4YF57W4JkPz32qN for ; Fri, 20 Dec 2024 11:40:07 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4YF57W12zyz1ZF; Fri, 20 Dec 2024 11:40:07 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1734694807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h9Ak1+kk2ZWoB75Z2R3FVuxaK2CaA576aopQAHWjWe0=; b=CfXFEoVCMfwpEtgomsOiF/ANOcKG5p25SXLtqD7woXic2wPMGd7bq6QWKa3UsVSQQidXwm /iE91wDDD0gNUgBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1734694807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h9Ak1+kk2ZWoB75Z2R3FVuxaK2CaA576aopQAHWjWe0=; b=Ua9y6bZu4lTuvIW6RwBNMog7jHy6RihAhSe0bWlWvUqyHIhpHR4r7jVErzXpciSKBrZGI4 npT06QZpDzqTe3aSE++klKbK7FRH9roAVbZqat5zq5F6QjWqUoF6t5SgHqTM3wV9VbZ5jq BkhGHAqymDV0TzLZjHHpKDQbjWl9g/+Zk0GFIaMpo12T1qw1qK/dC+JD5418O9kSL/jJZ4 e6eRge8MjXLLuS1/VkR+aU5eZJji3eP/Es+Ce5S5FeQMUFUrX5dn9XUP3DwhdN2MkMs3/I hrqH53kj2Pqz50+VGYQoPFmUh4GmcEz5SPHmgnTjkvYodjpqAtoEnqflOS9+Jw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/2] libyajl: Removal of addon as no longer required by libvirt Date: Fri, 20 Dec 2024 12:40:02 +0100 Message-ID: <20241220114002.78636-2-adolf.belka@ipfire.org> In-Reply-To: <20241220114002.78636-1-adolf.belka@ipfire.org> References: <20241220114002.78636-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: OVD7DTFDZJT7GVEQ53ID4AWLS5VXLERJ X-Message-ID-Hash: OVD7DTFDZJT7GVEQ53ID4AWLS5VXLERJ X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - libyajl is no longer being used by libvirt. libvirt now uses json-c which is a core package in IPFire. libyajl was stopped being used as it had not been updated and is considered effectively dead upstream. - lfs, rootfile and libyajl entry in make.sh removed. Signed-off-by: Adolf Belka --- config/rootfiles/packages/libyajl | 13 ----- lfs/libyajl | 88 ------------------------------- make.sh | 1 - 3 files changed, 102 deletions(-) delete mode 100644 config/rootfiles/packages/libyajl delete mode 100644 lfs/libyajl diff --git a/config/rootfiles/packages/libyajl b/config/rootfiles/packages/libyajl deleted file mode 100644 index f575f6a1b..000000000 --- a/config/rootfiles/packages/libyajl +++ /dev/null @@ -1,13 +0,0 @@ -usr/bin/json_reformat -usr/bin/json_verify -#usr/include/yajl -#usr/include/yajl/yajl_common.h -#usr/include/yajl/yajl_gen.h -#usr/include/yajl/yajl_parse.h -#usr/include/yajl/yajl_tree.h -#usr/include/yajl/yajl_version.h -#usr/lib/libyajl.so -usr/lib/libyajl.so.2 -usr/lib/libyajl.so.2.1.0 -#usr/lib/libyajl_s.a -#usr/share/pkgconfig/yajl.pc diff --git a/lfs/libyajl b/lfs/libyajl deleted file mode 100644 index eccae6489..000000000 --- a/lfs/libyajl +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -SUMMARY = Yet Another JSON Library - -VER = 2.1.0 - -THISAPP = libyajl-$(VER) -DL_FILE = $(THISAPP).tar.gz -DL_FROM = $(URL_IPFIRE) -DIR_APP = $(DIR_SRC)/$(THISAPP) -TARGET = $(DIR_INFO)/$(THISAPP) -PROG = libyajl -PAK_VER = 1 - -DEPS = - -SERVICES = - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -$(DL_FILE) = $(DL_FROM)/$(DL_FILE) - -$(DL_FILE)_BLAKE2 = e0f2d0300d2cc35599d8b080fa0102a532b52f3ca3cf96db020ecc54bdab04aff971184a411776d263ac06ae9333d1dca03b3437d65b7247eea9919ca25b6d43 - -install: $(TARGET) - -check: $(patsubst %,$(DIR_CHK)/%,$(objects)) - -download: $(patsubst %,$(DIR_DL)/%,$(objects)) - -b2 : $(subst %,%_BLAKE2,$(objects)) - -dist: - $(PAK) - -############################################################################### -# Downloading, checking, b2sum -############################################################################### - -$(patsubst %,$(DIR_CHK)/%,$(objects)) : - @$(CHECK) - -$(patsubst %,$(DIR_DL)/%,$(objects)) : - @$(LOAD) - -$(subst %,%_BLAKE2,$(objects)) : - @$(B2SUM) - -############################################################################### -# Installation Details -############################################################################### - -$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && cmake -DCMAKE_INSTALL_PREFIX=/usr . - cd $(DIR_APP) && make - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/make.sh b/make.sh index ee098d9a3..3fc127ce0 100755 --- a/make.sh +++ b/make.sh @@ -2034,7 +2034,6 @@ build_system() { lfsmake2 dmidecode lfsmake2 mcelog lfsmake2 libpciaccess - lfsmake2 libyajl lfsmake2 libvirt lfsmake2 freeradius lfsmake2 perl-common-sense