Commit Graph

15 Commits

Author SHA1 Message Date
Baruch Siach
9d90d4e823 ipmiutil: fix stack protector test
Add a patch that corrects detection of toolchain stack protector support when
libssp is missing.

Fixes:
http://autobuild.buildroot.net/results/497/497d2739c27ce0dcf91bdf2f87c02fc169ba9071/
http://autobuild.buildroot.net/results/f71/f71a4bbca2505fcacb396bcc643c7152d87b5283/
http://autobuild.buildroot.net/results/85d/85da63d49086f8cc62e2c67632dfdc39d7702169/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-27 22:10:09 +01:00
Baruch Siach
9972408a94 ipmiutil: bump to version 2.9.7
Remove upstream or unneeded patches. Renumber and refresh the doc disable
patch. Add a different version of the lanplus disable fix (sent upstream) that
integrates with upstream change in this area.

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-27 22:09:39 +01:00
Luca Ceresoli
7b0e757fb8 package: Remove trailing slash from all package site URLs
The recommended form is without the trailing slash, and will become
mandatory in a coming commit.

This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk
to avoid double slashes in download URLs, like
"https://mosh.mit.edu//mosh-1.2.5.tar.gz".
                     ^^

Note: this work has already been done in b0b9606530 a few
months ago and earlier in c7f4b96471 and 4a9eb20de8,
but no check has been added at that time to avoid new slashes to slip
in, and so they did. This time a patch will follow immediately to
prevent future mistakes from being unnoticed.

Mass-replaced with the following command:

  git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||'

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-30 12:46:42 +02:00
Baruch Siach
670095b473 ipmiutil: needs dynamic library support
ipmiutil builds libipmiutil.so unconditionally.

Fixes:
http://autobuild.buildroot.net/results/e31/e31d94847cad9216aad839c2fbb312e9ea0ae75e/
http://autobuild.buildroot.net/results/5f3/5f3f32473186e6fa3a165b263f682047af8e291e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-30 00:30:21 +02:00
Baruch Siach
f9c2858df1 ipmiutil: fix musl build issues
Add patches fixing a number of build failures under musl.

The first patch fixes the following autobuild failures:
http://autobuild.buildroot.net/results/bc8/bc8f97f0739e5b842057fdf60eb9309c3e30fac1/
http://autobuild.buildroot.net/results/937/937163f988bb3680630544f6c0ed45b18bc83511/
http://autobuild.buildroot.net/results/862/862af4c6be4b78e65528195305653eedac4163c6/

and others.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-29 19:43:31 +02:00
Yann E. MORIN
1a59eb4664 package/ipmiutil: really disable lanplus
Fixes:
http://autobuild.buildroot.org/results/04a/04a1c48d484debd7894fd32997ed50d3a0110b93/

Due to weird constructs in the Makefiles, lanplus is always built, even
when explicitly disabled with --disable-lanplus .

So, add a patch to enforce disabling lanplus. We're doing an at-minima
patch just for the upcoming Buildroot release, and to avoid diverging
too far from upstream...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-24 23:49:24 +02:00
Yann E. MORIN
da4b584f86 package/ipmiutil: disable parallel build
ipmiutil has a race when generating the object files and the executable,
because it uses very odd (to say the least) constructs in its
Makefile.am, leading to improper dependency-tracking.

Since impmiutil is pretty small, and because it is just mindbloggingly
complex to fix its Makefile.am, just disable parallel build.

Fixes:
    http://autobuild.buildroot.org/results/661/661373306d0440aaea67e394fbbfc47fd4481589/
    http://autobuild.buildroot.org/results/a6c/a6c5f9d8e0e0bad27b8ca1fa217bfda4216f2cd8/
    http://autobuild.buildroot.org/results/f0b/f0bbbd54349b5239872d6de185e16c1d90b3f779/
    http://autobuild.buildroot.org/results/20c/20c09695481c3d1030852330c1d1f1f9489f1f41/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-24 23:36:19 +02:00
Peter Korsgaard
9f31cd14d0 ipmiutil: openssl support needs shared library
Fixes:
http://autobuild.buildroot.net/results/0d4/0d4e0ea8fdb233ea8e86f86b6fa406311a0279e2/
http://autobuild.buildroot.net/results/907/907ae0feb9ad2e4a0da4b38290a2b617cb4360a0/

The ipmiutil buildsystem doesn't take dependencies of libcrypto (E.G. zlib)
into consideration, causing link issues when linking statically.

The build system doesn't handle LIBS, so there is no simple way to fix this
outside patching the buildsystem.  As we are very close to the release, lets
just mark it as !static for now.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-17 14:07:26 +02:00
Peter Korsgaard
3a07f5e4fe ipmiutil: openssl is an optional dependency
So handle it as such (it is only needed for the lanplus functionality).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-17 13:42:34 +02:00
Romain Naour
25e15fd17f package/ipmiutil: really force md2 off
If ALLOW_GNU is not defined, SKIP_MD2 is a nop.

Fixes:
http://autobuild.buildroot.net/results/f606ec1fff4cea257a4c6274bc5603efdfc439ad/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-16 15:14:48 +02:00
Gustavo Zacarias
ec45eb1619 ipmiutil: force md2 off
The configure test runs against LIB_DIR (which is --libdir in configure
parlay) hence it's against the distro openssl version.
On newish openssl versions md2 is disabled by default, and buildroot
doesn't try to enable it (it's obsolete), but if the distro
libcrypto/openssl has it enabled then ipmiutil tries to use it.

Force it off to avoid build breakage. Fixes:
http://autobuild.buildroot.net/results/cd2/cd2e617f8e2b00581ab5936029f85e62ed3259ba/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-05 17:25:09 +02:00
Bernd Kuhls
ff44e175c7 package/ipmiutil: add hash
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-19 23:10:28 +02:00
Yann E. MORIN
ca735d8a0b package/ipmiutil: do not build doc
Fixes:
    http://autobuild.buildroot.org/results/2ec/2ecfb1143ba89ffa5cdc8096bb175b2c396c4670/
    http://autobuild.buildroot.org/results/c49/c497fc446140694084922d51fe6be308ce5c1c1a/
    http://autobuild.buildroot.org/results/434/434b156b5c9b5c7b65ffe6174cf4e029e7e3ffd8/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-06 12:42:54 +02:00
Peter Korsgaard
9b38f10c07 ipmiutil: only make available for x86
IPMI is a Intel/PC spec, so it doesn't make much sense to build on !x86 -
And ipmiutil uses sys/io.h and inb()/outb() which isn't supported on all
architectures, so limit to x86 like we do for acpid.

Fixes:
http://autobuild.buildroot.net/results/b2b/b2b50be359431b828e60c2ffdcd0fa1ca1cd5605/
http://autobuild.buildroot.net/results/f63/f63a25d6faca407da7332b2806300baadbe33326/
http://autobuild.buildroot.net/results/92f/92f54495f7f2a4b70aff18c094baa71adb0f5985/
http://autobuild.buildroot.net/results/f21/f21958c19f145baf83ebbb02b8526f1a58ea25ec/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-04-05 00:41:32 +02:00
David Bachelart
749100e459 ipmiutil: new package
[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.]

Signed-off-by: David Bachelart <david.bachelart@bbright.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-04 18:07:52 +02:00