databases/sqlrelay: 0.60 -> 0.62

- added query filter plugin framework
- added regex, string and pattern filters
- added normalization translation
- added reformatdatetime result set translation
- fixed error in sqlrconfigfile class that could cause sqlr-start to
- 	crash if one instance defines addresses but the next doesn't
- added query status flag to sqlrservercursor
- tweaked odbc driver's SQLGetTypeInfo()
- field name is passed into runResultSetTranslations() now
- added support for maxitembuffersize, maxselectlistsize,
- 	and maxbindcount for firebird
- added native api for node.js
- added recognition of bigint, ubigint and uniqueidentifier fields in
- 	freetds/sybase
- added nullsasnulls command to sqlrsh
- added workaround for freetds empty (but non-null) text fields not
  getting properly converted to null-terminated empty strings
- fetchatonce, maxitembuffersize and maxselectlistsize are set to
  defaulting values if invalid values are given for them
- added lazyconnect option to PHP PDO and Perl DBI drivers (defaults to 1)
- direct Transact SQL which returns a result set is now supported with
  Sybase/SAP/MSSQLServer/FreeTDS
- added docs for authentication, query translation, query filter and
  result set translation modules
- added -fPIC to sqlrserver-config --cflags, if supported
- the "default" auth module is now called "userlist"
- added database auth module that is analagous to authtier="database"
- replaced passwordencryption attribute with passwordencryptionid
- added --disable-postgresql8-api configure option
- tweaked -Werror detection in configure script
- refactored sqlr-bench build to work on windows
This commit is contained in:
Kurt Jaeger
2015-08-08 12:11:27 +00:00
parent 412dde70e3
commit 63fd3b0ced
5 changed files with 67 additions and 34 deletions

View File

@@ -9,6 +9,8 @@ MASTER_SITES= SF
MAINTAINER= pi@FreeBSD.org
COMMENT= Persistent DB connection pooling/proxying/load balancing system
LICENSE= LGPL20
LIB_DEPENDS= librudiments.so:${PORTSDIR}/devel/rudiments
WANT_GNOME= yes
@@ -19,6 +21,7 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
--disable-tcl \
--disable-java \
--disable-msql \
--disable-nodejs \
--disable-perl \
--disable-php \
--disable-python \
@@ -43,6 +46,7 @@ TOSTRIP= bin/sqlr-start \
bin/sqlr-pwdenc \
bin/sqlr-status \
bin/sqlrsh \
lib/libsqlrodbc-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libsqlrutil-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libsqlrclient-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libsqlrclientwrapper-${SQLRELAY_PORTVERSION}.so.1.0.0 \
@@ -53,9 +57,13 @@ TOSTRIP= bin/sqlr-start \
lib/libmysql50sqlrelay-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libmysql51sqlrelay-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libsqlrserver-${SQLRELAY_PORTVERSION}.so.1.0.0 \
libexec/sqlrelay/sqlrauth_default.so \
libexec/sqlrelay/sqlrauth_database.so \
libexec/sqlrelay/sqlrauth_sqlrelay.so \
libexec/sqlrelay/sqlrauth_userlist.so \
libexec/sqlrelay/sqlrconnection_router.so \
libexec/sqlrelay/sqlrfilter_patterns.so \
libexec/sqlrelay/sqlrfilter_regex.so \
libexec/sqlrelay/sqlrfilter_string.so \
libexec/sqlrelay/sqlrlogger_custom_nw.so \
libexec/sqlrelay/sqlrlogger_custom_sc.so \
libexec/sqlrelay/sqlrlogger_debug.so \
@@ -66,7 +74,9 @@ TOSTRIP= bin/sqlr-start \
libexec/sqlrelay/sqlrpwdenc_md5.so \
libexec/sqlrelay/sqlrpwdenc_rot.so \
libexec/sqlrelay/sqlrquery_sqlrcmdcstat.so \
libexec/sqlrelay/sqlrquery_sqlrcmdgstat.so
libexec/sqlrelay/sqlrquery_sqlrcmdgstat.so \
libexec/sqlrelay/sqlrresultsettranslation_reformatdatetime.so \
libexec/sqlrelay/sqlrtranslation_normalize.so
.include "${.CURDIR}/Makefile.common"
@@ -82,6 +92,7 @@ LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm \
libsqlite3.so:${PORTSDIR}/databases/sqlite3
CONFIGURE_ARGS+= --with-gdbm-prefix="${LOCALBASE}" \
--with-sqlite-prefix="${LOCALBASE}"
TOSTRIP+= libexec/sqlrelay/sqlrconnection_sqlite.so
.else
CONFIGURE_ARGS+= --without-gdbm-prefix \
--disable-sqlite
@@ -98,6 +109,7 @@ CONFIGURE_ARGS+= --disable-mysql
.if ${PORT_OPTIONS:MFIREBIRD}
USE_FIREBIRD= yes
CONFIGURE_ARGS+= --with-firebird-prefix="${LOCALBASE}"
TOSTRIP+= libexec/sqlrelay/sqlrconnection_firebird.so
.else
CONFIGURE_ARGS+= --disable-firebird
.endif
@@ -105,6 +117,7 @@ CONFIGURE_ARGS+= --disable-firebird
.if ${PORT_OPTIONS:MPGSQL}
USES+= pgsql
CONFIGURE_ARGS+= --with-postgresql-prefix="${LOCALBASE}"
TOSTRIP+= libexec/sqlrelay/sqlrconnection_postgresql.so
.else
CONFIGURE_ARGS+= --disable-postgresql
.endif
@@ -112,13 +125,15 @@ CONFIGURE_ARGS+= --disable-postgresql
.if ${PORT_OPTIONS:MODBC}
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS+= --with-odbc-prefix="${LOCALBASE}"
TOSTRIP+= libexec/sqlrelay/sqlrconnection_odbc.so
.else
CONFIGURE_ARGS+= --disable-odbc
.endif
.if ${PORT_OPTIONS:MFREETDS}
LIB_DEPENDS+= libtds.so:${PORTSDIR}/databases/freetds
LIB_DEPENDS+= libtdsodbc.so:${PORTSDIR}/databases/freetds
CONFIGURE_ARGS+= --with-freetds-prefix="${LOCALBASE}"
TOSTRIP+= libexec/sqlrelay/sqlrconnection_freetds.so
.else
CONFIGURE_ARGS+= --disable-freetds
.endif