forked from pool/rtkit
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
This commit is contained in:
parent
01076216d6
commit
1191221beb
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:12f45e990e24aa643df6e30979fdbab19ad6c2a7563af2c9ead8821f6c93b024
|
|
||||||
size 42940
|
|
3
rtkit-0.11+git.20161005.tar.xz
Normal file
3
rtkit-0.11+git.20161005.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1d6291ec2326f709ff67248940197b505b065936428d6d7516c0ebc46bbe8368
|
||||||
|
size 42828
|
@ -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
|
|
@ -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
|
Fri Dec 9 13:59:38 UTC 2016 - fbui@suse.com
|
||||||
|
|
||||||
|
16
rtkit.spec
16
rtkit.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rtkit
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: rtkit
|
||||||
Version: 0.11+git.20130926
|
Version: 0.11+git.20161005
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Realtime Policy and Watchdog Daemon
|
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 daemon itself is GPL v3 or later, the reference implementation for
|
||||||
# the client BSD-3-Clause
|
# 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
|
Url: http://git.0pointer.de/?p=rtkit.git
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
Patch2: rtkit-no-cpu-controlgroup.patch
|
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(dbus-1) >= 1.2
|
BuildRequires: pkgconfig(dbus-1) >= 1.2
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
BuildRequires: pkgconfig(polkit-agent-1)
|
BuildRequires: pkgconfig(polkit-agent-1)
|
||||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||||
Requires: polkit
|
Requires: polkit
|
||||||
@ -49,11 +48,10 @@ scheduling to be used by normal user processes.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
export CFLAGS="%{optflags} -fPIE"
|
export CFLAGS="%{optflags} -fPIE -Wno-format-nonliteral -Wno-format-security"
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
|
Loading…
Reference in New Issue
Block a user