From a1982c3a45bf1471021f828c91603df74f204f07 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Mon, 15 May 2017 13:03:40 +0200 Subject: testing/ipmitool: move to community --- community/ipmitool/APKBUILD | 59 ++++++++++++++++++++++++++++++++++++++++ community/ipmitool/ipmievd.confd | 23 ++++++++++++++++ community/ipmitool/ipmievd.initd | 25 +++++++++++++++++ testing/ipmitool/APKBUILD | 59 ---------------------------------------- testing/ipmitool/ipmievd.confd | 23 ---------------- testing/ipmitool/ipmievd.initd | 25 ----------------- 6 files changed, 107 insertions(+), 107 deletions(-) create mode 100644 community/ipmitool/APKBUILD create mode 100644 community/ipmitool/ipmievd.confd create mode 100644 community/ipmitool/ipmievd.initd delete mode 100644 testing/ipmitool/APKBUILD delete mode 100644 testing/ipmitool/ipmievd.confd delete mode 100644 testing/ipmitool/ipmievd.initd diff --git a/community/ipmitool/APKBUILD b/community/ipmitool/APKBUILD new file mode 100644 index 0000000000..9896b752fd --- /dev/null +++ b/community/ipmitool/APKBUILD @@ -0,0 +1,59 @@ +# Contributor: Carlo Landmeter +# Maintainer: Natanael Copa +pkgname=ipmitool +pkgver=1.8.18 +pkgrel=2 +pkgdesc="Command-line interface to IPMI-enabled devices" +url="http://ipmitool.sourceforge.net" +arch="all" +license="BSD" +depends="" +depends_dev="readline-dev libressl-dev ncurses-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.bz2::https://sourceforge.net/projects/ipmitool/files/ipmitool/$pkgver/ipmitool-$pkgver.tar.bz2/download + ipmievd.initd + ipmievd.confd" + +builddir="$srcdir"/ipmitool-$pkgver +build() { + cd "$builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --bindir=/usr/sbin \ + --enable-ipmievd \ + --enable-ipmishell \ + --enable-intf-lan \ + --enable-intf-lanplus \ + --enable-intf-open \ + --disable-intf-free \ + --disable-intf-imb \ + --disable-intf-lipmi \ + --disable-intf-bmc \ + --disable-internal-md5 \ + --with-kerneldir=/usr \ + || return 1 + make || return 1 +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + install -D -m755 "$srcdir"/ipmievd.initd \ + "$pkgdir"/etc/init.d/ipmievd || return 1 + install -D -m644 "$srcdir"/ipmievd.confd \ + "$pkgdir"/etc/conf.d/ipmievd || return 1 +} + +sha512sums="b20a2791efff748af62ffca56266fd2d8c8003395a6a21ef7b0ff5f8b7be6d6b1fe52150cdb32d6a91cdd3edd197e0ca5709ead923065474852301246710ce02 ipmitool-1.8.18.tar.bz2 +665adc32529df8d5f6598d33ba92175c46e8a5b74094d22553b0265fe817b023c909688af2b02041a37b7cfd3805e6ae74b943fad48970d45564ea8d08309fa6 ipmievd.initd +4cace868f1776a96736b7460c84f525d63d6f53531f1f3e62f0337741dc36fb5b2ee9706fdae6a7b853e98d3894376949797ddc254248bd42dc79d85742c1744 ipmievd.confd" diff --git a/community/ipmitool/ipmievd.confd b/community/ipmitool/ipmievd.confd new file mode 100644 index 0000000000..ee4dd6745e --- /dev/null +++ b/community/ipmitool/ipmievd.confd @@ -0,0 +1,23 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmitool/files/ipmitool-1.8.9-ipmievd.confd,v 1.1 2007/09/23 06:03:42 robbat2 Exp $ +# /etc/conf.d/ipmievd + +# Interfaces: +# open Linux OpenIPMI Interface +# imb Intel IMB Interface +# bmc IPMI v2.0 BMC interface +# lan IPMI v1.5 LAN Interface +# lanplus IPMI v2.0 RMCP+ LAN Interface + +INTERFACE="open" + +# Commands: +# open Use OpenIPMI for asyncronous notification of events +# sel Poll SEL for notification of events + +COMMAND="open" + +# Options. + +OPTIONS="" diff --git a/community/ipmitool/ipmievd.initd b/community/ipmitool/ipmievd.initd new file mode 100644 index 0000000000..2206791155 --- /dev/null +++ b/community/ipmitool/ipmievd.initd @@ -0,0 +1,25 @@ +#!/sbin/openrc-run +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmitool/files/ipmitool-1.8.9-ipmievd.initd,v 1.1 2007/09/23 06:03:42 robbat2 Exp $ +# /etc/init.d/ipmievd + +depend() { + use logger +} +PN="ipmievd" + +start() { + /sbin/modprobe -sq ipmi_msghandler + /sbin/modprobe -sq ipmi_devintf + /sbin/modprobe -sq ipmi_si + ebegin "Starting ${PN}" + start-stop-daemon --start --pidfile /var/run/${PN}.pid0 --exec /usr/sbin/${PN} -- -I ${INTERFACE} ${OPTIONS} ${COMMAND} + eend $? +} + +stop() { + ebegin "Stopping ${PN}" + start-stop-daemon --stop --pidfile /var/run/${PN}.pid0 + eend $? +} diff --git a/testing/ipmitool/APKBUILD b/testing/ipmitool/APKBUILD deleted file mode 100644 index 9896b752fd..0000000000 --- a/testing/ipmitool/APKBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ipmitool -pkgver=1.8.18 -pkgrel=2 -pkgdesc="Command-line interface to IPMI-enabled devices" -url="http://ipmitool.sourceforge.net" -arch="all" -license="BSD" -depends="" -depends_dev="readline-dev libressl-dev ncurses-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.bz2::https://sourceforge.net/projects/ipmitool/files/ipmitool/$pkgver/ipmitool-$pkgver.tar.bz2/download - ipmievd.initd - ipmievd.confd" - -builddir="$srcdir"/ipmitool-$pkgver -build() { - cd "$builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --bindir=/usr/sbin \ - --enable-ipmievd \ - --enable-ipmishell \ - --enable-intf-lan \ - --enable-intf-lanplus \ - --enable-intf-open \ - --disable-intf-free \ - --disable-intf-imb \ - --disable-intf-lipmi \ - --disable-intf-bmc \ - --disable-internal-md5 \ - --with-kerneldir=/usr \ - || return 1 - make || return 1 -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 - install -D -m755 "$srcdir"/ipmievd.initd \ - "$pkgdir"/etc/init.d/ipmievd || return 1 - install -D -m644 "$srcdir"/ipmievd.confd \ - "$pkgdir"/etc/conf.d/ipmievd || return 1 -} - -sha512sums="b20a2791efff748af62ffca56266fd2d8c8003395a6a21ef7b0ff5f8b7be6d6b1fe52150cdb32d6a91cdd3edd197e0ca5709ead923065474852301246710ce02 ipmitool-1.8.18.tar.bz2 -665adc32529df8d5f6598d33ba92175c46e8a5b74094d22553b0265fe817b023c909688af2b02041a37b7cfd3805e6ae74b943fad48970d45564ea8d08309fa6 ipmievd.initd -4cace868f1776a96736b7460c84f525d63d6f53531f1f3e62f0337741dc36fb5b2ee9706fdae6a7b853e98d3894376949797ddc254248bd42dc79d85742c1744 ipmievd.confd" diff --git a/testing/ipmitool/ipmievd.confd b/testing/ipmitool/ipmievd.confd deleted file mode 100644 index ee4dd6745e..0000000000 --- a/testing/ipmitool/ipmievd.confd +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmitool/files/ipmitool-1.8.9-ipmievd.confd,v 1.1 2007/09/23 06:03:42 robbat2 Exp $ -# /etc/conf.d/ipmievd - -# Interfaces: -# open Linux OpenIPMI Interface -# imb Intel IMB Interface -# bmc IPMI v2.0 BMC interface -# lan IPMI v1.5 LAN Interface -# lanplus IPMI v2.0 RMCP+ LAN Interface - -INTERFACE="open" - -# Commands: -# open Use OpenIPMI for asyncronous notification of events -# sel Poll SEL for notification of events - -COMMAND="open" - -# Options. - -OPTIONS="" diff --git a/testing/ipmitool/ipmievd.initd b/testing/ipmitool/ipmievd.initd deleted file mode 100644 index 2206791155..0000000000 --- a/testing/ipmitool/ipmievd.initd +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmitool/files/ipmitool-1.8.9-ipmievd.initd,v 1.1 2007/09/23 06:03:42 robbat2 Exp $ -# /etc/init.d/ipmievd - -depend() { - use logger -} -PN="ipmievd" - -start() { - /sbin/modprobe -sq ipmi_msghandler - /sbin/modprobe -sq ipmi_devintf - /sbin/modprobe -sq ipmi_si - ebegin "Starting ${PN}" - start-stop-daemon --start --pidfile /var/run/${PN}.pid0 --exec /usr/sbin/${PN} -- -I ${INTERFACE} ${OPTIONS} ${COMMAND} - eend $? -} - -stop() { - ebegin "Stopping ${PN}" - start-stop-daemon --stop --pidfile /var/run/${PN}.pid0 - eend $? -} -- cgit v1.2.3