[arch-commits] Commit in irqbalance/repos/extra-x86_64 (3 files)

David Runge dvzrv at archlinux.org
Thu May 16 20:43:03 UTC 2019


    Date: Thursday, May 16, 2019 @ 20:43:02
  Author: dvzrv
Revision: 353505

archrelease: copy trunk to extra-x86_64

Added:
  irqbalance/repos/extra-x86_64/PKGBUILD
    (from rev 353504, irqbalance/trunk/PKGBUILD)
Deleted:
  irqbalance/repos/extra-x86_64/PKGBUILD
  irqbalance/repos/extra-x86_64/config.patch

--------------+
 PKGBUILD     |   80 ++++++++++++++++++++++++++++-----------------------------
 config.patch |   14 ---------
 2 files changed, 40 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-16 20:42:55 UTC (rev 353504)
+++ PKGBUILD	2019-05-16 20:43:02 UTC (rev 353505)
@@ -1,40 +0,0 @@
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Martin Striz <ms at poruba.net>
-
-pkgname=irqbalance
-pkgver=1.5.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' 'systemd-libs')
-makedepends=('systemd')
-source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
-        config.patch)
-sha1sums=('bb8c786b1aae73679016ae0bbbb7c7dbc488be64'
-          '32e5650f37c64531e69f477959b0c3598acc2825')
-
-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
-
-  # Disable udev rule until we clarify it FS#56785
-  # install -D -m644 misc/90-irqbalance.rules "$pkgdir"/usr/lib/udev/rules.d/90-irqbalance.rules
-}

Copied: irqbalance/repos/extra-x86_64/PKGBUILD (from rev 353504, irqbalance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-16 20:43:02 UTC (rev 353505)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Dan McGee <dan at archlinux.org>
+# Contributor: Martin Striz <ms at poruba.net>
+
+pkgname=irqbalance
+pkgver=1.5.0
+pkgrel=2
+pkgdesc="IRQ balancing daemon for SMP systems"
+arch=('x86_64')
+url="https://github.com/irqbalance/irqbalance"
+license=('GPL2')
+backup=('etc/irqbalance.env')
+depends=('glib2' 'numactl' 'libcap-ng' 'systemd-libs')
+makedepends=('systemd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz")
+sha512sums=('343421fd533d7d161fd05a0edfadaddf1da6ced854a19e9f10ea6c12b97b2ef1629aad855214d9700d31d056bb816bf3ec90cdf7c643a1b6e8af1de5befa64f5')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # fix location of configuration and binary in service
+  sed -e 's|/path/to/|/etc/|g' \
+      -e 's|/usr/sbin|/usr/bin|g' \
+      -i "misc/${pkgname}.service"
+  autoreconf -vfi
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --sbindir=/usr/bin --with-systemd
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make install DESTDIR="$pkgdir"
+  install -vDm 644 misc/irqbalance.service \
+    -t "${pkgdir}/usr/lib/systemd/system/"
+  install -vDm 644 misc/irqbalance.env -t "${pkgdir}/etc/"
+  install -vDm 644 {AUTHORS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Deleted: config.patch
===================================================================
--- config.patch	2019-05-16 20:42:55 UTC (rev 353504)
+++ config.patch	2019-05-16 20:43:02 UTC (rev 353505)
@@ -1,14 +0,0 @@
-diff -aur irqbalance-1.5.0/misc/irqbalance.service irqbalance-1.5.0.new/misc/irqbalance.service
---- irqbalance-1.5.0/misc/irqbalance.service	2018-10-27 11:36:59.000000000 +0200
-+++ irqbalance-1.5.0.new/misc/irqbalance.service	2019-02-19 21:49:12.093453013 +0100
-@@ -5,8 +5,8 @@
- 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
- CapabilityBoundingSet=
- NoNewPrivileges=yes
- ReadOnlyPaths=/



More information about the arch-commits mailing list