pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases Update databases/libdbi-drivers-* to 0.9.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da77c8610fa3
branches:  trunk
changeset: 351524:da77c8610fa3
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Sun Aug 21 19:16:57 2016 +0000

description:
Update databases/libdbi-drivers-* to 0.9.0.

- some of the drivers now export client library functions to the
  programmer via the dbi_driver_specific_function() interface
- if necessary, the drivers now support libdbi instances
- a segfault in the oracle driver caused by INSERT statements was
  fixed
- the pgsql driver now supports features specific to PostgreSQL 9
  and later
- drivers now support transactions and savepoints if the
  underlying database engines do
- additional libdbi hint about position in a result set allows
  tremendous speedup of sequential reads from MySQL result sets
- various memory leaks were plugged
- database specific test scripts allow tests without affecting
  existing database clusters
- completely rewritten test kit increases coverage and improves
  error reporting

diffstat:

 databases/libdbi-driver-mysql/Makefile                  |   5 +-
 databases/libdbi-driver-pgsql/Makefile                  |   5 +-
 databases/libdbi-driver-sqlite/Makefile                 |   4 +-
 databases/libdbi-driver-sqlite3/Makefile                |   5 +-
 databases/libdbi-driver-sqlite3/Makefile_drivers        |   4 +-
 databases/libdbi-driver-sqlite3/distinfo                |  12 +++---
 databases/libdbi-driver-sqlite3/patches/patch-configure |  34 +++++-----------
 7 files changed, 27 insertions(+), 42 deletions(-)

diffs (135 lines):

diff -r 7ff2269e0685 -r da77c8610fa3 databases/libdbi-driver-mysql/Makefile
--- a/databases/libdbi-driver-mysql/Makefile    Sun Aug 21 19:14:24 2016 +0000
+++ b/databases/libdbi-driver-mysql/Makefile    Sun Aug 21 19:16:57 2016 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2013/09/13 12:19:50 obache Exp $
+# $NetBSD: Makefile,v 1.6 2016/08/21 19:16:57 fhajny Exp $
 #
 
 .include "../../databases/libdbi-driver-sqlite3/Makefile_drivers"
 
-PKGREVISION=           4
-LICENSE=               gnu-lgpl-v2
+LICENSE=               gnu-lgpl-v2.1
 
 DRIVER=                        mysql
 
diff -r 7ff2269e0685 -r da77c8610fa3 databases/libdbi-driver-pgsql/Makefile
--- a/databases/libdbi-driver-pgsql/Makefile    Sun Aug 21 19:14:24 2016 +0000
+++ b/databases/libdbi-driver-pgsql/Makefile    Sun Aug 21 19:16:57 2016 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2012/08/05 10:02:09 obache Exp $
+# $NetBSD: Makefile,v 1.5 2016/08/21 19:16:58 fhajny Exp $
 #
 
 .include "../../databases/libdbi-driver-sqlite3/Makefile_drivers"
 
-PKGREVISION=           3
-LICENSE=               gnu-lgpl-v2
+LICENSE=               gnu-lgpl-v2.1
 
 DRIVER=                        pgsql
 
diff -r 7ff2269e0685 -r da77c8610fa3 databases/libdbi-driver-sqlite/Makefile
--- a/databases/libdbi-driver-sqlite/Makefile   Sun Aug 21 19:14:24 2016 +0000
+++ b/databases/libdbi-driver-sqlite/Makefile   Sun Aug 21 19:16:57 2016 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2011/09/15 21:22:35 cheusov Exp $
+# $NetBSD: Makefile,v 1.3 2016/08/21 19:16:58 fhajny Exp $
 #
 
 .include "../../databases/libdbi-driver-sqlite3/Makefile_drivers"
 
-LICENSE=               gnu-lgpl-v2
+LICENSE=               gnu-lgpl-v2.1
 
 DRIVER=                        sqlite
 
diff -r 7ff2269e0685 -r da77c8610fa3 databases/libdbi-driver-sqlite3/Makefile
--- a/databases/libdbi-driver-sqlite3/Makefile  Sun Aug 21 19:14:24 2016 +0000
+++ b/databases/libdbi-driver-sqlite3/Makefile  Sun Aug 21 19:16:57 2016 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2016/04/11 19:01:45 ryoon Exp $
+# $NetBSD: Makefile,v 1.13 2016/08/21 19:16:58 fhajny Exp $
 #
 
 .include "../../databases/libdbi-driver-sqlite3/Makefile_drivers"
 
-PKGREVISION=           10
-LICENSE=               gnu-lgpl-v2
+LICENSE=               gnu-lgpl-v2.1
 
 DRIVER=                        sqlite3
 
