New package: freeipmi-1.5.1

This commit is contained in:
Toyam Cox 2016-05-15 20:05:10 -04:00
parent 6d5f3df8ec
commit 45cb265d20
7 changed files with 58 additions and 0 deletions

View File

@ -2447,3 +2447,7 @@ libsignon-extension.so.1 signond-8.58_1
libj4status-plugin.so.0 j4status-0.1_1
libvirglrenderer.so.0 virglrenderer-0.5.0_1
libglpk.so.40 glpk-4.60_1
libipmimonitoring.so.5 freeipmi-1.5.1_1
libipmiconsole.so.2 freeipmi-1.5.1_1
libfreeipmi.so.17 freeipmi-1.5.1_1
libipmidetect.so.0 freeipmi-1.5.1_1

1
srcpkgs/freeipmi-devel Symbolic link
View File

@ -0,0 +1 @@
freeipmi

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec bmc-watchdog --stop

View File

@ -0,0 +1,9 @@
#!/bin/sh
[ -f ./conf ] && . ./conf
: ${OPTIONS:=-d -u 4 -p 0 -a 1 -F -P -L -S -O -i 900 -e 60}
bmc-watchdog ${OPTIONS}
exec chpst -b bmc-watchdog pause

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec ipmidetectd -d

View File

@ -0,0 +1,4 @@
#!/bin/sh
[ -d /var/cache/ipmiseld ] || mkdir /var/cache/ipmiseld
exec ipmiseld --foreground

34
srcpkgs/freeipmi/template Normal file
View File

@ -0,0 +1,34 @@
# Template file for 'freeipmi'
pkgname=freeipmi
version=1.5.1
revision=1
build_style=gnu-configure
configure_args="--without-systemdsystemunitdir ac_cv_header_sys_stropts_h=no"
conf_files="/etc/freeipmi/*.conf"
hostmakedepends="pkg-config"
makedepends="libgcrypt-devel"
short_desc="In-band and out-of-band IPMI software"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/freeipmi/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=47985ab902a62e23aba60e30a9fba5190599eecbc107d442e8b948a220ed1252
post_install() {
rm -rf ${DESTDIR}/etc/{sysconfig,init.d}
vsv ipmiseld
vsv ipmidetectd
vsv bmc-watchdog
}
freeipmi-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/share/man/man3
vmove usr/lib/pkgconfig
}
}