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.8.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/2e5fe6119ee9
branches: trunk
changeset: 447110:2e5fe6119ee9
user: adam <adam%pkgsrc.org@localhost>
date: Tue Feb 16 13:12:38 2021 +0000
description:
sqlrelay: updated to 1.8.0
SQL Relay 1.8.0
This release mainly lays the groundwork for some future features, including a generic import/export framework. Some notable progress was also made on the JDBC driver, though it's still not finished.
The most significant (finshed) new feature is an aes128 password encryption module.
There are some bugfixes as well. A long-standing issue with postgresql that could cause results from multiple open cursors to get confused has been resolved. A subtle error that could cause counting
of bind variables on the client-side to hang has been fixed. A long-standing, but apparently obscure, issue that could cause tables from other MySQL schemas to be included in a "show tables" command
has been fixed. As well as various other issues.
Full ChangeLog follows:
unattended tests
added sqlrresultsetdomnode class to c++ client API
fixed datedelimiters parameter
added support for SQLParamOptions with SQLUINTEGER arguments
sqlr-import detects uppercase .CSV suffix now
fixed a csv number-detection but in sqlr-import
fixed a delete[] of a const in sqlr-import
it's possible to specify a commitcount of 0 with sqlr-import now
moved sqlrimportxml/csv classes into libsqlrclient
moved sqlrexportxml/csv classes into libsqlrclient
csv import/export is consistent now
added some event methods to sqlrexport
migrated parsedatetime functions to rudiments datetime class
different postgresql cursors use different stmtNames now
sqlrimportcsv can create a primary key that's not in the CSV now
sqlrexportcsv quotes 12+ digit numbers now
fixed subtle, count-related issues when validating bind variables on the client side, that could cause a hang
added an aes128 pwdenc module
applied a patch to fix a crash in the debug logger (missing "%s")
added a tweak to getsitearchdir.rb to fix incorrect lib/lib64 reporting on some centos x64 systems
fixed mysql getColumnList to distinquish proper db/schema
SQL Relay 1.7.0
This release adds 2 significant features: support for the PostgreSQL client-server protocol, and a "replay" module to help automatically recover from deadlocks and lock-timeouts, but also has the
usual assortment of minor bugfixes and internal changes.
Full ChangeLog follows:
added postgresql protocol module
updated postgresql connection module to get column info pre-execute
fixed postgresql connection module type oid bug
added tag filter/moduledata
added moduledata(s)::closeResultSet()/endTransaction()/endSession()
mysql protocol returns empty lobs correctly now (not as nulls)
configure replaces -lfbclient with -lgds on freebsd/firebird-2.0.3
fixed a bug that could cause sqlr-stop to try to kill pid 0
fixed unixodbc detection on solaris 11.4
added configure test for PQdescribePrepared
test improvements
documentation improvements
split sqlrelay-crash directive into its own module
deprecated drop-in replacement libraries in favor of protocol support
fixed various mysql 4.x bugs
sqlr-status creates statistics on heap now instead of stack, to work on platforms with a small default ulimit stack
mysql stored procedure test is bypassed for older mysql
tls test is bypassed for older openssl
added NULL handoff socket workaround
improved shutdown/crash handlers for sqlr-listener/connection
fixed hang when more-than-one address was specified in the instance:addresses attribute
*_null used instead of *_unset on PHP 7.4
SQL Relay 1.6.0
This release mainly addresses some recently discovered regressions, but also adds some internal features that required the minor version to be bumped.
ChangeLog follows:
added begin, commit, rollback events
fixed array_init() calls for php-7.3
integrated my_bool fix for mysql 8.0.1+
mysql sslmode=require/prefer + bad sslca/sslcapath generates warning rather than error now (like the mysql cli)
refactored various routines that parse bind variables out of queries
added bindvariabledelimiters config option to define supported bind variable delimiters
added fakeinputbindvariablesunicodestrings config option
added bind variable delimiters config methods to c++ api
replay trigger can now run a query (eg. "show engine innodb status") and log the reslits to a file when a replay condition occurs
replay trigger doesn't log/replay selects by defalit now (but this is configurable)
updated normalize translation to support queries containing binary data
fixed a backslash-escape bug in the normalize translation
refactored some sqlrclient api private methods
refactored various bind-manipliation/detection methods
sqlr-listener creates tmpdir now on start, if it doesn't exist (because this is often in /run, which is often a tmpfs)
postgresql connection modlie forces re-fetch of column data after execute now
everything uses charstring::isYes/isNo now, instead of direct comparisons against "yes" or "no"
fixed subtle sqlexecdirect bug
fixed subtle sqlserver max-varchar bind length bug
fixed various subtle sqlserver bugs where column-info isn't valid until after execute
odbc connection modlie sets column precision = column length if column precision = -1
when using odbc on front and back end, the object type works in SQLTables now
reslit set translations work with "show databases/tables/etc." queries with an ODBC backend now
increased oid buffer sizes in postgresql connection
fixed typemangling->tablemangling typo in postgresql connection - tablemangling sholid work without typemangling now
fixed a '...\\''...' parsing bug
non-odbc connection modlies now return odbc-compatible(ish) table lists
client info is no longer reset during endSession
fixed a bug that colid cause sqlite "show tables like '...'" to crash
fixed odbc unicode nlil user/password bug
fixed PyString_AsString for python 3.<3
fixed bug that caused some MSSQL lobs to sometimes be returned as nlils when using ODBC on the backend
fixed bug that caused some MSSQL date fields to get returned as garbage
fixed a few older sqlrclient compatibility bugs
fixed SQLFetch parameter type mismatch in ODBC api
removed a non-c++17-compliant "register" from custom_nw logger
added support for nodejs 12
SQLDriverConnect can take an inline DSN now
fixed odbc maxcolumncount=-1 crash
odbc, db2, and informix set bind format error now
diffstat:
databases/p5-sqlrelay/Makefile | 14 +-
databases/php-sqlrelay/Makefile | 14 +-
databases/py-sqlrelay/Makefile | 22 +-
databases/ruby-sqlrelay/Makefile | 8 +-
databases/sqlrelay-freetds/Makefile | 7 +-
databases/sqlrelay-mysql/Makefile | 9 +-
databases/sqlrelay-nodejs/Makefile | 11 +-
databases/sqlrelay-odbc/Makefile | 13 +-
databases/sqlrelay-pgsql/Makefile | 15 +-
databases/sqlrelay-sqlite/Makefile | 7 +-
databases/sqlrelay/Makefile | 38 ++--
databases/sqlrelay/Makefile.common | 28 +--
databases/sqlrelay/PLIST | 105 +++++++++++---
databases/sqlrelay/distinfo | 20 +-
databases/sqlrelay/patches/patch-Makefile | 16 ++
databases/sqlrelay/patches/patch-ad | 15 --
databases/sqlrelay/patches/patch-config.mk.in | 19 ++-
databases/sqlrelay/patches/patch-configure | 47 +++---
databases/sqlrelay/patches/patch-etc_Makefile | 9 +-
databases/sqlrelay/patches/patch-src_api_nodejs_Makefile | 10 +-
20 files changed, 249 insertions(+), 178 deletions(-)
diffs (truncated from 865 to 300 lines):
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/p5-sqlrelay/Makefile
--- a/databases/p5-sqlrelay/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/p5-sqlrelay/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,18 +1,20 @@
-# $NetBSD: Makefile,v 1.31 2020/08/31 18:07:08 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2021/02/16 13:12:38 adam Exp $
-PKGNAME= p5-${DISTNAME}
-PKGREVISION= 18
-COMMENT= Perl module for SQL Relay
+PKGNAME= p5-${DISTNAME}
+COMMENT= Perl module for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
-LICENSE= artistic
+LICENSE= artistic
USE_TOOLS+= 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}
-CONFIGURE_ARGS+= --with-perl-install-man3-dir=${PERL5_INSTALLVENDORMAN3DIR}
+
+LIBS+= -lperl
BUILD_DIRS= src/api/perl
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/php-sqlrelay/Makefile
--- a/databases/php-sqlrelay/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/php-sqlrelay/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.28 2021/01/03 15:26:11 taca Exp $
+# $NetBSD: Makefile,v 1.29 2021/02/16 13:12:39 adam Exp $
-PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
-PKGREVISION= 14
-COMMENT= PHP extension for SQL Relay
-EXTRACT_SUFX= .tar.gz
+PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
+COMMENT= PHP extension for SQL Relay
+EXTRACT_SUFX= .tar.gz
.include "../../databases/sqlrelay/Makefile.common"
-LICENSE= gnu-gpl-v2 AND php
+LICENSE= gnu-gpl-v2 AND php
-PHP_VERSIONS_ACCEPTED= 56 73
+PHP_VERSIONS_ACCEPTED= 56 73 74
TOOLS_BROKEN+= perl
CONFIGURE_ARGS+= --with-php-prefix=${BUILDLINK_PREFIX.php}
+MAKE_FLAGS+= PHPCONFSTYLE="bogus" # do not install .ini
BUILD_DIRS= src/api/php
BUILD_DIRS+= src/api/phppdo
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/py-sqlrelay/Makefile
--- a/databases/py-sqlrelay/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/py-sqlrelay/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,27 +1,25 @@
-# $NetBSD: Makefile,v 1.27 2020/08/31 18:07:14 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2021/02/16 13:12:39 adam Exp $
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 15
-COMMENT= Python extension for SQL Relay
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+COMMENT= Python extension for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
-LICENSE= modified-bsd
+LICENSE= modified-bsd
# TODO: switch to PYTHON_VERSIONS_INCOMPATIBLE
-PYTHON_VERSIONS_ACCEPTED= 36 27 # 37 fails as of 1.0.0
+#PYTHON_VERSIONS_ACCEPTED= 37 36 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
+#.if ${_PYTHON_VERSION} == 27
+#CONFIGURE_ARGS+= --disable-python3
+#.else
+#CONFIGURE_ARGS+= --disable-python
+#.endif
CONFIGURE_ARGS+= --with-python-prefix=${PREFIX}
-.else
-CONFIGURE_ARGS+= --disable-python
-CONFIGURE_ARGS+= --with-python3-prefix=${PREFIX}
-.endif
CONFIGURE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX}
BUILD_DIRS= src/api/python
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/ruby-sqlrelay/Makefile
--- a/databases/ruby-sqlrelay/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/ruby-sqlrelay/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.24 2020/08/31 18:07:14 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2021/02/16 13:12:39 adam Exp $
-COMMENT= Ruby extension for SQL Relay
-PKGREVISION= 15
+COMMENT= Ruby extension for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
CONFIGURE_ARGS+= --disable-perl
+CONFIGURE_ARGS+= --with-ruby-prefix=${PREFIX}
+CONFIGURE_ARGS+= --with-ruby-site-arch-dir=${PREFIX}/${RUBY_VENDORARCHLIB}
CONFIGURE_ARGS+= ac_cv_prog_RUBY=${RUBY}
-CONFIGURE_ARGS+= --with-ruby-site-arch-dir=${PREFIX}/${RUBY_VENDORARCHLIB}
BUILD_DIRS= src/api/ruby
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/sqlrelay-freetds/Makefile
--- a/databases/sqlrelay-freetds/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/sqlrelay-freetds/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2020/08/31 18:07:14 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2021/02/16 13:12:39 adam Exp $
-PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-freetds/}
-PKGREVISION= 17
-COMMENT= FreeTDS support for SQL Relay
+PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-freetds/}
+COMMENT= FreeTDS support for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/sqlrelay-mysql/Makefile
--- a/databases/sqlrelay-mysql/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/sqlrelay-mysql/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.24 2020/08/31 18:07:15 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2021/02/16 13:12:39 adam Exp $
-PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-mysql/}
-PKGREVISION= 15
-COMMENT= MySQL support for SQL Relay
+PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-mysql/}
+COMMENT= MySQL support for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
-LICENSE= gnu-gpl-v2
+LICENSE= gnu-gpl-v2
CONFIGURE_ARGS+= --with-mysql-prefix=${BUILDLINK_PREFIX.mysql-client}
CONFIGURE_ARGS+= --disable-postgresql
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/sqlrelay-nodejs/Makefile
--- a/databases/sqlrelay-nodejs/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/sqlrelay-nodejs/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,18 +1,17 @@
-# $NetBSD: Makefile,v 1.27 2021/01/23 19:44:05 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2021/02/16 13:12:39 adam Exp $
-PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-nodejs/}
-PKGREVISION= 15
-COMMENT= node.js API for SQL Relay
+PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-nodejs/}
+COMMENT= node.js API for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
-USE_LANGUAGES+= c++11
+USE_LANGUAGES+= gnu++14
LICENSE= gnu-lgpl-v2
BUILD_DEPENDS+= npm-[0-9]*:../../lang/npm
-NODE_VERSIONS_ACCEPTED= 8 6
+NODE_VERSIONS_ACCEPTED= 12 10
CONFIGURE_ARGS+= --with-nodejs-prefix=${BUILDLINK_PREFIX.nodejs}
CONFIGURE_ARGS+= --disable-postgresql
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/sqlrelay-odbc/Makefile
--- a/databases/sqlrelay-odbc/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/sqlrelay-odbc/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.28 2020/08/31 18:07:15 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2021/02/16 13:12:40 adam Exp $
-PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-odbc/}
-PKGREVISION= 15
-COMMENT= ODBC support for SQL Relay
+PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-odbc/}
+COMMENT= ODBC support for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
-LICENSE= gnu-lgpl-v2
+LICENSE= gnu-lgpl-v2
CONFIGURE_ARGS+= --with-odbc-prefix=${BUILDLINK_PREFIX.unixodbc}
-CONFIGURE_ARGS+= --disable-postgresql
-CONFIGURE_ARGS+= --disable-sqlite
CONFIGURE_ARGS+= --disable-freetds
CONFIGURE_ARGS+= --disable-mysql
CONFIGURE_ARGS+= --disable-perl
+CONFIGURE_ARGS+= --disable-postgresql
+CONFIGURE_ARGS+= --disable-sqlite
BUILD_DIRS= src/connections
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/sqlrelay-pgsql/Makefile
--- a/databases/sqlrelay-pgsql/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/sqlrelay-pgsql/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.25 2020/08/31 18:07:15 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2021/02/16 13:12:40 adam Exp $
-PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-pgsql/}
-PKGREVISION= 15
-COMMENT= PostgreSQL support for SQL Relay
+PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-pgsql/}
+COMMENT= PostgreSQL support for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
-LICENSE= postgresql-license
+LICENSE= postgresql-license
-CONFIGURE_ARGS+= --with-postgresql-prefix=${PGSQL_PREFIX}
+CONFIGURE_ARGS+= --disable-freetds
CONFIGURE_ARGS+= --disable-mysql
-CONFIGURE_ARGS+= --disable-sqlite
-CONFIGURE_ARGS+= --disable-freetds
CONFIGURE_ARGS+= --disable-odbc
CONFIGURE_ARGS+= --disable-perl
+CONFIGURE_ARGS+= --disable-sqlite
+CONFIGURE_ARGS+= --with-postgresql-prefix=${PGSQL_PREFIX}
BUILD_DIRS= src/connections
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/sqlrelay-sqlite/Makefile
--- a/databases/sqlrelay-sqlite/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/sqlrelay-sqlite/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2020/11/05 09:07:50 ryoon Exp $
+# $NetBSD: Makefile,v 1.40 2021/02/16 13:12:40 adam Exp $
-PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-sqlite/}
-PKGREVISION= 25
-COMMENT= SQLite support for SQL Relay
+PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-sqlite/}
+COMMENT= SQLite support for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
diff -r f092c90c4a33 -r 2e5fe6119ee9 databases/sqlrelay/Makefile
--- a/databases/sqlrelay/Makefile Tue Feb 16 13:10:18 2021 +0000
+++ b/databases/sqlrelay/Makefile Tue Feb 16 13:12:38 2021 +0000
@@ -1,18 +1,29 @@
-# $NetBSD: Makefile,v 1.69 2020/08/31 18:07:14 wiz Exp $
+# $NetBSD: Makefile,v 1.70 2021/02/16 13:12:39 adam Exp $
-COMMENT= Database connection pooling middleware and API
-PKGREVISION= 17
+COMMENT= Database connection pooling middleware and API
.include "../../databases/sqlrelay/Makefile.common"
.include "../../mk/bsd.prefs.mk"
-CONFIGURE_ARGS+= --disable-db2 --disable-erlang --disable-firebird \
- --disable-freetds --disable-java --disable-mdbtools \
- --disable-mysql --disable-odbc --disable-oracle \
- --disable-perl --disable-php --disable-postgresql \
- --disable-python --disable-ruby --disable-sqlite \
- --disable-sap --disable-tcl --disable-nodejs
+CONFIGURE_ARGS+= --disable-db2
+CONFIGURE_ARGS+= --disable-erlang
+CONFIGURE_ARGS+= --disable-firebird
+CONFIGURE_ARGS+= --disable-freetds
+CONFIGURE_ARGS+= --disable-java
+CONFIGURE_ARGS+= --disable-mdbtools
+CONFIGURE_ARGS+= --disable-mysql
+CONFIGURE_ARGS+= --disable-nodejs
+CONFIGURE_ARGS+= --disable-odbc
+CONFIGURE_ARGS+= --disable-oracle
+CONFIGURE_ARGS+= --disable-perl
+CONFIGURE_ARGS+= --disable-php
+CONFIGURE_ARGS+= --disable-postgresql
+CONFIGURE_ARGS+= --disable-python
+CONFIGURE_ARGS+= --disable-ruby
+CONFIGURE_ARGS+= --disable-sqlite
+CONFIGURE_ARGS+= --disable-sap
+CONFIGURE_ARGS+= --disable-tcl
INSTALL_MAKE_FLAGS+= EXAMPLEDIR=${DESTDIR}${EGDIR}
@@ -35,15 +46,6 @@
Home |
Main Index |
Thread Index |
Old Index