Browse Source

[testing] -> [extra] 'rtkit-0.11+11-2' move

master
M. Herdiansyah 4 years ago
parent
commit
b5cfb0ce4c
  1. 0
      repos/extra-x86_64/0001-SECURITY-Pass-uid-of-caller-to-polkit.patch
  2. 0
      repos/extra-x86_64/0002-move-dbus-into-datadir.patch
  3. 21
      repos/extra-x86_64/PKGBUILD
  4. 51
      repos/testing-x86_64/PKGBUILD

0
repos/testing-x86_64/0001-SECURITY-Pass-uid-of-caller-to-polkit.patch → repos/extra-x86_64/0001-SECURITY-Pass-uid-of-caller-to-polkit.patch

0
repos/testing-x86_64/0002-move-dbus-into-datadir.patch → repos/extra-x86_64/0002-move-dbus-into-datadir.patch

21
repos/extra-x86_64/PKGBUILD

@ -3,16 +3,26 @@
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
pkgname=rtkit
pkgver=0.11+9
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")
sha256sums=('68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0')
source=("http://0pointer.de/public/$pkgname-$_pkgver.tar.xz"
"0001-SECURITY-Pass-uid-of-caller-to-polkit.patch"
"0002-move-dbus-into-datadir.patch")
sha256sums=('68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0'
'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() {
cd $pkgname-$_pkgver
@ -36,7 +46,6 @@ package() {
echo 'u rtkit 133 "RealtimeKit" /proc' |
install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
sed -ne '4,25p' rtkit.c |
install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

51
repos/testing-x86_64/PKGBUILD

@ -1,51 +0,0 @@
# Maintainer: Muhammad Herdiansyah <koni@artixlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
pkgname=rtkit
pkgver=0.11+11
_pkgver=0.11
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"
"0002-move-dbus-into-datadir.patch")
sha256sums=('68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0'
'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() {
cd $pkgname-$_pkgver
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--libexecdir=/usr/lib
make
./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
}
package() {
cd $pkgname-$_pkgver
make DESTDIR="$pkgdir" install
install -Dt "$pkgdir/usr/share/dbus-1/interfaces" -m644 org.freedesktop.RealtimeKit1.xml
echo 'u rtkit 133 "RealtimeKit" /proc' |
install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
Loading…
Cancel
Save