Commit graph

43 commits

Author SHA1 Message Date
adam
26de9fa5af unixodbc: updated to 2.3.9
2.3.9
Fix that broke several driver builds. Sorry

2.3.8
Add configure support for editline
SQLDriversW was ignoring user config
SQLDataSources Fix termination character
Fix for pooling seg fault
Make calling SQLSetStmtAttrW call the W function in the driver is its there
Try and fix race condition clearing system odbc.ini file
Remove trailing space from isql/iusql SQL
When setting connection attributes set before connect also check if the W entry poins can be used
Try calling the W error functions first if available in the driver
Add iconvperdriver configure option to allow calling unicode_setup in SQLAllocHandle
iconv handles was being lost when reusing pooled connection
Catch null copy in iniPropertyInsert
Fix some leaks
2020-09-14 17:46:39 +00:00
rillig
b5d5f49142 databases/unixodbc: skip check for unknown configure options 2020-05-13 03:27:27 +00:00
rillig
c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00
adam
a28e99c721 unixodbc: updated to 2.3.7
2.3.7:
Fix for pkg-config file update on no linux platforms
Add W entry for GUI work
Various fixes for SQLBrowseConnect/W, SQLGetConnectAttr/W,and SQLSetConnectAttr/W
Fix buffer overflows in SQLConnect/W and refine behaviour of SQLGet/WritePrivateProfileString
SQLBrowseConnect/W allow disconnecting a started browse session after error
Add --with-stats-ftok-name configure option to allow the selection of a file name used to generate the IPC id when collecting stats. Default is the system odbc.ini file
Improve diag record handling with the behavior of Windows DM and export SQLCancelHandle
Bug fix when SQLGetPrivateProfileString() is called to get a list of sections or a list of keys
Connection pooling: Fix liveness check for Unicode drivers
2018-08-14 13:04:24 +00:00
adam
cee8649121 unixodbc: updated to 2.3.6
2.3.6:
Single bug fix that ws a possible security issue so I have pushed a version out.
Fix order of arguments in SQLWriteFileDSN.c, fix unwanted free() in iusql.c
Add pkg-config files
2018-04-14 08:26:34 +00:00
wiz
ee493c2ac1 unixodbc: update to 2.3.5.
2-Jan-2018
2.3.5

    * Add configure option --enable-setlibversion set mark the libs with VERS_3.52
      Linux only, so any driver built with the libs will work with closed source
      DM's
    * Add persistent storage of isql command line history if readline() is used (thanks Axel)
    * Rename some local mutex functions to avoid name clashes
    * Assorted fixes (Thanks Markus * 2)
    * Fix regression in ini caching
    * Make SQLDrivers look in user as well as system odbcinst.ini for driver attributes
    * If in use, clear the ini cache when a write is done via SQLWritePrivateProfileString() so
      the new value is read
    * Fix problem with pooling if the environment was released by the application
    * Add check for SQL_COLUMN_COUNT in SQLColAttribute
    * isql would not display long error messages. Fixed now.
    * Fix problem calling the driver to report errors if the error is from the DM and the driver
      has not been called
    * SQLSetConnectAttrW crashes when attempting to set SQL_ATTR_LOGIN_TIMEOUT
    * Buffer overflow in unicode_to_ansi_copy()
    * SQLDriverConnect with not-found FILEDSN causes crash
    * SQLGetDescRec with null name pointer causes crash
    * Connection string escaping does not work
    * SQLDriverConnect/W with very long driver name causes crash
    * Connection string with trailing empty value causes crash
    * Freeing explicitly allocated descriptor results in writing to freed memory
    * Buffer overflows and missing null checks in SQLConfigDataSource, SQLInstallDriverEx, and SQLWriteFileDSN
    * Statement enters incorrect state upon SQLExecDirectW returning SQL_NO_DATA
    * SQLBulkOperations fails to exit async state after success
    * SQLFreeStmt causes prepared statements in S1 or S2 to erroneously transition to S3
    * Buffer length fixes for SQLGetDiagField
    * SQLSetConnectAttrW and Unicode string pre-connect attributes do not work
    * SQLGetData and SQLSetPos async states are incorrect
    * Various string conversion and length issues in SQLColAttribute(s)
    * Missing buffer length check in SQLColAttribute(s)W
    * SQLGetStmtAttr state handling incorrect in S5, S6, and S7 (via SQLExtendedFetch)
    * SQLSetPos and SQLExtendedFetch state management fixes
    * SQLExecDirect/W erroneous transition to S1 upon error in S5
    * Async SQLGetData and SQLExecDirect/W fails to restore state upon cancellation
    * SQLFetchScroll cannot move cursor back into the rowset
    * SQLSetDescField doesn't adjust the length of the buffer when converting to unicode
    * SQLGetDescField/W and SQLSetDescField/W do not check for negative buffer lengths
    * SQLSetStmtAttrW SQL_ATTR_APP_PARAM_DESC and SQL_ATTR_APP_ROW_DESC does not accept null
    * SQLGetData async state reentrancy issues
    * SQLDriversW off-by-one in enumerating driver list
    * SQLPrimaryKeys does not pass length in characters to driver
    * SQLGetConnectAttr with string attributes truncates to half buffer length
    * SQLTransact with autocommit enabled erroneously changes statement state
    * SQLDataSources/W fails to reset list position upon end
    * SQLGetEnvAttr successfully returns unset SQL_ATTR_ODBC_VERSION
    * Lack of SQL_HANDLE_SENV support
    * SQLAllocEnv fails to set environment version correctly
    * SQLMoreResults with streamed output parameters returns unexpected HY010
    * Custom pre-connect pointer attributes are truncated to 32 bits
    * 08003 message should be "Connection not open"
    * SQL_ATTR_ACCESS_MODE set using SQLSetConnectOption/W before connecting does not persist after disconnecting
    * SQL_ATTR_AUTOCOMMIT incorrect default value before connecting
    * SQL_AUTOCOMMIT set using SQLSetConnectOption/W before connecting does not persist after disconnecting
    * SQLAllocHandle/SQLFreeHandle with invalid handle type should return SQL_INVALID_HANDLE
    * SQLAllocHandleStd not setting ODBC version correctly
    * SQLBindParameter does not ignore BufferLength for DAE parameters
    * SQLBindParameter does not ignore BufferLength for fixed-length parameters
    * SQLBindParameter returns "Invalid application buffer type" instead of " Program type out of range"
    * SQLCancel with 01S05 returned from driver should result in SQL_SUCCESS, not SQL_SUCCESS_WITH_INFO
      (see https://msdn.microsoft.com/en-us/library/aa392708(v=vs.85).aspx )
    * SQLColAttribute/SQLColAttributes should return number of bytes needed for Unicode string when truncating
    * SQLColumnPrivileges/W differing error message precedence from Windows DM and order in ODBC spec
    * SQLColumns/W extraneous checks on null string's length
    * SQLCopyDesc does not copy descriptors across connections correctly
    * SQLDescribeParam extraneous checks for state
    * SQLDriverConnect/W adds extraneous DM prefix to diagnostic messages
    * SQLDriversW before ODBC version set returns incorrect SQLSTATE
    * SQLFetch in state S7 does not return error from DM
    * SQLFetchScroll missing check for SQL_FETCH_BOOKMARK
    * SQLForeignKeys/W missing check for null table names
    * SQLGetConnectAttr/W erroneously retrieves attributes with no default (SQL_ATTR_PACKET_SIZE, SQL_ATTR_QUIET_MODE)
    * SQLGetConnectAttr/W fails to get some set attributes before connecting
    * SQLGetConnectAttr/W fails to retrieve set attributes with no connection
    * SQLGetConnectAttrW returns incorrect value for SQL_ATTR_TRACE
    * SQLGetConnectOption/W cannot retrieve SQL_ODBC_CURSORS before connection
    * SQLGetConnectOption/W fails to retrieve SQL_LOGIN_TIMEOUT before connecting
    * SQLGetConnectOption/W fails to retrieve SQL_ATTR_ACCESS_MODE set with SQLSetConnectOption/W
    * SQLGetData and SQLSetPos async states are incorrect
    * SQLGetData missing check for cursor end indication; SQLSetCursorName/W fails to clear previous diagnostic records
    * SQLGetDiagField/W does not check record number for SQL_DIAG_ROW_COUNT and SQL_DIAG_DYNAMIC_FUNCTION_CODE
    * SQLGetDiagField/W missing check for negative buffer length for string fields
    * SQLGetDiagField/W inconsistent handling of statement-only diagnostic fields
    * SQLGetInstalledDrivers off-by-one length
    * SQLGetStmtOption various state handling issues
    * SQLSetConnectAttr/W SQL_ATTR_CURRENT_CATALOG extraneous check with error 24000
    * SQLSetConnectAttr/W does not prevent attempts to set ODBC 3.x statement attributes
    * SQLSetConnectAttr/W with null string attributes causes crash
    * SQLSetConnectOption passes SQL_ATTR_TRACEFILE to the driver
    * SQLSetConnectOption/W or SQLSetConnectAttr/W missing validity checks for SQL_ATTR_TXN_ISOLATION
    * SQLSetConnectOption/W setting SQL_ATTR_TRACEFILE to null results in different error
    * SQLSetCursorName/W missing checks for negative name length
    * SQLSetDescField/W missing check for negative SQL_DESC_COUNT
    * SQLSetParam missing various error checks for invalid data types and buffer
    * SQLSetPos does not check for state S5
    * SQLSetPos missing checks in state S7
    * SQLSetScrollOptions various state handling issues
    * SQLSetStmtOption/W missing check for positive rowset sizes
    * SQLSpecialColumns/W error precedence differs from Windows DM
    * SQLSpecialColumns/W incorrect check for SQL_NTS string lengths
    * SQLStatisticsW uniqueness parameter missing validation
    * SQLTablePrivileges/W extraneous checks on null string's length
    * Various issues with SQLGetFunctions
    * Various string conversion and length issues in SQLColAttribute; missing buffer length check in SQLColAttributeW
    * As above, but for SQLColAttributes and SQLColAttributesW; incorrect check for SQL_COLUMN_COUNT
    * Setting SQL_ATTR_TRACEFILE to null value results in different error
    * check_target_type allows driver-specific C data types for ODBC < 3.8
    * fix empty SQL_DIAG_SERVER_NAME field in DM-supplied diag recs
    * fix differing behaviour for an empty string DSN in SQLConnect/W
    * Alter isql to return errors from SQLMoreResults
    * Handle case of building on mingw-w64
2018-01-10 23:07:01 +00:00
jperkin
aa295ed10f Don't redefine mutex_exit(). Switch subst stage to pre-configure. 2016-02-14 10:19:22 +00:00
adam
dc543d28b3 Changes 2.3.4:
Single bug fix. There was a typo in 2.3.3 that caused a problem loading the cursor lib, so I have pushed a new build out.
2015-10-25 08:18:00 +00:00
ryoon
2f732e1367 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
2015-04-26 11:37:07 +00:00
asau
354ee694fd Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 21:25:15 +00:00
abs
767c2e2564 iodbc 3.52.7nb2 needed for conflict free life 2012-03-15 14:54:09 +00:00
abs
911ad6756c Update CONFLICTS to iodbc<3.52.7nb1 2012-03-15 12:58:38 +00:00
drochner
64f7e5f880 add patch from upstream to fix possible buffer overflow (CVE-2011-1145)
bump PKGREV
2011-03-11 15:18:43 +00:00
schwarz
71588919fb added libraries required to build on Solaris 2011-01-18 23:12:29 +00:00
taca
e205c89657 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-10 16:52:22 +00:00
jnemeth
df758f2275 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
2010-05-03 02:10:43 +00:00
joerg
d0278d538d Recursive bump for libltdl 2009-12-15 21:30:51 +00:00
taca
c0c823f8bc Try to fix some pthread problems detected on NetBSD 4.0_STABLE
(and may be later).

* When connecting a SQL server, isql crashed.

	isql: Error detected by libpthread: Unlocking unlocked mutex.

* Setting "Threding = 0" in odbcinst.ini, isql crashed when closing
  connection to a SQL server.

	isql: Error detected by libpthread: Destroying locked mutex.

I've checked mutex handling and created patches.

Bump PKGREVISION.
2009-10-21 04:21:27 +00:00
taca
098cd572d0 Install include/unixodbc_conf.h to make include/sql.h header usable.
Bump PKGREVISION since PLIST has changed.
2009-10-19 08:37:39 +00:00
taca
6076eb7dc0 Update unixodbc pakcage to 2.2.14, adding LICENSE.
19th-Nov-2008
2.2.14

	* missing protype in 2.2.13 made the build fail on some platforms

18th-Nov-2008
2.2.13

	* There was a mutex around iconv that needed adding. Without this,
 	  there was a potential thread problem
	* Fix problem with SQLGetDiagRec/Field returning double driver
	  errors
	* odbctest was using the wrong handle for SQLGetConnectOption
	* remove startup thread race condition
	* fix descriptor memory leak with UNICODE only drivers (thanks Ian)
	* Alter the default 64bit build mode, and change the flag to
	  BUILD_LEGACY_64_BIT_MODE
	* Fix a couple of 64bit problems
	* create unixodbc_conf.h on install to contain compile settings
	* Allow the GUI parts to build with qt4
	* try and deal with drivers that call internal W functions and
	  end up in the driver manager (informix for example). Enabled
	  by --enable-handlemap=yes when configuring
	* Fix leak of iconv handles
	* Allow the setup API to call through to the wide driver functions
	* Fix potential seg fault in SQLGetPrivateProfileString
	* Fix a couple of broken casts, and some MS 64bit changes
	* Add check for postgres driver getting into a spin wait
	* Fix logging that reported the setting of env attrs failing
	* Add isql option to wrap strings with quotes
	* Add isql option -3 to make isql use ODBC 3 calls instead of 2
	* Add timestamp to logging output
	* Pull any errors from driver whern SQLBrowseConnect returns SQL_NEED_DATA
	* isql now displays any warnings from SQLMoreResults
	* Add include path to odbc_config --cflags output
	* Fix some SQLLEN/SQLINTEGER conflicts in the cursor lib
	* isql now checks if the driver has SQLMoreResults before calling it
	* A couple of tweeks in the txt driver
	* Fix More than 1 log msg relevant in odbcinst now
	* Changed UI plugin technique for odbcinst see...
	  ODBCConfig > main.cpp, and
	  odbcinst > SQLManageDataSources.c and
	  odbcinstQ4 > SQLManageDataSources.cpp
	* Add more 64 bit changes, remove SQLROWCOUNT and its frends from 64 bit
	  land
	* Couple of descriptor typo's fixed (Thanks Jess)
	* Add odbcinstQ4 to support pure Qt4 SQLCreateDataSource and
	  SQLManageDataSources
	* Add ODBCCreateDataSourceQ4 as Qt4 based exec to SQLCreateDataSource
	* Add ODBCManageDataSourcesQ4 as Qt4 based exec to SQLManageDataSources
	* Add "-c" option to odbcinst to call SQLCreateDataSource
	* Add "-m" option to odbcinst to call SQLManageDataSources
	* Add ODBCDataManagerQ4
	* Add Wrappers (C++, QtCore 4, QtGui 4 - thin wrappers to ODBC)
	* Add more complete set of driver config options to GUI config
	* Fix incorrect export file in odbcinstQ
	* Added some extra features to isql (thanks to Ron Norman for the
          ideas)
	* Add diag support lib for driver development  and possibly DM
	  This is very 'black-boxed' on purpose.
	* Fix Replaced diag code in txt driver to use new diag lib.
	* Add New odbctrac library.
	* Add Threading can not be config via Qt(4) based GUI
	* Add New ODBCString library.
	* Add odbcinst.ini -> ODBC -> TraceLibrary and corresponding GUI Qt(4)
	  config.
	* prevent the cursor lib from seg faulting if the query isn't a select
	* Add SQLULEN size display to the output of odbcinst -j
	* Add mutexes in odbcinst/_logging.c
	* Remove the MySQL Driver, its woefully out of date now
	* Remove incorrect path in vms_odbc.opt
	* rename trace.h to odbctrace.h to avoid potential name conflicts
	  and move to include dir
	* update unixODBC.spec file
	* Add README.CYGWIN
	* Fix build problem with QT4 without QWizard support
	* Alter how the Ansi-Unicode mapping is done, so a unicode function can be
	  passed to the driver (if it supports it) even if a non unicode connect was done
	* Fix buffer overrun in SQLDriverConnectW and SQLColAttributesW
	* I have cut back on a lot of the GUI parts that are being added. The goal is to
	  create a distinct set of files that contains these and other parts that are
	  not part of the core goal of providing ODBC. Likewise the drivers will go on the
	  next release, as most DB's now have their own folk working on their drivers
	  and they all interoperate with unixODBC so its just adding confusion including them
	  here (IMHO that is)
	* Prevent a potential buffer overrun in the DM
	* The processing of --enable-rtldgroup had been dropped, back now
	* Allow the cursor lib to handle multiple result sets
2009-10-17 01:59:14 +00:00
wiz
272d51cc21 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:05 +00:00
joerg
40ae1f06a1 Install only the newer PostgreSQL 7.1+ driver. Add DESTDIR support.
Bump revision.
2008-10-03 16:43:27 +00:00
wiz
2372c76c33 Integrate non-shared Makefile.common into Makefile.
Some pkglint cleanup.
2008-09-19 09:39:23 +00:00
adam
08adb1071f Changes 2.2.12:
* Add missing SQLSetStmtOptionA and SQLSetStmtOptionW
* The config string being passed into ConfigDsn was wrong, removed
  semicolon, and added terminating double null
* Add help help to isql
* Couple of changes to make the build on OSX work better
* Alter odbctest FullConnect to use SQLDriverConnect
* Replace a missed flag for true 64 bit operation
* Add ODBC3<->ODBC2 type mapping in SQLSetParam
* Add missing SQLSetStmtOptionW.c
* Tidy up the search for GUI lib code in SQLManageDatasource
* Backport a couple of changes from the Debian build into the
  cursor lib
* Add extra config settings to the MaxDB/SapDB setup lib
* Fix possible exit from SQLConnect without having closed
  in the driver
* Fix configure problem on Tru64
* Fix a build issue on Sinix
* Allow calling metadata functions via the cursor lib
* Alter args to SQLParamOptions
* Fix bug preventing attribute length from being returned from
  SQLDrivers
* Fix broken iusql
* more...
2008-02-09 07:06:33 +00:00
rillig
105dd4b97c Some packages need lex and yacc. Patch by Aleksey Cheusov via
pkgsrc-users.
2007-11-17 12:04:11 +00:00
xtraeme
843e6bde82 Update unixodbc-* packages to 2.2.11 (latest stable version).
See http://www.unixodbc.org/ for the list of changes... sorry but
this package was not updated in 5 years, the list might be very large!
2006-01-23 20:50:47 +00:00
joerg
4c574bb6e0 Use SUBST framework. 2006-01-06 18:36:52 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tv
458757c193 USE_TOOLS+=flex; without this, libodbctxt.la (without the 'S') is not built.
Bump PKGREVISION.
2005-11-09 21:21:10 +00:00
tv
0053da96f2 Update linkage to libltdl, now in its own package. 2004-10-15 11:54:10 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
xtraeme
e0e6de4597 bl3ify 2004-04-25 01:11:11 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jlam
594e887946 buildlink1 -> buildlink2 2002-09-20 21:24:48 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
jlam
27cae62d46 These packages install libraries that differ from previous versions if they
are built using the hard-syscall-enabled pth.  Bump the PKGREVISION so we
can distinguish these packages from the previous ones.
2002-08-08 16:17:04 +00:00
jlam
6658ed60e1 Use PKGREVISION to manage the package-specific version number when it
differs from the distfile version number.  G/C some the unused variables
in unixodbc/Makefile.common related to the old way of handling version
numbers.
2001-12-03 08:09:05 +00:00
jlam
55ffb37406 bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
2001-12-02 06:56:38 +00:00
jlam
ffceca11a9 PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways:

PKG_SYSCONFBASE is the main config directory under which all package
	configuration files are to be found.

PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the
	configuration files for a particular package may be found.

PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a
	particular package.

Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the
default location of ${PREFIX}/etc.

This obsoletes the use of CONFDIR, which was active for only 6 days, so no
need to have a workaround to still accept old CONFDIR settings.
2001-11-25 18:59:45 +00:00
jlam
b23d2e8626 Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.
2001-11-19 16:23:08 +00:00
jlam
9586b56687 databases/unixodbc - ODBC 2.x/3.x driver manager
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.
2001-11-06 04:08:33 +00:00