[Privoxy-commits] [privoxy] branch master updated: windows/MYconfigure: enable building Privoxy with OpenSSL on Windows.

User Git git at git.privoxy.org
Wed Aug 9 10:03:39 CEST 2023


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

The following commit(s) were added to refs/heads/master by this push:
     new a87d1d6a windows/MYconfigure: enable building Privoxy with OpenSSL on Windows.
a87d1d6a is described below

commit a87d1d6abe304fccb8d8fd940430d85a432a3b59
Author: Lee <ler762 at users.sourceforge.net>
AuthorDate: Wed Aug 9 04:00:28 2023 -0400

    windows/MYconfigure: enable building Privoxy with OpenSSL on Windows.
    
    way too many warnings in openssl.c about RSA deprecated-declarations
    so add -Wno-deprecated-declarations to get rid of them.
    
    make it easier to specify "--with-mbedtls" or "--with-openssl"
---
 windows/MYconfigure | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/windows/MYconfigure b/windows/MYconfigure
index 00658ed2..fa063ff6 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -108,6 +108,9 @@ CFLAGS="${CFLAGS} -Wno-unused-parameter -Wno-unused-but-set-variable"
 #-no-# CFLAGS="${CFLAGS} -Wconversion"
 #   way too many warnings for things that don't look like a problem
 
+CFLAGS="${CFLAGS} -Wno-deprecated-declarations"
+#   way too many warnings in openssl.c about RSA deprecated-declarations
+
 #-no-# CFLAGS="${CFLAGS} -Werror"
 # Turn all warnings into errors.
 #   Privoxy still has a few warnings that are not a problem
@@ -163,12 +166,14 @@ LDFLAGS="${LDFLAGS} -L${lib}"
 ##   3 years.
 # Get the 2.28.x mbedtls library from  https://github.com/Mbed-TLS/mbedtls/tags
 # Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.4
-inc="/source/mbedtls-2.28.4/include"
-lib="/source/mbedtls-2.28.4/library"
 
-MITMOPT="--with-mbedtls"
-CPPFLAGS="${CPPFLAGS} -I${inc}"
-LDFLAGS="${LDFLAGS} -L${lib}"
+##MITMOPT="--with-mbedtls"
+##inc="/source/mbedtls-2.28.4/include"
+##lib="/source/mbedtls-2.28.4/library"
+##CPPFLAGS="${CPPFLAGS} -I${inc}"
+##LDFLAGS="${LDFLAGS} -L${lib}"
+
+MITMOPT="--with-openssl"
 
 # brotli
 # Get the brotli library from  https://github.com/google/brotli/releases
@@ -196,7 +201,7 @@ echo "LDFLAGS=${LDFLAGS}"
              --enable-strptime-sanity-checks \
              --disable-pthread  \
              --with-brotli  \
-             --with-mbedtls \
+             ${MITMOPT} \
              --with-docbook=yes
 
 #  -- done --

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list