summaryrefslogtreecommitdiff
path: root/databases/libdbi
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-08-21 19:14:07 +0000
committerfhajny <fhajny>2016-08-21 19:14:07 +0000
commitae3c56a5e5cb668877856e4a54fcc0a88903ecd7 (patch)
tree072a679f5fd381ed7f1438bb356afca67bdf8dc2 /databases/libdbi
parent82cd5f8a2856bc3f1a82272bf74b76e58860a77e (diff)
downloadpkgsrc-ae3c56a5e5cb668877856e4a54fcc0a88903ecd7.tar.gz
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 (limited to 'databases/libdbi')
-rw-r--r--databases/libdbi/Makefile6
-rw-r--r--databases/libdbi/PLIST3
-rw-r--r--databases/libdbi/distinfo11
-rw-r--r--databases/libdbi/patches/patch-configure27
4 files changed, 10 insertions, 37 deletions
diff --git a/databases/libdbi/Makefile b/databases/libdbi/Makefile
index 394e9bae139..261bab19211 100644
--- a/databases/libdbi/Makefile
+++ b/databases/libdbi/Makefile
@@ -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
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 --git a/databases/libdbi/PLIST b/databases/libdbi/PLIST
index b8a257d0c11..4af7abbef1f 100644
--- a/databases/libdbi/PLIST
+++ b/databases/libdbi/PLIST
@@ -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 --git a/databases/libdbi/distinfo b/databases/libdbi/distinfo
index 75a53b36cd4..08507ecb9fb 100644
--- a/databases/libdbi/distinfo
+++ b/databases/libdbi/distinfo
@@ -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 --git a/databases/libdbi/patches/patch-configure b/databases/libdbi/patches/patch-configure
deleted file mode 100644
index 96ac7082ed8..00000000000
--- a/databases/libdbi/patches/patch-configure
+++ /dev/null
@@ -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
-