added nrpe from #2498
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9313 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
19
net/nrpe/patches/100-openssl-dh.patch
Normal file
19
net/nrpe/patches/100-openssl-dh.patch
Normal file
@ -0,0 +1,19 @@
|
||||
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 @@
|
||||
|
||||
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
|
Reference in New Issue
Block a user