pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/iodbc Update iodbc to 3.52.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/caf1e2fe2bc1
branches:  trunk
changeset: 523724:caf1e2fe2bc1
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Jan 12 17:27:20 2007 +0000

description:
Update iodbc to 3.52.5.
Pointed out in PR 35383.

Jan 05 2007, V3.52.5:
    * Added support for FileDSN
    * Added support for Connection Pooling
    * Added check for tracefile size
    * Call ODBC 2.x functions in driver if application uses ODBC 2.x only calls
    * Fixed problem parsing driver result in SQLSetStmtAttr
    * Fixed source code readability
    * Fixed bug in overwriting driver name
    * Fixed check for /Library/ODBC for Mac OS X
    * Fixed prototypes
    * Rewrote bootstrap script and configure summary
    * Use localtime_r in tracing when available
    * Fixed build issues with Mac OS X
    * Small code cleanups and fixes

Jan 26 2006, V3.52.4:
    * Added support for Mac OS X 10.4 Universal kit (ppc, ppc64 and i386)
    * Removed dependency between iodbc and iodbcinst shared libraries
    * Cleanup Mac OS X build process
    * Clarify LGPL license conditions
    * Fixed problem with error on subsequent SQLExecute statements
    * Fixed problem building 64bit GUI components
    * Fixed compiler warnings
    * Fixed problem determining which compiler to use on AIX
    * Enabled SHLIB_PATH on HP/UX
    * Fixed problem using # as comment in odbc.ini file
    * Disabled --disable-odbc3 flag
    * Small code cleanups and fixes

pkgsrc chages:
Fix comment and descr, refrect current status.

diffstat:

 databases/iodbc/DESCR            |   8 ++++----
 databases/iodbc/Makefile         |   6 +++---
 databases/iodbc/distinfo         |  13 ++++++-------
 databases/iodbc/patches/patch-aa |   9 +++++----
 databases/iodbc/patches/patch-ab |  15 ---------------
 databases/iodbc/patches/patch-ac |  10 +++++-----
 6 files changed, 23 insertions(+), 38 deletions(-)

diffs (125 lines):

diff -r f38bb17e0d2f -r caf1e2fe2bc1 databases/iodbc/DESCR
--- a/databases/iodbc/DESCR     Fri Jan 12 14:59:16 2007 +0000
+++ b/databases/iodbc/DESCR     Fri Jan 12 17:27:20 2007 +0000
@@ -1,8 +1,8 @@
-iODBC (intrinsic Open Database Connectivity) driver manager
-is compatible with ODBC 2.x specification and performs exactly
-same jobs of ODBC 2.x driver manager(i.e. driver loading,
+iODBC (Independent Open Database Connectivity) driver manager
+is compatible with ODBC 3.x specification and performs exactly
+same jobs of ODBC 3.x driver manager(i.e. driver loading,
 Parameters and function sequence checking, driver's function
-Invoking, etc.). Any ODBC driver works with ODBC 2.0 driver
+Invoking, etc.). Any ODBC driver works with ODBC 3.0 driver
 Manager will also work with iODBC driver manager and vice versa.
 
 Applications (using ODBC function calls) linked with
diff -r f38bb17e0d2f -r caf1e2fe2bc1 databases/iodbc/Makefile
--- a/databases/iodbc/Makefile  Fri Jan 12 14:59:16 2007 +0000
+++ b/databases/iodbc/Makefile  Fri Jan 12 17:27:20 2007 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.13 2006/03/14 16:00:40 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2007/01/12 17:27:20 obache Exp $
 
-DISTNAME=      libiodbc-3.52.3
+DISTNAME=      libiodbc-3.52.5
 PKGNAME=       ${DISTNAME:S/^lib//}
 CATEGORIES=    databases
 MASTER_SITES=  http://www.iodbc.org/downloads/iODBC/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.iodbc.org/
-COMMENT=       ODBC 2.x driver manager
+COMMENT=       ODBC 3.x driver manager
 
 CONFLICTS+=    unixodbc-[0-9]*
 
diff -r f38bb17e0d2f -r caf1e2fe2bc1 databases/iodbc/distinfo
--- a/databases/iodbc/distinfo  Fri Jan 12 14:59:16 2007 +0000
+++ b/databases/iodbc/distinfo  Fri Jan 12 17:27:20 2007 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/12/30 21:03:59 jlam Exp $
+$NetBSD: distinfo,v 1.5 2007/01/12 17:27:20 obache Exp $
 
-SHA1 (libiodbc-3.52.3.tar.gz) = 01c0925994011f5249a164177203570c399cb1d0
-RMD160 (libiodbc-3.52.3.tar.gz) = d90ef82b9a8624fac107ec9e3196023ab3c30ec8
-Size (libiodbc-3.52.3.tar.gz) = 720332 bytes
-SHA1 (patch-aa) = a17457eae6fcce66ff754d122a248526c663d60e
-SHA1 (patch-ab) = d0bfad834a2b3594844bb1420b4f609b42a7acb5
-SHA1 (patch-ac) = 79388bb9aa18d12266d99593e69bbb44b0243f03
+SHA1 (libiodbc-3.52.5.tar.gz) = 8982d433daa1344dd9c12b7b507950057b9af6a8
+RMD160 (libiodbc-3.52.5.tar.gz) = 2d9be4a4c0586d5dd117ab0d5347e5c79df6b584
+Size (libiodbc-3.52.5.tar.gz) = 752941 bytes
+SHA1 (patch-aa) = 581a97a77224218b87e41b641473a21161b60851
+SHA1 (patch-ac) = fb2b030717e9d60dd1a815fd76ae626bb73e3469
diff -r f38bb17e0d2f -r caf1e2fe2bc1 databases/iodbc/patches/patch-aa
--- a/databases/iodbc/patches/patch-aa  Fri Jan 12 14:59:16 2007 +0000
+++ b/databases/iodbc/patches/patch-aa  Fri Jan 12 17:27:20 2007 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.3 2005/12/30 21:03:59 jlam Exp $
+$NetBSD: patch-aa,v 1.4 2007/01/12 17:27:20 obache Exp $
 
 Rip out a completely non-standard and hokey way to determine if wchar_t
 is a valid type.
 
---- include/sqltypes.h.orig    2005-10-08 07:42:02.000000000 -0400
+--- include/sqltypes.h.orig    2006-01-26 09:50:59.000000000 +0000
 +++ include/sqltypes.h
-@@ -388,16 +388,7 @@ SQLGUID;
+@@ -393,17 +393,7 @@ SQLGUID;
  typedef unsigned short SQLWCHAR;
  #else
  #  include <stdlib.h>
@@ -14,7 +14,8 @@
 -      defined(_WCHAR_T)                       || \
 -      defined(_WCHAR_T_DEFINED)               || \
 -      defined(_WCHAR_T_DECLARED)        || \
--      defined(_BSD_WCHAR_T_DEFINED_)
+-      defined(_BSD_WCHAR_T_DEFINED_)    || \
+-      defined(_BSD_WCHAR_T_)
  typedef wchar_t SQLWCHAR;
 -#  else
 -#    error Please make sure your system supports the wchar_t type
diff -r f38bb17e0d2f -r caf1e2fe2bc1 databases/iodbc/patches/patch-ab
--- a/databases/iodbc/patches/patch-ab  Fri Jan 12 14:59:16 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2005/12/30 21:03:59 jlam Exp $
-
-By inspection, driverbuf is meant to be a character buffer.
-
---- iodbc/connect.c.orig       2005-11-04 08:14:52.000000000 -0500
-+++ iodbc/connect.c
-@@ -398,7 +398,7 @@ _iodbcdm_driverload (
-   HPROC hproc;
-   SQLRETURN retcode = SQL_SUCCESS;
-   sqlstcode_t sqlstat = en_00000;
--  char *driverbuf[1024];
-+  char driverbuf[1024];
- 
-   if (path == NULL || ((char *) path)[0] == '\0')
-     {
diff -r f38bb17e0d2f -r caf1e2fe2bc1 databases/iodbc/patches/patch-ac
--- a/databases/iodbc/patches/patch-ac  Fri Jan 12 14:59:16 2007 +0000
+++ b/databases/iodbc/patches/patch-ac  Fri Jan 12 17:27:20 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1 2005/12/30 21:03:59 jlam Exp $
+$NetBSD: patch-ac,v 1.2 2007/01/12 17:27:20 obache Exp $
 
---- samples/Makefile.in.orig   2005-11-07 05:27:44.000000000 -0500
+--- samples/Makefile.in.orig   2007-01-05 12:54:29.000000000 +0000
 +++ samples/Makefile.in
-@@ -566,9 +566,9 @@ uninstall-am: uninstall-binPROGRAMS unin
+@@ -572,9 +572,9 @@ uninstall-am: uninstall-binPROGRAMS unin
  
  
  install-exec-hook:
@@ -12,6 +12,6 @@
 +      $(mkinstalldirs) ${DESTDIR}${datadir}/examples/iodbc
 +      cp $(srcdir)/iodbctest.c ${DESTDIR}${datadir}/examples/iodbc/iodbctest.c
 +      cp $(srcdir)/Makefile.sample ${DESTDIR}${datadir}/examples/iodbc/Makefile
+ @DARWIN_TRUE@ -/usr/bin/lipo ${DESTDIR}${bindir}/iodbctest -remove ppc64 -output ${DESTDIR}${bindir}/iodbctest
+ @DARWIN_TRUE@ -/usr/bin/lipo ${DESTDIR}${bindir}/iodbctestw -remove ppc64 -output ${DESTDIR}${bindir}/iodbctestw
  
- uninstall-hook:
-       rm -f ${DESTDIR}${pkgdatadir}/samples/iodbctest.c



Home | Main Index | Thread Index | Old Index