Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/1] ipmiutil: new package
@ 2014-10-08 15:00 David Bachelart
  2014-10-08 15:00 ` [Buildroot] [PATCH v2 1/1] " David Bachelart
  0 siblings, 1 reply; 3+ messages in thread
From: David Bachelart @ 2014-10-08 15:00 UTC (permalink / raw)
  To: buildroot

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

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2 1/1] ipmiutil: new package
  2014-10-08 15:00 [Buildroot] [PATCH v2 0/1] ipmiutil: new package David Bachelart
@ 2014-10-08 15:00 ` David Bachelart
  2015-04-04 16:09   ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: David Bachelart @ 2014-10-08 15:00 UTC (permalink / raw)
  To: buildroot


Signed-off-by: David Bachelart <david.bachelart@bbright.com>
---
 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

diff --git a/package/Config.in b/package/Config.in
index ea89c96..3fd3583 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/ipmiutil/Config.in b/package/ipmiutil/Config.in
new file mode 100644
index 0000000..43ca244
--- /dev/null
+++ b/package/ipmiutil/Config.in
@@ -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
diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk
new file mode 100644
index 0000000..739d5cb
--- /dev/null
+++ b/package/ipmiutil/ipmiutil.mk
@@ -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))
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2 1/1] ipmiutil: new package
  2014-10-08 15:00 ` [Buildroot] [PATCH v2 1/1] " David Bachelart
@ 2015-04-04 16:09   ` Thomas Petazzoni
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-04-04 16:09 UTC (permalink / raw)
  To: buildroot

Dear David Bachelart,

On Wed,  8 Oct 2014 17:00:03 +0200, David Bachelart wrote:
> 
> Signed-off-by: David Bachelart <david.bachelart@bbright.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-04 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 15:00 [Buildroot] [PATCH v2 0/1] ipmiutil: new package David Bachelart
2014-10-08 15:00 ` [Buildroot] [PATCH v2 1/1] " David Bachelart
2015-04-04 16:09   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox