summaryrefslogtreecommitdiff
path: root/databases/unixodbc
AgeCommit message (Collapse)AuthorFilesLines
2016-02-14Don't redefine mutex_exit(). Switch subst stage to pre-configure.jperkin1-2/+8
2015-11-04Remove duplicate SHA512 digests that crept in.agc1-2/+1
2015-11-03Add SHA512 digests for distfiles for databases categoryagc1-1/+2
Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-10-25Changes 2.3.4:adam3-43/+41
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-04-26Update to 2.3.2ryoon10-121/+43
* 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-02Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-03-15iodbc 3.52.7nb2 needed for conflict free lifeabs1-2/+2
2012-03-15Update CONFLICTS to iodbc<3.52.7nb1abs1-3/+3
2011-03-11add patch from upstream to fix possible buffer overflow (CVE-2011-1145)drochner3-2/+34
bump PKGREV
2011-01-18added libraries required to build on Solarisschwarz1-1/+3
2010-05-10It seems that unixODBC 2.3.0 dosen't build drivers/driver-conftaca1-1/+3
modules default and PLIST broken now. So, specify some configure option to build as before.
2010-05-03Update to unixODBC 2.3.0:jnemeth14-67/+139
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
2009-12-15Recursive bump for libltdljoerg1-2/+2
2009-10-21Try to fix some pthread problems detected on NetBSD 4.0_STABLEtaca8-3/+154
(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-19Install include/unixodbc_conf.h to make include/sql.h header usable.taca4-12/+15
Bump PKGREVISION since PLIST has changed.
2009-10-17Update unixodbc pakcage to 2.2.14, adding LICENSE.taca5-18/+17
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-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2009-05-20Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlibwiz1-2/+2
major change. Reported by Robert Elz in PR 41345.
2009-04-23added patch-ac which includes stdbool.h on MacOS X to ensure that the boolschwarz2-1/+16
type is known. Without that, bool is not a known type to gcc on MacOS.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-10-03Install only the newer PostgreSQL 7.1+ driver. Add DESTDIR support.joerg3-4/+21
Bump revision.
2008-09-19Integrate non-shared Makefile.common into Makefile.wiz3-71/+56
Some pkglint cleanup.
2008-03-01Fix PLIST. The package also installs an older version of the PostgreSQLtnn1-1/+3
driver, but without .la file.
2008-02-09Changes 2.2.12:adam5-31/+29
* 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...
2007-11-17Some packages need lex and yacc. Patch by Aleksey Cheusov viarillig1-2/+2
pkgsrc-users.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-01-23Commit modified patch missed in previous.xtraeme1-8/+8
2006-01-23Update unixodbc-* packages to 2.2.11 (latest stable version).xtraeme4-20/+20
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-06Use SUBST framework.joerg1-4/+9
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-3/+3
CONFIGURE_ARGS.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-3/+3
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-11-09USE_TOOLS+=flex; without this, libodbctxt.la (without the 'S') is not built.tv1-2/+3
Bump PKGREVISION.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests in addition to SHA1 ones.agc1-1/+2
2005-01-19Properly quote the MAKE_FLAGS.reed1-2/+2
This is from PR #29009 from Masanori Mikawa. When built when using cpuflags includes, the quoting for AM_MAKEFLAGS is wrong.
2004-10-15Update linkage to libltdl, now in its own package.tv3-8/+5
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-3/+4
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-09-30PKGREVISION doesn't belong here; the individual Makefiles set it.tv1-2/+1
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-91/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-04-26Unused.wiz1-34/+0
2004-04-25bl3ifyxtraeme3-6/+27
2004-04-24Relinquish maintainership of packages to tech-pkg@NetBSD.org.jlam1-2/+2
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-2/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2004-01-27Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248heinz1-3/+3
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2