[arch-commits] Commit in rtkit/repos (10 files)

Jan Steffens heftig at nymeria.archlinux.org
Mon May 13 02:17:53 EDT 2013


    Date: Monday, May 13, 2013 @ 08:17:53
  Author: heftig
Revision: 185307

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  rtkit/repos/extra-i686/PKGBUILD
    (from rev 185306, rtkit/trunk/PKGBUILD)
  rtkit/repos/extra-i686/libsystemd.patch
    (from rev 185306, rtkit/trunk/libsystemd.patch)
  rtkit/repos/extra-i686/rtkit.install
    (from rev 185306, rtkit/trunk/rtkit.install)
  rtkit/repos/extra-x86_64/PKGBUILD
    (from rev 185306, rtkit/trunk/PKGBUILD)
  rtkit/repos/extra-x86_64/libsystemd.patch
    (from rev 185306, rtkit/trunk/libsystemd.patch)
  rtkit/repos/extra-x86_64/rtkit.install
    (from rev 185306, rtkit/trunk/rtkit.install)
Deleted:
  rtkit/repos/extra-i686/PKGBUILD
  rtkit/repos/extra-i686/rtkit.install
  rtkit/repos/extra-x86_64/PKGBUILD
  rtkit/repos/extra-x86_64/rtkit.install

-------------------------------+
 /PKGBUILD                     |   94 ++++++++++++++++++++++++++++++++++++++++
 /rtkit.install                |   52 ++++++++++++++++++++++
 extra-i686/PKGBUILD           |   41 -----------------
 extra-i686/libsystemd.patch   |   57 ++++++++++++++++++++++++
 extra-i686/rtkit.install      |   26 -----------
 extra-x86_64/PKGBUILD         |   41 -----------------
 extra-x86_64/libsystemd.patch |   57 ++++++++++++++++++++++++
 extra-x86_64/rtkit.install    |   26 -----------
 8 files changed, 260 insertions(+), 134 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-05-13 06:16:45 UTC (rev 185306)
+++ extra-i686/PKGBUILD	2013-05-13 06:17:53 UTC (rev 185307)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-
-pkgname=rtkit
-pkgver=0.11
-pkgrel=1
-pkgdesc="Realtime Policy and Watchdog Daemon"
-arch=('i686' 'x86_64')
-url="http://git.0pointer.de/?p=rtkit.git"
-license=(GPL 'custom:BSD')
-depends=(dbus polkit)
-install=rtkit.install
-source=(http://0pointer.de/public/$pkgname-$pkgver.tar.xz)
-md5sums=('a96c33b9827de66033d2311f82d79a5d')
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/$pkgname \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  # DBus configuration
-  mkdir -p "$pkgdir/usr/share/dbus-1/interfaces"
-  ./rtkit-daemon --introspect \
-    > "$pkgdir/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml"
-
-  # Client license
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}

