./databases/unixodbc, ODBC 2.x/3.x driver manager

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.2, Package name: unixodbc-2.3.2, Maintainer: pkgsrc-users

The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.


Required to run:
[devel/readline] [devel/libltdl]

Master sites:

SHA1: f84520fd58143625b614fde551435178a558ee2e
RMD160: 023122427bd8bdabdbfddf727d16210bb32c60f3
Filesize: 1805.833 KB

Version history: (Expand)


CVS history: (Expand)


   2015-04-26 13:37:08 by Ryo ONODERA | Files touched by this commit (10) | Package updated
Log message:
Update to 2.3.2

* Bump BUILDLINK_API_DEPENDS.

Changelog:
8th-October-2013
2.3.2

    * The logging of WStrings was using the incorrect length in some cases
    * Pass SQLDescribeCol call to driver when in state 2 (not a cursor spec).
    * Pass SQLMoreResults call to driver when in state 2 (not a cursor spec).
      Both the last two changes are not as per the original book state table
      but allign with the current MS driver manager
    * The -e option to isql got lost somewhere. Back in now
    * Update install-sh
    * SQLCancel assumed that the DM was being built with thread support
    * Try and speed up SQLTransact and SQLEndTran operation
    * Add missing \ in Postgres7.1 Makefile
    * Correct some potential buffer overflows
    * Handle SQL_NEED_DATA from a SQLMoreResults
    * Get the local charset via nl_langinfo(CODESET) when asking the DM to do \ 
ASCII-UNICODE conversions
    * Handle (and remove) leading spaces from ini entries
    * Fixed unicode conversion problems in SQLGetDiagField(W)
    * missing terminating null in iusql
    * add to the list of errno states that does not cause a create of the ini file
    * SQLSetConnactAttr() -> SQLSetConnectAttrW() was passing incorrect \ 
string length
    * Fix double free in SQLGetDiagFieldW
    * Fix Unicode/Ansi conversion problem in SQLGetDiagFieldW.c
    * Add support for Driver64 in SQLDriverConnectW
    * Add missing unicode setting when returning a connection to the pool
    * Tidy up leaking iconv handles if connect_part_one fails
    * Fix (and avoid) some out of memory problems
    * Wrap lt_dlinit and dlerror in the lib mutex
    * Add slencheck executable to try and find the sizeof(SQLLEN) from a \ 
installed driver
    * SQL_NO_DATA after SQL_STILL_EXECUTING in SQLExtendedFetch was not setting \ 
the state correctly
    * A little more 3.80 stuff being added
    * Added fixes found by coverity
    * Added man pages
    * Patches to update VMS build
    * Change mutex protection around release_env
    * Altered strlen to be count of bytes in SQLGetDiagFieldW
    * Add check for W function support in do_attr
    * Allow SQLDrivers to return attribute length with no supplied buffer

26th-November-2011
2.3.1

    * Change type definition of a integer in SQLConnect.c, just to avoid
      confusion
    * Allow setting the DM overrive values in the connection string to \ 
SQLDriverConnect
      for example
      "DRIVER={Easysoft ODBC-SQL \ 
Server};Server=myserver;UID=user;PWD=pass;DMStmtAttr=SQL_QUERY_TIMEOUT=10;"
    * Error and info message order was being inverted by the driver manager
    * Fix memory leak in SQLDriverConnect.c (Thanks JM)
    * The keyword matching for DRIVER=, DSN= etc was case sensitive. Make it \ 
insensitive now
    * Avoid sprintf NULL pointer problem in SQLGetDiagRec
    * Fix typo affecting the pooling of connections, (thanks Chris)
    * Fix SunCC _mcount problem
    * Attempt to stamp version info on the libs generated. There are aps in use \ 
linked against other
      driver managers that expect VERS_3.52
    * Fix potential buffer overrun when using SAFEFILE
    * Fix mutex problem in the exit from __SQLGetInfo (thanks Richard)
    * Allow getting SQL_DM_VER via SQLGetInfo before connecting to a driver
    * Generate unixodbc_conf.h using macros to allow cross compiling
    * Fix some libltdl problems
    * Fix some naming problems with the cursor lib
    * Fix odbcinst problems on systems without pwd.h
    * Change lib version to 2 to reflect SQLLEN changes in v2.3
    * Fix threading problem (thanks Petr Vandrovec)
    * Allow use of lib name in a DRIVER= connection string
    * Change default threading protection to 0, most drivers should be thread
      safe by now. If the driver is at all thread safe, allow SQLCancel to bipass the
      interlock.
    * Performance change to handle large numbers of connection and statement \ 
