Skip to contentSkip to conversation

ipmiutil: new package

PATCH New David Bachelart 2 participants 3 messages Oct 8, 2014 – Apr 4, 2015

lore
Share & tools
lore
#0 lore raw

v2 cover ipmiutil: new package

Hi,

This is my second attempt to add ipmitutil package to buildroot. As suggested by Thomas Petazzoni, I added a dependency on BR2_USE_MMU and thread support. I also removed the dependency on zlib.

The package builds fine using an internal toolchain that has SSP enabled.

I also tried these configs :
http://autobuild.buildroot.org/toolchains/configs/br-arm-basic.config
http://autobuild.buildroot.org/toolchains/configs/br-arm-full.config
http://autobuild.buildroot.org/toolchains/configs/bfin-linux-uclibc.config
http://autobuild.buildroot.org/toolchains/configs/bfin-uclinux.config

Since SSP or MMU is not enabled in those configs, the package can't be built.

David Bachelart (1):
ipmiutil: new package

 package/Config.in            |    1 +
 package/ipmiutil/Config.in   |   15 +++++++++++++++
 package/ipmiutil/ipmiutil.mk |   15 +++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/ipmiutil/Config.in
 create mode 100644 package/ipmiutil/ipmiutil.mk
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 1/1 ipmiutil: new package

---
 package/Config.in            |    1 +
 package/ipmiutil/Config.in   |   16 ++++++++++++++++
 package/ipmiutil/ipmiutil.mk |   15 +++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 package/ipmiutil/Config.in
 create mode 100644 package/ipmiutil/ipmiutil.mk
package/Config.in +1 -0
index ea89c96..3fd3583 100644
@@ -325,6 +325,7 @@ endif
 	source "package/intel-microcode/Config.in"
 	source "package/iostat/Config.in"
 	source "package/ipmitool/Config.in"
+	source "package/ipmiutil/Config.in"
 	source "package/irda-utils/Config.in"
 	source "package/iucode-tool/Config.in"
 	source "package/kbd/Config.in"
package/ipmiutil/Config.in new file +16 -0
new file mode 100644
index 0000000..43ca244
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_IPMIUTIL
+	bool "ipmiutil"
+	depends on BR2_TOOLCHAIN_HAS_SSP
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_OPENSSL
+	help
+	  The ipmiutil package provides easy-to-use utilities to view the SEL,
+	  perform an IPMI chassis reset, set up the IPMI LAN and Platform Event Filter
+	  entries to allow SNMP alerts, Serial-Over-LAN console, event daemon, and
+	  other IPMI tasks.
+
+	  http://ipmiutil.sourceforge.net/
+
+comment "ipmiutil needs a toolchain w/ ssp, mmu, threads"
+	depends on !BR2_TOOLCHAIN_HAS_SSP || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS
package/ipmiutil/ipmiutil.mk new file +15 -0
new file mode 100644
index 0000000..739d5cb
@@ -0,0 +1,15 @@
+################################################################################
+#
+# ipmiutil
+#
+################################################################################
+
+IPMIUTIL_VERSION = 2.9.4
+IPMIUTIL_SITE = http://sourceforge.net/projects/ipmiutil/files/
+
+IPMIUTIL_DEPENDENCIES = openssl
+
+IPMIUTIL_LICENSE = BSD-2c
+IPMIUTIL_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH v2 1/1 ipmiutil: new package

Dear David Bachelart,

Quoted 9 lines · David Bachelart
---
 package/Config.in            |    1 +
 package/ipmiutil/Config.in   |   16 ++++++++++++++++
 package/ipmiutil/ipmiutil.mk |   15 +++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 package/ipmiutil/Config.in
 create mode 100644 package/ipmiutil/ipmiutil.mk

Applied, after doing a number of changes:

[Thomas:
- remove dependency on SSP support by adding a patch that changes the configure.ac script stack protector test to actually work.
- rewrap Config.in help text
- fix how BR2_USE_MMU is used when displaying the comment.
- fix the license, it's BSD-3c, not BSD-2c.
- bump to version 2.9.5.]

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com