summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-mysql
diff options
context:
space:
mode:
authorwen <wen>2016-11-20 06:40:41 +0000
committerwen <wen>2016-11-20 06:40:41 +0000
commit1d4593a1a5978b13dab933e43b7fe185157ccfab (patch)
tree62b28ba141df02b8fb7460f19423e9d677c44873 /databases/p5-DBD-mysql
parent4a1d7a04faf38cc776c8607ade753101aec9b6a7 (diff)
downloadpkgsrc-1d4593a1a5978b13dab933e43b7fe185157ccfab.tar.gz
Update to 4.040
Upstream changes: 2016-11-19 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.040) * Since 4.038 we had problems compiling on big-endian architectures, such as MIPS, s390 and Sparc. Thanks to Salvatore Bonaccorso @ Debian project (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844538) and Vladimir Marek (https://rt.cpan.org/Public/Bug/Display.html?id=118835) for reporting the issues. Fix by Pali Roh獺r. Fix integer types when server side prepare statements are enabled Fixed problems: * SQL_BIGINT was incorrectly handled as 32bit MYSQL_TYPE_LONG type instead 64bit MYSQL_TYPE_LONGLONG which led to integer overflow/underflow * 32bit MYSQL_TYPE_LONG was used for perl's IV storage when IV was 64bit and 64bit MYSQL_TYPE_LONGLONG was used when IV was 32bit * All unsigned types were handled as signed, so all high positive values were treated as negative * Numeric conversions in perl which led to overflow/underflow was ignored even when mysql strict mode was enabled * Test t/41int_min_max.t was running only for normal non-prepared statements * Test t/40server_prepare.t used incorrect SQL type for big (64bit) integers 2016-11-15 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.039) * Fix for security issue Out-of-bounds read by DBD::mysql CVE-2016-1249 (pali) 2016-10-30 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.038_01) * Fix compilation of embedded server (pali) (https://github.com/perl5-dbi/DBD-mysql/pull/68) * Fix compilation against libmariadbclient. First version by H.Merijn Brand, improved by Bernt Johnsen @ Oracle. * For efficiency use newSVpvn() instead newSVpv() where possible (pali) * Correctly coerce fetched scalar values when mysql_server_prepare is not used (pali) * Add support for fetching columns of BIT type with mysql_server_prepare = 1 (pali) Fixes https://rt.cpan.org/Public/Bug/Display.html?id=88006 * Use correct format in printf instead of casting variable types (pali) * Include errno.h for MYSQL_ASYNC because it uses errno variable (pali) * Travis: also test on perl 5.22 and 5.24.
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r--databases/p5-DBD-mysql/Makefile4
-rw-r--r--databases/p5-DBD-mysql/distinfo10
2 files changed, 7 insertions, 7 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 8190089d394..f994befcdbd 100644
--- a/databases/p5-DBD-mysql/Makefile
+++ b/databases/p5-DBD-mysql/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2016/10/21 13:03:19 wen Exp $
+# $NetBSD: Makefile,v 1.67 2016/11/20 06:40:41 wen Exp $
-DISTNAME= DBD-mysql-4.038
+DISTNAME= DBD-mysql-4.040
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
diff --git a/databases/p5-DBD-mysql/distinfo b/databases/p5-DBD-mysql/distinfo
index 8e14f87797d..cb28d7ab6f4 100644
--- a/databases/p5-DBD-mysql/distinfo
+++ b/databases/p5-DBD-mysql/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.26 2016/10/21 13:03:19 wen Exp $
+$NetBSD: distinfo,v 1.27 2016/11/20 06:40:41 wen Exp $
-SHA1 (DBD-mysql-4.038.tar.gz) = 3fbbbd232f1c382ceb0e35768e313c5fae3e0727
-RMD160 (DBD-mysql-4.038.tar.gz) = e0775af6d210794ce7b8cdbdae096fed508d204d
-SHA512 (DBD-mysql-4.038.tar.gz) = ba9515f3fe0a5afdede86bdfdeb2b06dafe9251650e868da6d3630e593d2992b292eb8027c964f15c6cbfc80c2fb67270e13ccd013e83d0c55ac503c99d2e1c2
-Size (DBD-mysql-4.038.tar.gz) = 149016 bytes
+SHA1 (DBD-mysql-4.040.tar.gz) = edbd76b915d35930c9a4bda67f0b4a6090d4308e
+RMD160 (DBD-mysql-4.040.tar.gz) = a808fcc5eb0b8f0b091138f073fe5b3a6db7dff7
+SHA512 (DBD-mysql-4.040.tar.gz) = 43ed530e568ace51030ba36b3013fffaa19ae7c463d05f595f0343ea58e79801eac1c6ae280de343d280e043581f349306d960a153160f24e8457028866e474f
+Size (DBD-mysql-4.040.tar.gz) = 149783 bytes