27 February 2017: Wouter
- Fix #1227: Fix that Unbound control allows weak ciphersuits.
+ - Fix #1226: provide official 32bit binary for windows.
24 February 2017: Wouter
- include sys/time.h for new shm code on NetBSD.
;;
"-w32")
W64="no"
- shift
;;
"-w")
DOWIN="yes"
# procedure for making unbound installer on mingw.
info "Creating windows dist unbound $version"
info "Calling configure"
- echo "$configure"' --enable-debug --enable-static-exe --disable-flto '"$* $cross_flag"
- $configure --enable-debug --enable-static-exe --disable-flto $* $cross_flag \
+ if test "$W64" = "no"; then
+ file_flag="--with-conf-file=C:\Program Files (x86)\Unbound\service.conf"
+ file2_flag="--with-rootkey-file=C:\Program Files (x86)\Unbound\root.key"
+ file3_flag="--with-rootcert-file=C:\Program Files (x86)\Unbound\icannbundle.pem"
+ version="$version"-w32
+ fi
+ echo "$configure"' --enable-debug --enable-static-exe --disable-flto '"$* $cross_flag "$file_flag" "$file2_flag" "$file3_flag""
+ if test "$W64" = "no"; then
+ $configure --enable-debug --enable-static-exe --disable-flto $* $cross_flag "$file_flag" "$file2_flag" "$file3_flag" \
|| error_cleanup "Could not configure"
+ else
+ $configure --enable-debug --enable-static-exe --disable-flto $* $cross_flag \
+ || error_cleanup "Could not configure"
+ fi
info "Calling make"
make || error_cleanup "Could not make"
info "Make complete"