commit adb6bf2e49f35de5013484c7edbc9bd275fd7b6e
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sat Oct 7 14:12:15 2017 +0100
Update to 0.20.10
mpd-0.20-remove_NoNewPrivileges.patch | 22 ++++++++++++++++++++++
mpd.spec | 10 ++++++++--
sources | 4 ++--
3 files changed, 32 insertions(+), 4 deletions(-)
---
diff --git a/mpd-0.20-remove_NoNewPrivileges.patch
b/mpd-0.20-remove_NoNewPrivileges.patch
new file mode 100644
index 0000000..5c3c547
--- /dev/null
+++ b/mpd-0.20-remove_NoNewPrivileges.patch
@@ -0,0 +1,22 @@
+--- a/systemd/system/mpd.service.in
++++ b/systemd/system/mpd.service.in
+@@ -15,7 +15,6 @@
+ ProtectSystem=yes
+
+ # more paranoid security settings
+-NoNewPrivileges=yes
+ ProtectKernelTunables=yes
+ ProtectControlGroups=yes
+ ProtectKernelModules=yes
+
+--- a/systemd/user/mpd.service.in
++++ b/systemd/user/mpd.service.in
+@@ -15,7 +15,6 @@
+ ProtectSystem=yes
+
+ # more paranoid security settings
+-NoNewPrivileges=yes
+ ProtectKernelTunables=yes
+ ProtectControlGroups=yes
+ # AF_NETLINK is required by libsmbclient, or it will exit() .. *sigh*
+
diff --git a/mpd.spec b/mpd.spec
index ce90c8f..b4a8f1a 100644
--- a/mpd.spec
+++ b/mpd.spec
@@ -16,8 +16,8 @@
Name: mpd
Epoch: 1
-Version: 0.20.8
-Release: 2%{?dist}
+Version: 0.20.10
+Release: 1%{?dist}
Summary: The Music Player Daemon
License: GPLv2+
Group: Applications/Multimedia
@@ -32,6 +32,7 @@ Source1:
http://www.musicpd.org/download/mpd/0.20/mpd-%{version}.tar.xz.s
Source2: mpd.logrotate
Source3: mpd.tmpfiles.d
Patch0: mpd-0.18-mpdconf.patch
+Patch1: mpd-0.20-remove_NoNewPrivileges.patch
BuildRequires: alsa-lib-devel
BuildRequires: audiofile-devel
@@ -89,6 +90,7 @@ browsing and playing your MPD music collection.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p0
+%patch1 -p1
# There is no libsystemd-daemon in F25
sed -i -e 's@libsystemd-daemon@libsystemd@g' configure.ac
@@ -184,6 +186,10 @@ fi
%changelog
+* Sat Oct 07 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 1:0.20.10-1
+- Update to 0.20.10
+- Remove NoNewPrivileges (rfbz #4549)
+
* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> -
1:0.20.8-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/sources b/sources
index e865c83..0dbe5ba 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-a559714356c5b9869a5f64fc5e243b0f mpd-0.20.8.tar.xz.sig
-082bedcf2e1f7625a5dd60002d4a0d8a mpd-0.20.8.tar.xz
+11bbfb51d3b5ea5b40834a1aa70974b2 mpd-0.20.10.tar.xz.sig
+22372b6e8df4c3b00191f809a8fce2be mpd-0.20.10.tar.xz