Hello community, here is the log from the commit of package upower for openSUSE:Factory checked in at 2019-12-02 11:26:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/upower (Old) and /work/SRC/openSUSE:Factory/.upower.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "upower" Mon Dec 2 11:26:35 2019 rev:70 rq:750505 version:0.99.11 Changes: -------- --- /work/SRC/openSUSE:Factory/upower/upower.changes 2019-09-11 10:25:00.259476434 +0200 +++ /work/SRC/openSUSE:Factory/.upower.new.4691/upower.changes 2019-12-02 11:27:02.122678608 +0100 @@ -1,0 +2,8 @@ +Thu Nov 21 12:20:06 UTC 2019 - Frederic Crozat <[email protected]> + +- Add upower-sle15.patch: disable some systemd hardening, + presenting upower to start with SLE15 SP2+ systemd. +- Switch back to setup/patch macros, autosetup doesn't allow + skipping some patches. + +------------------------------------------------------------------- New: ---- upower-sle15.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ upower.spec ++++++ --- /var/tmp/diff_new_pack.yBU9Dl/_old 2019-12-02 11:27:02.626678418 +0100 +++ /var/tmp/diff_new_pack.yBU9Dl/_new 2019-12-02 11:27:02.626678418 +0100 @@ -33,6 +33,8 @@ Source: %{name}-%{version}.tar.xz # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch boo#985741 [email protected] -- Set the system per default to hibernate, not hybridsleep Patch0: upower-hibernate-insteadof-hybridsleep.patch +# PATCH-FEATURE-SLE upower-sle15.patch [email protected] -- Disable some hardenings, don't work on SLE15 SP2+ +Patch1: upower-sle15.patch BuildRequires: gobject-introspection-devel >= 0.9.9 BuildRequires: gtk-doc >= 1.11 @@ -102,7 +104,11 @@ %lang_package %prep -%autosetup -p1 +%setup -q +%patch0 -p1 +%if 0%{?sle_version} +%patch1 -p1 +%endif %build NOCONFIGURE=1 ./autogen.sh ++++++ upower-sle15.patch ++++++ diff -up upower/src/upower.service.in.sle15 upower/src/upower.service.in --- upower/src/upower.service.in.sle15 2019-11-21 13:17:05.087461073 +0100 +++ upower/src/upower.service.in 2019-11-21 14:08:28.107317367 +0100 @@ -14,13 +14,13 @@ ProtectSystem=strict ProtectKernelTunables=false ProtectControlGroups=true ReadWritePaths=@historydir@ -StateDirectory=upower +#StateDirectory=upower ProtectHome=true PrivateTmp=true # Network # PrivateNetwork=true would block udev's netlink socket -IPAddressDeny=any +#IPAddressDeny=any RestrictAddressFamilies=AF_UNIX AF_NETLINK # Execute Mappings @@ -39,10 +39,10 @@ NoNewPrivileges=true CapabilityBoundingSet= # System call interfaces -LockPersonality=yes +#LockPersonality=yes SystemCallArchitectures=native -SystemCallFilter=@system-service -SystemCallFilter=ioprio_get +#SystemCallFilter=@system-service +#SystemCallFilter=ioprio_get # Namespaces PrivateUsers=yes
