diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-08 05:21:23 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-28 14:55:53 +0000 |
commit | 5d854f06160297db7212366ac45ceb1dd4f039d9 (patch) | |
tree | 6da7c3177c64cc7974e3ae89d4946654243132cf /community | |
parent | b455d78d976ba45e11362b50e8f6f9d2c7678f7a (diff) | |
download | aports-5d854f06160297db7212366ac45ceb1dd4f039d9.tar.bz2 aports-5d854f06160297db7212366ac45ceb1dd4f039d9.tar.xz |
community/openipmi: upgrade to 2.0.27
Diffstat (limited to 'community')
-rw-r--r-- | community/openipmi/APKBUILD | 27 |
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" |