summaryrefslogtreecommitdiff
path: root/extra/rtkit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-23 02:41:50 -0700
committerroot <root@rshg054.dnsready.net>2013-09-23 02:41:50 -0700
commit7960b4f8054657774cc0636aa8ddf2fa48570622 (patch)
treee3151a1379b8cc5a923f4284a6877f51f6d0ad48 /extra/rtkit
parentfbd9603c619db8a960bd9c091211a8abd16c9534 (diff)
Mon Sep 23 02:35:56 PDT 2013
Diffstat (limited to 'extra/rtkit')
-rw-r--r--extra/rtkit/PKGBUILD10
-rw-r--r--extra/rtkit/systemd205.patch16
2 files changed, 22 insertions, 4 deletions
diff --git a/extra/rtkit/PKGBUILD b/extra/rtkit/PKGBUILD
index 7d5f551d7..d79889c7e 100644
--- a/extra/rtkit/PKGBUILD
+++ b/extra/rtkit/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 185307 2013-05-13 06:17:53Z heftig $
+# $Id: PKGBUILD 194685 2013-09-22 00:26:14Z dreisner $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
pkgname=rtkit
pkgver=0.11
-pkgrel=2
+pkgrel=3
pkgdesc="Realtime Policy and Watchdog Daemon"
arch=(i686 x86_64)
url="http://git.0pointer.de/?p=rtkit.git"
@@ -12,13 +12,15 @@ license=(GPL 'custom:BSD')
depends=(dbus polkit systemd)
install=rtkit.install
source=(http://0pointer.de/public/$pkgname-$pkgver.tar.xz
- libsystemd.patch)
+ libsystemd.patch systemd205.patch)
md5sums=('a96c33b9827de66033d2311f82d79a5d'
- '35089c0a284005f4abcf45168415857e')
+ '35089c0a284005f4abcf45168415857e'
+ '95195a70551057aca833da6bdbf2e35b')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../libsystemd.patch
+ patch -Np1 -i ../systemd205.patch
autoreconf -fi
}
diff --git a/extra/rtkit/systemd205.patch b/extra/rtkit/systemd205.patch
new file mode 100644
index 000000000..3f17b2ddb
--- /dev/null
+++ b/extra/rtkit/systemd205.patch
@@ -0,0 +1,16 @@
+diff -u -r rtkit-0.11/rtkit-daemon.service.in rtkit-0.11-sd205/rtkit-daemon.service.in
+--- rtkit-0.11/rtkit-daemon.service.in 2012-05-15 15:25:40.000000000 +0200
++++ rtkit-0.11-sd205/rtkit-daemon.service.in 2013-07-25 10:27:37.790884664 +0200
+@@ -24,12 +24,7 @@
+ BusName=org.freedesktop.RealtimeKit1
+ NotifyAccess=main
+ CapabilityBoundingSet=CAP_SYS_NICE CAP_DAC_READ_SEARCH CAP_SYS_PTRACE CAP_SYS_CHROOT CAP_SETGID CAP_SETUID
+-PrivateTmp=yes
+ 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:/
+-
+ [Install]
+ WantedBy=graphical.target