From patchwork Sun Dec 31 20:50:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7427 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 ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4T3B8K59pwz3wtL for ; Sun, 31 Dec 2023 20:50:25 +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 ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4T3B8K0Q8wzSq; Sun, 31 Dec 2023 20:50:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4T3B8J6yMdz30S9; Sun, 31 Dec 2023 20:50:24 +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 ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4T3B8G63T6z2xHK for ; Sun, 31 Dec 2023 20:50:22 +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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4T3B8G00wKz9d; Sun, 31 Dec 2023 20:50:21 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1704055822; 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=01HJon1AkD/r8+TYlfLC9w270VgwZ2ZBgelQd9Y5d4o=; b=ChlBk3UAr+s5fWwI4w6IytfUvfDwlag/fAaQXmB8tydyzHCm3p6ACYRt85UJX/brktiUJp KZjsjxnDDFxFgNAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1704055822; 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=01HJon1AkD/r8+TYlfLC9w270VgwZ2ZBgelQd9Y5d4o=; b=XalI1ovWrAu63MZ1FL6LrSzQBmM6L2COF5JUYUazOo4HE7jDs/LNiOkP77/DiYIzbOoKsE ga8pq0fcmXllWg8OnOiDbgZ2PUooIIbW9EO4rGmn2dvY89zU5yUF3irvPxVO9LxbcMaFJd KBHKbHv6G6YBpd/dAf5LMk5qVc6NzyfFeHUzl/4DP7/bBkgvB68qtDNTFAayW+KbYcPSBB lWILopjjDZb2AMbkXbS4CwZd09A427GJaBfKZI8PT7xZQklrG7SHTv18YxlLtxjVdJGTlE DFM00WgBun61L7WY9c/93wuPBqSXk6KEK4GId+urdYTYa0yOXtcn7VBFszo9Ig== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 1/3] shairport-sync: Update to version 4.3.2 Date: Sun, 31 Dec 2023 21:50:16 +0100 Message-ID: <20231231205018.3367319-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: EWHNBCOONRUH5EMBM3JM3IXVDYFYICP4 X-Message-ID-Hash: EWHNBCOONRUH5EMBM3JM3IXVDYFYICP4 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 4.1.1 to 4.3.2 - Update of rootfile not required. - Updating shairport-sync to 4.2 or later also requires an update of nqptp as the newer version of shairport-sync requires NQPTP with Shared Memory Interface Version smi9 and will not work with older versions. - Changelog 4.3.2 This update contains a brand new PipeWire backend with full synchronisation -- your feedback is welcome on this. The update also contains a number of bug fixes. Enhancements A totally new PipeWire backend featuring full synchronisation. Bug Fixes Stability improvements for the PulseAudio backend. Fix a crash when the Avahi subsystem became disconnected. This is normally a rare occurrence, but Shairport Sync was not dereferencing obsolete data correctly when it happened. Set and reset Bonjour flags correctly when it's a Classic Airplay session in AirPlay 2 operation. Fix a number of FreeBSD compilation errors and warnings. Fix various errors when breaking into an existing session to terminate it. Thanks again to aaronk6. Fix some debug message errors, sigh. Thanks to Nathan Gray. 4.3.1 Bug Fixes This release, 4.3.1, fixes a bug in Version 4.3 that prevented Shairport Sync from being added to Home. 4.3 This update contains important security updates, bug fixes and enhancements. NQPTP must also be updated, and it should be updated before updating Shairport Sync. The Shared Memory Interface version of both Shairport Sync and NQPTP is now 10, i.e. smi10. Notes When updating NQPTP on Linux, be sure to remove the old service file as directed in the README. Having completed both updates and installations, remember to restart NQPTP first and then restart Shairport Sync. Security Updates A crashing bug in NQPTP has been fixed. The communications protocol used between NQPTP and Shairport Sync has been revised and made more resilient to attempted misuse. In Linux systems, NQPTP no longer runs as root -- instead it runs as the restriced user nqptp, with access to ports 319 and 320 set by the installer via the setcap utility. Enhancements A new volume control profile called dasl-tapered has been added in which halving the volume control setting halves the output level. For example, moving the volume slider from full to half reduces the output level by 10dB, which roughly corresponds with a perceived halving of the audio volume level. Moving the volume slider from half to a quarter reduces the output level by a further 10dB. The tapering rate is slightly modified at the lower end of the range if the device's attenuation range is restricted (less than about 55dB). To activate the dasl-tapered profile, set the volume_control_profile to "dasl_tapered" in the configuration file and restart Shairport Sync. Many thanks to David Leibovic, aka dasl-, for this. On graceful shutdown, an active_end signal should now be generated if the system was in the active state. Addresses issue #1647. Thanks to Tucker Kern for raising the issue. Bug Fixes Fixed a bug that causes the Docker image to crash occasionally when OwnTone interrupted an existing iOS session. Thanks to aaronk6 for the report. Fixed a cross-compliation error caused by not looking for the correct version of the ar tool. The fix was to substitute the correct version during the autoreconf phase. Thanks to sternenseemann for raising the issue and the PR containing the fix. Updated the mDNS strings for the Classic AirPlay feature of AP2, so that it does not appear to provide MFi authentication. Addresses this discussion. Always uses a revision number of 1 when looking for status updates on the DACP remote control port. This follows a suggestion in Issue #1658. Thanks to ejurgensen, as ever, for the report and the suggested fix. Fixed a statistics bug (the minimum buffer size was incorrectly logged) and also tidy up the statistics logging interval logic for resetting min and max counters. Added an important missing format string argument to a call in the Jack Audio backend. Many thanks to michieldwitte for their PR. Maintenance Stopped using a deprecated FFmpeg data structure reference. Stopped using deprecated OpenSSL calls. Thanks to yubiuser for their PR -- which did some of the updating -- and for their guidance. Run workflow-based tests on PRs automatically. Thanks to yubiuser for their PR. 4.2 This release consists of enhancements and important bug fixes to Shairport Sync Version 4.1. For information on the new features of 4.1, including AirPlay 2 support, please see the Version 4.1 Release Note. Important If you are updating an existing installation of Shairport Sync, you must also update NQPTP. The reason is that this update to Shairport Sync requires NQPTP with Shared Memory Interface Version smi9 and will not work with older versions. For details of the enhancements and bug fixes in this release, please refer to the RELEASENOTES. Signed-off-by: Adolf Belka --- lfs/shairport-sync | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lfs/shairport-sync b/lfs/shairport-sync index f8f282f52..53306d060 100644 --- a/lfs/shairport-sync +++ b/lfs/shairport-sync @@ -8,7 +8,7 @@ # 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, # +# This program is distribubed3228874e7ca1bf6e7d8cc21d6d750533d0bdd103bbd1f49412bab06da099adbecfa689d8f733084a1a5519391a01b5b47a527597e1dbf6ab151badda18284ted 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. # @@ -26,7 +26,7 @@ include Config SUMMARY = An AirPlay audio player -VER = 4.1.1 +VER = 4.3.2 THISAPP = shairport-sync-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = shairport-sync -PAK_VER = 13 +PAK_VER = 14 DEPS = alac alsa avahi ffmpeg libdaemon libplist nqptp soxr @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 7f3fd50da49c6f57ef2de9a2969d00218b9668cc05f671b65c9ce38d27053d5a514e195027e8ee904d70eb495b31d70cb964861f0cee2ede7a7f9389c555abe3 +$(DL_FILE)_BLAKE2 = bed3228874e7ca1bf6e7d8cc21d6d750533d0bdd103bbd1f49412bab06da099adbecfa689d8f733084a1a5519391a01b5b47a527597e1dbf6ab151badda18284 install : $(TARGET) From patchwork Sun Dec 31 20:50:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7428 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 ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4T3B8N3kYrz3wtL for ; Sun, 31 Dec 2023 20:50:28 +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 ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4T3B8N1WhVz1Kl; Sun, 31 Dec 2023 20:50:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4T3B8N08nnz30S9; Sun, 31 Dec 2023 20:50:28 +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 ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4T3B8H1THbz2xHK for ; Sun, 31 Dec 2023 20:50:23 +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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4T3B8G60lNzSq; Sun, 31 Dec 2023 20:50:22 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1704055822; 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=n+QFhTURaNGem9WoQZgEVjCKo5iaeF07s6UIK0Wq1rI=; b=BwsO0iRdJX2+LH6yhez6yIHiob3bm2LBJCVEjtvEOiYhRIqCYIAp4zTjzaJVow0HuMjgw3 sXZnOTQrSbtoXODg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1704055822; 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=n+QFhTURaNGem9WoQZgEVjCKo5iaeF07s6UIK0Wq1rI=; b=hVBsz87DWSusaN1+kGxAFX84g1W2g9iCCWnzvIFGHxxBudXq/vClOCfDSBPhUZMNfGsD+G AkHJIL6xACh9AqnaivDYjEbewIk0TggbFqjULcK8KfoY2154mA+NVIgFjauBnRfaphvNBH 8uqp85aW2NDLab6z0magBQ1ZTUJz8Mt58fh7380QuGn1Ukv7/pXE09VVlIz9DTT1NMjtJY Bd8APcxdstoG6mQzVpIRsZ8KgsVyKC2iLRMqNGMlKJ2lrQwfaEj9RZkNHpUxy9Vpb23L5j UopkOWvtDkz/B1y4AT0ZWcrFPaay7Q+AroIFXtNz3OmUEx7SzgSIwC32q/fyVQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/3] nqptp: Update to version 1.2.4 Date: Sun, 31 Dec 2023 21:50:17 +0100 Message-ID: <20231231205018.3367319-2-adolf.belka@ipfire.org> In-Reply-To: <20231231205018.3367319-1-adolf.belka@ipfire.org> References: <20231231205018.3367319-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: TUOBAEQY6R2TRSQOV3LKJMSKD2TVZTT6 X-Message-ID-Hash: TUOBAEQY6R2TRSQOV3LKJMSKD2TVZTT6 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 commit ad384f9ed3b2cc31e97012ab6bfe5a214ffc65a2 (between 1.2.1 and 1.2.2) to 1.2.4 - Update of rootfile not required - Changelog 1.2.4 Following on from the security update of 1.2.3, some further changes are introduced to make the communication path between NQPTP and Shairport Sync resistant to outside interference. On Linux, nqptp now runs as a restricted user but with special permission to access ports 319 and 320. These changes have necessitated changing the SMI interface. The SMI interface is now at version 10, and Shairport Sync must also be updated to be compatible with it. Before updating, it is important that you remove the startup service file as described in the README. Please read the Release Notes for more details. 1.2.3 This important update fixes a crashing bug whereby a maliciously-crafted message to the control port could crash NQPTP. (Supersedes 1.2.2.) 1.2.2 Superseded by version 1.2.3 Signed-off-by: Adolf Belka --- lfs/nqptp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lfs/nqptp b/lfs/nqptp index 4e669302b..f35831613 100644 --- a/lfs/nqptp +++ b/lfs/nqptp @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2023 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 # @@ -27,7 +27,8 @@ include Config SUMMARY = nqptp is a daemon that monitors timing data from any PTP clocks # https://github.com/mikebrady/nqptp/archive/$(VER).tar.gz -VER = ad384f9ed3b2cc31e97012ab6bfe5a214ffc65a2 +# The archive part of the url no longer exists +VER = 1.2.4 THISAPP = nqptp-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -35,7 +36,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = nqptp -PAK_VER = 3 +PAK_VER = 4 SERVICES = nqptp @@ -47,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = c294012959d8daa54c2a4fc1803cad620c664fc1d0e5f3a865217059b2b9b656fd1c17cfe1c260ca09dc505c7337a77cd6d09fe642c04d3936e274c192e2aaeb +$(DL_FILE)_BLAKE2 = b19f57b00bd092e518914804c5ae573733e2643548fcc40eaeaf89530495312d3f8536cbc854a36557b7bd9cf14bd5c44453772899bc635b53c4ae38ef3120f4 install : $(TARGET) From patchwork Sun Dec 31 20:50:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7429 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 ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4T3B8Q2mQjz3wtL for ; Sun, 31 Dec 2023 20:50:30 +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 ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4T3B8N6RRQz1qd; Sun, 31 Dec 2023 20:50:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4T3B8N5pt5z3038; Sun, 31 Dec 2023 20:50:28 +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 ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4T3B8H31pKz2xHK for ; Sun, 31 Dec 2023 20:50:23 +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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4T3B8H1QYQz9d; Sun, 31 Dec 2023 20:50:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1704055823; 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=y99rDacmAvSczYSAKiFSMC5JgSCTpkbAW0ylc8CaDOE=; b=iTHmrF7YaMcpx4TEIS3skMwKkRo2Zf1A4KCpFmGwgP6mQ32kk26EuS63+9wE5YTGMp5fos IvNFAdlBBGOp7nBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1704055823; 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=y99rDacmAvSczYSAKiFSMC5JgSCTpkbAW0ylc8CaDOE=; b=Rza3DXx7LzKhOlYcaokKz07L5Cgx0wJCbG01w/rqzWyUOAMEPG9QzkT0bFExZcdDEK8KNm ilFRhVIb84XF9IQPprNhPWq55qlefexQK3J/dKXh8rocK/M+J6e+C2IdX7EEPY6KTQLvAC RwIYe1af1qON9jwwBixxTrVp8ZmppT7yyyd1crDorLrwtCilimmxONu2uPH4j78oIaiJbQ raGqxdgbdp3yPc8n58TLkcIUGu2/xDCv7oOzNSvZQAvqUWnEuc7yNWPCQ9qqOR07R/yq46 6IoNZ/EeWf3NmeTfVYy4Fw1gGa6jkCH0f6PswThc6Xkau5Pyf/Wk86vlohvtMQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 3/3] libplist: Update to version 2.3.0 Date: Sun, 31 Dec 2023 21:50:18 +0100 Message-ID: <20231231205018.3367319-3-adolf.belka@ipfire.org> In-Reply-To: <20231231205018.3367319-1-adolf.belka@ipfire.org> References: <20231231205018.3367319-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: J4V2XQDGKKO7VOG73CZI6DWUALHIEQEW X-Message-ID-Hash: J4V2XQDGKKO7VOG73CZI6DWUALHIEQEW 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 2.2.0 to 2.3.0 - Update of rootfile 2.3.0 - Changes: * Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val() * Add support for JSON format * Add support for OpenStep format * Introduce error codes and format constants * Add return value to import/export functions to allow returning error codes * Add new plist_sort function * Add several human-readable output-only formats * Add new plist_write_to_string/_stream/_file functions * Add new plist_print function * Add new plist_read_from_file function * Add new plist_mem_free() function * Add a few C++ methods * Add C++ interface test * Add PLIST_NULL type * Some code housekeeping (mostly clang-tidy) - Breaking: * plist_from_memory() gets additional parameter - Bugfixes: * Fix multiple bugs in all of the parsers * Fix handling of PLIST_UID nodes Signed-off-by: Adolf Belka --- config/rootfiles/packages/libplist | 8 ++++---- lfs/libplist | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/rootfiles/packages/libplist b/config/rootfiles/packages/libplist index d8b0b092a..8f2d3b9e0 100644 --- a/config/rootfiles/packages/libplist +++ b/config/rootfiles/packages/libplist @@ -16,12 +16,12 @@ #usr/include/plist/plist.h #usr/lib/libplist++-2.0.la #usr/lib/libplist++-2.0.so -usr/lib/libplist++-2.0.so.3 -usr/lib/libplist++-2.0.so.3.3.0 +usr/lib/libplist++-2.0.so.4 +usr/lib/libplist++-2.0.so.4.3.0 #usr/lib/libplist-2.0.la #usr/lib/libplist-2.0.so -usr/lib/libplist-2.0.so.3 -usr/lib/libplist-2.0.so.3.3.0 +usr/lib/libplist-2.0.so.4 +usr/lib/libplist-2.0.so.4.3.0 #usr/lib/pkgconfig/libplist++-2.0.pc #usr/lib/pkgconfig/libplist-2.0.pc #usr/share/man/man1/plistutil.1 diff --git a/lfs/libplist b/lfs/libplist index eb53366f9..dd4df36e6 100644 --- a/lfs/libplist +++ b/lfs/libplist @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2020 IPFire Team # +# Copyright (C) 2007-2023 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 # @@ -26,7 +26,7 @@ include Config SUMMARY = A library to handle Apple Property List format in binary or XML -VER = 2.2.0 +VER = 2.3.0 THISAPP = libplist-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = libplist -PAK_VER = 1 +PAK_VER = 2 DEPS = @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = d161fc2963d58235a41a9aafcac56f428000a5e95f627163ec73639a5b291d4ba33073f048b5e402107723e7e15c1f7efac7cf9941258caa60eb496ec3696dbb +$(DL_FILE)_BLAKE2 = e8c8fc59e7d694b1d69f0da3538ff313eb84d3c9ecad966c514d098e14308cc0bf9f67bfb4fe5b27c2638d1fc71294ed34fc9f881204e9c009f30c68a89b1a38 install : $(TARGET)