aboutsummaryrefslogtreecommitdiffstats
path: root/community/openipmi
diff options
context:
space:
mode:
Diffstat (limited to 'community/openipmi')
-rw-r--r--community/openipmi/APKBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/community/openipmi/APKBUILD b/community/openipmi/APKBUILD
index 6db614d3b9..9c7a2864a6 100644
--- a/community/openipmi/APKBUILD
+++ b/community/openipmi/APKBUILD
@@ -1,20 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openipmi
-pkgver=2.0.25
-pkgrel=1
+pkgver=2.0.27
+pkgrel=0
pkgdesc="IPMI (Intelligent Platform Management Interface) library and tools"
url="https://sourceforge.net/projects/openipmi/"
arch="all"
-license="LGPL-2.0-or-later and GPL-2.0-or-later or BSD"
-makedepends="$depends_dev popt-dev glib-dev net-snmp-dev ncurses-dev
+license="LGPL-2.0-or-later and GPL-2.0-or-later or BSD-3-Clause"
+makedepends="libedit-dev readline-dev popt-dev glib-dev net-snmp-dev ncurses-dev
openssl-dev linux-headers"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lanserv $pkgname-libs"
-source="https://downloads.sourceforge.net/openipmi/OpenIPMI-$pkgver.tar.gz
- "
+source="https://downloads.sourceforge.net/openipmi/OpenIPMI-$pkgver.tar.gz"
builddir="$srcdir"/OpenIPMI-$pkgver
-build() {
- cd "$builddir"
+
+prepare() {
+ default_prepare
update_config_sub
+}
+
+build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,19 +27,19 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static \
- --with-ucdsnmp
+ --with-ucdsnmp \
+ --without-python
make
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
lanserv() {
pkgdesc="Emulates an IPMI network listener"
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/lib
- mv "$pkgdir"/etc "$subpkgdir"/ || return 1
+ mv "$pkgdir"/etc "$subpkgdir"/
mv "$pkgdir"/usr/lib/libIPMIlanserv.so.* "$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/bin/ipmilan \
"$pkgdir"/usr/bin/ipmi_sim \
@@ -46,4 +49,4 @@ lanserv() {
-sha512sums="5d89deb5d0d0ff44d6f62a9759577dba92aa58c208477e317aecbd01e71ccf7ba0dab138a1d8feff22d523c85d6ceaee9e478e26834ffcd91949b81d2d9c1f86 OpenIPMI-2.0.25.tar.gz"
+sha512sums="44aa2eb97559514d61654434f24bf8e87c3f89ea7095fd3d46c1a889e16c128f29ca19cfb9747afc7fd432ada84406ee884bc8b9c65e28b8bd033d368b744fe3 OpenIPMI-2.0.27.tar.gz"