diff --git a/drop-user-config.patch b/drop-user-config.patch index 05b13c7..127d9c0 100644 --- a/drop-user-config.patch +++ b/drop-user-config.patch @@ -1,14 +1,18 @@ -diff -Nur shairport-sync-3.2RC10/Makefile.am shairport-sync-3.2RC10-new/Makefile.am ---- shairport-sync-3.2RC10/Makefile.am 2018-05-26 22:27:11.000000000 +0800 -+++ shairport-sync-3.2RC10-new/Makefile.am 2018-06-11 15:28:37.222509735 +0800 -@@ -146,8 +146,8 @@ - [ -f $(DESTDIR)$(sysconfdir)/init.d/shairport-sync ] || cp scripts/shairport-sync $(DESTDIR)$(sysconfdir)/init.d/ - endif - if INSTALL_SYSTEMD +diff -Nur shairport-sync-4.1/Makefile.am shairport-sync-4.1-new/Makefile.am +--- shairport-sync-4.1/Makefile.am 2022-10-28 23:31:18.000000000 +0800 ++++ shairport-sync-4.1-new/Makefile.am 2022-11-13 22:24:22.869613507 +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 passwd shairport-sync &> /dev/null || useradd -r -M -g shairport-sync -s /usr/bin/nologin -G audio shairport-sync >/dev/null +# getent group shairport-sync &>/dev/null || groupadd -r shairport-sync >/dev/null -+# getent passwd shairport-sync &> /dev/null || useradd -r -M -g shairport-sync -s /usr/bin/nologin -G audio shairport-sync >/dev/null - [ -e $(DESTDIR)$(systemdsystemunitdir) ] || mkdir -p $(DESTDIR)$(systemdsystemunitdir) - [ -f $(DESTDIR)$(systemdsystemunitdir)/shairport-sync.service ] || cp scripts/shairport-sync.service $(DESTDIR)$(systemdsystemunitdir) - endif + + 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/harden_shairport-sync.service.patch b/harden_shairport-sync.service.patch index c3a9f73..8a89a91 100644 --- a/harden_shairport-sync.service.patch +++ b/harden_shairport-sync.service.patch @@ -1,8 +1,7 @@ -Index: shairport-sync-3.3.8/scripts/shairport-sync.service.in -=================================================================== ---- shairport-sync-3.3.8.orig/scripts/shairport-sync.service.in -+++ shairport-sync-3.3.8/scripts/shairport-sync.service.in -@@ -7,6 +7,17 @@ Wants=network-online.target +diff -Nur shairport-sync-4.1/scripts/shairport-sync.service.in shairport-sync-4.1-new/scripts/shairport-sync.service.in +--- shairport-sync-4.1/scripts/shairport-sync.service.in 2022-10-28 23:31:18.000000000 +0800 ++++ shairport-sync-4.1-new/scripts/shairport-sync.service.in 2022-11-13 22:26:15.785234171 +0800 +@@ -5,6 +5,17 @@ After=network.target network-online.target [Service] @@ -17,6 +16,6 @@ Index: shairport-sync-3.3.8/scripts/shairport-sync.service.in +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions - ExecStart=@prefix@/bin/shairport-sync + ExecStart=@prefix@/bin/shairport-sync --log-to-syslog User=shairport-sync Group=shairport-sync diff --git a/shairport-sync-3.3.9.tar.gz b/shairport-sync-3.3.9.tar.gz deleted file mode 100644 index 7cf3875..0000000 --- a/shairport-sync-3.3.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:17990cb2620551caa07a1c3b371889e55803071eaada04e958c356547a7e1795 -size 426827 diff --git a/shairport-sync-4.1.tar.gz b/shairport-sync-4.1.tar.gz new file mode 100644 index 0000000..d9d9185 --- /dev/null +++ b/shairport-sync-4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:951fc9f33a631736fe49d2ed040b27a417c93ffdf05a2d13116c6dda7628ea86 +size 538969 diff --git a/shairport-sync.changes b/shairport-sync.changes index 74f5319..97c1912 100644 --- a/shairport-sync.changes +++ b/shairport-sync.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Dec 27 13:17:00 UTC 2022 - Hillwood Yang + +- Update version to 4.1 + * AirPlay 2 support + * Improved libao backend for better compatibility with HomeBrew installations + * Improved MQTT and D-Bus facilities + * Metadata improvements + * Automatically-generated Docker images + ------------------------------------------------------------------- Mon Feb 7 13:50:40 UTC 2022 - Hillwood Yang diff --git a/shairport-sync.spec b/shairport-sync.spec index 1776766..6ff5fba 100644 --- a/shairport-sync.spec +++ b/shairport-sync.spec @@ -17,7 +17,7 @@ Name: shairport-sync -Version: 3.3.9 +Version: 4.1 Release: 0 Summary: An AirPlay audio player License: GPL-3.0-only