Browse Source

[trunk] -> [testing] 'rtkit-0.11+11-2' add

master
M. Herdiansyah 4 years ago
parent
commit
3a693500a3
  1. 22
      repos/testing-x86_64/0002-move-dbus-into-datadir.patch
  2. 9
      repos/testing-x86_64/PKGBUILD
  3. 22
      trunk/0002-move-dbus-into-datadir.patch
  4. 9
      trunk/PKGBUILD

22
repos/testing-x86_64/0002-move-dbus-into-datadir.patch

@ -0,0 +1,22 @@
From a8e1cf1899cefad0f77196c161b615c2975418e4 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Tue, 15 Jan 2019 21:22:56 +0100
Subject: [PATCH] Makefile.in: Move D-Bus system.d into datadir
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 2d1d07f..de99daf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,7 +21,7 @@ AM_LDFLAGS = $(GCLDFLAGS)
ACLOCAL_AMFLAGS = -I m4
policykitdir = $(datadir)/polkit-1/actions/
-dbussystemdir = $(sysconfdir)/dbus-1/system.d/
+dbussystemdir = $(datadir)/dbus-1/system.d/
dbusservicedir = $(datadir)/dbus-1/system-services/
EXTRA_DIST = \

9
repos/testing-x86_64/PKGBUILD

@ -5,20 +5,23 @@
pkgname=rtkit
pkgver=0.11+11
_pkgver=0.11
pkgrel=1
pkgrel=2
pkgdesc="Realtime Policy and Watchdog Daemon"
arch=(x86_64)
url="http://git.0pointer.de/?p=rtkit.git"
license=(GPL3 'custom:BSD')
depends=(dbus polkit)
source=("http://0pointer.de/public/$pkgname-$_pkgver.tar.xz"
"0001-SECURITY-Pass-uid-of-caller-to-polkit.patch")
"0001-SECURITY-Pass-uid-of-caller-to-polkit.patch"
"0002-move-dbus-into-datadir.patch")
sha256sums=('68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0'
'690dce4fdaedeeadb2bbd9b02673ae5103e8bce08014cd8cb80b48ab19139c86')
'690dce4fdaedeeadb2bbd9b02673ae5103e8bce08014cd8cb80b48ab19139c86'
'd12f29db52626cafe5499357a091f4f2e5da9fd2ce64932fa3bf80504375a85c')
prepare() {
cd $pkgname-$_pkgver
patch -Np1 -i ../0001-SECURITY-Pass-uid-of-caller-to-polkit.patch
patch -Np1 -i ../0002-move-dbus-into-datadir.patch
}
build() {

22
trunk/0002-move-dbus-into-datadir.patch

@ -0,0 +1,22 @@
From a8e1cf1899cefad0f77196c161b615c2975418e4 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Tue, 15 Jan 2019 21:22:56 +0100
Subject: [PATCH] Makefile.in: Move D-Bus system.d into datadir
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 2d1d07f..de99daf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,7 +21,7 @@ AM_LDFLAGS = $(GCLDFLAGS)
ACLOCAL_AMFLAGS = -I m4
policykitdir = $(datadir)/polkit-1/actions/
-dbussystemdir = $(sysconfdir)/dbus-1/system.d/
+dbussystemdir = $(datadir)/dbus-1/system.d/
dbusservicedir = $(datadir)/dbus-1/system-services/
EXTRA_DIST = \

9
trunk/PKGBUILD

@ -5,20 +5,23 @@
pkgname=rtkit
pkgver=0.11+11
_pkgver=0.11
pkgrel=1
pkgrel=2
pkgdesc="Realtime Policy and Watchdog Daemon"
arch=(x86_64)
url="http://git.0pointer.de/?p=rtkit.git"
license=(GPL3 'custom:BSD')
depends=(dbus polkit)
source=("http://0pointer.de/public/$pkgname-$_pkgver.tar.xz"
"0001-SECURITY-Pass-uid-of-caller-to-polkit.patch")
"0001-SECURITY-Pass-uid-of-caller-to-polkit.patch"
"0002-move-dbus-into-datadir.patch")
sha256sums=('68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0'
'690dce4fdaedeeadb2bbd9b02673ae5103e8bce08014cd8cb80b48ab19139c86')
'690dce4fdaedeeadb2bbd9b02673ae5103e8bce08014cd8cb80b48ab19139c86'
'd12f29db52626cafe5499357a091f4f2e5da9fd2ce64932fa3bf80504375a85c')
prepare() {
cd $pkgname-$_pkgver
patch -Np1 -i ../0001-SECURITY-Pass-uid-of-caller-to-polkit.patch
patch -Np1 -i ../0002-move-dbus-into-datadir.patch
}
build() {

Loading…
Cancel
Save