Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libpq, openssl, librtmp] libpq 12 and others with openssl 1.1.1d #8566

Merged
merged 120 commits into from
Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from 111 commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
f0c327b
[ports] Update openssl-unix to 1.1.1c
fcharlie Sep 12, 2019
0f3c02e
[ports] Update openssl-unix to 1.1.1d
fcharlie Sep 12, 2019
7485e9c
[ports] openssl-unix platform 'AMD64' is called 'x86_64' on Linux
fcharlie Sep 12, 2019
daeb71b
[ports] fix openssl platform
fcharlie Sep 12, 2019
4b8b534
[ports] openssl-windows update openssl to 1.1.1d
fcharlie Sep 12, 2019
651d01a
[ports] Fix openssl post build
fcharlie Sep 12, 2019
91b463a
[ports] openssl add EnableUWPSupport.patch
fcharlie Sep 12, 2019
8ce51e0
[ports] openssl-uwp update openssl to 1.1.1d
fcharlie Sep 13, 2019
31726e0
Updated support for OpenSSL v1.1
jwillemsen Sep 13, 2019
89b1b4b
Merge pull request #1 from jwillemsen/patch-1
fcharlie Sep 13, 2019
069dc8c
Merge branch 'master' of https://github.com/Microsoft/vcpkg into openssl
fcharlie Sep 14, 2019
691bfe9
update to 12.0 and change to vcpkg_configure_make
TheScarfix Oct 7, 2019
f4958db
remove msys line
TheScarfix Oct 7, 2019
7a12ef3
remove custom cmakelists
TheScarfix Oct 7, 2019
ca00ccc
use --without-readline on linux
TheScarfix Oct 8, 2019
6bb31b9
Merge branch 'master' of https://github.com/Microsoft/vcpkg into openssl
vicroms Oct 8, 2019
9d89953
Update CONTROL
fcharlie Oct 8, 2019
df2729e
fix portfile
TheScarfix Oct 8, 2019
9858173
Merge remote-tracking branch 'upstream/master' into libpq-12.0
Neumann-A Oct 9, 2019
c5a0229
add all possible libpq features
Neumann-A Oct 9, 2019
2abdf11
create vcpkg_get_build_depends
Neumann-A Oct 9, 2019
5d8262d
create vcpkg_read_dependent_port_info
Neumann-A Oct 9, 2019
46bdf9b
add vcpkg_write_port_info
Neumann-A Oct 9, 2019
810a224
fix a few bugs
Neumann-A Oct 9, 2019
719c7e6
libpq first succesful x86 build with core features.
Neumann-A Oct 9, 2019
1ce3efa
always write the variable
Neumann-A Oct 9, 2019
844a5ca
Merge remote-tracking branch 'upstream/master' into libpq-12.0
Neumann-A Oct 10, 2019
23306a1
Fix separate make and install execution error issue.
Oct 10, 2019
6050d48
trigger CI system.
Oct 10, 2019
8a70b74
add openssl and win_bison win_flex patch
Neumann-A Oct 10, 2019
efeea84
add configuration dependent patches
Neumann-A Oct 10, 2019
77cd93c
add bonjour as a dependency on macosx
Neumann-A Oct 10, 2019
6573e38
apply patches and configure features
Neumann-A Oct 10, 2019
df2e643
more patches to fix the windows build
Neumann-A Oct 10, 2019
30b9a11
more install fixes
Neumann-A Oct 10, 2019
ef88807
remove unnecessary code
Neumann-A Oct 10, 2019
bd919c3
bit of code cleanup
Neumann-A Oct 10, 2019
bb53e92
remove unrelated files
Neumann-A Oct 10, 2019
89a4d6e
remove unrelated function call. function was removed with last commit
Neumann-A Oct 10, 2019
f37ba3e
removed hardcoded platform
Neumann-A Oct 10, 2019
144cadf
fix patch
Neumann-A Oct 10, 2019
9516a6b
build only the interface libraries and nothing more
Neumann-A Oct 10, 2019
3bbfc52
forgot to remove tool ecpg from install
Neumann-A Oct 10, 2019
7ddd75b
seperate minimal install patch from normal install patch and introduc…
Neumann-A Oct 10, 2019
42eea64
fix x86 Platform variable being x86 and not Win32 as required by the …
Neumann-A Oct 10, 2019
503c53d
Merge remote-tracking branch 'jack/dev/jack/8473' into libpq-12.0
Neumann-A Oct 10, 2019
b981594
make linux build work
Neumann-A Oct 10, 2019
263d5ca
make more linux work
Neumann-A Oct 10, 2019
6792d04
openssl return version number directly without calling openssl
Neumann-A Oct 10, 2019
543d14c
fix some more path and platform identification
Neumann-A Oct 10, 2019
11c6081
comments to reduce install. currently libpq installs static and share…
Neumann-A Oct 10, 2019
fe8f5b8
patch arm
Neumann-A Oct 10, 2019
6f2e9df
fix platform detection logic
Neumann-A Oct 10, 2019
0447798
make libpq osx buildable
Neumann-A Oct 11, 2019
ed3e171
Rename debug import library after build.
Neumann-A Oct 11, 2019
afb0f6b
revert debug naming and install a wrapper instead.
Neumann-A Oct 11, 2019
5669620
fix gdal regression due to name change
Neumann-A Oct 11, 2019
e4a5509
fix cutelyst regression due to qt5-base wrapper
Neumann-A Oct 11, 2019
5d4cb90
correct wrapper install path
Neumann-A Oct 11, 2019
42b6dee
correct the arm patch.
Neumann-A Oct 11, 2019
206b7d4
trying to fix static gdal build
Neumann-A Oct 11, 2019
238c9cb
gdal still needs more work
Neumann-A Oct 11, 2019
3cca493
Merge remote-tracking branch 'openssl/openssl' into libpq_with_openss…
Neumann-A Oct 11, 2019
a7dc7f2
update version of openssl in libpq openssl patch
Neumann-A Oct 11, 2019
912b5be
nmap fix openssl
Neumann-A Oct 11, 2019
b921f05
qt5 fix openssl
Neumann-A Oct 11, 2019
c857367
gdal fix openssl
Neumann-A Oct 11, 2019
6ccdbe4
librtmp migrate to openssl 1.1.1
Neumann-A Oct 11, 2019
4039503
fail in patch since what is intended is not going to work in openssl …
Neumann-A Oct 12, 2019
8d482f7
fix static yara build
Neumann-A Oct 12, 2019
3213308
freedtds deactivate openssl feature until freetds decides to upgrade …
Neumann-A Oct 12, 2019
3074f98
fix libwebsockets cmakelists
Neumann-A Oct 12, 2019
0c9b982
fix the patch so that the generated targets also include crypt32
Neumann-A Oct 12, 2019
098350a
xmlsec add threads dependency
Neumann-A Oct 12, 2019
0695a17
bump control since I am unable to reproduce the regression
Neumann-A Oct 12, 2019
2d3ca09
add pthread to openssl detection logic
Neumann-A Oct 12, 2019
38deebf
fix freetds linkage missing crypt32 and fix the cmake checks.
Neumann-A Oct 12, 2019
8497d81
fix the openssl wrapper to add the threads library
Neumann-A Oct 12, 2019
912a0c4
fix libmysql regression
Neumann-A Oct 12, 2019
8ca10b2
add threads to openssl libraries.
Neumann-A Oct 12, 2019
df6bfb2
upgrade libssh to 0.9
Neumann-A Oct 13, 2019
ec1d835
fix nmap regression
Neumann-A Oct 13, 2019
1a3f155
fix mosquitto regression
Neumann-A Oct 13, 2019
98a3755
fix openssl wrapper to make libarchive work
Neumann-A Oct 13, 2019
d8f367c
fix quickfix
Neumann-A Oct 13, 2019
d50601e
changed patch a bit
Neumann-A Oct 13, 2019
d4bc113
improve freetds patch
Neumann-A Oct 13, 2019
94b3c2f
fix case in librtmp
Neumann-A Oct 13, 2019
f608375
update control
Neumann-A Oct 14, 2019
040411b
bump control
Neumann-A Oct 14, 2019
5e30bcd
fix case
Neumann-A Oct 14, 2019
db51886
make jasper a dependency of qt5-imageformats to fix flaky CI build.
Neumann-A Oct 14, 2019
f1e3e10
add jasper libraries explicitly
Neumann-A Oct 14, 2019
d0f1917
jasper depends on freeglut so add it as a dependency. turbo_jpeg is a…
Neumann-A Oct 14, 2019
c1be2ac
more glut names
Neumann-A Oct 15, 2019
a95b666
bump control for macosx ci retry
Neumann-A Oct 17, 2019
5c3c3e6
Merge branch 'master' into libpq-12.0
Neumann-A Oct 22, 2019
5a4bcc9
Merge remote-tracking branch 'upstream/master' into libpq_with_openss…
Neumann-A Nov 19, 2019
7a9d27b
Merge branch 'libpq_with_openssl_111d' of https://github.com/Neumann-…
Neumann-A Nov 19, 2019
fcff6de
fix slikenet regression
Neumann-A Nov 20, 2019
578faaf
Merge remote-tracking branch 'upstream/master' into libpq_with_openss…
Neumann-A Nov 25, 2019
e6694bf
Merge branch 'libpq_with_openssl_111d' of https://github.com/Neumann-…
Neumann-A Nov 25, 2019
4c13141
Merge branch 'master' into libpq-12.0
Neumann-A Dec 4, 2019
347a585
fix linebreak in qt5-base
Neumann-A Dec 9, 2019
8872176
Merge remote-tracking branch 'origin/libpq-12.0' into libpq_with_open…
Neumann-A Dec 13, 2019
2006bb0
Merge remote-tracking branch 'upstream/master' into libpq_with_openss…
Neumann-A Dec 13, 2019
0fffa76
update baseline
Neumann-A Dec 13, 2019
80ca424
Update ci.baseline.txt
Neumann-A Dec 13, 2019
542b4cc
[libevent] add dependency on libevent[threads] to openssl feature
Neumann-A Dec 13, 2019
4624fa0
Merge branch 'master' of https://github.com/microsoft/vcpkg into libp…
Jan 7, 2020
ef3e830
Merge branch 'master' into libpq-12.0
Neumann-A Jan 7, 2020
225e2e0
[pdal,freerdp] Update CI baseline to fail
vicroms Jan 10, 2020
ef12688
fix static pdal build
Neumann-A Jan 11, 2020
855546a
fix freerdp on linux
Neumann-A Jan 11, 2020
785229a
trying to revert some changes
Neumann-A Jan 13, 2020
5c9a06c
revert changes in build make
Neumann-A Jan 13, 2020
9436a22
Merge branch 'libpq-12.0' into libpq_with_openssl_111d
Neumann-A Jan 13, 2020
87601b8
revert x264 version bump
Neumann-A Jan 13, 2020
a7cdcaf
Merge branch 'libpq-12.0' into libpq_with_openssl_111d
Neumann-A Jan 13, 2020
b22c4a0
Merge branch 'master' of https://github.com/Microsoft/vcpkg into libp…
vicroms Jan 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ports/ace/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ else()
endif()
if("ssl" IN_LIST FEATURES)
list(APPEND ACE_FEATURE_LIST "ssl=1")
list(APPEND ACE_FEATURE_LIST "openssl11=1")
else()
list(APPEND ACE_FEATURE_LIST "ssl=0")
endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/freetds/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: freetds
Version: 1.1.6-1
Version: 1.1.17
Homepage: https://www.freetds.org
Description: Implementation of the Tabular Data Stream protocol
Default-Features: openssl
Expand Down
25 changes: 25 additions & 0 deletions ports/freetds/crypt32.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 796625e17..fc9076f54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,6 +149,9 @@ if(OPENSSL_FOUND)
config_write("#define HAVE_OPENSSL 1\n\n")
include_directories(${OPENSSL_INCLUDE_DIR})
set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES})
+ if(WIN32)
+ list(APPEND CMAKE_REQUIRED_LIBRARIES crypt32 ws2_32)
+ endif()
check_function_exists_define(BIO_get_data)
check_function_exists_define(RSA_get0_key)
check_function_exists_define(ASN1_STRING_get0_data)
@@ -441,7 +444,10 @@ else(WIN32)
endif(WIN32)

