File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ the [FreeTDS](http://www.freetds.org/) binaries into your project.
9
9
Optionally, set the FreeTDS version in a Heroku config like this:
10
10
11
11
``` bash
12
- heroku config:set FREETDS_VERSION=1.00.109
12
+ heroku config:set FREETDS_VERSION=1.2.18
13
13
```
14
14
15
15
Make sure the version you're referencing exists on as a ` .tar.gz ` file on the [ FreeTDS releases] ( ftp://ftp.freetds.org/pub/freetds/stable/ ) .
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ load_env_vars() {
58
58
}
59
59
load_env_vars " FREETDS_VERSION" " FREETDS_ARCHIVE_NAME" " TDS_VERSION" " FREETDS_REBUILD"
60
60
61
- FREETDS_VERSION=" ${FREETDS_VERSION:- 1.00.109 } "
61
+ FREETDS_VERSION=" ${FREETDS_VERSION:- 1.2.18 } "
62
62
FREETDS_ARCHIVE_NAME=" ${FREETDS_ARCHIVE_NAME:- freetds-${FREETDS_VERSION} } "
63
- TDS_VERSION=" ${TDS_VERSION:- 7.3 } " # or TDSVER
63
+ TDS_VERSION=" ${TDS_VERSION:- 7.4 } " # or TDSVER
64
64
65
65
CACHED_TAR=" ${CACHE_DIR} /freetds-${FREETDS_VERSION} -heroku.tar.bz2"
66
66
# Default rebuild to true since I'm having issues linking the library to tiny_tds gem with a cached build.
@@ -125,7 +125,7 @@ download_and_extract_freetds_archive() {
125
125
}
126
126
127
127
build_and_install_freetds () {
128
- topic " Building FreeTDS against OpenSSL $( openssl version ) "
128
+ topic " Building FreeTDS against GnuTLS "
129
129
( # directory changes in subshells have no effect
130
130
cd " ${BUILD_DIR} /${FREETDS_ARCHIVE_NAME} "
131
131
@@ -142,7 +142,8 @@ build_and_install_freetds() {
142
142
"--prefix=${APP_TARGET_DIR} " \
143
143
--disable-odbc \
144
144
--disable-debug \
145
- "--with-tdsver=${TDS_VERSION} "
145
+ "--with-tdsver=${TDS_VERSION} " \
146
+ "--with-gnutls"
146
147
EOF
147
148
# TODO(BF): Print log when HEROKUR_FREETDS_BUILDPACK_DEBUG is set
148
149
/bin/bash .build_options > build_log-configure.stdout.log 2> build_log-configure.stderr.log
You can’t perform that action at this time.
0 commit comments