2019-08-11 15:17:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.79 2019/08/11 13:18:25 wiz Exp $
|
1999-06-10 20:32:36 +02:00
|
|
|
|
2019-01-27 08:32:16 +01:00
|
|
|
DISTNAME= DBD-mysql-4.050
|
2011-05-09 14:37:25 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2019-08-11 15:17:48 +02:00
|
|
|
PKGREVISION= 1
|
2011-05-09 14:37:25 +02:00
|
|
|
CATEGORIES= databases perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
|
1999-06-10 20:32:36 +02:00
|
|
|
|
2011-05-09 14:37:25 +02:00
|
|
|
MAINTAINER= bad@NetBSD.org
|
2019-06-30 22:14:13 +02:00
|
|
|
HOMEPAGE= https://metacpan.org/release/DBD-mysql
|
2011-05-09 14:37:25 +02:00
|
|
|
COMMENT= Perl DBI/DBD driver for MySQL databases
|
|
|
|
LICENSE= ${PERL5_LICENSE}
|
1999-06-10 20:32:36 +02:00
|
|
|
|
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
|
1999-06-10 20:32:36 +02:00
|
|
|
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/DBD/mysql/.packlist
|
1999-06-10 20:32:36 +02:00
|
|
|
|
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
|
1999-06-10 20:32:36 +02:00
|
|
|
|
2004-04-27 04:24:08 +02:00
|
|
|
.include "../../databases/p5-DBI/buildlink3.mk"
|
2002-10-10 14:13:05 +02:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2011-05-09 14:37:25 +02:00
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
1999-06-10 20:32:36 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|