bugfix: applied nginx-1.9.7-resolver_security_fixes.patch by default.

This commit is contained in:
Yichun Zhang (agentzh)
2016-01-28 09:28:18 -08:00
parent 52962f3fc9
commit 8c6b0f77af
3 changed files with 572 additions and 1 deletions

View File

@ -293,6 +293,12 @@ if [ "$answer" = "N" ]; then
echo
fi
if [ "$main_ver" = "1.9.7" ]; then
echo "$info_txt applying the resolver_security_fixes patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-resolver_security_fixes.patch || exit 1
echo
fi
rm -f *.patch || exit 1
echo "$info_txt applying the always_enable_cc_feature_tests patch to nginx"

View File

@ -1,7 +1,7 @@
#!/bin/bash
main_ver=1.9.7
minor_ver=2
minor_ver=3rc1
version=$main_ver.$minor_ver
echo $version