pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases sqlrelay: updated to 1.9.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c33069963a0c
branches:  trunk
changeset: 389316:c33069963a0c
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Dec 03 15:53:39 2022 +0000

description:
sqlrelay: updated to 1.9.3

1.9.3 - added some missing SQLGetInfo() attributes to the ODBC driver
        backported fixes for PHP 8
        backported support for Oracle 18 and 19
        backported a fix for some missing map clears in postgresql protocol
                module
        backported a fix for NULL-binds in the ODBC driver
        backported -fdeclspec configure test for ruby with clang
        backported a postgresql isnull fix
        backported patch from Kyle to use HH24 instead of HH in default
                fakeinputbindvariablesdateformat string
        backported mysql connection segfault fix
        disabled PQsendQueryPrepared/PQsetSingleRowMode to fix nested query
                bug with postgresql
        backported postgresql noRowsToReturn fix

1.9.2 - ruby cursor constructor marks associated ruby connection object now
        updated bad-command and no-cursor-available handling in sqlrclient
                protocol module
        fixed a subtle bug that could cause closeResultSet()/clearError() not
                to be called between reexecutes if the previous execute resulted
                in an error
        backported support for password files in userlist auth modules

1.9.1 - fixed some missing map clears in postgresql protocol module
        fixed NULL-bind in the ODBC driver

1.9.0 - added missing inequality operators to end-of-bind detection
        fixed commit/begin without commitcount error in sqlrimportcsv
        fetch errors aren't returned if sqlrclient protocol version < 2
        query-intercept catches "begin transaction" now
        query-intercept doesn't intercept various begin-type statements if the
                query is actually a block of sql containing commit or rollback
        added ncharencoding option to odbc connection to enable UTF-16 values
                in SQL Server nchars/nvarchars
        fixed a bug that caused output binds of length 8000+ to fail on
                SQL Server
        begin() runs "begin transaction" instead of just "begin" on SQL Server
        fixed a column-count reset bug in odbc, db2, informix, and postgresql
                that could cause begin queries to fail when fake transaction
                blocks are used
        object lists have correct column names for mysql, odbc, and jdbc now
        fixed a bug that caused rollback to be called insted of commit when
                endofsession="commit" and faketransactionblocks=yes are used
        commit/rollback is now called at the end of session when
                faketransactoinblocks=yes is used, whether or not the server
                believes it's in a transaction block, to catch cases where the
                begin-interceptor is intentionally bypassed
        sqlrimportcsv handles dates without centuries now
        fixed crash in replay module when table name is quoted
        mysql explain statements work now
        fixed node-gyp.js detection on ubuntu 20.04
        added configure options for PHP 8.x
        added php/pdo module tweaks for PHP 8
        mysql and postgresql protocol modules support TLS now
        pushed most of tls/gss code up into sqlrprotocol parent class
        fixed subtle issues in mysql/postgresql database modules that could
                sometimes cause reexecutes of the same query with the same
                bind variables to return no results the second time
        the configure script specifically looks for liberl_interface.a now
        updated nodejs macros for node 14+
        fixed subtle bugs in Python getField, getFieldLength, and
                getRowLengthsDictionary functions
        added GVL management to the Ruby API
        applied patch from Igor to fix configure.vbs VC++ version detection
                for non-US versions

diffstat:

 databases/p5-sqlrelay/Makefile                              |    7 +-
 databases/php-sqlrelay/Makefile                             |    3 +-
 databases/py-sqlrelay/Makefile                              |   16 +-
 databases/ruby-sqlrelay/Makefile                            |    3 +-
 databases/sqlrelay-freetds/Makefile                         |    9 +-
 databases/sqlrelay-mysql/Makefile                           |    9 +-
 databases/sqlrelay-nodejs/Makefile                          |    5 +-
 databases/sqlrelay-odbc/Makefile                            |    5 +-
 databases/sqlrelay-pgsql/Makefile                           |    3 +-
 databases/sqlrelay-sqlite/Makefile                          |    9 +-
 databases/sqlrelay/Makefile                                 |    5 +-
 databases/sqlrelay/Makefile.common                          |   23 +-
 databases/sqlrelay/distinfo                                 |   12 +-
 databases/sqlrelay/patches/patch-configure                  |  282 ++---------
 databases/sqlrelay/patches/patch-src_api_php_sql__relay.cpp |   53 --
 databases/sqlrelay/patches/patch-src_api_ruby_sqlrelay.cpp  |   77 ---
 16 files changed, 97 insertions(+), 424 deletions(-)

diffs (truncated from 777 to 300 lines):

