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)