diff options
author | Phillip Smith | 2015-06-02 10:46:55 +1000 |
---|---|---|
committer | Phillip Smith | 2015-06-02 10:46:55 +1000 |
commit | f5bbb5b05f3fb4cde5ebfc80024a5f6ad43a2673 (patch) | |
tree | b3a9de16715a0dc29645b57b2cdfa1525786aa39 | |
download | aur-f5bbb5b05f3fb4cde5ebfc80024a5f6ad43a2673.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 65 | ||||
-rw-r--r-- | bmc-watchdog.service | 11 | ||||
-rw-r--r-- | ipmidetectd.service | 10 | ||||
-rw-r--r-- | ipmiseld.service | 10 |
6 files changed, 121 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7eb42a027c6b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = freeipmi + pkgdesc = sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL) + pkgver = 1.4.8 + pkgrel = 1 + url = http://www.gnu.org/software/freeipmi/ + arch = i686 + arch = x86_64 + license = GPL + depends = libgcrypt + options = !libtool + source = http://ftp.gnu.org/gnu/freeipmi/freeipmi-1.4.8.tar.gz + source = bmc-watchdog.service + source = ipmidetectd.service + source = ipmiseld.service + md5sums = df800f7553d6a7d55e2a928abc65dadb + md5sums = 8993098bae8cc6b134a330105373d258 + md5sums = bb8bd4f7e5dddbbb15e309c3f1090551 + md5sums = d8b0658fb8037bf4c09b9179223e4972 + +pkgname = freeipmi + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..d6f819d5c0ec --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +freeipmi-*.pkg.tar.xz +freeipmi-*.tar.gz +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f67bb68165c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com> +# http://github.com/fukawi2/aur-packages +# Contributor: Nathan Owe <ndowens04 at gmail> + +### 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.8 +pkgrel=1 +pkgdesc="sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL)" +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" + 'bmc-watchdog.service' + 'ipmidetectd.service' + 'ipmiseld.service') +md5sums=('df800f7553d6a7d55e2a928abc65dadb' + '8993098bae8cc6b134a330105373d258' + 'bb8bd4f7e5dddbbb15e309c3f1090551' + 'd8b0658fb8037bf4c09b9179223e4972') + +build() { + cd $srcdir/$pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --infodir=/usr/share/info + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir/ install + + rm -Rf $pkgdir/usr/share/info/dir + + # Move init scripts and config to Arch paths + mv $pkgdir/etc/sysconfig $pkgdir/etc/conf.d + + # 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/bmc-watchdog.service b/bmc-watchdog.service new file mode 100644 index 000000000000..8ad449a71691 --- /dev/null +++ b/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/ipmidetectd.service b/ipmidetectd.service new file mode 100644 index 000000000000..637060225e7d --- /dev/null +++ b/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/ipmiseld.service b/ipmiseld.service new file mode 100644 index 000000000000..1c4caf5df620 --- /dev/null +++ b/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 |