Update nrpe to 2.12 (#3639)
[openwrt/svn-archive/archive.git] / net / nrpe / patches / 100-openssl-dh.patch
index a851807120a75e596d39767ab26c2fdb653fc183..0b7f8c98a5dafae569d2fc0bd261bbc18d685588 100644 (file)
@@ -1,19 +1,17 @@
-Index: nrpe-2.8.1/configure
-===================================================================
---- nrpe-2.8.1.orig/configure  2007-10-11 14:40:36.000000000 +0200
-+++ nrpe-2.8.1/configure       2007-10-11 14:40:36.000000000 +0200
-@@ -6073,11 +6073,9 @@
+--- a/configure
++++ b/configure
+@@ -6694,11 +6694,9 @@
  
-                               echo ""
-               echo "*** Generating DH Parameters for SSL/TLS ***"
--              if test -f "$ssldir/sbin/openssl"; then
--                      sslbin=$ssldir/sbin/openssl
--              else
--                      sslbin=$ssldir/bin/openssl
--              fi
-+              # Use host openssl as it just generates some random stuff,
-+              # nothing machine-specific
-+              sslbin=/usr/bin/openssl
-               # awk to strip off meta data at bottom of dhparam output
-               $sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h
-       fi
+                                               echo ""
+                       echo "*** Generating DH Parameters for SSL/TLS ***"
+-                      if test -f "$ssldir/sbin/openssl"; then
+-                              sslbin=$ssldir/sbin/openssl
+-                      else
+-                              sslbin=$ssldir/bin/openssl
+-                      fi
++                      # Use host openssl as it just generates some random stuff,
++                      # nothing machine-specific
++                      sslbin=/usr/bin/openssl
+                       # awk to strip off meta data at bottom of dhparam output
+                       $sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h
+               fi