if(OPENSSL_FOUND)
set(lib_NETWORK ${lib_NETWORK} ${OPENSSL_LIBRARIES})
+ if(WIN32)
+ list(APPEND lib_NETWORK crypt32)
+ endif()
elseif(GNUTLS_FOUND)
set(lib_NETWORK ${lib_NETWORK} ${lib_GNUTLS})
endif(OPENSSL_FOUND)
8 changes: 5 additions & 3 deletions ports/freetds/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
include(vcpkg_common_functions)

vcpkg_download_distfile(ARCHIVE
URLS "https://www.freetds.org/files/stable/freetds-1.1.6.tar.bz2"
FILENAME "freetds-1.1.6.tar.bz2"
SHA512 160c8638302fd36a3f42d031dbd58525cde899b64d320f6187ce5865ea2c049a1af63be419623e4cd18ccf229dd2ee7ec509bc5721c3371de0f31710dad7470d
URLS "https://www.freetds.org/files/stable/freetds-1.1.17.tar.bz2"
FILENAME "freetds-1.1.17.tar.bz2"
SHA512 3746ea009403960950fd619ffaf6433cfc92c34a8261b15e61009f01a1446e5a5a59413cd48e5511bbf3a0224f54b40daa713187bd20ca43105c5f8c68f4b88e
)

vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
PATCHES
crypt32.patch
)

set(BUILD_freetds_openssl OFF)
Expand Down
16 changes: 13 additions & 3 deletions ports/gdal/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,17 @@ if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStor
# Setup PostgreSQL libraries + include path
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/include" PGSQL_INCLUDE_DIR)
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/lib/libpq.lib" PGSQL_LIBRARY_REL)
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/debug/lib/libpqd.lib" PGSQL_LIBRARY_DBG)
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/debug/lib/libpq.lib" PGSQL_LIBRARY_DBG)

file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/lib/libpgcommon.lib" TMP_REL)
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/debug/lib/libpgcommon.lib" TMP_DBG)
set(PGSQL_LIBRARY_REL "${PGSQL_LIBRARY_REL} ${TMP_REL}")
set(PGSQL_LIBRARY_DBG "${PGSQL_LIBRARY_DBG} ${TMP_DBG}")

file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/lib/libpgport.lib" TMP_REL)
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/debug/lib/libpgport.lib" TMP_DBG)
set(PGSQL_LIBRARY_REL "${PGSQL_LIBRARY_REL} ${TMP_REL}")
set(PGSQL_LIBRARY_DBG "${PGSQL_LIBRARY_DBG} ${TMP_DBG}")

# Setup OpenJPEG libraries + include path
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/include" OPENJPEG_INCLUDE_DIR)
Expand All @@ -136,8 +146,8 @@ if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStor
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/debug/lib/lzmad.lib" LZMA_LIBRARY_DBG)

# Setup openssl libraries path
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/lib/libeay32.lib ${CURRENT_INSTALLED_DIR}/lib/ssleay32.lib" OPENSSL_LIBRARY_REL)
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/debug/lib/libeay32.lib ${CURRENT_INSTALLED_DIR}/debug/lib/ssleay32.lib" OPENSSL_LIBRARY_DBG)
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/lib/libcrypto.lib ${CURRENT_INSTALLED_DIR}/lib/libssl.lib" OPENSSL_LIBRARY_REL)
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/debug/lib/libcrypto.lib ${CURRENT_INSTALLED_DIR}/debug/lib/libssl.lib" OPENSSL_LIBRARY_DBG)

# Setup libiconv libraries path
file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}/lib/libiconv.lib ${CURRENT_INSTALLED_DIR}/lib/libcharset.lib" ICONV_LIBRARY_REL)
Expand Down
4 changes: 2 additions & 2 deletions ports/libevent/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Default-Features: thread

Feature: openssl
Description: Support for openssl
Build-Depends: openssl
Build-Depends: openssl, libevent[thread]

Feature: thread
Description: Support for thread
Description: Support for thread
2 changes: 1 addition & 1 deletion ports/libmysql/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: libmysql
Version: 8.0.4-4
Version: 8.0.4-5
Homepage: https://github.com/mysql/mysql-server
Build-Depends: boost-algorithm, boost-geometry, boost-optional, boost-functional, boost-graph, openssl, icu, libevent, liblzma, lz4, zlib
Description: A MySQL client library for C development.
5 changes: 3 additions & 2 deletions ports/libmysql/system-libs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,18 @@ diff --git a/cmake/ssl.cmake b/cmake/ssl.cmake
index 8af9699..2bdfe14 100644
--- a/cmake/ssl.cmake
+++ b/cmake/ssl.cmake
@@ -104,6 +104,16 @@ ENDMACRO()
@@ -104,6 +104,17 @@ ENDMACRO()
# Provides the following configure options:
# WITH_SSL=[yes|bundled|system|<path/to/custom/installation>]
MACRO (MYSQL_CHECK_SSL)
+ find_package(OpenSSL REQUIRED)
+ find_package(Threads REQUIRED)
+ set(OPENSSL_LIBRARY ${OPENSSL_SSL_LIBRARY} CACHE STRING "")
+ set(CRYPTO_LIBRARY ${OPENSSL_CRYPTO_LIBRARY} CACHE STRING "")
+ FIND_PROGRAM(OPENSSL_EXECUTABLE openssl
+ DOC "path to the openssl executable")
+ SET(SSL_DEFINES "-DHAVE_OPENSSL")
+ set(SSL_LIBRARIES ${OPENSSL_LIBRARIES})
+ set(SSL_LIBRARIES ${OPENSSL_LIBRARIES} Threads::Threads)
+ENDMACRO()
+
+MACRO (MYSQL_CHECK_SSL_OLD)
Expand Down
164 changes: 0 additions & 164 deletions ports/libpq/CMakeLists.txt

This file was deleted.

81 changes: 79 additions & 2 deletions ports/libpq/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,82 @@
Source: libpq
Version: 9.6.3
Version: 12.0
Build-Depends: libpq[bonjour] (osx)
Homepage: https://www.postgresql.org/
Description: The official database access API of postgresql
Build-Depends: openssl, zlib (linux)
Default-Features: zlib, openssl

Feature: openssl
Build-Depends: openssl
Description: support for encrypted client connections and random number generation on platforms that do not have "/dev/urandom" (except windows) (--with-openssl)

Feature: zlib
Build-Depends: zlib
Description: Use zlib (else --without-zlib)

Feature: readline
Build-Depends: readline
Description: Use readline (else --without-readline)

Feature: libedit
Build-Depends: libedit
Description: prefer libedit (--with-libedit-preferred)

Feature: perl
Build-Depends: perl
Description: build the server programming language PL/Perl (dynamic only?) (--with-perl)

Feature: python
Build-Depends: python
Description: build the PL/Python server programming language (dynamic only?) (--with-python)

Feature: tcl
Build-Depends: tcl
Description: build the PL/Tcl procedural language(dynamic only?) (--with-tcl)

Feature: nls
Build-Depends: gettext
Description: Native Language Support (--enable-nls[=LANGUAGES])

Feature: kerberos
Build-Depends: kerberos
Description: Kerberos Support (--with-gssapi)

Feature: systemd
Description: Build with support for systemd service notifications. (--with-systemd)

Feature: ldap
Build-Depends: openldap (linux)
Description: LDAP Support (--with-ldap)

Feature: bsd
Build-Depends: openbsd
Description: OpenBSD Support (--with-bsd-auth)

Feature: pam
Build-Depends: pam
Description: Build with PAM (Pluggable Authentication Modules) support. (--with-pam)

Feature: llvm
Build-Depends: llvm
Description: Build with support for LLVM based JIT compilation (--with-llvm)

Feature: icu
Build-Depends: icu
Description: Build with support for the ICU library (--with-icu)

Feature: bonjour
Description: Build with Bonjour support (--with-bonjour)

Feature: uuid
Description: Build the uuid-ossp module (which provides functions to generate UUIDs) (--with-uuid=LIBRARY LIBRARY=(bsd|e2fs|ossp))

Feature: xml
Build-Depends: libxml2
Description: Build with libxml (--with-libxml)

Feature: xslt
Build-Depends: libxslt
Description: Build with libxslt (--with-libxslt)

Feature: client
Description: Build all client tools and libraries.
Loading