Skip to contentSkip to conversation

ipmiutil: force md2 off

PATCH New Gustavo Zacarias 2 participants 2 messages May 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/ipmiutil/ipmiutil.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/ipmiutil/ipmiutil.mk +3 -1
index 8e281d4..c3d791c 100644
@@ -10,7 +10,9 @@ IPMIUTIL_LICENSE = BSD-3c
 IPMIUTIL_LICENSE_FILES = COPYING
 # We're patching configure.ac
 IPMIUTIL_AUTORECONF = YES
-
+# tests against distro libcrypto so it might get a false positive when
+# the openssl version is old, so force it off
+IPMIUTIL_CONF_OPTS = CPPFLAGS="$(TARGET_CPPFLAGS) -DSKIP_MD2"
 IPMIUTIL_DEPENDENCIES = openssl
 
 $(eval $(autotools-package))
Signature · 1 line
2.0.5
#1 lore raw

PATCH 1/1 ipmiutil: force md2 off

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

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.

Quoted 4 lines

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard