Control: tags -1 + patch

The attached patch disables the faulty detection of MD2, causing the
build to proceed to completion. MD2 authentication will be disabled, as
I understand it, but this is probably okay?

MD2 is supported by openssl-1.1, but it has been disabled at configure
time in Debian, as is the default.
MD2 is a very old, very broken hash algorithm (even worse than MD5).

Cheers,
Chris.

>From 4bf11095b29a8f9490b0e093c8fb2659dcea8894 Mon Sep 17 00:00:00 2001
From: "Chris West (Faux)" <g...@goeswhere.com>
Date: Wed, 10 Jan 2018 13:25:45 +0000
Subject: [PATCH] eliminate faulty check for md2

---
 openhpi-3.6.1/configure.ac   | 2 +-
 openhpi-3.6.1/debian/control | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/openhpi-3.6.1/configure.ac b/openhpi-3.6.1/configure.ac
index 02b5786..cb9bc01 100644
--- a/openhpi-3.6.1/configure.ac
+++ b/openhpi-3.6.1/configure.ac
@@ -179,7 +179,7 @@ AC_CHECK_LIB([crypto],[MD5_Init],[CRYPTO_LIB=-lcrypto],[CRYPTO_LIB=])
 AC_SUBST(CRYPTO_LIB)
 AC_CHECK_LIB([ssl],[SSL_library_init],[SSL_LIB=-lssl],[SSL_LIB=])
 AC_SUBST(SSL_LIB)
-AC_CHECK_HEADERS([openssl/md2.h openssl/md5.h openssl/bio.h openssl/ssl.h openssl/err.h],[have_openssl=yes],[have_openssl=no])
+AC_CHECK_HEADERS([openssl/md5.h openssl/bio.h openssl/ssl.h openssl/err.h],[have_openssl=yes],[have_openssl=no])
 
 dnl xml is used for XML-based communication in ilo2_ribcl and oa_soap
 AC_CHECK_LIB([xml2],[xmlParseMemory],[XML2_LIB=-lxml2],[XML2_LIB=])
diff --git a/openhpi-3.6.1/debian/control b/openhpi-3.6.1/debian/control
index 57402a8..fde4ce2 100644
--- a/openhpi-3.6.1/debian/control
+++ b/openhpi-3.6.1/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Mohan Devarajulu <mohan.devaraj...@hpe.com>
 Uploaders: Khalid Aziz <kha...@debian.org>
 Homepage: http://openhpi.org
-Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), autotools-dev, autoconf (>= 2.57), dh-autoreconf, automake(>= 1.9), uuid-dev, libglib2.0-dev (>= 2.2), pkg-config, libltdl-dev, openipmi (>= 2.0.7), libopenipmi-dev (>=2.0.7), libsnmp-dev, libssl1.0-dev | libssl-dev (<< 1.1.0~), libsysfs-dev (>= 0.3), libncurses5-dev, libxml2-dev
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), autotools-dev, autoconf (>= 2.57), dh-autoreconf, automake(>= 1.9), uuid-dev, libglib2.0-dev (>= 2.2), pkg-config, libltdl-dev, openipmi (>= 2.0.7), libopenipmi-dev (>=2.0.7), libsnmp-dev, libssl-dev, libsysfs-dev (>= 0.3), libncurses5-dev, libxml2-dev
 Standards-Version: 4.0.0
 
 Package: libopenhpi3
-- 
2.15.1

Reply via email to