diff -r 7ff2269e0685 -r da77c8610fa3 databases/libdbi-driver-sqlite3/Makefile_drivers
--- a/databases/libdbi-driver-sqlite3/Makefile_drivers  Sun Aug 21 19:14:24 2016 +0000
+++ b/databases/libdbi-driver-sqlite3/Makefile_drivers  Sun Aug 21 19:16:57 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile_drivers,v 1.3 2012/10/02 21:25:20 asau Exp $
+# $NetBSD: Makefile_drivers,v 1.4 2016/08/21 19:16:58 fhajny Exp $
 #
 
-DISTNAME=      libdbi-drivers-0.8.3-1
+DISTNAME=      libdbi-drivers-0.9.0
 PKGNAME=       ${DISTNAME:S/libdbi-drivers/libdbi-driver-${DRIVER}/:S/-1/.1/:S/-2/.2/}
 CATEGORIES=    databases devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libdbi-drivers/}
diff -r 7ff2269e0685 -r da77c8610fa3 databases/libdbi-driver-sqlite3/distinfo
--- a/databases/libdbi-driver-sqlite3/distinfo  Sun Aug 21 19:14:24 2016 +0000
+++ b/databases/libdbi-driver-sqlite3/distinfo  Sun Aug 21 19:16:57 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:56:13 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/08/21 19:16:58 fhajny Exp $
 
-SHA1 (libdbi-drivers-0.8.3-1.tar.gz) = 599fbab115419e8fc88b3b31a38031584ee213b5
-RMD160 (libdbi-drivers-0.8.3-1.tar.gz) = e0aa9e67f6560fb44018b1d35d90d4ac21b48597
-SHA512 (libdbi-drivers-0.8.3-1.tar.gz) = c2cb76234b9137cc4a05af42a69ea7d5b08586287378406cbd4d114598598057f29cccb368bfbe0f86e19846ceab88ed636cccff6555ef9f7eebbb98bbcd3824
-Size (libdbi-drivers-0.8.3-1.tar.gz) = 1534420 bytes
-SHA1 (patch-configure) = 62230ebabedeb8eea10c915d8fc98b00e49c6b9a
+SHA1 (libdbi-drivers-0.9.0.tar.gz) = 8472875d30c216540d48d591b442e40ba4f7df5d
+RMD160 (libdbi-drivers-0.9.0.tar.gz) = 9252bf6885fc365f41f7d7321be0fd3ed90030d1
+SHA512 (libdbi-drivers-0.9.0.tar.gz) = f4d3aaa71014697c53012a10bf9f0af398bcf5ee5872af165f8f43a682d2fb3045a9172ffea0e068dcbfcad52494878c037d8d90fadfaf176936e42f7f1e85c1
+Size (libdbi-drivers-0.9.0.tar.gz) = 1829864 bytes
+SHA1 (patch-configure) = 8dc1180722e758e5835094d1e9522f082cbb582a
diff -r 7ff2269e0685 -r da77c8610fa3 databases/libdbi-driver-sqlite3/patches/patch-configure
--- a/databases/libdbi-driver-sqlite3/patches/patch-configure   Sun Aug 21 19:14:24 2016 +0000
+++ b/databases/libdbi-driver-sqlite3/patches/patch-configure   Sun Aug 21 19:16:57 2016 +0000
@@ -1,27 +1,15 @@
-$NetBSD: patch-configure,v 1.1 2011/09/15 21:22:35 cheusov Exp $
+$NetBSD: patch-configure,v 1.2 2016/08/21 19:16:58 fhajny Exp $
 
---- configure.orig     2011-09-08 12:21:45.000000000 +0000
+Correct lib name.
+
+--- configure.orig     2013-03-11 23:52:13.000000000 +0000
 +++ configure
-@@ -20202,16 +20202,16 @@ else
-         case $host in
-         *-*-linux*)
-                 DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
--                CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
--                PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
-+                CFLAGS="-O3 -ffast-math -D_REENTRANT -fsigned-char"
-+                PROFILE="-pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char";;
-         sparc-sun-*)
-                 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
--                CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
--                PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
-+                CFLAGS="-O3 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
-+                PROFILE="-pg -g -O3 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
-         *)
-                 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
--                CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
--                PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
-+                CFLAGS="-O3 -D__NO_MATH_INLINES -fsigned-char"
-+                PROFILE="-O3 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
-         esac
+@@ -12528,7 +12528,7 @@ else :
  fi
+               SQLITE3_LDFLAGS=""
+       else
+-              SQLITE3_LIBS=-lsqlite
++              SQLITE3_LIBS=-lsqlite3
+               SQLITE3_LDFLAGS=-L$ac_sqlite3_libdir
+       fi
  



Home | Main Index | Thread Index | Old Index