File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ jobs:
3535 uses : actions/cache@v4
3636 with :
3737 path : ports
38- key : cross-compiled-${{ matrix.platform }}-${{ hashFiles('**/.ports_versions') }}
38+ key : cross-compiled-v3- ${{ matrix.platform }}-${{ hashFiles('**/.ports_versions') }}
3939 restore-keys : |
40- cross-compiled-${{ matrix.platform }}-${{ hashFiles('**/.ports_versions') }}
41- cross-compiled-${{ matrix.platform }}-
40+ cross-compiled-v3- ${{ matrix.platform }}-${{ hashFiles('**/.ports_versions') }}
41+ cross-compiled-v3- ${{ matrix.platform }}-
4242
4343 - name : Build gem
4444 shell : bash
@@ -351,10 +351,10 @@ jobs:
351351 uses : actions/cache@v4
352352 with :
353353 path : ports
354- key : native-${{ hashFiles('**/.ports_versions') }}
354+ key : native-v3- ${{ hashFiles('**/.ports_versions') }}
355355 restore-keys : |
356- native-${{ hashFiles('* */.ports_versions') }}
357- native-
356+ native-v3- ${{ hashFiles('* */.ports_versions') }}
357+ native-v3-
358358
359359 - name : Build required libraries
360360 run : |
@@ -394,7 +394,7 @@ jobs:
394394 uses : actions/cache@v4
395395 with :
396396 path : ports
397- key : native-${{ hashFiles('**/.ports_versions') }}
397+ key : native-v3- ${{ hashFiles('**/.ports_versions') }}
398398 fail-on-cache-miss : true
399399
400400 - name : Build gem
Original file line number Diff line number Diff line change 44* Drop support for SQL Server < 2017
55* Drop support for FreeTDS < 1.0
66* Raise error if FreeTDS is unable to sent command buffer to the server
7- * Use freetds v1.4.23 and libiconv v1.17 for Windows builds
7+ * Use freetds v1.4.23, libiconv v1.17 and OpenSSL v3.4.0 for Windows builds
88
99## 2.1.7
1010* Add Ruby 3.3 to the cross compile list
Original file line number Diff line number Diff line change 22ICONV_VERSION = ENV [ 'TINYTDS_ICONV_VERSION' ] || "1.17"
33ICONV_SOURCE_URI = "http://ftp.gnu.org/pub/gnu/libiconv/libiconv-#{ ICONV_VERSION } .tar.gz"
44
5- OPENSSL_VERSION = ENV [ 'TINYTDS_OPENSSL_VERSION' ] || '1.1.1s '
5+ OPENSSL_VERSION = ENV [ 'TINYTDS_OPENSSL_VERSION' ] || '3.4.0 '
66OPENSSL_SOURCE_URI = "https://www.openssl.org/source/openssl-#{ OPENSSL_VERSION } .tar.gz"
77
88FREETDS_VERSION = ENV [ 'TINYTDS_FREETDS_VERSION' ] || '1.4.23'
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ namespace :ports do
4848 if libraries_to_compile [ :openssl ]
4949 # freetds doesn't have an option that will provide an rpath
5050 # so we do it manually
51- ENV [ 'OPENSSL_CFLAGS' ] = "-Wl,-rpath -Wl,#{ libraries_to_compile [ :openssl ] . path } /lib "
51+ ENV [ 'OPENSSL_CFLAGS' ] = "-Wl,-rpath -Wl,#{ libraries_to_compile [ :openssl ] . path } /lib64 "
5252 # Add the pkgconfig file with MSYS2'ish path, to prefer our ports build
5353 # over MSYS2 system OpenSSL.
54- ENV [ 'PKG_CONFIG_PATH' ] = "#{ libraries_to_compile [ :openssl ] . path . gsub ( /^(\w ):/i ) { "/" + $1. downcase } } /lib /pkgconfig:#{ ENV [ 'PKG_CONFIG_PATH' ] } "
54+ ENV [ 'PKG_CONFIG_PATH' ] = "#{ libraries_to_compile [ :openssl ] . path . gsub ( /^(\w ):/i ) { "/" + $1. downcase } } /lib64 /pkgconfig:#{ ENV [ 'PKG_CONFIG_PATH' ] } "
5555 libraries_to_compile [ :freetds ] . configure_options << "--with-openssl=#{ libraries_to_compile [ :openssl ] . path } "
5656 end
5757
You can’t perform that action at this time.
0 commit comments