diff options
Diffstat (limited to 'pcr/freeipmi')
-rw-r--r-- | pcr/freeipmi/PKGBUILD | 44 | ||||
-rw-r--r-- | pcr/freeipmi/bmc-watchdog.service | 11 | ||||
-rw-r--r-- | pcr/freeipmi/ipmidetectd.service | 10 | ||||
-rw-r--r-- | pcr/freeipmi/ipmiseld.service | 10 |
4 files changed, 61 insertions, 14 deletions
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 <fukawi2@NO-SPAM.gmail.com> +# Contributor (Arch): Phillip Smith <fukawi2@NO-SPAM.gmail.com> # http://github.com/fukawi2/aur-packages -# Contributor: Nathan Owe <ndowens04 at gmail> +# Contributor (Arch): Nathan Owe <ndowens04 at gmail> # Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp> +### 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: diff --git a/pcr/freeipmi/bmc-watchdog.service b/pcr/freeipmi/bmc-watchdog.service new file mode 100644 index 000000000..8ad449a71 --- /dev/null +++ b/pcr/freeipmi/bmc-watchdog.service @@ -0,0 +1,11 @@ +[Unit] +Description=BMC Watchdog Timer Daemon +After=network.target + +[Service] +Type=forking +EnvironmentFile=-/etc/conf.d/bmc-watchdog +ExecStart=/usr/bin/bmc-watchdog $OPTIONS + +[Install] +WantedBy=multi-user.target diff --git a/pcr/freeipmi/ipmidetectd.service b/pcr/freeipmi/ipmidetectd.service new file mode 100644 index 000000000..637060225 --- /dev/null +++ b/pcr/freeipmi/ipmidetectd.service @@ -0,0 +1,10 @@ +[Unit] +Description=IPMI Node Detection Monitoring Daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/ipmidetectd + +[Install] +WantedBy=multi-user.target diff --git a/pcr/freeipmi/ipmiseld.service b/pcr/freeipmi/ipmiseld.service new file mode 100644 index 000000000..1c4caf5df --- /dev/null +++ b/pcr/freeipmi/ipmiseld.service @@ -0,0 +1,10 @@ +[Unit] +Description=IPMI SEL syslog logging daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/ipmiseld + +[Install] +WantedBy=multi-user.target |