git: 3a232b28517d - main - databases/freetds: Update version 1.4.10=>1.4.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Mar 2024 15:19:48 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a232b28517d67e2325adc36618dbbc10519628e commit 3a232b28517d67e2325adc36618dbbc10519628e Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-03-30 14:34:25 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-03-30 15:19:34 +0000 databases/freetds: Update version 1.4.10=>1.4.11 --- databases/freetds/Makefile | 6 ++--- databases/freetds/distinfo | 6 ++--- databases/freetds/files/patch-configure | 38 +++++++++++++++++++++++++++++ databases/freetds/files/patch-src_tds_tls.c | 4 +-- 4 files changed, 46 insertions(+), 8 deletions(-) diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile index 37e83f67c0a0..0fc7da7d4da7 100644 --- a/databases/freetds/Makefile +++ b/databases/freetds/Makefile @@ -1,7 +1,6 @@ PORTNAME= freetds -PORTVERSION= 1.4.10 +PORTVERSION= 1.4.11 PORTEPOCH= 1 -PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= https://www.freetds.org/files/stable/ \ ftp://ftp.freetds.org/pub/freetds/stable/ @@ -18,7 +17,8 @@ USES= cpe gettext gmake iconv libtool:keepla localbase:ldflags \ pkgconfig readline tar:bzip2 USE_LDCONFIG= yes -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-msdblib \ --enable-sybase-compat \ --sysconfdir=${ETCDIR} \ diff --git a/databases/freetds/distinfo b/databases/freetds/distinfo index d9132f002ad1..aa107f8aebd1 100644 --- a/databases/freetds/distinfo +++ b/databases/freetds/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701770938 -SHA256 (freetds-1.4.10.tar.bz2) = c7eaf226bdcb1cdc1b221696532ccd25f4e4e7754265a29777a3400084bde698 -SIZE (freetds-1.4.10.tar.bz2) = 2394706 +TIMESTAMP = 1711809183 +SHA256 (freetds-1.4.11.tar.bz2) = 567f7ce913f222191dda7e1c221d5e272a387152fef6cacbd97767fea68b613e +SIZE (freetds-1.4.11.tar.bz2) = 2394685 diff --git a/databases/freetds/files/patch-configure b/databases/freetds/files/patch-configure new file mode 100644 index 000000000000..987a1c57c9f8 --- /dev/null +++ b/databases/freetds/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig 2023-12-04 09:01:11 UTC ++++ configure +@@ -19020,20 +19020,7 @@ fi + printf "%s\n" "#define HAVE_SQL_H 1" >>confdefs.h + + fi +-ac_fn_c_check_header_compile "$LINENO" "odbcss.h" "ac_cv_header_odbcss_h" "#ifdef HAVE_WINDOWS_H +-# include <windows.h> +-#endif +-#ifdef HAVE_SQL_H +-# include <sql.h> +-#endif + +-" +-if test "x$ac_cv_header_odbcss_h" = xyes +-then : +- printf "%s\n" "#define HAVE_ODBCSS_H 1" >>confdefs.h +- +-fi +- + if test "$ac_cv_header_odbcss_h" = "yes"; then + HAVE_ODBCSS_H_TRUE= + HAVE_ODBCSS_H_FALSE='#' +@@ -21342,7 +21329,7 @@ elif test "x$with_iodbc" != "x" -a "x$with_iodbc" != " + with_iodbc="$PWD/$with_iodbc" + fi + CPPFLAGS="$CPPFLAGS -DIODBC" +- ODBC_INC="$with_iodbc/include" ++ ODBC_INC="$with_iodbc/include/libiodbc" + test -r "$ODBC_INC/isql.h" || as_fn_error $? "isql.h not found" "$LINENO" 5 + test -r "$ODBC_INC/isqlext.h" || as_fn_error $? "isqlext.h not found" "$LINENO" 5 + ODBC_INC="-I$ODBC_INC" +@@ -26046,5 +26033,3 @@ fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + fi +- +- diff --git a/databases/freetds/files/patch-src_tds_tls.c b/databases/freetds/files/patch-src_tds_tls.c index 7fb0c8912abb..e9b18a332258 100644 --- a/databases/freetds/files/patch-src_tds_tls.c +++ b/databases/freetds/files/patch-src_tds_tls.c @@ -1,4 +1,4 @@ ---- src/tds/tls.c.orig 2022-05-31 06:46:53 UTC +--- src/tds/tls.c.orig 2023-11-24 09:00:02 UTC +++ src/tds/tls.c @@ -53,6 +53,10 @@ #include <sys/socket.h> @@ -20,7 +20,7 @@ static BIO_METHOD tds_method_login[1] = { { BIO_TYPE_MEM, -@@ -664,7 +668,7 @@ tds_deinit_openssl_methods(void) +@@ -665,7 +669,7 @@ tds_deinit_openssl_methods(void) # endif #endif