Control: tags 859543 + pending
Dear maintainer,
I've prepared an NMU for openhpi (versioned as 3.6.1-3.1) and uploaded
it to DELAYED/5. Please feel free to tell me if I should cancel it.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
diff -Nru openhpi-3.6.1/debian/changelog openhpi-3.6.1/debian/changelog
--- openhpi-3.6.1/debian/changelog 2017-09-12 19:50:16.000000000 +0300
+++ openhpi-3.6.1/debian/changelog 2018-01-20 09:57:25.000000000 +0200
@@ -1,3 +1,11 @@
+openhpi (3.6.1-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix FTBFS with OpenSSL 1.1 by honouring OPENSSL_NO_MD2.
+ (Closes: #859543)
+
+ -- Adrian Bunk <[email protected]> Sat, 20 Jan 2018 09:57:25 +0200
+
openhpi (3.6.1-3) unstable; urgency=medium
* Fixed SNMPFLAGS FTBFS (Closes: #870733)
diff -Nru openhpi-3.6.1/debian/control openhpi-3.6.1/debian/control
--- openhpi-3.6.1/debian/control 2017-09-12 19:50:16.000000000 +0300
+++ openhpi-3.6.1/debian/control 2018-01-20 09:57:25.000000000 +0200
@@ -4,7 +4,7 @@
Maintainer: Mohan Devarajulu <[email protected]>
Uploaders: Khalid Aziz <[email protected]>
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
diff -Nru openhpi-3.6.1/debian/patches/no-md2.patch openhpi-3.6.1/debian/patches/no-md2.patch
--- openhpi-3.6.1/debian/patches/no-md2.patch 1970-01-01 02:00:00.000000000 +0200
+++ openhpi-3.6.1/debian/patches/no-md2.patch 2018-01-20 09:57:25.000000000 +0200
@@ -0,0 +1,32 @@
+Description: Fix FTBFS with OpenSSL 1.1 by honouring OPENSSL_NO_MD2
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/859543
+
+--- openhpi-3.6.1.orig/plugins/ipmidirect/ipmi_auth.cpp
++++ openhpi-3.6.1/plugins/ipmidirect/ipmi_auth.cpp
+@@ -21,6 +21,7 @@
+ #include "ipmi_auth.h"
+ #include <string.h>
+ #include <errno.h>
++#include <openssl/opensslconf.h>
+
+
+ cIpmiAuth *
+@@ -32,7 +33,7 @@ IpmiAuthFactory( tIpmiAuthType type )
+ return new cIpmiAuthNone;
+
+ case eIpmiAuthTypeMd2:
+-#ifdef HAVE_OPENSSL_MD2_H
++#if defined(HAVE_OPENSSL_MD2_H) && !defined(OPENSSL_NO_MD2)
+ return new cIpmiAuthMd2;
+ #else
+ break;
+@@ -78,7 +79,7 @@ cIpmiAuthNone::Check( cIpmiAuthSg /*d*/[
+ }
+
+
+-#ifdef HAVE_OPENSSL_MD2_H
++#if defined(HAVE_OPENSSL_MD2_H) && !defined(OPENSSL_NO_MD2)
+ #include <openssl/md2.h>
+
+
diff -Nru openhpi-3.6.1/debian/patches/series openhpi-3.6.1/debian/patches/series
--- openhpi-3.6.1/debian/patches/series 2017-09-12 19:50:16.000000000 +0300
+++ openhpi-3.6.1/debian/patches/series 2018-01-20 09:57:25.000000000 +0200
@@ -1,3 +1,4 @@
makefile_fix.patch
ipmi_direct_gcc_fix.patch
snmpflags-fix.patch
+no-md2.patch