nginx_conf.patch 866 B

1234567891011121314151617181920212223242526
  1. diff --git a/auto/lib/openssl/conf b/nginx/auto/lib/openssl/conf
  2. --- a/auto/lib/openssl/conf
  3. +++ b/auto/lib/openssl/conf
  4. @@ -65,6 +65,22 @@ else
  5. if [ $ngx_found = no ]; then
  6. + # CryptoPro port
  7. +
  8. + ngx_feature="OpenSSL library in /opt/cprocsp/cp-openssl-1.1.0/"
  9. + ngx_feature_path="/opt/cprocsp/cp-openssl-1.1.0/include"
  10. +
  11. + if [ $NGX_RPATH = YES ]; then
  12. + ngx_feature_libs="-R/opt/cprocsp/cp-openssl-1.1.0/lib/amd64 -L/opt/cprocsp/cp-openssl-1.1.0/lib/amd64 -lssl -lcrypto $NGX_LIBDL"
  13. + else
  14. + ngx_feature_libs="-L/opt/cprocsp/cp-openssl-1.1.0/lib/amd64 -lssl -lcrypto $NGX_LIBDL"
  15. + fi
  16. +
  17. + . auto/feature
  18. + fi
  19. +
  20. + if [ $ngx_found = no ]; then
  21. +
  22. # FreeBSD port
  23. ngx_feature="OpenSSL library in /usr/local/"