From 7962caf263dd651e3741207a8be360730cdbde80 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Sun, 3 Apr 2016 10:17:44 +0000 Subject: devel/rudiments: 0.54 -> 0.55.0 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/files/patch-Makefile | 12 ++++++------ databases/sqlrelay/files/patch-config.mk.in | 6 +++--- databases/sqlrelay/files/patch-etc_Makefile | 28 +++++++++++++--------------- 3 files changed, 22 insertions(+), 24 deletions(-) (limited to 'databases/sqlrelay/files') diff --git a/databases/sqlrelay/files/patch-Makefile b/databases/sqlrelay/files/patch-Makefile index e5b34a14f234..d6de7352b485 100644 --- a/databases/sqlrelay/files/patch-Makefile +++ b/databases/sqlrelay/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2015-08-05 21:07:34 UTC +--- Makefile.orig 2016-01-17 07:20:04 UTC +++ Makefile @@ -30,16 +30,13 @@ install-doc: cd doc $(AND) $(MAKE) install @@ -10,10 +10,10 @@ install-pkgconfig: - $(MKINSTALLDIRS) $(libdir)/pkgconfig -- $(CP) sqlrelay-c.pc $(libdir)/pkgconfig -- $(CHMOD) 0644 $(libdir)/pkgconfig/sqlrelay-c.pc -- $(CP) sqlrelay-c++.pc $(libdir)/pkgconfig -- $(CHMOD) 0644 $(libdir)/pkgconfig/sqlrelay-c++.pc +- $(CP) sqlrelay-c.pc $(libdir)/pkgconfig/$(SQLRELAY)-c.pc +- $(CHMOD) 0644 $(libdir)/pkgconfig/$(SQLRELAY)-c.pc +- $(CP) sqlrelay-c++.pc $(libdir)/pkgconfig/$(SQLRELAY)-c++.pc +- $(CHMOD) 0644 $(libdir)/pkgconfig/$(SQLRELAY)-c++.pc + $(MKINSTALLDIRS) $(prefix)/libdata/pkgconfig + $(CP) sqlrelay-c.pc $(prefix)/libdata/pkgconfig/sqlrelay-c.pc + $(CHMOD) 0644 $(prefix)/libdata/pkgconfig/sqlrelay-c.pc @@ -29,4 +29,4 @@ - $(RMTREE) $(licensedir) uninstall-pkgconfig: - $(RM) $(libdir)/pkgconfig/sqlrelay-c.pc \ + $(RM) $(libdir)/pkgconfig/$(SQLRELAY)-c.pc \ diff --git a/databases/sqlrelay/files/patch-config.mk.in b/databases/sqlrelay/files/patch-config.mk.in index 305ecb069242..93698b9d6f47 100644 --- a/databases/sqlrelay/files/patch-config.mk.in +++ b/databases/sqlrelay/files/patch-config.mk.in @@ -1,11 +1,11 @@ ---- config.mk.in.orig 2015-05-07 19:42:23 UTC +--- config.mk.in.orig 2016-03-24 00:59:48 UTC +++ config.mk.in -@@ -8,7 +8,7 @@ prefix = @prefix@ +@@ -11,7 +11,7 @@ prefix = @prefix@ exec_prefix= @exec_prefix@ includedir = @includedir@ libdir = @libdir@ -javadir = ${exec_prefix}/java +javadir = ${exec_prefix}/share/java/classes dotnetdir = $(libdir) - libexecdir = @libexecdir@/sqlrelay + libexecdir = @libexecdir@/$(SQLRELAY) bindir = @bindir@ diff --git a/databases/sqlrelay/files/patch-etc_Makefile b/databases/sqlrelay/files/patch-etc_Makefile index 28f26beab443..97b0525ba692 100644 --- a/databases/sqlrelay/files/patch-etc_Makefile +++ b/databases/sqlrelay/files/patch-etc_Makefile @@ -1,23 +1,21 @@ ---- etc/Makefile.orig 2015-05-07 19:44:34 UTC +--- etc/Makefile.orig 2016-01-28 19:28:21 UTC +++ etc/Makefile -@@ -4,13 +4,13 @@ include ../config.mk +@@ -3,11 +3,13 @@ top_builddir = .. + include ../config.mk install: - $(MKINSTALLDIRS) $(sysconfdir) -- $(MKINSTALLDIRS) $(sysconfdir)/sqlrelay.conf.d -- $(CP) sqlrelay.conf.example $(sysconfdir) -- $(CHMOD) 644 $(sysconfdir)/sqlrelay.conf.example -- $(CP) sqlrelay.dtd $(sysconfdir) -- $(CHMOD) 644 $(sysconfdir)/sqlrelay.dtd -- $(CP) sqlrelay.xsd $(sysconfdir) -- $(CHMOD) 644 $(sysconfdir)/sqlrelay.xsd +- $(MKINSTALLDIRS) $(sysconfdir)/$(SQLRELAY).conf.d +- $(CP) sqlrelay.xsd $(sysconfdir)/$(SQLRELAY).xsd +- $(MKINSTALLDIRS) $(EXAMPLEDIR) +- $(CP) sqlrelay.conf $(EXAMPLEDIR)/$(SQLRELAY).conf +- $(CHMOD) 644 $(EXAMPLEDIR)/$(SQLRELAY).conf + $(MKINSTALLDIRS) $(sysconfdir)/sqlrelay -+ $(CP) sqlrelay.conf.example $(sysconfdir)//sqlrelay/conf.sample ++ $(CP) sqlrelay.conf $(sysconfdir)//sqlrelay/conf.sample + $(CHMOD) 644 $(sysconfdir)/sqlrelay/conf.sample -+ $(CP) sqlrelay.dtd $(sysconfdir)/sqlrelay/ -+ $(CHMOD) 644 $(sysconfdir)/sqlrelay/sqlrelay.dtd + $(CP) sqlrelay.xsd $(sysconfdir)/sqlrelay/ + $(CHMOD) 644 $(sysconfdir)/sqlrelay/sqlrelay.xsd - $(CP) sqlrelay.conf.example $(EXAMPLEDIR)/sqlrelay.conf - $(CHMOD) 644 $(EXAMPLEDIR)/sqlrelay.conf ++ $(CP) sqlrelay.conf $(EXAMPLEDIR)/sqlrelay.conf ++ $(CHMOD) 644 $(EXAMPLEDIR)/sqlrelay.conf + uninstall: + $(RM) $(EXAMPLEDIR)/$(SQLRELAY).conf \ -- cgit v1.2.3