[packages/upower] - rel 2; disable PrivateNetwork in systemd file as it breaks things
arekm
arekm at pld-linux.org
Fri Aug 10 08:27:23 CEST 2018
commit 8a609a3a79c435e02247af7378c7de6c67b9be9b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Aug 10 08:27:15 2018 +0200
- rel 2; disable PrivateNetwork in systemd file as it breaks things
upower-bug-68.patch | 12 ++++++++++++
upower.spec | 5 ++++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/upower.spec b/upower.spec
index d24d6a5..29b1887 100644
--- a/upower.spec
+++ b/upower.spec
@@ -2,12 +2,14 @@ Summary: Power management service
Summary(pl.UTF-8): Usługa zarządzania energią
Name: upower
Version: 0.99.8
-Release: 1
+Release: 2
License: GPL v2+
Group: Libraries
# Source0: https://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
Source0: https://gitlab.freedesktop.org/upower/upower/uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/%{name}-%{version}.tar.xz
# Source0-md5: eeb56bd91d2fb8a64c81eff6d899926b
+# https://gitlab.freedesktop.org/upower/upower/issues/68
+Patch0: upower-bug-68.patch
URL: https://upower.freedesktop.org/
BuildRequires: autoconf >= 2.65
BuildRequires: automake >= 1:1.11
@@ -106,6 +108,7 @@ Dokumentacja API UPower.
%prep
%setup -q
+%patch0 -p1
%build
%{__gtkdocize}
diff --git a/upower-bug-68.patch b/upower-bug-68.patch
new file mode 100644
index 0000000..25a433a
--- /dev/null
+++ b/upower-bug-68.patch
@@ -0,0 +1,12 @@
+--- upower-0.99.8/src/upower.service.in~ 2018-04-16 10:04:48.000000000 +0200
++++ upower-0.99.8/src/upower.service.in 2018-08-10 08:24:47.751371582 +0200
+@@ -16,9 +16,6 @@ ReadWritePaths=@historydir@
+ ProtectHome=true
+ PrivateTmp=true
+
+-# Network
+-PrivateNetwork=true
+-
+ # Execute Mappings
+ MemoryDenyWriteExecute=true
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/upower.git/commitdiff/8a609a3a79c435e02247af7378c7de6c67b9be9b
More information about the pld-cvs-commit
mailing list