Accepting request 1198759 from multimedia:apps

- Added missing runtime dependency: avahi
- Removed: 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.
- Add missing runtime dependency: avahi (boo#1213521) (forwarded request 1198479 from wfrisch)

OBS-URL: https://build.opensuse.org/request/show/1198759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shairport-sync?expand=0&rev=21
This commit is contained in:
Ana Guerrero 2024-09-05 13:46:59 +00:00 committed by Git OBS Bridge
commit 8fdcf5135b
5 changed files with 44 additions and 27 deletions

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfb485c0603398032a00e51f84b874749bbf155b257adda3d270d5989de08bfd
size 560574

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3173cc54d06f6186a04509947697b56c7eac09c48153d7dea5f702042620a2df
size 562541

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Tue Sep 3 08:42:40 UTC 2024 - Wolfgang Frisch <wolfgang.frisch@suse.com>
- 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 <hillwood@opensuse.org>

View File

@ -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}