diff --git a/drop-user-config.patch b/drop-user-config.patch deleted file mode 100644 index 86ec395..0000000 --- a/drop-user-config.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Nur shairport-sync-4.3.2/Makefile.am shairport-sync-4.3.2-new/Makefile.am ---- shairport-sync-4.3.2/Makefile.am 2023-10-16 01:42:38.000000000 +0800 -+++ shairport-sync-4.3.2-new/Makefile.am 2024-03-21 22:06:21.799112297 +0800 -@@ -262,12 +262,12 @@ - INSTALL_GROUP_TARGET = install-group-local - - $(INSTALL_GROUP_TARGET): -- getent group shairport-sync &>/dev/null || groupadd -r shairport-sync &>/dev/null -+# getent group shairport-sync &>/dev/null || groupadd -r shairport-sync &>/dev/null - - INSTALL_USER_TARGET = install-user-local - - $(INSTALL_USER_TARGET): $(INSTALL_GROUP_TARGET) -- getent passwd shairport-sync &>/dev/null || useradd -r -M -g shairport-sync -s /usr/sbin/nologin -G audio shairport-sync &>/dev/null -+# getent passwd shairport-sync &>/dev/null || useradd -r -M -g shairport-sync -s /usr/sbin/nologin -G audio shairport-sync &>/dev/null - - if INSTALL_SYSTEMV - diff --git a/shairport-sync-4.3.2.tar.gz b/shairport-sync-4.3.2.tar.gz deleted file mode 100644 index b5562b6..0000000 --- a/shairport-sync-4.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dfb485c0603398032a00e51f84b874749bbf155b257adda3d270d5989de08bfd -size 560574 diff --git a/shairport-sync-4.3.4.tar.gz b/shairport-sync-4.3.4.tar.gz new file mode 100644 index 0000000..8ae583a --- /dev/null +++ b/shairport-sync-4.3.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3173cc54d06f6186a04509947697b56c7eac09c48153d7dea5f702042620a2df +size 562541 diff --git a/shairport-sync.changes b/shairport-sync.changes index c487831..4746b58 100644 --- a/shairport-sync.changes +++ b/shairport-sync.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Tue Sep 3 08:42:40 UTC 2024 - Wolfgang Frisch + +- Add missing runtime dependency: avahi (boo#1213521) + +- Remove drop-user-config.patch + This is now configurable in the build system. + +- Update version to 4.3.4 + * https://github.com/mikebrady/shairport-sync/releases/tag/4.3.4 + * ALSA: better support for HDMI ports + * Enabled termination of a disconnected session in AirPlay 2 operation after + a timeout -- it had been disabled by default. + * Fixed a bug that prevented Shairport Sync from terminating cleanly when a + fatal error occurred while directly accessing the alsa output device. + * Fixed a bug that prevented Shairport Sync from recovering cleanly if a + player disconnected without warning. + * Avoided using TCP_KEEPINTVL and TCP_KEEPCNT if they are not defined. + * Fixed a race condition with the metadata queues. + +- Update version to 4.3.3 + * https://github.com/mikebrady/shairport-sync/releases/tag/4.3.3 + * The man entry for Shairport Sync has moved from Section 7 (Miscellaneous + information) to where it should be: Section 1 (General commands (tools and + utilities)). + * Bug fix: Use pthread_rwlock_wrlock instead of pthread_rdlock_wrlock when + tearing down a connection. + * Add support for the mbedtls3 library. + * If a network interface is specified in the configuration file, limit + addresses used for PTP to that network interface only. + * Make Shairport Sync terminate if the configuration file exists but can not + be opened. + * Look for DACP-ID and Active-Remote in the GET /info request, where it + sometimes appears in an AirPlay 2 session originating from an Intel Mac. + * Do not print the password in debug logs. + ------------------------------------------------------------------- Thu Mar 21 14:08:25 UTC 2024 - Hillwood Yang diff --git a/shairport-sync.spec b/shairport-sync.spec index 9249ce9..e83849b 100644 --- a/shairport-sync.spec +++ b/shairport-sync.spec @@ -17,7 +17,7 @@ Name: shairport-sync -Version: 4.3.2 +Version: 4.3.4 Release: 0 Summary: An AirPlay audio player License: GPL-3.0-only @@ -26,9 +26,6 @@ URL: https://github.com/mikebrady/shairport-sync Source0: https://github.com/mikebrady/shairport-sync/archive/%{version}/%{name}-%{version}.tar.gz Source1: airplay-server.xml Source2: README.SUSE -# PATCH-FIX-OPENSUSE drop-user-config.patch hillwood@opensuse.org -- Move configuring user account to rpm spec. -# Move configuring user account to rpm spec. -Patch0: drop-user-config.patch Patch1: harden_shairport-sync.service.patch BuildRequires: fdupes BuildRequires: firewall-macros @@ -53,6 +50,7 @@ BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(soxr) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(uuid) +Requires: avahi Requires: firewalld Requires: nqptp Requires(pre): shadow @@ -89,7 +87,8 @@ autoreconf -i -f --with-metadata \ --with-configfiles \ --with-convolution \ - --with-airplay-2 + --with-airplay-2 \ + --without-create-user-group %make_build %install @@ -126,7 +125,7 @@ getent passwd %{name} >/dev/null || %{_sbindir}/useradd --system -c "%{name} Use %dir %{_prefix}/lib/firewalld %dir %{_prefix}/lib/firewalld/services %{_prefix}/lib/firewalld/services/airplay-server.xml -%{_mandir}/man7/shairport-sync.7%{?ext_man} +%{_mandir}/man1/shairport-sync.1%{?ext_man} %{_unitdir}/%{name}.service %{_sbindir}/rc%{name}