mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
parent
412dde70e3
commit
63fd3b0ced
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393725
5 changed files with 67 additions and 34 deletions
|
@ -9,6 +9,8 @@ MASTER_SITES= SF
|
||||||
MAINTAINER= pi@FreeBSD.org
|
MAINTAINER= pi@FreeBSD.org
|
||||||
COMMENT= Persistent DB connection pooling/proxying/load balancing system
|
COMMENT= Persistent DB connection pooling/proxying/load balancing system
|
||||||
|
|
||||||
|
LICENSE= LGPL20
|
||||||
|
|
||||||
LIB_DEPENDS= librudiments.so:${PORTSDIR}/devel/rudiments
|
LIB_DEPENDS= librudiments.so:${PORTSDIR}/devel/rudiments
|
||||||
|
|
||||||
WANT_GNOME= yes
|
WANT_GNOME= yes
|
||||||
|
@ -19,6 +21,7 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
|
||||||
--disable-tcl \
|
--disable-tcl \
|
||||||
--disable-java \
|
--disable-java \
|
||||||
--disable-msql \
|
--disable-msql \
|
||||||
|
--disable-nodejs \
|
||||||
--disable-perl \
|
--disable-perl \
|
||||||
--disable-php \
|
--disable-php \
|
||||||
--disable-python \
|
--disable-python \
|
||||||
|
@ -43,6 +46,7 @@ TOSTRIP= bin/sqlr-start \
|
||||||
bin/sqlr-pwdenc \
|
bin/sqlr-pwdenc \
|
||||||
bin/sqlr-status \
|
bin/sqlr-status \
|
||||||
bin/sqlrsh \
|
bin/sqlrsh \
|
||||||
|
lib/libsqlrodbc-${SQLRELAY_PORTVERSION}.so.1.0.0 \
|
||||||
lib/libsqlrutil-${SQLRELAY_PORTVERSION}.so.1.0.0 \
|
lib/libsqlrutil-${SQLRELAY_PORTVERSION}.so.1.0.0 \
|
||||||
lib/libsqlrclient-${SQLRELAY_PORTVERSION}.so.1.0.0 \
|
lib/libsqlrclient-${SQLRELAY_PORTVERSION}.so.1.0.0 \
|
||||||
lib/libsqlrclientwrapper-${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/libmysql50sqlrelay-${SQLRELAY_PORTVERSION}.so.1.0.0 \
|
||||||
lib/libmysql51sqlrelay-${SQLRELAY_PORTVERSION}.so.1.0.0 \
|
lib/libmysql51sqlrelay-${SQLRELAY_PORTVERSION}.so.1.0.0 \
|
||||||
lib/libsqlrserver-${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_sqlrelay.so \
|
||||||
|
libexec/sqlrelay/sqlrauth_userlist.so \
|
||||||
libexec/sqlrelay/sqlrconnection_router.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_nw.so \
|
||||||
libexec/sqlrelay/sqlrlogger_custom_sc.so \
|
libexec/sqlrelay/sqlrlogger_custom_sc.so \
|
||||||
libexec/sqlrelay/sqlrlogger_debug.so \
|
libexec/sqlrelay/sqlrlogger_debug.so \
|
||||||
|
@ -66,7 +74,9 @@ TOSTRIP= bin/sqlr-start \
|
||||||
libexec/sqlrelay/sqlrpwdenc_md5.so \
|
libexec/sqlrelay/sqlrpwdenc_md5.so \
|
||||||
libexec/sqlrelay/sqlrpwdenc_rot.so \
|
libexec/sqlrelay/sqlrpwdenc_rot.so \
|
||||||
libexec/sqlrelay/sqlrquery_sqlrcmdcstat.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"
|
.include "${.CURDIR}/Makefile.common"
|
||||||
|
|
||||||
|
@ -82,6 +92,7 @@ LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm \
|
||||||
libsqlite3.so:${PORTSDIR}/databases/sqlite3
|
libsqlite3.so:${PORTSDIR}/databases/sqlite3
|
||||||
CONFIGURE_ARGS+= --with-gdbm-prefix="${LOCALBASE}" \
|
CONFIGURE_ARGS+= --with-gdbm-prefix="${LOCALBASE}" \
|
||||||
--with-sqlite-prefix="${LOCALBASE}"
|
--with-sqlite-prefix="${LOCALBASE}"
|
||||||
|
TOSTRIP+= libexec/sqlrelay/sqlrconnection_sqlite.so
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-gdbm-prefix \
|
CONFIGURE_ARGS+= --without-gdbm-prefix \
|
||||||
--disable-sqlite
|
--disable-sqlite
|
||||||
|
@ -98,6 +109,7 @@ CONFIGURE_ARGS+= --disable-mysql
|
||||||
.if ${PORT_OPTIONS:MFIREBIRD}
|
.if ${PORT_OPTIONS:MFIREBIRD}
|
||||||
USE_FIREBIRD= yes
|
USE_FIREBIRD= yes
|
||||||
CONFIGURE_ARGS+= --with-firebird-prefix="${LOCALBASE}"
|
CONFIGURE_ARGS+= --with-firebird-prefix="${LOCALBASE}"
|
||||||
|
TOSTRIP+= libexec/sqlrelay/sqlrconnection_firebird.so
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-firebird
|
CONFIGURE_ARGS+= --disable-firebird
|
||||||
.endif
|
.endif
|
||||||
|
@ -105,6 +117,7 @@ CONFIGURE_ARGS+= --disable-firebird
|
||||||
.if ${PORT_OPTIONS:MPGSQL}
|
.if ${PORT_OPTIONS:MPGSQL}
|
||||||
USES+= pgsql
|
USES+= pgsql
|
||||||
CONFIGURE_ARGS+= --with-postgresql-prefix="${LOCALBASE}"
|
CONFIGURE_ARGS+= --with-postgresql-prefix="${LOCALBASE}"
|
||||||
|
TOSTRIP+= libexec/sqlrelay/sqlrconnection_postgresql.so
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-postgresql
|
CONFIGURE_ARGS+= --disable-postgresql
|
||||||
.endif
|
.endif
|
||||||
|
@ -112,13 +125,15 @@ CONFIGURE_ARGS+= --disable-postgresql
|
||||||
.if ${PORT_OPTIONS:MODBC}
|
.if ${PORT_OPTIONS:MODBC}
|
||||||
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
|
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
|
||||||
CONFIGURE_ARGS+= --with-odbc-prefix="${LOCALBASE}"
|
CONFIGURE_ARGS+= --with-odbc-prefix="${LOCALBASE}"
|
||||||
|
TOSTRIP+= libexec/sqlrelay/sqlrconnection_odbc.so
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-odbc
|
CONFIGURE_ARGS+= --disable-odbc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MFREETDS}
|
.if ${PORT_OPTIONS:MFREETDS}
|
||||||
LIB_DEPENDS+= libtds.so:${PORTSDIR}/databases/freetds
|
LIB_DEPENDS+= libtdsodbc.so:${PORTSDIR}/databases/freetds
|
||||||
CONFIGURE_ARGS+= --with-freetds-prefix="${LOCALBASE}"
|
CONFIGURE_ARGS+= --with-freetds-prefix="${LOCALBASE}"
|
||||||
|
TOSTRIP+= libexec/sqlrelay/sqlrconnection_freetds.so
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-freetds
|
CONFIGURE_ARGS+= --disable-freetds
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
SQLRELAY_PORTNAME= sqlrelay
|
SQLRELAY_PORTNAME= sqlrelay
|
||||||
SQLRELAY_PORTVERSION= 0.60
|
SQLRELAY_PORTVERSION= 0.62
|
||||||
|
|
||||||
SQLRELAY_PORTDIR= ${PORTSDIR}/databases/${SQLRELAY_PORTNAME}
|
SQLRELAY_PORTDIR= ${PORTSDIR}/databases/${SQLRELAY_PORTNAME}
|
||||||
SQLRELAY_WRKSRC_CMD= cd ${SQLRELAY_PORTDIR} && ${MAKE} -V WRKSRC
|
SQLRELAY_WRKSRC_CMD= cd ${SQLRELAY_PORTDIR} && ${MAKE} -V WRKSRC
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (sqlrelay-0.60.tar.gz) = aa7dc9a11d99d51f4104ee0e5d5040b1bb16034878303336aec75933d12ce06a
|
SHA256 (sqlrelay-0.62.tar.gz) = fd4f590ce73aef39030a7a37984b25c8235ae5a04050a7b9c43ec73e791d7d93
|
||||||
SIZE (sqlrelay-0.60.tar.gz) = 3224288
|
SIZE (sqlrelay-0.62.tar.gz) = 3462899
|
||||||
|
|
|
@ -1,13 +1,18 @@
|
||||||
--- Makefile.orig 2015-03-31 20:50:58 UTC
|
--- Makefile.orig 2015-08-05 21:07:34 UTC
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -30,11 +30,11 @@ install-doc:
|
@@ -30,16 +30,13 @@ install-doc:
|
||||||
cd doc $(AND) $(MAKE) install
|
cd doc $(AND) $(MAKE) install
|
||||||
|
|
||||||
|
install-license:
|
||||||
|
- $(MKINSTALLDIRS) $(licensedir)
|
||||||
|
- $(CP) COPYING $(licensedir)
|
||||||
|
- $(CHMOD) 0644 $(licensedir)/COPYING
|
||||||
|
|
||||||
install-pkgconfig:
|
install-pkgconfig:
|
||||||
- $(MKINSTALLDIRS) $(libdir)/pkgconfig
|
- $(MKINSTALLDIRS) $(libdir)/pkgconfig
|
||||||
- $(CP) sqlrelay-c.pc $(libdir)/pkgconfig/sqlrelay-c.pc
|
- $(CP) sqlrelay-c.pc $(libdir)/pkgconfig
|
||||||
- $(CHMOD) 0644 $(libdir)/pkgconfig/sqlrelay-c.pc
|
- $(CHMOD) 0644 $(libdir)/pkgconfig/sqlrelay-c.pc
|
||||||
- $(CP) sqlrelay-c++.pc $(libdir)/pkgconfig/sqlrelay-c++.pc
|
- $(CP) sqlrelay-c++.pc $(libdir)/pkgconfig
|
||||||
- $(CHMOD) 0644 $(libdir)/pkgconfig/sqlrelay-c++.pc
|
- $(CHMOD) 0644 $(libdir)/pkgconfig/sqlrelay-c++.pc
|
||||||
+ $(MKINSTALLDIRS) $(prefix)/libdata/pkgconfig
|
+ $(MKINSTALLDIRS) $(prefix)/libdata/pkgconfig
|
||||||
+ $(CP) sqlrelay-c.pc $(prefix)/libdata/pkgconfig/sqlrelay-c.pc
|
+ $(CP) sqlrelay-c.pc $(prefix)/libdata/pkgconfig/sqlrelay-c.pc
|
||||||
|
@ -17,3 +22,11 @@
|
||||||
|
|
||||||
uninstall: $(UNINSTALLSUBDIRS)
|
uninstall: $(UNINSTALLSUBDIRS)
|
||||||
$(RMTREE) $(libexecdir)
|
$(RMTREE) $(libexecdir)
|
||||||
|
@@ -63,7 +60,6 @@ uninstall-doc:
|
||||||
|
cd doc $(AND) $(MAKE) uninstall
|
||||||
|
|
||||||
|
uninstall-license:
|
||||||
|
- $(RMTREE) $(licensedir)
|
||||||
|
|
||||||
|
uninstall-pkgconfig:
|
||||||
|
$(RM) $(libdir)/pkgconfig/sqlrelay-c.pc \
|
||||||
|
|
|
@ -43,52 +43,57 @@ include/sqlrelay/sqlrclientwrapper.h
|
||||||
include/sqlrelay/sqlrserver.h
|
include/sqlrelay/sqlrserver.h
|
||||||
include/sqlrelay/sqlrutil.h
|
include/sqlrelay/sqlrutil.h
|
||||||
lib/libmysql3sqlrelay.so
|
lib/libmysql3sqlrelay.so
|
||||||
lib/libmysql3sqlrelay-0.60.so.1
|
lib/libmysql3sqlrelay-0.62.so.1
|
||||||
lib/libmysql3sqlrelay-0.60.so.1.0.0
|
lib/libmysql3sqlrelay-0.62.so.1.0.0
|
||||||
lib/libmysql40sqlrelay.so
|
lib/libmysql40sqlrelay.so
|
||||||
lib/libmysql40sqlrelay-0.60.so.1
|
lib/libmysql40sqlrelay-0.62.so.1
|
||||||
lib/libmysql40sqlrelay-0.60.so.1.0.0
|
lib/libmysql40sqlrelay-0.62.so.1.0.0
|
||||||
lib/libmysql41sqlrelay.so
|
lib/libmysql41sqlrelay.so
|
||||||
lib/libmysql41sqlrelay-0.60.so.1
|
lib/libmysql41sqlrelay-0.62.so.1
|
||||||
lib/libmysql41sqlrelay-0.60.so.1.0.0
|
lib/libmysql41sqlrelay-0.62.so.1.0.0
|
||||||
lib/libmysql50sqlrelay.so
|
lib/libmysql50sqlrelay.so
|
||||||
lib/libmysql50sqlrelay-0.60.so.1
|
lib/libmysql50sqlrelay-0.62.so.1
|
||||||
lib/libmysql50sqlrelay-0.60.so.1.0.0
|
lib/libmysql50sqlrelay-0.62.so.1.0.0
|
||||||
lib/libmysql51sqlrelay.so
|
lib/libmysql51sqlrelay.so
|
||||||
lib/libmysql51sqlrelay-0.60.so.1
|
lib/libmysql51sqlrelay-0.62.so.1
|
||||||
lib/libmysql51sqlrelay-0.60.so.1.0.0
|
lib/libmysql51sqlrelay-0.62.so.1.0.0
|
||||||
lib/libpqsqlrelay.so
|
lib/libpqsqlrelay.so
|
||||||
lib/libpqsqlrelay-0.60.so.1
|
lib/libpqsqlrelay-0.62.so.1
|
||||||
lib/libpqsqlrelay-0.60.so.1.0.0
|
lib/libpqsqlrelay-0.62.so.1.0.0
|
||||||
lib/libsqlrclient.a
|
lib/libsqlrclient.a
|
||||||
lib/libsqlrclient.so
|
lib/libsqlrclient.so
|
||||||
lib/libsqlrclient-0.60.so.1
|
lib/libsqlrclient-0.62.so.1
|
||||||
lib/libsqlrclient-0.60.so.1.0.0
|
lib/libsqlrclient-0.62.so.1.0.0
|
||||||
lib/libsqlrclientwrapper.a
|
lib/libsqlrclientwrapper.a
|
||||||
lib/libsqlrclientwrapper.so
|
lib/libsqlrclientwrapper.so
|
||||||
lib/libsqlrclientwrapper-0.60.so.1
|
lib/libsqlrclientwrapper-0.62.so.1
|
||||||
lib/libsqlrclientwrapper-0.60.so.1.0.0
|
lib/libsqlrclientwrapper-0.62.so.1.0.0
|
||||||
%%ODBC%%lib/libsqlrodbc.a
|
|
||||||
%%ODBC%%lib/libsqlrodbc.so
|
%%ODBC%%lib/libsqlrodbc.so
|
||||||
%%ODBC%%lib/libsqlrodbc-0.60.so.1
|
%%ODBC%%lib/libsqlrodbc-0.62.so.1
|
||||||
%%ODBC%%lib/libsqlrodbc-0.60.so.1.0.0
|
%%ODBC%%lib/libsqlrodbc-0.62.so.1.0.0
|
||||||
lib/libsqlrserver.a
|
lib/libsqlrserver.a
|
||||||
lib/libsqlrserver.so
|
lib/libsqlrserver.so
|
||||||
lib/libsqlrserver-0.60.so.1
|
lib/libsqlrserver-0.62.so.1
|
||||||
lib/libsqlrserver-0.60.so.1.0.0
|
lib/libsqlrserver-0.62.so.1.0.0
|
||||||
lib/libsqlrutil.a
|
lib/libsqlrutil.a
|
||||||
lib/libsqlrutil.so
|
lib/libsqlrutil.so
|
||||||
lib/libsqlrutil-0.60.so.1
|
lib/libsqlrutil-0.62.so.1
|
||||||
lib/libsqlrutil-0.60.so.1.0.0
|
lib/libsqlrutil-0.62.so.1.0.0
|
||||||
libdata/pkgconfig/sqlrelay-c++.pc
|
libdata/pkgconfig/sqlrelay-c++.pc
|
||||||
libdata/pkgconfig/sqlrelay-c.pc
|
libdata/pkgconfig/sqlrelay-c.pc
|
||||||
|
libexec/sqlrelay/sqlrauth_database.so
|
||||||
|
libexec/sqlrelay/sqlrauth_userlist.so
|
||||||
|
libexec/sqlrelay/sqlrfilter_patterns.so
|
||||||
|
libexec/sqlrelay/sqlrfilter_regex.so
|
||||||
|
libexec/sqlrelay/sqlrfilter_string.so
|
||||||
|
libexec/sqlrelay/sqlrresultsettranslation_reformatdatetime.so
|
||||||
|
libexec/sqlrelay/sqlrtranslation_normalize.so
|
||||||
%%FIREBIRD%%libexec/sqlrelay/sqlrconnection_firebird.so
|
%%FIREBIRD%%libexec/sqlrelay/sqlrconnection_firebird.so
|
||||||
%%FREETDS%%libexec/sqlrelay/sqlrconnection_freetds.so
|
%%FREETDS%%libexec/sqlrelay/sqlrconnection_freetds.so
|
||||||
%%MYSQL%%libexec/sqlrelay/sqlrconnection_mysql.so
|
%%MYSQL%%libexec/sqlrelay/sqlrconnection_mysql.so
|
||||||
%%ODBC%%libexec/sqlrelay/sqlrconnection_odbc.so
|
%%ODBC%%libexec/sqlrelay/sqlrconnection_odbc.so
|
||||||
%%PGSQL%%libexec/sqlrelay/sqlrconnection_postgresql.so
|
%%PGSQL%%libexec/sqlrelay/sqlrconnection_postgresql.so
|
||||||
%%SQLITE3%%libexec/sqlrelay/sqlrconnection_sqlite.so
|
%%SQLITE3%%libexec/sqlrelay/sqlrconnection_sqlite.so
|
||||||
libexec/sqlrelay/sqlrauth_default.so
|
|
||||||
libexec/sqlrelay/sqlrauth_sqlrelay.so
|
libexec/sqlrelay/sqlrauth_sqlrelay.so
|
||||||
libexec/sqlrelay/sqlrconnection_router.so
|
libexec/sqlrelay/sqlrconnection_router.so
|
||||||
libexec/sqlrelay/sqlrlogger_custom_nw.so
|
libexec/sqlrelay/sqlrlogger_custom_nw.so
|
||||||
|
|
Loading…
Add table
Reference in a new issue