pkgsrc/databases/p5-DBD-mysql/Makefile

27 lines
740 B
Makefile
Raw Normal View History

2019-08-11 15:17:48 +02:00
# $NetBSD: Makefile,v 1.79 2019/08/11 13:18:25 wiz Exp $
DISTNAME= DBD-mysql-4.050
PKGNAME= p5-${DISTNAME}
2019-08-11 15:17:48 +02:00
PKGREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
MAINTAINER= bad@NetBSD.org
HOMEPAGE= https://metacpan.org/release/DBD-mysql
COMMENT= Perl DBI/DBD driver for MySQL databases
LICENSE= ${PERL5_LICENSE}
p5-DBD-mysql: update to 4.047. 2018-09-08 Daniël van Eeden, Patrick Galbraith, DBI/DBD community (4.047) * Add options needed for public key based security. * Allow several spaces after LIMIT clause. * Basic GTID tracking. * Fix GCC 8.1 warnings * Fix warning: unused variable ‘buffer_len’ * Fix warning about bind->is_null assignment with incompatible pointer type * Get rid of warning about unused variable ssl_verify_set * Fix space/tab issue which leads to misleading indentation * Change spaces/tabs to get rid of GCC8 warning 2018-03-09 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.046_01) * Updated documentation re. multithreading (Daniël van Eeden) * Remove #IFDEFs for code detecting ancient DBI versions. The minimum DBI version we require is version 1.609 from 2009! * ChopBlanks should not trim binary fields (urcheon) * Skipped test which failed on OpenBSD because Proc::ProcessTable does not come with a 'size' attribute on this platform (glasswalk3r, pali) * Improved test suite with regards to MySQL 8.0 * Improved macOS installation notes. * Use Devel::CheckLib 1.09 or newer, fixes https://github.com/perl5-dbi/DBD-mysql/issues/109 * Specify bigint as test dependency * Add recommends and suggests tests dependencies (pali) * Check only for libs via Devel::CheckLib in Makefile.PL (pali) * Remove param --with-mysql from Makefile.PL documentation (pali) * Check if specified Makefile.PL settings are working (pali) Fixes https://rt.cpan.org/Ticket/Display.html?id=119902 * Remember mysql_config value for Makefile.PL (pali) * Locate MySQL libs using Devel::CheckLib (pali) * Added a fix for 30insertfetch failure when using server-side prepared statements. The stmt was being freed for DML statements before the handle attribute was read, mysql_info was reading back nulls
2018-09-09 08:52:31 +02:00
DEPENDS+= p5-Devel-CheckLib-[0-9]*:../../devel/p5-Devel-CheckLib
TEST_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
PERL5_PACKLIST= auto/DBD/mysql/.packlist
Update to 4.031 Remove unneeded DEPENDS Upstream changes: 2015-03-05 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.031) * Added LICENSE * Reworked installation documentation in POD. * Allow use of bracketed IPv6 addresses in connection string (RT70640), fix by Tim Mullin @ cPanel). * Locate mysql_config in path on MSWin32 (RT94838, reported by CHORNY). * Environment variable DBD_MYSQL_CONFIG actually works now. * Makefile.PL now correcly handles MariaDB's mysql_config. * Correct attribution to David Dick #86030: PATCH: adding statistics_info support * Test suite can now be run in parallel. Fixes RT98994 reported by DOHERTY. * Fixes for MySQL 5.6+ and for prepared statement handling (stevenh on github). * Fix for RT100792, New test t/05dbcreate.t fails if user has no permissions. * Fix for bit test (RT68374, BJDEAN@cpan.org) CaptTofu added 40bit.t to test. 2015-03-02 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.030_02) * Reworked installation documentation in POD. * Allow use of bracketed IPv6 addresses in connection string (RT70640), fix by Tim Mullin @ cPanel). * Locate mysql_config in path on MSWin32 (RT94838, reported by CHORNY). * Environment variable DBD_MYSQL_CONFIG actually works now. * Makefile.PL now correcly handles MariaDB's mysql_config. 2015-01-27 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.030_01) * Correct attribution to David Dick #86030: PATCH: adding statistics_info support * Test suite can now be run in parallel. Fixes RT98994 reported by DOHERTY. * Fixes for MySQL 5.6+ and for prepared statement handling (stevenh on github). * Fix for RT100792, New test t/05dbcreate.t fails if user has no permissions. * Fix for bit test (RT68374, BJDEAN@cpan.org) CaptTofu added 40bit.t to test. 2014-12-08 Patrick Galbraith (aka CaptTofu) and community (4.029) * Added fix to tests to create test database if not exists (contstant failure on Travis) (CaptTofu) * Support the fraction of (Oracle) MySQL Fabric that is supported by the most recent Connector/C (Steffen Mueller smueller<at>cpan<dot>org * Statistics Info Milanrm <sorm<at>is4u<dot>cz> for work on statistics_info * Fix for RT 97625, use after free(), Reini Urban rurban<at>cpan<dot>org 2014-08-01 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.028) * Fixed bug in mysql.xs where dbh was being used as error code * RT #97570: fix wrong salloc free in mysql_st_internal_execute - (Reini Urban, cPanel) * Fix RT #97625 use-after-free in mysql_dr_error, and #86153 - (Reini Urban, cPanel) * find mysql.h for MariaDB on Win32 (Graham Ollis) * Update mysql.pm to work with ipv6 and ipv4 addresses (katyavoid)
2015-03-08 10:57:03 +01:00
REPLACE_PERL= lib/DBD/mysql.pm
Update to 2.1017, based on pkg/17295 by Sergey Svishchev. Changes since 1.2219: * dbdimp.c: Added a required check for mysql_errno. Steve Hay <Steve.Hay@uk.radan.com> * dbdimp.c: Removed use of mysql_eof. Jay Lawrence <jay@lawrence.net> * dbdimp.c: Fixed mysql_is_auto_increment. Paul Walmsley <shag-dbdmysql@booyaka.com> and Paul Dubois <paul@kitebird.org> * dbdimp.c: Added use of mysql_ssl_set. Chris Hanes <chanes@i-c.net> * Some fixes in the docs. Paul Dubois <paul@kitebird.com> * Added mysql_is_auto_increment. (Someone else, but forgot his email, sorry!) * lib/DBD/mysql.pod: Fixed minor bug in an example. * Within AutoCommit mode, reconnect is now turned off, because the transaction state is unpredictable otherwise. * dbdimp.c: Added use of SvMAGICAL to dbd_db_quote. Rudy Lippan <almighty@randomc.com> * bind_param now using mysql_real_escape_string as well. Dave Rolsky <autarch@urth.org> * Added mysql_ssl flag to DBI->connect. * Quoting now based on mysql_real_escape_string. Thanks to Dave Rolsky <autarch@urth.org> for suggesting this. * Portability changes for MySQL 4. * dbdimp.c: Fixed $dbh->{mysql_insertid}; added t/insertid.t * Added transaction support for MySQL. (Bob Lyons <lyons@nextrials.com>) * dbd/dbdimp.c: Fixed MAXLENGTH warning; used to hint for a not existing mysql_maxlength, which should read mysql_max_length. (Paul DuBois <paul@snake.net>) * Fixed installation problem when a directory was specified, but did not exist. (Will Partain <partain@dcs.gla.ac.uk>) * Fixed that mysql_errno wasn't used properly. (Chris Adams <cmadams@hiwaay.net>) * Fixed test suite problem, when user name and password have been interpolated. (Bruno Hivert (LMC) <lmcbrhi@lmc.ericsson.se>) * mysql_insertid and mysql_affectedrows are no longer treated as integers, but longs. Thanks to Michael G Schwern <schwern@pobox.com>. make test gives the same output as for the previous pkgsrc version. Thanks, atatat!
2002-07-07 14:34:49 +02:00
MAKE_PARAMS+= --nocatchstderr
2004-04-27 04:24:08 +02:00
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"