handles better.
      Thanks for the change from the folks at Acision.
    * Add -k option to isql to treat the DSN as a connection string and use \ 
SQLDriverConnect
        isql -k "DSN=server;UID=test;PWD=test"
    * Couple of the SQLSetConnactAttr values are now SQLULEN instead of SQLUINTEGER
    * SQLSetConnectAttr was passing a char length instead of a byte length into the
      Driver SQLSetConnectAttr when converting from Ansi->Unicode
    * Driver version was not being held when a second connection was made to the \ 
driver
   2012-10-02 23:25:56 by Aleksej Saushev | Files touched by this commit (323)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2012-03-15 15:54:09 by David Brownlee | Files touched by this commit (1)
Log message:
iodbc 3.52.7nb2 needed for conflict free life
   2012-03-15 13:58:38 by David Brownlee | Files touched by this commit (1) | Package updated
Log message:
Update CONFLICTS to iodbc<3.52.7nb1
   2011-03-11 16:18:43 by Matthias Drochner | Files touched by this commit (3)
Log message:
add patch from upstream to fix possible buffer overflow (CVE-2011-1145)
bump PKGREV
   2011-01-19 00:12:29 by Georg Schwarz | Files touched by this commit (1)
Log message:
added libraries required to build on Solaris
   2010-05-10 18:52:23 by Takahiro Kambe | Files touched by this commit (1)
Log message:
It seems that unixODBC 2.3.0 dosen't build drivers/driver-conf
modules default and PLIST broken now.

So, specify some configure option to build as before.
   2010-05-03 04:10:44 by John Nemeth | Files touched by this commit (14) | Package updated
Log message:
Update to unixODBC 2.3.0:

2.3.0

	* Try and rationalise the way the connection process find the driver
	  version and supported functions
	* Sort out problem in isql with blank lines
	* Stop libthread from being used under AIX
	* Move the GUI parts off into a new project
		http://sourceforge.net/projects/unixodbc-gui-qt/
	* Strip out the GUI parts. I have also removed the spec files
	  as they will need redoing,
	* Move the Test parts off into a new project
		http://sourceforge.net/projects/unixodbc-test/
	* Add interface into odbcinstQ to allow for a dialog if SQLDriverConnect
	  is called without a DSN= (as the MS spec)
	* Allow the setting of a default Threading level in the ODBC section
          of odbcinst.ini
        * Change double format string in Postgre7.1 driver
	* Add missing CR to output of odbcinst
	* add fixes to MiniSQL driver
	* Add missing .y in nn driver, now I need to get it to work
    * Assoured bux fixes and format problems, thanks Tom
	* SQLBindCol on metadata calls was incorrectly going via the cursor lib if it
	* fix isql problem with nested definitions.
	  was enabled
	* Add configure option to enable building of driver config libs
	* Shift build to using config.h, the compile lines were so big it was hard to
	  see warnings
	* Fix bug in isql when using -b option.
    * Check attribute values when setting connection and statement attrs
    * Check for valid pointers in SQLGetInfo(W) and SQLGetFunctions
    * Add extra checks for states in SQLCopyDesc
    * Add --enable-stricterror option to allow compliance with the error reporting
      definition, driver errors don't have the unixODBC prefix
    * Check for statements in the NEED_DATA state when calling SQLEndTran
    * Extra error check for SQLPutData
    * Check handle type in SQLEndTran
    * Prevent seg fault if there are no driver error functions
    * the -n option to isql was not working correctly
    * Stripped out all the bespoke LDTL configure stull, not just what libtoolize
      provides
    * Fix problem where ansi_to_unicode_alloc didn't leave space for the NULL
      and could cause memory corruption
    * Add the ODBC 3.80 additions that MS have produced. I am sure I remember
      the standard being given to XOpen, what do I know :-)
    * Change the file open mode for the ini file from w to w+ just in case the
      original open failed but the file did exist
    * Fix configure problem preventing the CHAR encoding from being passed
    * Remove white spave from ini write, not all drivers use unixODBC ini functions
      and can handle the spaces
    * Update config.guess to current GNU version including support for AIX6
    * Create SVN repository at sourceforge
    * Add cast to fix problem in SQLSetConnectOption
    * Fix SQLINTEGER<->SQLLEN conversion broblem in SQLNativeSQL
    * Fix bug that stopped setting SQL_ATTR_CONCURRENCY to SQL_CONCUR_VALUES
    * Change minor version number because of the SQLLEN change
    * Remove unintended trailing white space from log generation