[packages] add mini_snmpd, an SNMP server for embedded devices
[openwrt/svn-archive/archive.git] / net / nrpe / patches / 100-openssl-dh.patch
1 --- a/configure
2 +++ b/configure
3 @@ -6694,11 +6694,9 @@
4
5 echo ""
6 echo "*** Generating DH Parameters for SSL/TLS ***"
7 - if test -f "$ssldir/sbin/openssl"; then
8 - sslbin=$ssldir/sbin/openssl
9 - else
10 - sslbin=$ssldir/bin/openssl
11 - fi
12 + # Use host openssl as it just generates some random stuff,
13 + # nothing machine-specific
14 + sslbin=/usr/bin/openssl
15 # awk to strip off meta data at bottom of dhparam output
16 $sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h
17 fi