Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package shairport-sync for openSUSE:Factory 
checked in at 2026-09-22 15:48:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shairport-sync (Old)
 and      /work/SRC/openSUSE:Factory/.shairport-sync.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shairport-sync"

Tue Sep 22 15:48:47 2026 rev:25 rq:1379452 version:5.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/shairport-sync/shairport-sync.changes    
2025-05-07 19:17:33.913958041 +0200
+++ 
/work/SRC/openSUSE:Factory/.shairport-sync.new.383539/shairport-sync.changes    
    2026-09-22 15:49:16.467381338 +0200
@@ -1,0 +2,8 @@
+Fri Sep 18 13:31:48 UTC 2026 - Hillwood Yang <[email protected]>
+
+- Update version to 5.5.2
+  * This update improves compatibility with Version 27 of Apple software,
+    e.g. macOS 27, iOS 27, etc
+- Use sysuser to create daemon user instead of script in %pre
+
+-------------------------------------------------------------------

Old:
----
  shairport-sync-4.3.7.tar.gz

New:
----
  shairport-sync-5.5.2.tar.gz
  shairport-sync.sysuser
  shairport-sync.tmpfiles

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ shairport-sync.spec ++++++
--- /var/tmp/diff_new_pack.WsKGL6/_old  2026-09-22 15:49:17.225413055 +0200
+++ /var/tmp/diff_new_pack.WsKGL6/_new  2026-09-22 15:49:17.227413139 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package shairport-sync
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           shairport-sync
-Version:        4.3.7
+Version:        5.5.2
 Release:        0
 Summary:        An AirPlay audio player
 License:        GPL-3.0-only
@@ -25,14 +25,19 @@
 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
+Source2:        %{name}.tmpfiles
+Source3:        %{name}.sysuser
+Source99:       README.SUSE
 Patch1:         harden_shairport-sync.service.patch
 BuildRequires:  fdupes
 BuildRequires:  firewall-macros
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
+BuildRequires:  plistutil
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  sysuser-shadow
+BuildRequires:  sysuser-tools
 BuildRequires:  xxd
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(avahi-client)
@@ -72,7 +77,7 @@
 %prep
 %autosetup -p1
 
-cp %{SOURCE2} .
+cp %{SOURCE99} .
 
 %build
 autoreconf -i -f
@@ -98,13 +103,19 @@
 rm %{buildroot}%{_sysconfdir}/shairport-sync.conf.sample
 mkdir -p %{buildroot}%{_sbindir}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
+install -d %{buildroot}%{_unitdir}
+install -m0644 scripts/%{name}.service.in 
%{buildroot}%{_unitdir}/%{name}.service
+install -d %{buildroot}%{_userunitdir}
+install -m0644 scripts/%{name}.user.service 
%{buildroot}%{_userunitdir}/%{name}.user.service
+
+mkdir -p %{buildroot}%{_tmpfilesdir}
+install -m0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf
+mkdir -p %{buildroot}%{_sysusersdir}
+install -m0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf
 
-%pre
-getent group audio >/dev/null || %{_sbindir}/groupadd --system audio
-getent group %{name} >/dev/null || %{_sbindir}/groupadd --system %{name}
-getent passwd %{name} >/dev/null || %{_sbindir}/useradd --system -c "%{name} 
User" \
-        -d %{_localstatedir}/%{name} -m -g %{name} -s %{_sbindir}/nologin \
-        -G audio %{name}
+%sysusers_generate_pre %{SOURCE3} %{name} %{name}.conf
+
+%pre -f %{name}.pre
 %service_add_pre %{name}.service
 
 %post
@@ -127,5 +138,9 @@
 %{_prefix}/lib/firewalld/services/airplay-server.xml
 %{_mandir}/man1/shairport-sync.1%{?ext_man}
 %{_unitdir}/%{name}.service
+%{_userunitdir}/%{name}.user.service
 %{_sbindir}/rc%{name}
+%ghost %attr(750,shairport-sync,shairport-sync) %dir /run/%{name}
+%{_sysusersdir}/%{name}.conf
+%{_tmpfilesdir}/%{name}.conf
 

++++++ harden_shairport-sync.service.patch ++++++
--- /var/tmp/diff_new_pack.WsKGL6/_old  2026-09-22 15:49:17.287415650 +0200
+++ /var/tmp/diff_new_pack.WsKGL6/_new  2026-09-22 15:49:17.291415817 +0200
@@ -1,9 +1,8 @@
-diff --git a/scripts/shairport-sync.service-avahi.in 
b/scripts/shairport-sync.service-avahi.in
-index 4a874c54..6bc80c1e 100644
---- a/scripts/shairport-sync.service-avahi.in
-+++ b/scripts/shairport-sync.service-avahi.in
-@@ -7,6 +7,16 @@ Wants=network-online.target
- After=network.target network-online.target
+diff -Nur shairport-sync-5.5.2/scripts/shairport-sync.service.in 
shairport-sync-5.5.2-new/scripts/shairport-sync.service.in
+--- shairport-sync-5.5.2/scripts/shairport-sync.service.in     2026-09-09 
18:58:23.000000000 +0800
++++ shairport-sync-5.5.2-new/scripts/shairport-sync.service.in 2026-09-18 
20:38:03.355387033 +0800
+@@ -10,6 +10,16 @@
+ StartLimitBurst=5
  
  [Service]
 +# added automatically, for details please see
@@ -16,28 +15,7 @@
 +ProtectKernelLogs=true
 +ProtectControlGroups=true
 +# end of automatic additions
- ExecStart=@prefix@/bin/shairport-sync --log-to-syslog
- User=shairport-sync
- Group=shairport-sync
-diff --git a/scripts/shairport-sync.service.in 
b/scripts/shairport-sync.service.in
-index 18df3f35..791fd89f 100644
---- a/scripts/shairport-sync.service.in
-+++ b/scripts/shairport-sync.service.in
-@@ -5,6 +5,16 @@ Wants=network-online.target
- After=network.target network-online.target
- 
- [Service]
-+# added automatically, for details please see
-+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
-+ProtectSystem=full
-+ProtectHome=true
-+ProtectHostname=true
-+ProtectKernelTunables=true
-+ProtectKernelModules=true
-+ProtectKernelLogs=true
-+ProtectControlGroups=true
-+# end of automatic additions
- ExecStart=@prefix@/bin/shairport-sync --log-to-syslog
+ ExecStart=@prefix@/bin/shairport-sync
  User=shairport-sync
  Group=shairport-sync
 

++++++ shairport-sync-4.3.7.tar.gz -> shairport-sync-5.5.2.tar.gz ++++++
++++ 46277 lines of diff (skipped)

++++++ shairport-sync.sysuser ++++++
u    shairport-sync  -      "shairport Sync Daemon"   /run/shairport-sync
g    shairport-sync
m    shairport-sync      audio

++++++ shairport-sync.tmpfiles ++++++
d /run/shairport-sync 0750 shairport-sync shairport-sync

Reply via email to