pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/libdbi Update databases/libdbi to 0.9.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5acc95b8034
branches: trunk
changeset: 351522:e5acc95b8034
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Sun Aug 21 19:14:07 2016 +0000
description:
Update databases/libdbi to 0.9.0.
Bugfixes
- libdbi now supports using custom driver functions correctly
(none of the drivers had implemented this feature before
libdbi-drivers 0.9.0, so this was not really a problem).
- a variety of other bug fixes too numerous to list here, see
ChangeLog
Improvements
- libdbi now supports several independent "instances" per
process. This makes the library safe to use in programs that
dlopen() plugins at runtime which in turn are linked against
libdbi. The new function dbi_initialize_r() creates a handle
which the functions dbi_shutdown_r(), dbi_set_verbosity_r(),
dbi_driver_list_r(), dbi_driver_open_r(), and dbi_conn_new_r()
use to operate on a particular instance. A new function
dbi_driver_get_instance() helps to determine the instance at
runtime.
The old interface (with just one instance per process which is
managed internally) is still around but deprecated. See the file
UPGRADING for detailed instructions.
- libdbi now provides functions for managing transactions and
savepoints
- libdbi now provides a hint to drivers indicating the current
position in a result set. This allows drivers to implement
additional optimizations
- the libtool library versioning numbers were now set
appropriately (they had fallen out of maintenance somehow in
the past), and starting with this release the release number
will match the libtool numbering scheme. libtool manages shared
objects in a way to allow the loader to detect whether an
application was linked against a compatible version of
a library. This will avoid runtime errors in future releases
if backwards-incompatible changes are necessary.
- pgk-config (http://pkg-config.freedesktop.org/wiki/) is now
supported
- if CFLAGS is set in the environment, it is now used
appropriately in ./configure
diffstat:
databases/libdbi/Makefile | 6 +++---
databases/libdbi/PLIST | 3 ++-
databases/libdbi/distinfo | 11 +++++------
databases/libdbi/patches/patch-configure | 27 ---------------------------
4 files changed, 10 insertions(+), 37 deletions(-)
diffs (79 lines):
diff -r 37c28f546ef3 -r e5acc95b8034 databases/libdbi/Makefile
--- a/databases/libdbi/Makefile Sun Aug 21 16:59:21 2016 +0000
+++ b/databases/libdbi/Makefile Sun Aug 21 19:14:07 2016 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.3 2012/10/02 21:25:20 asau Exp $
+# $NetBSD: Makefile,v 1.4 2016/08/21 19:14:07 fhajny Exp $
#
-DISTNAME= libdbi-0.8.3
+DISTNAME= libdbi-0.9.0
CATEGORIES= databases devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdbi/}
MAINTAINER= cheusov%NetBSD.org@localhost
HOMEPAGE= http://libdbi.sourceforge.net/
COMMENT= Database Independent Abstraction Layer for C
-LICENSE= gnu-lgpl-v2
+LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c
USE_LIBTOOL= yes
diff -r 37c28f546ef3 -r e5acc95b8034 databases/libdbi/PLIST
--- a/databases/libdbi/PLIST Sun Aug 21 16:59:21 2016 +0000
+++ b/databases/libdbi/PLIST Sun Aug 21 19:14:07 2016 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/08/21 19:14:07 fhajny Exp $
include/dbi/dbd.h
include/dbi/dbi-dev.h
include/dbi/dbi.h
lib/libdbi.la
+lib/pkgconfig/dbi.pc
diff -r 37c28f546ef3 -r e5acc95b8034 databases/libdbi/distinfo
--- a/databases/libdbi/distinfo Sun Aug 21 16:59:21 2016 +0000
+++ b/databases/libdbi/distinfo Sun Aug 21 19:14:07 2016 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:56:13 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/08/21 19:14:07 fhajny Exp $
-SHA1 (libdbi-0.8.3.tar.gz) = bda606fa6628eed451e492182e1943bd1d824c33
-RMD160 (libdbi-0.8.3.tar.gz) = c264a9cf0ef85ccd823273a205a961b6e33773cf
-SHA512 (libdbi-0.8.3.tar.gz) = 408b13deb46e03af9b05bbb258236f06942a5732b58732cd85b0867e01407474a37164703c51c0d48e44d97b7622a7106f8db66a2adf15d056bc92f96a9454a0
-Size (libdbi-0.8.3.tar.gz) = 1060714 bytes
-SHA1 (patch-configure) = d1faa0a217b8900660afab0dd1c9da04ee9b12c9
+SHA1 (libdbi-0.9.0.tar.gz) = 6c1ecfb78f43a921d5f914299304bd6c82cb0e23
+RMD160 (libdbi-0.9.0.tar.gz) = 29cbfa6dd31f9b9dc4919db8d594e94942c2b310
+SHA512 (libdbi-0.9.0.tar.gz) = ee8777195af43057409d051a6055ec0467cd926d48da076458b09f91d2f0995a1cc4bc071762e401b7bdcd8a4173fd8ea3472db3a1518e34b4c5b5ed24e4e2ce
+Size (libdbi-0.9.0.tar.gz) = 1194284 bytes
diff -r 37c28f546ef3 -r e5acc95b8034 databases/libdbi/patches/patch-configure
--- a/databases/libdbi/patches/patch-configure Sun Aug 21 16:59:21 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2011/09/07 23:40:23 joerg Exp $
-
---- configure.orig 2011-09-07 12:32:35.000000000 +0000
-+++ configure
-@@ -19257,16 +19257,16 @@ else
- case $host in
- *-*-linux*)
- DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
-- CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99"
-- PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99";;
-+ CFLAGS="-O3 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99"
-+ PROFILE="-pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99";;
- sparc-sun-*)
- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99"
-- CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99"
-- PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99" ;;
-+ CFLAGS="-O3 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99"
-+ PROFILE="-pg -g -O3 -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99" ;;
- *)
- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
-- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
-- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char -std=gnu99" ;;
-+ CFLAGS="-O3 -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
-+ PROFILE="-O3 -g -pg -D__NO_MATH_INLINES -fsigned-char -std=gnu99" ;;
- esac
- fi
-
Home |
Main Index |
Thread Index |
Old Index