summaryrefslogtreecommitdiff
path: root/databases/qore-pgsql-module
diff options
context:
space:
mode:
authornros <nros>2016-07-20 13:54:21 +0000
committernros <nros>2016-07-20 13:54:21 +0000
commit96d5a7bb1187b662c52356608dbf37c8da38fc40 (patch)
tree4fe8225497f13319792cec2ca29c9ed79fcbec15 /databases/qore-pgsql-module
parent6eae9343ced27592f7c4130f910b2a6423bc9dfe (diff)
downloadpkgsrc-96d5a7bb1187b662c52356608dbf37c8da38fc40.tar.gz
Update qore-pqsql-module to version 2.4.
Patches have been applied upstream. Release notes: * placeholders and quotes in SQL comments are ignored * fixed major bugs in SQLStatement::fetchRows() and SQLStatement::fetchColumns() where only the first call would succeed * added the pgsql_bind_array() function to support bulk DML * fixed a bug retrieving numeric values; values too large for a 64-bit integer were being retrieved as a 64-bit integer * ported db-test.q to new-style and QUnit * changed the minimum required Qore version to 0.8.12 to support the test script wth QUnit * fixed a bug where interval values retrieved from the DB were justified to hours and minutes * fixed a bug where CHAR values were returned with an invalid internal string size * fixed a bug where arbitrary-precision numeric values bound to numeric columns were bound with an incorrect scale value causing the digits behind the decimal place to be lost (issue 386) * fixed a bug where SQLStatement::describe() was failing even though result set information was available * fixed a bug where duplicate column names in result sets caused memory leaks (and they were not renamed; issue 831)
Diffstat (limited to 'databases/qore-pgsql-module')
-rw-r--r--databases/qore-pgsql-module/Makefile13
-rw-r--r--databases/qore-pgsql-module/PLIST72
-rw-r--r--databases/qore-pgsql-module/distinfo12
-rw-r--r--databases/qore-pgsql-module/patches/patch-configure21
-rw-r--r--databases/qore-pgsql-module/patches/patch-src_Makefile.in13
5 files changed, 46 insertions, 85 deletions
diff --git a/databases/qore-pgsql-module/Makefile b/databases/qore-pgsql-module/Makefile
index e772ba1a1f7..32fbf083ab2 100644
--- a/databases/qore-pgsql-module/Makefile
+++ b/databases/qore-pgsql-module/Makefile
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.2 2016/03/05 11:28:19 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2016/07/20 13:54:21 nros Exp $
-DISTNAME= qore-pgsql-module-2.3
-PKGREVISION= 5
+DISTNAME= qore-pgsql-module-2.4
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=qorelanguage/}
EXTRACT_SUFX= .tar.bz2
+GITHUB_PROJECT= module-pgsql
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
-MAINTAINER= nros@users.sourceforge.net
+MAINTAINER= nros@netbsd.org
HOMEPAGE= http://www.qore.org/
COMMENT= PostgreSQL driver for Qore
LICENSE= gnu-lgpl-v2.1 OR mit
@@ -17,6 +18,8 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake pax
PTHREAD_OPTS+= native
+CONFIGURE_ARGS+=--with-libsuffix=""
+
#This is needed in order to comply the with MIT license and binary distribution
#Install docs
INSTALLATION_DIRS+= share/doc/${PKGBASE}
diff --git a/databases/qore-pgsql-module/PLIST b/databases/qore-pgsql-module/PLIST
index 53095acc2b2..63a262bfebe 100644
--- a/databases/qore-pgsql-module/PLIST
+++ b/databases/qore-pgsql-module/PLIST
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2014/12/30 15:44:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/07/20 13:54:21 nros Exp $
${QORE_MODULE_DIR}/pgsql-api-${QORE_LATEST_MODULE_API}.qmod
+share/doc/qore-pgsql-module/COPYING.LGPL
+share/doc/qore-pgsql-module/COPYING.MIT
+share/doc/qore-pgsql-module/html/arrowdown.png
+share/doc/qore-pgsql-module/html/arrowright.png
share/doc/qore-pgsql-module/html/bc_s.png
share/doc/qore-pgsql-module/html/bdwn.png
share/doc/qore-pgsql-module/html/closed.png
@@ -7,25 +11,12 @@ share/doc/qore-pgsql-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
share/doc/qore-pgsql-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.map
share/doc/qore-pgsql-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.md5
share/doc/qore-pgsql-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.png
+share/doc/qore-pgsql-module/html/doc.png
share/doc/qore-pgsql-module/html/doxygen.css
share/doc/qore-pgsql-module/html/doxygen.png
share/doc/qore-pgsql-module/html/dynsections.js
-share/doc/qore-pgsql-module/html/ftv2blank.png
-share/doc/qore-pgsql-module/html/ftv2cl.png
-share/doc/qore-pgsql-module/html/ftv2doc.png
-share/doc/qore-pgsql-module/html/ftv2folderclosed.png
-share/doc/qore-pgsql-module/html/ftv2folderopen.png
-share/doc/qore-pgsql-module/html/ftv2lastnode.png
-share/doc/qore-pgsql-module/html/ftv2link.png
-share/doc/qore-pgsql-module/html/ftv2mlastnode.png
-share/doc/qore-pgsql-module/html/ftv2mnode.png
-share/doc/qore-pgsql-module/html/ftv2mo.png
-share/doc/qore-pgsql-module/html/ftv2node.png
-share/doc/qore-pgsql-module/html/ftv2ns.png
-share/doc/qore-pgsql-module/html/ftv2plastnode.png
-share/doc/qore-pgsql-module/html/ftv2pnode.png
-share/doc/qore-pgsql-module/html/ftv2splitbar.png
-share/doc/qore-pgsql-module/html/ftv2vertline.png
+share/doc/qore-pgsql-module/html/folderclosed.png
+share/doc/qore-pgsql-module/html/folderopen.png
share/doc/qore-pgsql-module/html/graph_legend.html
share/doc/qore-pgsql-module/html/graph_legend.md5
share/doc/qore-pgsql-module/html/graph_legend.png
@@ -50,37 +41,42 @@ share/doc/qore-pgsql-module/html/nav_g.png
share/doc/qore-pgsql-module/html/nav_h.png
share/doc/qore-pgsql-module/html/navtree.css
share/doc/qore-pgsql-module/html/navtree.js
+share/doc/qore-pgsql-module/html/navtreedata.js
share/doc/qore-pgsql-module/html/navtreeindex0.js
share/doc/qore-pgsql-module/html/open.png
share/doc/qore-pgsql-module/html/resize.js
-share/doc/qore-pgsql-module/html/search/all_6f.html
-share/doc/qore-pgsql-module/html/search/all_6f.js
-share/doc/qore-pgsql-module/html/search/all_70.html
-share/doc/qore-pgsql-module/html/search/all_70.js
-share/doc/qore-pgsql-module/html/search/all_71.html
-share/doc/qore-pgsql-module/html/search/all_71.js
-share/doc/qore-pgsql-module/html/search/all_74.html
-share/doc/qore-pgsql-module/html/search/all_74.js
+share/doc/qore-pgsql-module/html/search/all_0.html
+share/doc/qore-pgsql-module/html/search/all_0.js
+share/doc/qore-pgsql-module/html/search/all_1.html
+share/doc/qore-pgsql-module/html/search/all_1.js
+share/doc/qore-pgsql-module/html/search/all_2.html
+share/doc/qore-pgsql-module/html/search/all_2.js
+share/doc/qore-pgsql-module/html/search/all_3.html
+share/doc/qore-pgsql-module/html/search/all_3.js
share/doc/qore-pgsql-module/html/search/close.png
-share/doc/qore-pgsql-module/html/search/functions_70.html
-share/doc/qore-pgsql-module/html/search/functions_70.js
-share/doc/qore-pgsql-module/html/search/groups_6f.html
-share/doc/qore-pgsql-module/html/search/groups_6f.js
-share/doc/qore-pgsql-module/html/search/groups_70.html
-share/doc/qore-pgsql-module/html/search/groups_70.js
-share/doc/qore-pgsql-module/html/search/groups_74.html
-share/doc/qore-pgsql-module/html/search/groups_74.js
+share/doc/qore-pgsql-module/html/search/functions_0.html
+share/doc/qore-pgsql-module/html/search/functions_0.js
+share/doc/qore-pgsql-module/html/search/groups_0.html
+share/doc/qore-pgsql-module/html/search/groups_0.js
+share/doc/qore-pgsql-module/html/search/groups_1.html
+share/doc/qore-pgsql-module/html/search/groups_1.js
+share/doc/qore-pgsql-module/html/search/groups_2.html
+share/doc/qore-pgsql-module/html/search/groups_2.js
share/doc/qore-pgsql-module/html/search/mag_sel.png
-share/doc/qore-pgsql-module/html/search/namespaces_71.html
-share/doc/qore-pgsql-module/html/search/namespaces_71.js
+share/doc/qore-pgsql-module/html/search/namespaces_0.html
+share/doc/qore-pgsql-module/html/search/namespaces_0.js
share/doc/qore-pgsql-module/html/search/nomatches.html
+share/doc/qore-pgsql-module/html/search/pages_0.html
+share/doc/qore-pgsql-module/html/search/pages_0.js
share/doc/qore-pgsql-module/html/search/search.css
share/doc/qore-pgsql-module/html/search/search.js
share/doc/qore-pgsql-module/html/search/search_l.png
share/doc/qore-pgsql-module/html/search/search_m.png
share/doc/qore-pgsql-module/html/search/search_r.png
-share/doc/qore-pgsql-module/html/search/variables_70.html
-share/doc/qore-pgsql-module/html/search/variables_70.js
+share/doc/qore-pgsql-module/html/search/searchdata.js
+share/doc/qore-pgsql-module/html/search/variables_0.html
+share/doc/qore-pgsql-module/html/search/variables_0.js
+share/doc/qore-pgsql-module/html/splitbar.png
share/doc/qore-pgsql-module/html/sync_off.png
share/doc/qore-pgsql-module/html/sync_on.png
share/doc/qore-pgsql-module/html/tab_a.png
@@ -88,5 +84,3 @@ share/doc/qore-pgsql-module/html/tab_b.png
share/doc/qore-pgsql-module/html/tab_h.png
share/doc/qore-pgsql-module/html/tab_s.png
share/doc/qore-pgsql-module/html/tabs.css
-share/doc/qore-pgsql-module/COPYING.LGPL
-share/doc/qore-pgsql-module/COPYING.MIT
diff --git a/databases/qore-pgsql-module/distinfo b/databases/qore-pgsql-module/distinfo
index 481e30c268d..49c2ae54a3d 100644
--- a/databases/qore-pgsql-module/distinfo
+++ b/databases/qore-pgsql-module/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:56:29 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/07/20 13:54:21 nros Exp $
-SHA1 (qore-pgsql-module-2.3.tar.bz2) = 9ed915e2247af7e389b54f5e2428258a19057fb3
-RMD160 (qore-pgsql-module-2.3.tar.bz2) = 1336b32fe26d1485ed39a45e8087a6e87b1f9c11
-SHA512 (qore-pgsql-module-2.3.tar.bz2) = c8e7f43fd1e041a5dd86da7990055a19d993ef0ccfd9c75f1a2ccd9d753d24b0d056aa9cc449a8bbf9a630cb11b92228556d6f3fb8b9f47662c524640a9f3834
-Size (qore-pgsql-module-2.3.tar.bz2) = 437249 bytes
-SHA1 (patch-configure) = 0abf65dce6c5b74242de54c0b09bb0b929b7b415
-SHA1 (patch-src_Makefile.in) = 21b06174a89c602381fbfe820fad65b2944400a5
+SHA1 (qore-pgsql-module-2.4.tar.bz2) = f6cd34f84e8fdeb567b3107e79d1d7a6cf34c7b8
+RMD160 (qore-pgsql-module-2.4.tar.bz2) = 70164da5f1c79548a1f295515349ddb65fc0f2bd
+SHA512 (qore-pgsql-module-2.4.tar.bz2) = f3c81630fccbbd0c89c15b5e804c385e617999b92e414b411113ef7dc7fb2ac670d447864ab749a5839d6495e2c5d218a4c8cb3b09c337e8c74aa871133c58ea
+Size (qore-pgsql-module-2.4.tar.bz2) = 452140 bytes
diff --git a/databases/qore-pgsql-module/patches/patch-configure b/databases/qore-pgsql-module/patches/patch-configure
deleted file mode 100644
index e0b8366d477..00000000000
--- a/databases/qore-pgsql-module/patches/patch-configure
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2014/12/30 15:44:25 wiz Exp $
-pkgsrc doesn't use lib64 or target dirs so don't set them.
-fixes build on linux.
-http://sf.net/p/qore/code/6817/
---- configure.orig 2014-10-31 21:56:41.605684184 +0000
-+++ configure
-@@ -15876,14 +15876,6 @@ if test "$enable_64bit" = "yes"; then
- *linux*) if test "$GXX" = "yes"; then
- CXXFLAGS="$CXXFLAGS -m64"
- fi
-- # only set LIBSUFFIX=64 if /usr/lib64 exists
-- if test -d /usr/lib64; then
-- LIBSUFFIX=64
-- fi
-- target="${host_cpu}-${host_os}"
-- if test -d /usr/lib/$target; then
-- LIBSUFFIX=/$target
-- fi
-
-
- ;;
diff --git a/databases/qore-pgsql-module/patches/patch-src_Makefile.in b/databases/qore-pgsql-module/patches/patch-src_Makefile.in
deleted file mode 100644
index 47bcd9f5614..00000000000
--- a/databases/qore-pgsql-module/patches/patch-src_Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 15:44:25 wiz Exp $
-* don't install .a file
-http://sf.net/p/qore/code/6289/
---- src/Makefile.in.orig 2013-09-18 07:31:19.000000000 +0000
-+++ src/Makefile.in
-@@ -348,6 +348,7 @@ AM_CPPFLAGS = $(QORE_CPPFLAGS)
- @COND_DEBUG_TRUE@@COND_PROFILE_FALSE@AM_CXXFLAGS = -g
- @COND_PROFILE_TRUE@AM_CXXFLAGS = -g -pg
- @COND_MINGW_TRUE@RM_OTHER = $(DESTDIR)$(libdir)/$(MNAME).dll.a
-+@COND_MINGW_FALSE@RM_OTHER = $(DESTDIR)$(libdir)/$(MNAME).a
- all: all-am
-
- .SUFFIXES: