Blame SOURCES/aide-configure.patch

21eb16
diff --color -ru a/configure.ac b/configure.ac
21eb16
--- a/configure.ac	2021-05-20 09:31:11.686987129 +0200
21eb16
+++ b/configure.ac	2021-05-20 09:39:43.369967457 +0200
21eb16
@@ -784,11 +784,11 @@
21eb16
 	[if test "x$withval" = "xmd5" ;then
21eb16
 	   CONFIGHMACTYPE="MHASH_MD5"
21eb16
 	else if test "x$withval" = "xsha1" ;then
21eb16
-	      CONFIGHMACTYPE="MHASH_SHA1"
21eb16
+	   CONFIGHMACTYPE="MHASH_SHA1"
21eb16
 	else if test "x$withval" = "xsha256" ;then
21eb16
-	      CONFIGHMACTYPE="MHASH_SHA256"
21eb16
+	   CONFIGHMACTYPE="MHASH_SHA256"
21eb16
 	else if test "x$withval" = "xsha512" ;then
21eb16
-	      CONFIGHMACTYPE="MHASH_SHA512"
21eb16
+	   CONFIGHMACTYPE="MHASH_SHA512"
21eb16
         else 
21eb16
 	   echo "Valid parameters for --with-confighmactype are md5, sha1, sha256 and sha512"
21eb16
 	   exit 1
21eb16
@@ -799,7 +799,6 @@
21eb16
 	AC_DEFINE_UNQUOTED(CONFIGHMACTYPE,$CONFIGHMACTYPE,[hash type for config file check])],
21eb16
 	[
21eb16
 	AC_DEFINE_UNQUOTED(CONFIGHMACTYPE,MHASH_MD5,[hash type for config file check])]
21eb16
-,
21eb16
 )
21eb16
 
21eb16
 AC_ARG_WITH([confighmackey],
21eb16
@@ -846,18 +845,18 @@
21eb16
 
21eb16
 AC_ARG_WITH([dbhmactype],
21eb16
 	AC_HELP_STRING([--with-dbhmactype=TYPE],
21eb16
-		[Hash type to use for checking db. Valid values are md5 and sha1.]),
21eb16
+		[Hash type to use for checking db. Valid values are md5, sha1, sha256 and sha512.]),
21eb16
 	[if test "x$withval" = "xmd5" ;then
21eb16
 	   DBHMACTYPE="MHASH_MD5"
21eb16
 	else if test "x$withval" = "xsha1" ;then
21eb16
-	      DBHMACTYPE="MHASH_SHA1"
21eb16
+	   DBHMACTYPE="MHASH_SHA1"
21eb16
 	else if test "x$withval" = "xsha256" ;then
21eb16
-	      CONFIGHMACTYPE="MHASH_SHA256"
21eb16
+	   DBHMACTYPE="MHASH_SHA256"
21eb16
 	else if test "x$withval" = "xsha512" ;then
21eb16
-	      CONFIGHMACTYPE="MHASH_SHA512"
21eb16
+	   DBHMACTYPE="MHASH_SHA512"
21eb16
         else 
21eb16
-	      echo "Valid parameters for --with-dbhmactype are md5, sha1, sha256 and sha512"
21eb16
-	      exit 1
21eb16
+	   echo "Valid parameters for --with-dbhmactype are md5, sha1, sha256 and sha512"
21eb16
+	   exit 1
21eb16
 	fi
21eb16
 	fi
21eb16
 	fi