which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support. Due to shlib
version change, bump port revisions of the consumer ports.
PR: 233059
Exp-run by: antoine
Approved by: maintainer (johans, numerous timeouts)
databases/sqlrelay: update 1.0.0 -> 1.0.1
rudiments:
- added support for EOT to codetree
- added loop-avoidance to xmldomevents class
- added alias support to codetree class
- replaced readline with libedit
- included implementation of history_truncate_file for versions of
libedit that don't provide it
- added --disable-wall and --disable-werror configure options
sqlrelay:
- updated sqlr-bench to create "db"-bench.png
- added edoc-generated API docs for the Erlang API
- updated some module-load error verbage
- added initial support for loading Oracle, SAP/Sybase, DB2, and Informix
libraries on-demand at runtime
- overhauled spec file
- fixed PDO driver for PHP 7 on 32-bit platforms
- added permissions to all open() with O_CREAT calls
- added --with-fortify configure option
- fixed a segfault on ctrl-D in sqlrsh
- fixed uncoordinated access to shared debugstr among listener threads
by using local instances instead
- added ping-loop to router connection module's logIn() method to manage
cases where routed-to instances are started after the router
- moved .../var/sqlrelay/tmp/*/* to .../var/run/sqlrelay
- added .sock extension to sockets, .ipc extension to ipc key files,
.pid extension to pid files, and .up extension to files which
indicate that the db is up
- changed mode of listener-connection sockets to 700 from 711
- moved .../var/sqlrelay/log to .../var/log/sqlrelay
- moved .../var/sqlrelay/cache to .../var/cache/sqlrelay
- libmysql*sqlrelay.so and libpqsqlrelay.so are no longer installed
- replaced sockseq-generated unix socket with pid-based unix socket
- updated ruby api to support unification of Fixnum and Bignum classes
into Integer class
- added --with-abs-max-connections configure script parameter
- increased default absolute max connections to 4096 (from 512)
- updated "can't open ... file" errors to mention user/group
- added SQLR_MYSQL_MAP_DATE_TO_DATETIME option to mysql drop-in
replacement library
- fixed normalize translation not to remove spaces before unary - and !
- updated sqlrsh to set error code correctly and write errors to stderr
- sqlr-cachemanager is no longer enabled at boot by default
- fixed another subtle bug in the ODBC driver that caused the first row
to be duplicated if columns were not bound
- added --disable-wall and --disable-werror configure options
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.
PR: 214780
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
databases/sqlrelay: 0.64 -> 0.65.0
rudiments:
- file::open sets errno=ENOENT if the file or path wasn't found on
Windows now
- fixed a bug with filedescriptor::printf when printing to non-buffered
files on Windows and Solaris 11
- fixed a bug that caused a crash in codetree if codeposition is NULL
- added missing dll export clause to codetreegrammar class
- added xmldomevents class
- added namespace discrimination in codetree::write
- fixed a codetree end-of-string-during-concatenation bug
- fixed a codetree tree reset bug
- fixed an xmlsax bug that caused text nodes with empty values to be
inserted between tag nodes when there is no text between tags
- added escapechar option to filedescriptor::read-until-terminator
methods
- added a generic securitycontext class and integrated it with
filedescriptor
- implemented GSS/SSPI and TLS/SSL children of securitycontext
- removed old SSL integration with filedescriptor
- updated inet/unixsocketclient to close() as the first step of connect()
- updated charstring::to(Unsigned)Integer-with-endptr methods to have
const char **endptr arguments
- updated configure script to find erlang on openbsd 5.8
- buffers allocated by vasprintf are free()'ed now rather than deleted
- fixed a commandline bug that could cause it to return the next
parameter for getValue() of a parameter with no value
- fixed connect()/useBlockingMode error masking bug
- removed -revision during link and adopted Semantic Versioning 2.0
- added pthread_create/EAGAIN retry
- added methods to configure and examine process::fork and thread::run
retry behavior
- thread methods test for invalid thread before operating on it now
- charstring::split doesn't crash if list or listlength are null now
- added debugprint header
- removed problematic thread::cancel() method
- added thread::runDetached() methods
- removed useBlockingMode() call in stdio constructor as is caused
problems with apps like Apache that actually need stdin/out/err
to be in non-blocking mode sometimes
sqlrelay:
- removed erroneous SQLR_SQLExecute export in ODBC driver
- fixed call type of internal ODBC driver functions and made them static
- fixed --disable-API flags in configure.vbs
- fixed bad user/password copy logic in ODBC SQLConnect function
- added missing default implementation of
sqlrservercursor::getColumnTypeName()
- added parser debug option
- normalize translation can convert foreign decimals now
- updated missing-tnsnames.ora warning
- updated sqlr-start and sqlr-scaler to run programs using fully
qualified path names
- fixed query timer in sqlrsh
- add timer="query/command" parameter to slowqueries logger
- added odbcversion parameter to ODBC connection
- updated erlang api to use the C++ compiler to link (for netbsd 7.0)
- added major-version check to node.js api for node 4.x+
- ODBC driver's SQLGetData can deal with NULL targetvalue now
- fixed normalize || bug
- fixed normalize bug that removed spaces around * for "all columns"
improperly
- removed freetds warning, modern sybase has different library file names
- updates to support python3
- added several --disable options to the configure script for unix/linux
- removed sqlr-fields/sqlr-query and updated sqlrsh to provide the same
functionality
- removed antiquated sqlrelay.dtd
- moved default example directory to share/sqlrelay/examples
- sqlrelay.conf example is installed under example directory now
- Python DB -> Python DB-API in the docs
- moved private members and support classes into C++ API's .cpp files
- removed -revision during link and adopted Semantic Versioning 2.0
- added missing get*List methods to Java API
- removed errant information_schema views from getTableList with mysql
- refactored listenertimeout to use timed semaphore ops and only fall
back to an alarm if the system doesn't support timed sem ops
and the instance isn't configured to use threads
- fixed inode-check in logger modules - works correctly with logrotate
- change "an error occurred" to "server closed connection" to reduce
false-positives from log analyzers - "real" errors will still
be reported elsewhere
- refactored the config file parser
- added support for kerberos authentication and encryption
- added krb_userlist auth module
- renamed "authentication" to "auth" (for authentication/authorization,
also matches module name prefix) in config file and docs
- removed an errant flushWriteBuffer after client auth
- moved debugprint stuff into rudiments
- added support for tls authentication and encryption
- added tls_userlist auth module
- fixed long-standing copyrefs bug
- when calling after-triggers, "success" flag is set correctly now
- fixed bug where after-triggers could mask failed queries
- added support for "before and after" triggers
- moved call to set stdinput to use blocking mode from
rudiments::stdiofiledescriptor to sqlrsh, as doing it in every
case caused problems with apps like Apache, which need
stdin/out/err to be in non-blocking mode sometimes (fixes bug
where PHP's that used the SQL Relay API would cause apache
workers to hang closing connections after a graceful restart)
- made auth_database module always re-login
- added auth_proxied module to support Oracle's (and potentially other
databases') n-tier/proxied authentication
- fixed a long-standing bug where passwords weren't checked when
switching between oracle n-tier authenticated users
databases/sqlrelay: 0.62 -> 0.63
0.53 - exposed codetreegrammar class and updated codetree class so that
successive parses/writes can use the same grammar without
having to reload it
added insert/appendXml(File) methods to xmldomnode to parse and
insert/append xml strings or files to a node
fixed FILE->fileno detection for solaris 11.2,
which doesn't have it at all
llabs() is detected and preferred to abs()
added partial xml namespace support (namespaces for tags)
added partial support for extended ascii character set to character
class
added setgroups() call before setuid() call to drop extraneous groups
updated rudiments-config man page, slightly
removed outdated and unused dtd class
updated file::resolveSymbolicLink() to use
directory::maxPathLength(filename) as a starting point
updated directory::getCurrentDirectory() to use
MAX_PATH as a starting point
serialport/serialportprofile, modemserver/modemclient classes are
disabled in the default build now
updated intro docs
0.63 - suppressed ruby configure warning
fixed glib detection if pkg-config isn't present
fixed mono detection on freebsd
fixed node.js yes/no misreport bug in configure script
added freetds tcl test
fixed slashes in tcl tests for windows
updated docs to mention firebird buffer size parameters
updated MAX_ITEM_BUFFER_SIZE to 32768 for firebird
fixed ruby detection on fedora 22
fixed missing export for setAuth/ResponseTimeout in ruby api
added manual include of inttypes.h in php api to work around issue with
define/undef games, revealed on openbsd 5.7
tweaked ruby cflags script for debian 8
refactored mysql detection
tweaked unixodbc detection to also look in /usr/include/odbc
renamed "oracle8" connection plugin to "oracle"
renamed "sybase" connection plugin to "sap"
updated identity tests in api's/cmdline clients to use
charstring::contains() rather than !charstring::compare()
implemented missing destructors for ADO.NET Data Provider
- 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
databases/sqlrelay: 0.59 -> 0.60
- Both packages are updated together.
- Lots of changes in devel/rudiments, see ChangeLog
- Fixes in sqlrelay:
o fixed true->false transposition in sqlrservercontroller::interceptQuery
that could lead to a reLogIn loop
o applied George Carrette's patch to fix PDO connectstring options
o migrated directory/file paths info into sqlrpaths class
o removed undocumented and not-so-relevent-these-days
o MAX_CONNECTIONS/overridemaxconnections failsafe in sqlr-start
o fixed java header detection for javac located in /usr/bin
o updated java api to support non-null-tolerant implementations of
environment::NewStringUTF()
o the perl api builds correctly on OSR5 again
o the postgresql sslmode is omitted entirely from the connect string now,
if it's disabled, to prevent problems with older versions of
postgresql that don't support the parameter at all
o mono 2.8 or greater is required now
o added a datedelimiters attribute to the instance tag in sqlrelay.conf
to limit what date delimiters are used when translating dates
o re-added mssqlserver detection, which had been accidentally removed
o fixed statically-linked build
o fixed mysql lob field bug that could cause a crash
0.59 - updated docs, removed some Cygwin-specific info
added support for login warnings
made bind variable buffers dynamic on the client side
added maxbindvars parameter on the server side
binding a NULL to an integer works with db2 now
moved getting started with DB docs into the cloud
added a semaphore to ensure that the listener doesn't hand off the
client to the connection until the connection is ready,
elimiating a race condition on the handoff socket that could
occur if the connection timed out waiting for the listener
just after the listener had decided to use that connection
oracle temp tables that need to be truncated at the end of the session
are truncated with "truncate table xxx" now rather than
"delete from xxx"
oracle temp tables that need to be dropped at the end of the session
are truncated first, rather than the connection re-logging in
an ora-14452 error (basically indicating that a temp table can only be
dropped after being truncated, or if the current session ends)
does not automatically trigger a re-login any more
updated cachemanager to use directory::read() directly instead of
directory::getChildName(index)
added cache and opencache commands to sqlrsh
made cache ttl a 64-bit number
added enabled="yes"/"no" parameter to logger modules
updated odbc connection code to use new/delete and rudiments methods
rather than malloc/free and native calls
retired Ruby DBI driver
fixed command line client crash when using -id "instance" with an
instance that uses authtier="database"
fixed bugs that could make reexecuted db2 selects fail and cause a
database re-login loop
tweaked spec file to remove empty directories on uninstall
fixed typo that could sometimes cause a listener crash
postgresql and mdbtools return error code of 1 rather than 0 for all
errors now
tweaked odbc driver to work with Oracle Heterogenous Agent (dblinks)
fixed bugs related to autocommit with db's that support transaction
blocks
implemented the ODBC driver-manager dialog for windows
updated windows installer to install ODBC registry settings
ODBC driver copies references now
fixed various bugs in sqlrconfigfile that caused sqlr-start with no
-id to crash or behave strangely sometimes
refactored build process to use nmake and be compatible with many
different versions of MS Visual Studio
updated the slow query logger to show the date/time that the query
was executed
consolidated c, c++ and server source/includes down a few levels
implemented column-remapping for get db/table/column commands to
enable different formats for mysql, odbc, etc.
odbc connection correctly returns database/table lists now
added support for maxselectlistsize/maxitembuffersize to MySQL
connection
updated mysql connection to fetch blob columns in chunks and not be
bound by maxitembuffersize
fixed a misspelling in sqlrelay.dtd
swapped order of init directory detection, looking for /etc/init.d
ahead of /etc/rc.d/init.d to resolve conflict with dkms on
SuSE Enterprise
C# api and tests compile and work under Mono on unix/linux now
sqlr-start spawns a new window on Windows now
added global temp table tracking for firebird
added droptemptables parameter for firebird
added globaltemptables parameter for oracle and firebird
updated mysql connection to allow mysql_init to allocate a mysql
struct on platforms that support mysql_init, rather than
using a static struct
fixed subtle noon/midnight-related bugs in date/time translation
updated mysql connection to get affected rows when not using the
statement api
updated mysql connection not to use the statement API on windows,
for now
disabled mysql_change_user, for now
fixed blob-input binds on firebird
- Add support for STAGEDIR [1]
- Update databases/sqlrelay to 0.52 (fixes build with new devel/rudiments)
- Remove leading article from COMMENT
- Add support for STAGEDIR
- Remove GTK1 option - no longer available feature
- Rename INTERBASE option to FIREBIRD (globally defined)
- Rename SQLITE2 to SQLITE3 as dependency changed to databases/sqlite3
- Use options substitutions, sort plist
PR: ports/181880 [1]
Submitted by: KATO Tsuguru <tkato432@yahoo.com>