From df010a4438b04137ce3b6cbec103913d06eef18a Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 18 May 2015 06:53:24 -0500 Subject: freeipmi-1.4.8-1: updating version --- pcr/freeipmi/PKGBUILD | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) (limited to 'pcr/freeipmi/PKGBUILD') diff --git a/pcr/freeipmi/PKGBUILD b/pcr/freeipmi/PKGBUILD index fa18ac825..a5bc36ee5 100644 --- a/pcr/freeipmi/PKGBUILD +++ b/pcr/freeipmi/PKGBUILD @@ -1,18 +1,35 @@ -# Contributor: Phillip Smith +# Contributor (Arch): Phillip Smith # http://github.com/fukawi2/aur-packages -# Contributor: Nathan Owe +# Contributor (Arch): Nathan Owe # Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES +### I AM ONLY THE PACKAGER, NOT THE DEVELOPER +### Please ask support questions about this software in one of: +### 1) The AUR comments; OR +### 2) Upstream forums/maillist etc; OR +### 3) The ArchLinux forums +### I do not always know enough about the software itself, or don't have the +### time to promptly respond to direct emails. +### If you have found a problem with the package/PKGBUILD (as opposed to +### the software) then please do email me or post an AUR comment. + pkgname=freeipmi -pkgver=1.4.1 +pkgver=1.4.8 pkgrel=1 pkgdesc="sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL)" -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64') url="http://www.gnu.org/software/freeipmi/" license=('GPL') depends=('libgcrypt') options=('!libtool') -source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") +source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" + 'bmc-watchdog.service' + 'ipmidetectd.service' + 'ipmiseld.service') +md5sums=('df800f7553d6a7d55e2a928abc65dadb' + '8993098bae8cc6b134a330105373d258' + 'bb8bd4f7e5dddbbb15e309c3f1090551' + 'd8b0658fb8037bf4c09b9179223e4972') build() { cd $srcdir/$pkgname-$pkgver @@ -33,18 +50,17 @@ package() { make DESTDIR=$pkgdir/ install + rm -Rf $pkgdir/usr/share/info/dir + # Move init scripts and config to Arch paths - mv $pkgdir/etc/init.d $pkgdir/etc/rc.d mv $pkgdir/etc/sysconfig $pkgdir/etc/conf.d - - # Fix references to 'init.d' and 'sysconfig' - sed -e 's|/etc/init.d/|/etc/rc.d/|g' \ - -e 's|/etc/rc.d/init.d/functions|/etc/rc.d/functions|g' \ - -i $pkgdir/etc/rc.d/* - sed -e 's|CONFFILE=/etc/sysconfig/bmc-watchdog|CONFFILE=/etc/cond.f/bmc-watchdog|g' \ - -i $pkgdir/etc/rc.d/bmc-watchdog - rm -Rf $pkgdir/usr/share/info/dir + # We need system units, not rc scripts + rm -Rf "$pkgdir"/etc/init.d/ + for svcname in bmc-watchdog ipmidetectd ipmiseld ; do + install -Dm644 "$srcdir"/${svcname}.service \ + "$pkgdir"/usr/lib/systemd/system/${svcname}.service + done } # vim:set ts=2 sw=2 et: -- cgit v1.2.3-2-g168b