diff -r acc03f7cc941 -r c33069963a0c databases/p5-sqlrelay/Makefile
--- a/databases/p5-sqlrelay/Makefile    Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/p5-sqlrelay/Makefile    Sat Dec 03 15:53:39 2022 +0000
@@ -1,21 +1,20 @@
-# $NetBSD: Makefile,v 1.39 2022/10/26 10:31:18 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2022/12/03 15:53:39 adam Exp $
 
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   6
 COMMENT=       Perl module for SQL Relay
 
 .include "../../databases/sqlrelay/Makefile.common"
 
 LICENSE=       artistic
 
-USE_TOOLS+=            perl
+USE_TOOLS+=    gmake perl
 
 CONFIGURE_ARGS+=       --with-perl-install-man3-dir=${PERL5_INSTALLVENDORMAN3DIR}
 CONFIGURE_ARGS+=       --with-perl-prefix=${BUILDLINK_PREFIX.perl}
 CONFIGURE_ARGS+=       --with-perl-site-arch=${PERL5_INSTALLVENDORARCH}
 CONFIGURE_ARGS+=       --with-perl-site-lib=${PERL5_INSTALLVENDORLIB}
 
-LIBS+=         -lperl -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE
+LDFLAGS+=      -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE
 
 BUILD_DIRS=            src/api/perl
 
diff -r acc03f7cc941 -r c33069963a0c databases/php-sqlrelay/Makefile
--- a/databases/php-sqlrelay/Makefile   Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/php-sqlrelay/Makefile   Sat Dec 03 15:53:39 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2022/10/26 10:31:19 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2022/12/03 15:53:40 adam Exp $
 
 PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME}
-PKGREVISION=   6
 COMMENT=       PHP extension for SQL Relay
 EXTRACT_SUFX=  .tar.gz
 
diff -r acc03f7cc941 -r c33069963a0c databases/py-sqlrelay/Makefile
--- a/databases/py-sqlrelay/Makefile    Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/py-sqlrelay/Makefile    Sat Dec 03 15:53:39 2022 +0000
@@ -1,25 +1,13 @@
-# $NetBSD: Makefile,v 1.35 2022/10/26 10:31:19 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2022/12/03 15:53:40 adam Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   6
 COMMENT=       Python extension for SQL Relay
 
 .include "../../databases/sqlrelay/Makefile.common"
 
 LICENSE=       modified-bsd
 
-# TODO: switch to PYTHON_VERSIONS_INCOMPATIBLE
-#PYTHON_VERSIONS_ACCEPTED=     37 27 # 37 fails as of 1.0.0
-
-.include "../../lang/python/pyversion.mk"
-
 CONFIGURE_ARGS+=       --disable-perl
-
-#.if ${_PYTHON_VERSION} == 27
-#CONFIGURE_ARGS+=      --disable-python3
-#.else
-#CONFIGURE_ARGS+=      --disable-python
-#.endif
 CONFIGURE_ARGS+=       --with-python-prefix=${PREFIX}
 CONFIGURE_ENV+=                PYVERSSUFFIX=${PYVERSSUFFIX}
 
@@ -27,6 +15,8 @@
 
 PY_PATCHPLIST=         yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../databases/sqlrelay/buildlink3.mk"
 .include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r acc03f7cc941 -r c33069963a0c databases/ruby-sqlrelay/Makefile
--- a/databases/ruby-sqlrelay/Makefile  Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/ruby-sqlrelay/Makefile  Sat Dec 03 15:53:39 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2022/10/26 10:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2022/12/03 15:53:40 adam Exp $
 
 COMMENT=       Ruby extension for SQL Relay
-PKGREVISION=   6
 
 .include "../../databases/sqlrelay/Makefile.common"
 
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay-freetds/Makefile
--- a/databases/sqlrelay-freetds/Makefile       Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay-freetds/Makefile       Sat Dec 03 15:53:39 2022 +0000
@@ -1,17 +1,16 @@
-# $NetBSD: Makefile,v 1.36 2022/10/26 10:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2022/12/03 15:53:40 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/sqlrelay/sqlrelay-freetds/}
-PKGREVISION=   6
 COMMENT=       FreeTDS support for SQL Relay
 
 .include "../../databases/sqlrelay/Makefile.common"
 
+CONFIGURE_ARGS+=       --disable-mysql
+CONFIGURE_ARGS+=       --disable-odbc
 CONFIGURE_ARGS+=       --disable-perl
-CONFIGURE_ARGS+=       --with-freetds-prefix=${BUILDLINK_PREFIX.freetds}
 CONFIGURE_ARGS+=       --disable-postgresql
 CONFIGURE_ARGS+=       --disable-sqlite
-CONFIGURE_ARGS+=       --disable-mysql
-CONFIGURE_ARGS+=       --disable-odbc
+CONFIGURE_ARGS+=       --with-freetds-prefix=${BUILDLINK_PREFIX.freetds}
 
 BUILD_DIRS=            src/connections
 
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay-mysql/Makefile
--- a/databases/sqlrelay-mysql/Makefile Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay-mysql/Makefile Sat Dec 03 15:53:39 2022 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.32 2022/10/26 10:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2022/12/03 15:53:40 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/sqlrelay/sqlrelay-mysql/}
-PKGREVISION=   7
 COMMENT=       MySQL support for SQL Relay
 
 .include "../../databases/sqlrelay/Makefile.common"
 
 LICENSE=       gnu-gpl-v2
 
-CONFIGURE_ARGS+=       --with-mysql-prefix=${BUILDLINK_PREFIX.mysql-client}
-CONFIGURE_ARGS+=       --disable-postgresql
-CONFIGURE_ARGS+=       --disable-sqlite
 CONFIGURE_ARGS+=       --disable-freetds
 CONFIGURE_ARGS+=       --disable-odbc
 CONFIGURE_ARGS+=       --disable-perl
+CONFIGURE_ARGS+=       --disable-postgresql
+CONFIGURE_ARGS+=       --disable-sqlite
+CONFIGURE_ARGS+=       --with-mysql-prefix=${BUILDLINK_PREFIX.mysql-client}
 
 BUILD_DIRS=            src/connections
 
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay-nodejs/Makefile
--- a/databases/sqlrelay-nodejs/Makefile        Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay-nodejs/Makefile        Sat Dec 03 15:53:39 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2022/10/26 10:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2022/12/03 15:53:41 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/sqlrelay/sqlrelay-nodejs/}
-PKGREVISION=   4
 COMMENT=       node.js API for SQL Relay
 
 .include "../../databases/sqlrelay/Makefile.common"
@@ -13,8 +12,6 @@
 BUILD_DEPENDS+=                npm-[0-9]*:../../lang/npm
 DEPENDS+=              http-parser-[0-9]*:../../www/http-parser
 
-NODE_VERSIONS_ACCEPTED=        12 10
-
 CONFIGURE_ARGS+=       --with-nodejs-prefix=${BUILDLINK_PREFIX.nodejs}
 CONFIGURE_ARGS+=       --disable-postgresql
 CONFIGURE_ARGS+=       --disable-sqlite
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay-odbc/Makefile
--- a/databases/sqlrelay-odbc/Makefile  Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay-odbc/Makefile  Sat Dec 03 15:53:39 2022 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.35 2022/10/26 10:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2022/12/03 15:53:41 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/sqlrelay/sqlrelay-odbc/}
-PKGREVISION=   6
 COMMENT=       ODBC support for SQL Relay
 
 .include "../../databases/sqlrelay/Makefile.common"
 
 LICENSE=       gnu-lgpl-v2
 
-CONFIGURE_ARGS+=       --with-odbc-prefix=${BUILDLINK_PREFIX.unixodbc}
 CONFIGURE_ARGS+=       --disable-freetds
 CONFIGURE_ARGS+=       --disable-mysql
 CONFIGURE_ARGS+=       --disable-perl
 CONFIGURE_ARGS+=       --disable-postgresql
 CONFIGURE_ARGS+=       --disable-sqlite
+CONFIGURE_ARGS+=       --with-odbc-prefix=${BUILDLINK_PREFIX.unixodbc}
 
 BUILD_DIRS=            src/connections
 
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay-pgsql/Makefile
--- a/databases/sqlrelay-pgsql/Makefile Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay-pgsql/Makefile Sat Dec 03 15:53:39 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2022/10/26 10:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2022/12/03 15:53:41 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/sqlrelay/sqlrelay-pgsql/}
-PKGREVISION=   6
 COMMENT=       PostgreSQL support for SQL Relay
 
 .include "../../databases/sqlrelay/Makefile.common"
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay-sqlite/Makefile
--- a/databases/sqlrelay-sqlite/Makefile        Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay-sqlite/Makefile        Sat Dec 03 15:53:39 2022 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.49 2022/11/23 16:19:44 adam Exp $
+# $NetBSD: Makefile,v 1.50 2022/12/03 15:53:41 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/sqlrelay/sqlrelay-sqlite/}
-PKGREVISION=   9
 COMMENT=       SQLite support for SQL Relay
 
 .include "../../databases/sqlrelay/Makefile.common"
 
-CONFIGURE_ARGS+=       --with-sqlite-prefix=${BUILDLINK_PREFIX.sqlite3}
 # Configure never does this correctly
 CXXFLAGS+=             -DSQLITE3=1
-CONFIGURE_ARGS+=       --disable-postgresql
+CONFIGURE_ARGS+=       --disable-freetds
 CONFIGURE_ARGS+=       --disable-mysql
-CONFIGURE_ARGS+=       --disable-freetds
 CONFIGURE_ARGS+=       --disable-odbc
 CONFIGURE_ARGS+=       --disable-perl
+CONFIGURE_ARGS+=       --disable-postgresql
+CONFIGURE_ARGS+=       --with-sqlite-prefix=${BUILDLINK_PREFIX.sqlite3}
 
 BUILD_DIRS=            src/connections
 
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay/Makefile
--- a/databases/sqlrelay/Makefile       Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay/Makefile       Sat Dec 03 15:53:39 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.76 2022/10/26 10:31:01 wiz Exp $
+# $NetBSD: Makefile,v 1.77 2022/12/03 15:53:40 adam Exp $
 
 COMMENT=       Database connection pooling middleware and API
-PKGREVISION=   6
 
 .include "../../databases/sqlrelay/Makefile.common"
 
@@ -26,6 +25,8 @@
 CONFIGURE_ARGS+=       --disable-sap
 CONFIGURE_ARGS+=       --disable-tcl
 
+MAKE_JOBS_SAFE=                no
+
 INSTALL_MAKE_FLAGS+=   EXAMPLEDIR=${DESTDIR}${EGDIR}
 
 CONF_FILES+=           ${EGDIR}/sqlrelay.conf ${PKG_SYSCONFDIR}/sqlrelay.conf
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay/Makefile.common
--- a/databases/sqlrelay/Makefile.common        Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay/Makefile.common        Sat Dec 03 15:53:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.23 2021/02/17 18:29:09 adam Exp $
+# $NetBSD: Makefile.common,v 1.24 2022/12/03 15:53:40 adam Exp $
 # used by databases/p5-sqlrelay/Makefile
 # used by databases/php-sqlrelay/Makefile
 # used by databases/py-sqlrelay/Makefile
@@ -11,7 +11,7 @@
 # used by databases/sqlrelay-sqlite/Makefile
 # used by databases/sqlrelay/Makefile
 
-DISTNAME=      sqlrelay-1.8.0
+DISTNAME=      sqlrelay-1.9.3
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sqlrelay/}
 
@@ -19,18 +19,15 @@
 HOMEPAGE=      http://sqlrelay.sourceforge.net/
 LICENSE=       gnu-gpl-v2 AND gnu-lgpl-v2
 
-PKG_DESTDIR_SUPPORT=   user-destdir
+USE_LANGUAGES= c c++11
+USE_LIBTOOL=   yes
+USE_TOOLS+=    gmake
+GNU_CONFIGURE= yes
+BUILD_DEFS+=   VARBASE
 
-USE_LANGUAGES=         c c++11
-USE_LIBTOOL=           yes
-USE_TOOLS+=            gmake
-GNU_CONFIGURE=         yes
-BUILD_DEFS+=           VARBASE
-MAKE_JOBS_SAFE=                no
-
-DESCR_SRC=             ${.CURDIR}/../../databases/sqlrelay/DESCR
-DISTINFO_FILE=         ${.CURDIR}/../../databases/sqlrelay/distinfo
-PATCHDIR=              ${.CURDIR}/../../databases/sqlrelay/patches
+DESCR_SRC=     ${.CURDIR}/../../databases/sqlrelay/DESCR
+DISTINFO_FILE= ${.CURDIR}/../../databases/sqlrelay/distinfo
+PATCHDIR=      ${.CURDIR}/../../databases/sqlrelay/patches
 
 CONFIGURE_ARGS+=       --disable-werror
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
diff -r acc03f7cc941 -r c33069963a0c databases/sqlrelay/distinfo
--- a/databases/sqlrelay/distinfo       Sat Dec 03 15:50:50 2022 +0000
+++ b/databases/sqlrelay/distinfo       Sat Dec 03 15:53:39 2022 +0000
@@ -1,16 +1,14 @@
-$NetBSD: distinfo,v 1.29 2021/10/26 10:10:06 nia Exp $
+$NetBSD: distinfo,v 1.30 2022/12/03 15:53:40 adam Exp $



Home | Main Index | Thread Index | Old Index