[arch-commits] Commit in irqbalance/repos/extra-x86_64 (4 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Dec 18 18:45:38 UTC 2017
Date: Monday, December 18, 2017 @ 18:45:38
Author: anatolik
Revision: 313309
archrelease: copy trunk to extra-x86_64
Added:
irqbalance/repos/extra-x86_64/PKGBUILD
(from rev 313308, irqbalance/trunk/PKGBUILD)
irqbalance/repos/extra-x86_64/config.patch
(from rev 313308, irqbalance/trunk/config.patch)
Deleted:
irqbalance/repos/extra-x86_64/PKGBUILD
irqbalance/repos/extra-x86_64/irqbalance.service
--------------------+
PKGBUILD | 67 ++++++++++++++++++++++++++++-----------------------
config.patch | 29 ++++++++++++++++++++++
irqbalance.service | 9 ------
3 files changed, 67 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-18 18:45:07 UTC (rev 313308)
+++ PKGBUILD 2017-12-18 18:45:38 UTC (rev 313309)
@@ -1,29 +0,0 @@
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Martin Striz <ms at poruba.net>
-
-pkgname=irqbalance
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="IRQ balancing daemon for SMP systems"
-arch=('i686' 'x86_64')
-url="https://github.com/Irqbalance/irqbalance"
-license=('GPL')
-depends=('glib2' 'numactl' 'libcap-ng')
-source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
- irqbalance.service)
-md5sums=('d1b3f2c31389f2ab955dfa3d02f9f296'
- '767061c257b26cc3e3c4a5e462166579')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./autogen.sh
- ./configure --prefix=/usr --sbindir=/usr/bin
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make install DESTDIR="$pkgdir"
- install -D -m644 ../irqbalance.service \
- "$pkgdir"/usr/lib/systemd/system/irqbalance.service
-}
Copied: irqbalance/repos/extra-x86_64/PKGBUILD (from rev 313308, irqbalance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-18 18:45:38 UTC (rev 313309)
@@ -0,0 +1,38 @@
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Martin Striz <ms at poruba.net>
+
+pkgname=irqbalance
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="IRQ balancing daemon for SMP systems"
+arch=('x86_64')
+url="https://github.com/Irqbalance/irqbalance"
+license=('GPL')
+backup=('etc/irqbalance.env')
+depends=('glib2' 'numactl' 'libcap-ng' 'libsystemd')
+makedepends=('systemd')
+source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
+ config.patch)
+sha1sums=('2797747812d65fcfa83d7e3610857e6326df933a'
+ 'f5750dd9b53ef77c3dcb46ea70622c6c4d462888')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 < ../config.patch
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./autogen.sh
+ ./configure --prefix=/usr --sbindir=/usr/bin --with-systemd
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
+
+ install -D -m644 misc/irqbalance.service "$pkgdir"/usr/lib/systemd/system/irqbalance.service
+ install -D -m644 misc/irqbalance.env "$pkgdir"/etc/irqbalance.env
+ install -D -m644 misc/90-irqbalance.rules "$pkgdir"/usr/lib/udev/rules.d/90-irqbalance.rules
+}
Copied: irqbalance/repos/extra-x86_64/config.patch (from rev 313308, irqbalance/trunk/config.patch)
===================================================================
--- config.patch (rev 0)
+++ config.patch 2017-12-18 18:45:38 UTC (rev 313309)
@@ -0,0 +1,29 @@
+diff --git a/configure.ac b/configure.ac
+index 38a1bee..5e9cc03 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -53,9 +53,6 @@ AC_ARG_WITH([systemd],
+ AS_IF(
+ [test "x$with_systemd" = xyes], [
+ PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [journal_lib=yes], [journal_lib=no])
+- AS_IF([test "x$journal_lib" != "xyes"], [
+- PKG_CHECK_MODULES([SYSTEMD], [libsystemd-journal], [journal_lib=yes])
+- ])
+ AC_DEFINE(HAVE_LIBSYSTEMD, 1, [systemd support])
+ AC_CHECK_LIB([systemd], [sd_journal_print_with_location])
+ AC_CHECK_LIB([systemd], [sd_journal_print])
+diff --git a/misc/irqbalance.service b/misc/irqbalance.service
+index e9a5527..a8451d9 100644
+--- a/misc/irqbalance.service
++++ b/misc/irqbalance.service
+@@ -3,8 +3,8 @@ Description=irqbalance daemon
+ ConditionVirtualization=!container
+
+ [Service]
+-EnvironmentFile=/path/to/irqbalance.env
+-ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
++EnvironmentFile=/etc/irqbalance.env
++ExecStart=/usr/bin/irqbalance --foreground $IRQBALANCE_ARGS
+
+ [Install]
+ WantedBy=multi-user.target
Deleted: irqbalance.service
===================================================================
--- irqbalance.service 2017-12-18 18:45:07 UTC (rev 313308)
+++ irqbalance.service 2017-12-18 18:45:38 UTC (rev 313309)
@@ -1,9 +0,0 @@
-[Unit]
-Description=CPU Interrupt Request Balancer
-
-[Service]
-ExecStart=/usr/bin/irqbalance --foreground
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
More information about the arch-commits
mailing list