From 1191221beb5c5f89e139d50d027aaf30df20ea5e50e3ae39c6ecd67889a84f91 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 3 Jul 2019 14:57:13 +0000 Subject: [PATCH] Accepting request 713257 from home:marxin:branches:Base:System - Update to version 0.11+git.20161005: * Drop removed ControlGroup stanza * systemd: update sd-daemon.[ch] * build-sys: since clock_gettime() moved to libc use mq_open to check for librt * Pass uid of caller to polkit * systemd: update sd-daemon.[ch] * git: update gitignore * git: update .gitignore * build-sys: modernize build system * systemd: secure rtkit service a bit * systemd: update unit file a bit - Drop rtkit-no-cpu-controlgroup.patch - Add -Wno-format-nonliteral -Wno-format-security to optflags in order to prepare for -Werror of these warnings in openSUSE:Factory. OBS-URL: https://build.opensuse.org/request/show/713257 OBS-URL: https://build.opensuse.org/package/show/Base:System/rtkit?expand=0&rev=36 --- rtkit-0.11+git.20130926.tar.xz | 3 --- rtkit-0.11+git.20161005.tar.xz | 3 +++ rtkit-no-cpu-controlgroup.patch | 14 -------------- rtkit.changes | 18 ++++++++++++++++++ rtkit.spec | 16 +++++++--------- 5 files changed, 28 insertions(+), 26 deletions(-) delete mode 100644 rtkit-0.11+git.20130926.tar.xz create mode 100644 rtkit-0.11+git.20161005.tar.xz delete mode 100644 rtkit-no-cpu-controlgroup.patch diff --git a/rtkit-0.11+git.20130926.tar.xz b/rtkit-0.11+git.20130926.tar.xz deleted file mode 100644 index 6e7afb3..0000000 --- a/rtkit-0.11+git.20130926.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12f45e990e24aa643df6e30979fdbab19ad6c2a7563af2c9ead8821f6c93b024 -size 42940 diff --git a/rtkit-0.11+git.20161005.tar.xz b/rtkit-0.11+git.20161005.tar.xz new file mode 100644 index 0000000..bb5844b --- /dev/null +++ b/rtkit-0.11+git.20161005.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d6291ec2326f709ff67248940197b505b065936428d6d7516c0ebc46bbe8368 +size 42828 diff --git a/rtkit-no-cpu-controlgroup.patch b/rtkit-no-cpu-controlgroup.patch deleted file mode 100644 index 4dffa1f..0000000 --- a/rtkit-no-cpu-controlgroup.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: rtkit-0.11_git201205151338/rtkit-daemon.service.in -=================================================================== ---- rtkit-0.11_git201205151338.orig/rtkit-daemon.service.in -+++ rtkit-0.11_git201205151338/rtkit-daemon.service.in -@@ -29,7 +29,8 @@ PrivateNetwork=yes - - # Work around the fact that the Linux currently doesn't assign any RT - # budget to CPU control groups that have none configured explicitly --ControlGroup=cpu:/ -+# Not specified by systemd currently. -+# ControlGroup=cpu:/ - - [Install] - WantedBy=graphical.target diff --git a/rtkit.changes b/rtkit.changes index f10ba3d..dc41275 100644 --- a/rtkit.changes +++ b/rtkit.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Jul 03 14:13:21 UTC 2019 - mliska@suse.cz + +- Update to version 0.11+git.20161005: + * Drop removed ControlGroup stanza + * systemd: update sd-daemon.[ch] + * build-sys: since clock_gettime() moved to libc use mq_open to check for librt + * Pass uid of caller to polkit + * systemd: update sd-daemon.[ch] + * git: update gitignore + * git: update .gitignore + * build-sys: modernize build system + * systemd: secure rtkit service a bit + * systemd: update unit file a bit +- Drop rtkit-no-cpu-controlgroup.patch +- Add -Wno-format-nonliteral -Wno-format-security to optflags in order + to prepare for -Werror of these warnings in openSUSE:Factory. + ------------------------------------------------------------------- Fri Dec 9 13:59:38 UTC 2016 - fbui@suse.com diff --git a/rtkit.spec b/rtkit.spec index 16a49e7..40e988f 100644 --- a/rtkit.spec +++ b/rtkit.spec @@ -1,7 +1,7 @@ # # spec file for package rtkit # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: rtkit -Version: 0.11+git.20130926 +Version: 0.11+git.20161005 Release: 0 Summary: Realtime Policy and Watchdog Daemon -License: GPL-3.0+ and BSD-3-Clause -Group: System/Base # The daemon itself is GPL v3 or later, the reference implementation for # the client BSD-3-Clause +License: GPL-3.0-or-later AND BSD-3-Clause +Group: System/Base Url: http://git.0pointer.de/?p=rtkit.git Source: %{name}-%{version}.tar.xz -Patch2: rtkit-no-cpu-controlgroup.patch BuildRequires: automake BuildRequires: libcap-devel BuildRequires: pkg-config +BuildRequires: systemd-rpm-macros BuildRequires: xz BuildRequires: pkgconfig(dbus-1) >= 1.2 -BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(polkit-agent-1) BuildRequires: pkgconfig(polkit-gobject-1) Requires: polkit @@ -49,11 +48,10 @@ scheduling to be used by normal user processes. %prep %setup -q -%patch2 -p1 %build autoreconf -fiv -export CFLAGS="%{optflags} -fPIE" +export CFLAGS="%{optflags} -fPIE -Wno-format-nonliteral -Wno-format-security" export LDFLAGS="-Wl,-z,relro,-z,now -pie" %configure \ --disable-silent-rules \