pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/unixodbc Changes 2.2.12:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/026080194055
branches:  trunk
changeset: 538470:026080194055
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Feb 09 07:06:33 2008 +0000

description:
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...

diffstat:

 databases/unixodbc/Makefile         |   6 +++---
 databases/unixodbc/Makefile.common  |  31 +++++++++++++++----------------
 databases/unixodbc/PLIST            |   5 ++---
 databases/unixodbc/distinfo         |  10 +++++-----
 databases/unixodbc/patches/patch-aa |   8 ++++----
 5 files changed, 29 insertions(+), 31 deletions(-)

diffs (137 lines):

diff -r 9e185f7fce13 -r 026080194055 databases/unixodbc/Makefile
--- a/databases/unixodbc/Makefile       Sat Feb 09 06:32:34 2008 +0000
+++ b/databases/unixodbc/Makefile       Sat Feb 09 07:06:33 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/11/17 12:04:11 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2008/02/09 07:06:33 adam Exp $
 
 PKGNAME=               unixodbc-${ODBC_BASE_VERS}
 COMMENT=               ODBC 2.x/3.x driver manager
@@ -10,8 +10,8 @@
 USE_TOOLS+=            flex yacc # to get libodbctxt.la
 CONFIGURE_ARGS+=       --disable-gui
 
-PLIST_SUBST+=          UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR:Q}
-FILES_SUBST+=          UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR:Q}
+PLIST_SUBST+=          UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR}
+FILES_SUBST+=          UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR}
 
 EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
 
diff -r 9e185f7fce13 -r 026080194055 databases/unixodbc/Makefile.common
--- a/databases/unixodbc/Makefile.common        Sat Feb 09 06:32:34 2008 +0000
+++ b/databases/unixodbc/Makefile.common        Sat Feb 09 07:06:33 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.21 2006/03/04 21:29:11 jlam Exp $
+# $NetBSD: Makefile.common,v 1.22 2008/02/09 07:06:33 adam Exp $
 
 DISTNAME=      unixODBC-${ODBC_DIST_VERS}
 CATEGORIES=    databases
@@ -12,13 +12,12 @@
 # ODBC_DIST_VERS       version number on the php distfile
 # ODBC_BASE_VERS       pkgsrc-mangled version number (convert pl -> .)
 #
-ODBC_DIST_VERS=                2.2.11
+ODBC_DIST_VERS=                2.2.12
 ODBC_BASE_VERS=                ${ODBC_DIST_VERS}
 
 USE_LIBTOOL=           YES
-
 GNU_CONFIGURE=         YES
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --enable-threads
 PTHREAD_OPTS+=         require
 
@@ -36,22 +35,22 @@
 post-patch: fix-ltdl-and-lexlib
 
 fix-driver-installation:
-       cd ${WRKSRC};                                                   \
+       cd ${WRKSRC};                                           \
        files=`${FIND} ODBCConfig DRVConfig Drivers -name Makefile.in -print`;\
-       for file in $${files}; do                                       \
-               ${SED}  -e "s|^\(libdir =\).*|\1 ${PREFIX}/${UNIXODBC_DRIVERS_DIR}|g" \
-                       $${file} >> $${file}.fixed;                     \
-               ${MV} -f $${file}.fixed $${file};                       \
+       for file in $${files}; do                               \
+               sed -e "s|^\(libdir =\).*|\1 ${PREFIX}/${UNIXODBC_DRIVERS_DIR}|g" \
+                       $${file} >> $${file}.fixed;             \
+               mv -f $${file}.fixed $${file};                  \
        done
 
 fix-ltdl-and-lexlib:
-       cd ${WRKSRC};                                                   \
-       files=`${FIND} . -name Makefile.in -print`;                     \
-       for file in $${files}; do                                       \
-               ${SED}  -e "/DEPENDENCIES/s|\$$(LIBLTDL)||g"            \
-                       -e "/LIBADD/s|@LEXLIB@|\$$(LEXLIB)|g"           \
-                       $${file} >> $${file}.fixed;                     \
-               ${MV} -f $${file}.fixed $${file};                       \
+       cd ${WRKSRC};                                           \
+       files=`${FIND} . -name Makefile.in -print`;             \
+       for file in $${files}; do                               \
+               sed     -e "/DEPENDENCIES/s|\$$(LIBLTDL)||g"    \
+                       -e "/LIBADD/s|@LEXLIB@|\$$(LEXLIB)|g"   \
+                       $${file} >> $${file}.fixed;             \
+               mv -f $${file}.fixed $${file};                  \
        done
 
 .include "../../devel/libltdl/buildlink3.mk"
diff -r 9e185f7fce13 -r 026080194055 databases/unixodbc/PLIST
--- a/databases/unixodbc/PLIST  Sat Feb 09 06:32:34 2008 +0000
+++ b/databases/unixodbc/PLIST  Sat Feb 09 07:06:33 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2006/01/23 20:50:47 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.4 2008/02/09 07:06:33 adam Exp $
 bin/dltest
 bin/isql
 bin/iusql
@@ -11,6 +11,7 @@
 include/sqlext.h
 include/sqltypes.h
 include/sqlucode.h
+include/uodbc_extras.h
 include/uodbc_stats.h
 lib/libboundparam.la
 lib/libgtrtst.la
@@ -26,8 +27,6 @@
 ${UNIXODBC_DRIVERS_DIR}/libodbcmyS.la
 ${UNIXODBC_DRIVERS_DIR}/libodbcnnS.la
 ${UNIXODBC_DRIVERS_DIR}/libodbcpsql.la
-${UNIXODBC_DRIVERS_DIR}/libodbcpsql.so.1
-${UNIXODBC_DRIVERS_DIR}/libodbcpsql.so.1.0.0
 ${UNIXODBC_DRIVERS_DIR}/libodbcpsqlS.la
 ${UNIXODBC_DRIVERS_DIR}/libodbctxt.la
 ${UNIXODBC_DRIVERS_DIR}/libodbctxtS.la
diff -r 9e185f7fce13 -r 026080194055 databases/unixodbc/distinfo
--- a/databases/unixodbc/distinfo       Sat Feb 09 06:32:34 2008 +0000
+++ b/databases/unixodbc/distinfo       Sat Feb 09 07:06:33 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/01/23 20:50:47 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2008/02/09 07:06:33 adam Exp $
 
-SHA1 (unixODBC-2.2.11.tar.gz) = a8869c38d0f1bb18b33e5165a2a79dd8770f98b3
-RMD160 (unixODBC-2.2.11.tar.gz) = 533a2733aa9f49bf9e3fd062b6d0ebfdff4dfcf1
-Size (unixODBC-2.2.11.tar.gz) = 2406740 bytes
-SHA1 (patch-aa) = 828007b7aaa2034cf00831d17f601225d4fff05c
+SHA1 (unixODBC-2.2.12.tar.gz) = d1cb286fb538c664549153165e2b9183b58a627b
+RMD160 (unixODBC-2.2.12.tar.gz) = 13c9ec87c3fff4a1fceb45ff7a552a0fa8666b16
+Size (unixODBC-2.2.12.tar.gz) = 2798077 bytes
+SHA1 (patch-aa) = c83d0febf01dc079b9bfcdffb7ec5b022cbb9d90
diff -r 9e185f7fce13 -r 026080194055 databases/unixodbc/patches/patch-aa
--- a/databases/unixodbc/patches/patch-aa       Sat Feb 09 06:32:34 2008 +0000
+++ b/databases/unixodbc/patches/patch-aa       Sat Feb 09 07:06:33 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2006/01/23 20:52:26 xtraeme Exp $
+$NetBSD: patch-aa,v 1.3 2008/02/09 07:06:33 adam Exp $
 
---- Makefile.in.orig   2006-01-23 20:43:31.000000000 +0100
-+++ Makefile.in        2006-01-23 20:43:39.000000000 +0100
-@@ -657,7 +657,7 @@
+--- Makefile.in.orig   2006-08-31 14:24:44.000000000 +0200
++++ Makefile.in
+@@ -791,7 +791,7 @@ install-data: install-data-recursive
  uninstall: uninstall-recursive
  
  install-am: all-am



Home | Main Index | Thread Index | Old Index