Copied: rtkit/repos/extra-i686/PKGBUILD (from rev 185306, rtkit/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-05-13 06:17:53 UTC (rev 185307)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+
+pkgname=rtkit
+pkgver=0.11
+pkgrel=2
+pkgdesc="Realtime Policy and Watchdog Daemon"
+arch=(i686 x86_64)
+url="http://git.0pointer.de/?p=rtkit.git"
+license=(GPL 'custom:BSD')
+depends=(dbus polkit systemd)
+install=rtkit.install
+source=(http://0pointer.de/public/$pkgname-$pkgver.tar.xz
+        libsystemd.patch)
+md5sums=('a96c33b9827de66033d2311f82d79a5d'
+         '35089c0a284005f4abcf45168415857e')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../libsystemd.patch
+  autoreconf -fi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/$pkgname \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make
+
+  ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 org.freedesktop.RealtimeKit1.xml \
+    "$pkgdir/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Copied: rtkit/repos/extra-i686/libsystemd.patch (from rev 185306, rtkit/trunk/libsystemd.patch)
===================================================================
--- extra-i686/libsystemd.patch	                        (rev 0)
+++ extra-i686/libsystemd.patch	2013-05-13 06:17:53 UTC (rev 185307)
@@ -0,0 +1,57 @@
+diff -u -r rtkit-0.11/configure.ac rtkit-0.11-sd/configure.ac
+--- rtkit-0.11/configure.ac	2012-05-15 15:25:40.000000000 +0200
++++ rtkit-0.11-sd/configure.ac	2013-05-13 08:12:17.616825455 +0200
+@@ -115,6 +115,7 @@
+ AC_SEARCH_LIBS([cap_init], [cap])
+ 
+ PKG_CHECK_MODULES(DBUS, dbus-1)
++PKG_CHECK_MODULES(LIBSYSTEMD_DAEMON, libsystemd-daemon)
+ 
+ AC_ARG_WITH([systemdsystemunitdir],
+         AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
+diff -u -r rtkit-0.11/Makefile.am rtkit-0.11-sd/Makefile.am
+--- rtkit-0.11/Makefile.am	2012-05-15 15:38:05.000000000 +0200
++++ rtkit-0.11-sd/Makefile.am	2013-05-13 08:12:18.086822253 +0200
+@@ -56,13 +56,14 @@
+ endif
+ 
+ rtkit_daemon_SOURCES = \
+-	rtkit-daemon.c rtkit.h \
+-	sd-daemon.c sd-daemon.h
++	rtkit-daemon.c rtkit.h
+ rtkit_daemon_LDADD = \
+-	$(DBUS_LIBS)
++	$(DBUS_LIBS) \
++	$(LIBSYSTEMD_DAEMON_LIBS)
+ rtkit_daemon_CFLAGS = \
+ 	$(AM_CFLAGS) \
+-	$(DBUS_CFLAGS)
++	$(DBUS_CFLAGS) \
++	$(LIBSYSTEMD_DAEMON_CFLAGS)
+ 
+ rtkitctl_SOURCES = \
+ 	rtkitctl.c rtkit.h
+@@ -93,7 +94,3 @@
+ 
+ DISTCHECK_CONFIGURE_FLAGS = \
+ 	--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
+-
+-update-systemd:
+-	curl http://cgit.freedesktop.org/systemd/systemd/plain/src/libsystemd-daemon/sd-daemon.c > sd-daemon.c
+-	curl http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h > sd-daemon.h
+diff -u -r rtkit-0.11/rtkit-daemon.c rtkit-0.11-sd/rtkit-daemon.c
+--- rtkit-0.11/rtkit-daemon.c	2012-05-15 15:25:40.000000000 +0200
++++ rtkit-0.11-sd/rtkit-daemon.c	2013-05-13 08:13:07.933149359 +0200
+@@ -50,9 +50,9 @@
+ #include <dirent.h>
+ #include <syslog.h>
+ #include <grp.h>
++#include <systemd/sd-daemon.h>
+ 
+ #include "rtkit.h"
+-#include "sd-daemon.h"
+ 
+ #ifndef __linux__
+ #error "This stuff only works on Linux!"
+Only in rtkit-0.11: sd-daemon.c
+Only in rtkit-0.11: sd-daemon.h

Deleted: extra-i686/rtkit.install
===================================================================
--- extra-i686/rtkit.install	2013-05-13 06:16:45 UTC (rev 185306)
+++ extra-i686/rtkit.install	2013-05-13 06:17:53 UTC (rev 185307)
@@ -1,26 +0,0 @@
-post_install() {
-  getent group rtkit &>/dev/null || /usr/sbin/groupadd -g 133 rtkit || return 1
-  getent passwd rtkit &>/dev/null || /usr/sbin/useradd -u 133 -g rtkit -c 'RealtimeKit' -s /sbin/nologin -d /proc rtkit || return 1
-
-  dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1
-
-  true
-}
-
-post_upgrade() {
-  if (( $(vercmp $2 0.10) < 0 )); then
-    # Get rid of old user and group
-    post_remove
-  fi
-
-  post_install
-}
-
-post_remove() {
-  getent passwd rtkit &>/dev/null && /usr/sbin/userdel -f rtkit
-  getent group rtkit &>/dev/null && /usr/sbin/groupdel rtkit
-
-  true
-}
-
-# vim:set ts=2 sw=2 et:

Copied: rtkit/repos/extra-i686/rtkit.install (from rev 185306, rtkit/trunk/rtkit.install)
===================================================================
--- extra-i686/rtkit.install	                        (rev 0)
+++ extra-i686/rtkit.install	2013-05-13 06:17:53 UTC (rev 185307)
@@ -0,0 +1,26 @@
+post_install() {
+  getent group rtkit &>/dev/null || /usr/sbin/groupadd -g 133 rtkit || return 1
+  getent passwd rtkit &>/dev/null || /usr/sbin/useradd -u 133 -g rtkit -c 'RealtimeKit' -s /sbin/nologin -d /proc rtkit || return 1
+
+  dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1
+
+  true
+}
+
+post_upgrade() {
+  if (( $(vercmp $2 0.10) < 0 )); then
+    # Get rid of old user and group
+    post_remove
+  fi
+
+  post_install
+}
+
+post_remove() {
+  getent passwd rtkit &>/dev/null && /usr/sbin/userdel -f rtkit
+  getent group rtkit &>/dev/null && /usr/sbin/groupdel rtkit
+
+  true
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-05-13 06:16:45 UTC (rev 185306)
+++ extra-x86_64/PKGBUILD	2013-05-13 06:17:53 UTC (rev 185307)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-
-pkgname=rtkit
-pkgver=0.11
-pkgrel=1
-pkgdesc="Realtime Policy and Watchdog Daemon"
-arch=('i686' 'x86_64')
-url="http://git.0pointer.de/?p=rtkit.git"
-license=(GPL 'custom:BSD')
-depends=(dbus polkit)
-install=rtkit.install
-source=(http://0pointer.de/public/$pkgname-$pkgver.tar.xz)
-md5sums=('a96c33b9827de66033d2311f82d79a5d')
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/$pkgname \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  # DBus configuration
-  mkdir -p "$pkgdir/usr/share/dbus-1/interfaces"
-  ./rtkit-daemon --introspect \
-    > "$pkgdir/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml"
-
-  # Client license
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}

Copied: rtkit/repos/extra-x86_64/PKGBUILD (from rev 185306, rtkit/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-05-13 06:17:53 UTC (rev 185307)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+
+pkgname=rtkit
+pkgver=0.11
+pkgrel=2
+pkgdesc="Realtime Policy and Watchdog Daemon"
+arch=(i686 x86_64)
+url="http://git.0pointer.de/?p=rtkit.git"
+license=(GPL 'custom:BSD')
+depends=(dbus polkit systemd)
+install=rtkit.install
+source=(http://0pointer.de/public/$pkgname-$pkgver.tar.xz
+        libsystemd.patch)
+md5sums=('a96c33b9827de66033d2311f82d79a5d'
+         '35089c0a284005f4abcf45168415857e')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../libsystemd.patch
+  autoreconf -fi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/$pkgname \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make
+
+  ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 org.freedesktop.RealtimeKit1.xml \
+    "$pkgdir/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Copied: rtkit/repos/extra-x86_64/libsystemd.patch (from rev 185306, rtkit/trunk/libsystemd.patch)
===================================================================
--- extra-x86_64/libsystemd.patch	                        (rev 0)
+++ extra-x86_64/libsystemd.patch	2013-05-13 06:17:53 UTC (rev 185307)
@@ -0,0 +1,57 @@
+diff -u -r rtkit-0.11/configure.ac rtkit-0.11-sd/configure.ac
+--- rtkit-0.11/configure.ac	2012-05-15 15:25:40.000000000 +0200
++++ rtkit-0.11-sd/configure.ac	2013-05-13 08:12:17.616825455 +0200
+@@ -115,6 +115,7 @@
+ AC_SEARCH_LIBS([cap_init], [cap])
+ 
+ PKG_CHECK_MODULES(DBUS, dbus-1)
++PKG_CHECK_MODULES(LIBSYSTEMD_DAEMON, libsystemd-daemon)
+ 
+ AC_ARG_WITH([systemdsystemunitdir],
+         AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
+diff -u -r rtkit-0.11/Makefile.am rtkit-0.11-sd/Makefile.am
+--- rtkit-0.11/Makefile.am	2012-05-15 15:38:05.000000000 +0200
++++ rtkit-0.11-sd/Makefile.am	2013-05-13 08:12:18.086822253 +0200
+@@ -56,13 +56,14 @@
+ endif
+ 
+ rtkit_daemon_SOURCES = \
+-	rtkit-daemon.c rtkit.h \
+-	sd-daemon.c sd-daemon.h
++	rtkit-daemon.c rtkit.h
+ rtkit_daemon_LDADD = \
+-	$(DBUS_LIBS)
++	$(DBUS_LIBS) \
++	$(LIBSYSTEMD_DAEMON_LIBS)
+ rtkit_daemon_CFLAGS = \
+ 	$(AM_CFLAGS) \
+-	$(DBUS_CFLAGS)
++	$(DBUS_CFLAGS) \
++	$(LIBSYSTEMD_DAEMON_CFLAGS)
+ 
+ rtkitctl_SOURCES = \
+ 	rtkitctl.c rtkit.h
+@@ -93,7 +94,3 @@
+ 
+ DISTCHECK_CONFIGURE_FLAGS = \
+ 	--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
+-
+-update-systemd:
+-	curl http://cgit.freedesktop.org/systemd/systemd/plain/src/libsystemd-daemon/sd-daemon.c > sd-daemon.c
+-	curl http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h > sd-daemon.h
+diff -u -r rtkit-0.11/rtkit-daemon.c rtkit-0.11-sd/rtkit-daemon.c
+--- rtkit-0.11/rtkit-daemon.c	2012-05-15 15:25:40.000000000 +0200
++++ rtkit-0.11-sd/rtkit-daemon.c	2013-05-13 08:13:07.933149359 +0200
+@@ -50,9 +50,9 @@
+ #include <dirent.h>
+ #include <syslog.h>
+ #include <grp.h>
++#include <systemd/sd-daemon.h>
+ 
+ #include "rtkit.h"
+-#include "sd-daemon.h"
+ 
+ #ifndef __linux__
+ #error "This stuff only works on Linux!"
+Only in rtkit-0.11: sd-daemon.c
+Only in rtkit-0.11: sd-daemon.h

Deleted: extra-x86_64/rtkit.install
===================================================================
--- extra-x86_64/rtkit.install	2013-05-13 06:16:45 UTC (rev 185306)
+++ extra-x86_64/rtkit.install	2013-05-13 06:17:53 UTC (rev 185307)
@@ -1,26 +0,0 @@
-post_install() {
-  getent group rtkit &>/dev/null || /usr/sbin/groupadd -g 133 rtkit || return 1
-  getent passwd rtkit &>/dev/null || /usr/sbin/useradd -u 133 -g rtkit -c 'RealtimeKit' -s /sbin/nologin -d /proc rtkit || return 1
-
-  dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1
-
-  true
-}
-
-post_upgrade() {
-  if (( $(vercmp $2 0.10) < 0 )); then
-    # Get rid of old user and group
-    post_remove
-  fi
-
-  post_install
-}
-
-post_remove() {
-  getent passwd rtkit &>/dev/null && /usr/sbin/userdel -f rtkit
-  getent group rtkit &>/dev/null && /usr/sbin/groupdel rtkit
-
-  true
-}
-
-# vim:set ts=2 sw=2 et:

Copied: rtkit/repos/extra-x86_64/rtkit.install (from rev 185306, rtkit/trunk/rtkit.install)
===================================================================
--- extra-x86_64/rtkit.install	                        (rev 0)
+++ extra-x86_64/rtkit.install	2013-05-13 06:17:53 UTC (rev 185307)
@@ -0,0 +1,26 @@
+post_install() {
+  getent group rtkit &>/dev/null || /usr/sbin/groupadd -g 133 rtkit || return 1
+  getent passwd rtkit &>/dev/null || /usr/sbin/useradd -u 133 -g rtkit -c 'RealtimeKit' -s /sbin/nologin -d /proc rtkit || return 1
+
+  dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1
+
+  true
+}
+
+post_upgrade() {
+  if (( $(vercmp $2 0.10) < 0 )); then
+    # Get rid of old user and group
+    post_remove
+  fi
+
+  post_install
+}
+
+post_remove() {
+  getent passwd rtkit &>/dev/null && /usr/sbin/userdel -f rtkit
+  getent group rtkit &>/dev/null && /usr/sbin/groupdel rtkit
+
+  true
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list