head 1.2; access; symbols pkgsrc-2016Q2:1.1.0.8 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.6 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.4 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.2 pkgsrc-2015Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2016.07.01.17.02.39; author fhajny; state dead; branches; next 1.1; commitid rNWqTGm4CjPQKDcz; 1.1 date 2015.09.21.17.46.36; author fhajny; state Exp; branches; next ; commitid Vz4iyWh6Hbw289Cy; desc @@ 1.2 log @Update databases/sqlrelay to 0.65.0 - SQL Relay now supports Kerberos encryption and authentication - SQL Relay now supports TLS/SSL encryption and authentication - Python 3 support - Node.js 4.x and higher are now correctly detected and supported. - Separate "database" and "proxied" Authentication Options - Various ODBC-related bugs have been fixed - A subtle bug that caused incompatibilities with the popular logrotate utility has been fixed - A long standing problem that occurred when using a listenertimeout with a threaded listener (the default) has been fixed. - After a graceful restart, Apache workers would get stuck in the Closing Connection state after running a PHP script that used SQL Relay. This is now fixed. See full changelog: http://software.firstworks.com/2016/03/sql-relay-0650-release-announcement.html @ text @$NetBSD: patch-src_api_nodejs_sqlrelay.cpp,v 1.1 2015/09/21 17:46:36 fhajny Exp $ Add support for nodejs>=4.0.0. --- src/api/nodejs/sqlrelay.cpp.orig 2015-07-05 02:55:20.000000000 +0000 +++ src/api/nodejs/sqlrelay.cpp @@@@ -13,7 +13,7 @@@@ using namespace v8; using namespace node; // macros to deal with differences between major versions of node.js -#if NODE_MINOR_VERSION >= 12 +#if NODE_MAJOR_VERSION >= 4 || ( NODE_MAJOR_VERSION < 1 && NODE_MINOR_VERSION >= 12 ) #define RET void #define ARGS FunctionCallbackInfo @@@@ -84,7 +84,7 @@@@ using namespace node; #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(arg))) #define toArray(arg) Handle::Cast(arg); -#if NODE_MINOR_VERSION >= 12 +#if NODE_MAJOR_VERSION >= 4 || ( NODE_MAJOR_VERSION < 1 && NODE_MINOR_VERSION >= 12 ) #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) #else @ 1.1 log @Fix build of databases/sqlrelay-nodejs by adding nodejs>4 support. @ text @d1 1 a1 1 $NetBSD$ @