public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/files/, dev-perl/DBD-mysql/
@ 2017-01-24  1:59 Kent Fredric
  0 siblings, 0 replies; 5+ messages in thread
From: Kent Fredric @ 2017-01-24  1:59 UTC (permalink / raw
  To: gentoo-commits

commit:     19eeb140a84c8bb903b808bf7ea344a3c633857a
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 23 08:09:43 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 01:50:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19eeb140

dev-perl/DBD-mysql: Security cleanup re bug #601144

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild      | 50 ----------------
 dev-perl/DBD-mysql/DBD-mysql-4.36.0-r1.ebuild      | 69 ----------------------
 dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild         | 69 ----------------------
 dev-perl/DBD-mysql/DBD-mysql-4.38.0.ebuild         | 69 ----------------------
 dev-perl/DBD-mysql/DBD-mysql-4.38.10_rc.ebuild     | 66 ---------------------
 dev-perl/DBD-mysql/DBD-mysql-4.39.0.ebuild         | 66 ---------------------
 dev-perl/DBD-mysql/DBD-mysql-4.40.0.ebuild         | 66 ---------------------
 dev-perl/DBD-mysql/Manifest                        |  7 ---
 .../files/DBD-mysql-print_embedded_options.patch   | 20 -------
 9 files changed, 482 deletions(-)

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild
deleted file mode 100644
index cc31810..00000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MODULE_AUTHOR=CAPTTOFU
-MODULE_VERSION=4.032
-inherit eutils perl-module
-
-DESCRIPTION="The Perl DBD:mysql Module"
-
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="embedded test"
-
-RDEPEND="dev-perl/DBI
-	dev-perl/Test-Deep
-	virtual/libmysqlclient:=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-print_embedded_options.patch
-}
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.36.0-r1.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.36.0-r1.ebuild
deleted file mode 100644
index ebde1a9..00000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.36.0-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DIST_AUTHOR=MICHIELB
-DIST_VERSION=4.036
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	virtual/libmysqlclient:=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-PATCHES=(
-	"${FILESDIR}"/${PN}-print_embedded_options.patch
-)
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild
deleted file mode 100644
index 46fdcf6..00000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DIST_AUTHOR=MICHIELB
-DIST_VERSION=4.037
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	virtual/libmysqlclient:=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-PATCHES=(
-	"${FILESDIR}"/${PN}-print_embedded_options.patch
-)
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.38.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.38.0.ebuild
deleted file mode 100644
index 16525da..00000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.38.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DIST_AUTHOR=CAPTTOFU
-DIST_VERSION=4.038
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	virtual/libmysqlclient:=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-PATCHES=(
-	"${FILESDIR}"/${PN}-print_embedded_options.patch
-)
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.38.10_rc.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.38.10_rc.ebuild
deleted file mode 100644
index 58b1256..00000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.38.10_rc.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DIST_AUTHOR=MICHIELB
-DIST_VERSION=4.038_01
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	virtual/libmysqlclient:=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.39.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.39.0.ebuild
deleted file mode 100644
index dd284d4..00000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.39.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DIST_AUTHOR=CAPTTOFU
-DIST_VERSION=4.039
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	virtual/libmysqlclient:=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.40.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.40.0.ebuild
deleted file mode 100644
index bef5234..00000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.40.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DIST_AUTHOR=MICHIELB
-DIST_VERSION=4.040
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	virtual/libmysqlclient:=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/Manifest b/dev-perl/DBD-mysql/Manifest
index ec3dfa8..4eb2197 100644
--- a/dev-perl/DBD-mysql/Manifest
+++ b/dev-perl/DBD-mysql/Manifest
@@ -1,8 +1 @@
-DIST DBD-mysql-4.032.tar.gz 146476 SHA256 b8e681e719d8f2d1cecb9e8603e13483b09b56508629b079022778e7dfd7bfb6 SHA512 7e7ebaed07f0540079854294cc3ab4a4554fd0f850dd0927b2485cc985c2c9f5b70a650d971027c883cc4d8450020245656f6ff1f792a56d1a2d4b45402d73d0 WHIRLPOOL 79b94c7c85406e0f3a0469c8017594f81f6151eab3059d483c50326222fdb920d12db04a5382dbdc2862cf853e1c421fe0d7acc4a35b131a0f9d39c2d79f5d0b
-DIST DBD-mysql-4.036.tar.gz 146513 SHA256 5c48a823f86b8110ccb6504c6176ca248b52f56829dd4548bc39c3509f4154cf SHA512 2bfc5151b54559277f5e1949abc702eb373323998c641d199e3b2ba30f4b4ca449fc728fbd4f5ed05af53602e8f8772c2de9b1dd6db36f5af85a3c7799daab19 WHIRLPOOL db173ca8ce560bdbf4120b992c7ebb40feb73a3bd12b1a4f773a5ae7f4daadb77f65111cd3b97329470eaf1f9b7702d0a501180bb12ad622892126cb8e1fcd3d
-DIST DBD-mysql-4.037.tar.gz 146639 SHA256 df578acef28ed3f6aaae52dc98e6821a1407d3bfa88585255729bb0ebfed3cfc SHA512 3bda6ea18d29e32028b7eb93cd06fdbabbadafa66f982556298a68980c42a7b5236872113696e6d2df66a345049d1e63bc90ab358c8631f0cbea187780e514af WHIRLPOOL 2cd51fb258de4877010d6d5f88a27f8e251d86b311d5d7dc3b62a46e7d6ac87facaad7c2bbba6c7f306d91d106e7a713fb21c2f1b7d2934e989aa30794d38a7f
-DIST DBD-mysql-4.038.tar.gz 149016 SHA256 4174bb885a5ccb34d942fc10fafb8bfcbc6d4b4311681ed90727ae1d3bd122e8 SHA512 ba9515f3fe0a5afdede86bdfdeb2b06dafe9251650e868da6d3630e593d2992b292eb8027c964f15c6cbfc80c2fb67270e13ccd013e83d0c55ac503c99d2e1c2 WHIRLPOOL 1f18c7629a5e185d60e14df339f9a6c50e1234a732d7da2a91d10b0b874bfafa0b9c87aa41132581b869def9ff2c0869a0d8a6af985a9e84f81930970e4c2982
-DIST DBD-mysql-4.038_01.tar.gz 148907 SHA256 2cf04092f1ec55a46aa6a01325dddab0a07a284f2c5d9472c8330cf6b37b3c05 SHA512 4b2e508a52fe55c66ca5d58f9676a5a72bc54b090a6e98aef8a201e46c61d2f0d407ea96ee5cf26728073a22757dc7350ee0121a1983421a1bd5140bd9015a6d WHIRLPOOL b0997048eaadc2a024402eb502b6690ee5720533fb01c7552bc8bff0069272eb06e95ac38e0348a656f007b3a24cc2abd557056eeba7246bd9a0effcbcabda4c
-DIST DBD-mysql-4.039.tar.gz 149928 SHA256 1602a9d22e13bd2c5b27e8e2f2a7cc7fa08d6ce53162b0aa12b5d7d5e41a974c SHA512 eb8fa2f7f67ee7eefb5062259a0b20a121df0a8101de1fb2e086d445163d8552939038a6caa5e49b7335d1eb3f9172b466cb6eb932654c1289df53767782b87b WHIRLPOOL 35f4a53cb1137a844f56a708a18034e5cfcf6904fbc058fc2b89ad6a3c6a52e2ac1d04338f7a00a4a3b111efc83e524020043f017e263e6c8cbc077c46fb694b
-DIST DBD-mysql-4.040.tar.gz 149783 SHA256 a3438bba3cce02b13870b146b9db76a519b98e978d9dfe8516a63daff2989040 SHA512 43ed530e568ace51030ba36b3013fffaa19ae7c463d05f595f0343ea58e79801eac1c6ae280de343d280e043581f349306d960a153160f24e8457028866e474f WHIRLPOOL ba86ecf0d5303efcd1e3807f288e565faebff236406f7ee2171f109f570c57ab102e6a75a72ebddd79a21c89385bb8abc75da4ccef879cdd8af8e9e7b99fb747
 DIST DBD-mysql-4.041.tar.gz 150508 SHA256 4777de11c464b515db9da95c08c225900d0594b65ba3256982dc21f9f9379040 SHA512 8663c58f1dec273869ef5d3ee663d80cb36fa87b1956318fff07a4a801aaecc395510a8f31b7a51b823f7e9d6a73ebf13894c1b7f7b27fdc3f3956e6aba34777 WHIRLPOOL 9440ce5e595091228512dbdc90f13dfa9fd0133ba82c96f2be993cec545479c89e362b923ca973829982aca0e81fede30833d32b3c02d4a25287caea31bce47e

diff --git a/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch b/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch
deleted file mode 100644
index d205b43..00000000
--- a/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ubBr old/dbdimp.c new/dbdimp.c
---- old/dbdimp.c	2015-09-12 17:52:41.328543844 -0400
-+++ new/dbdimp.c	2015-09-12 23:21:52.848371578 -0400
-@@ -443,14 +443,14 @@
-  Print out embbedded option settings
- 
- */
--int print_embedded_options(char ** options_list, int options_count)
-+int print_embedded_options(PerlIOl ** Log, char ** options_list, int options_count)
- {
-   int i;
- 
-   for (i=0; i<options_count; i++)
-   {
-     if (options_list[i])
--        PerlIO_printf(DBILOGFP,
-+        PerlIO_printf(Log,
-                       "Embedded server, parameter[%d]=%s\n",
-                       i, options_list[i]);
-   }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/files/, dev-perl/DBD-mysql/
@ 2017-10-19 23:54 Kent Fredric
  0 siblings, 0 replies; 5+ messages in thread
From: Kent Fredric @ 2017-10-19 23:54 UTC (permalink / raw
  To: gentoo-commits

commit:     1b0d23325cf132e9f85ec34ae6bac49f3b5f5ec8
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 23:53:16 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 23:53:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0d2332

dev-perl/DBD-mysql: Fix compiling against MariaDB 10.2 bug #634192

rbump needed because compiles can break and install without errors
if you disabled tests.

Bug: https://bugs.gentoo.org/634192
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 ...4.41.0-r1.ebuild => DBD-mysql-4.41.0-r2.ebuild} |  1 +
 dev-perl/DBD-mysql/files/4.041-mariadb-10.2.patch  | 35 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r1.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r2.ebuild
similarity index 97%
rename from dev-perl/DBD-mysql/DBD-mysql-4.41.0-r1.ebuild
rename to dev-perl/DBD-mysql/DBD-mysql-4.41.0-r2.ebuild
index dd0e5c3e5dc..34f18b06e62 100644
--- a/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r1.ebuild
+++ b/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r2.ebuild
@@ -33,6 +33,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
 	"${FILESDIR}/${DIST_VERSION}-no-dot-inc.patch"
 	"${FILESDIR}/${DIST_VERSION}-amvis-type-conversions.patch"
+	"${FILESDIR}/${DIST_VERSION}-mariadb-10.2.patch"
 )
 src_configure() {
 	if use test; then

diff --git a/dev-perl/DBD-mysql/files/4.041-mariadb-10.2.patch b/dev-perl/DBD-mysql/files/4.041-mariadb-10.2.patch
new file mode 100644
index 00000000000..13fa2775a3c
--- /dev/null
+++ b/dev-perl/DBD-mysql/files/4.041-mariadb-10.2.patch
@@ -0,0 +1,35 @@
+From 509fd6a054de9408ce9032e93fff61f6bdbc568a Mon Sep 17 00:00:00 2001
+From: Brian Evans <grknight@gentoo.org>
+Date: Fri, 13 Oct 2017 15:03:50 -0400
+Subject: Fix building/linking against MariaDB 10.2
+
+Bug: https://bugs.gentoo.org/634192
+---
+ mysql.xs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/mysql.xs b/mysql.xs
+index 13c6a57..6de3c8e 100644
+--- a/mysql.xs
++++ b/mysql.xs
+@@ -790,7 +790,7 @@ dbd_mysql_get_info(dbh, sql_info_type)
+     D_imp_dbh(dbh);
+     IV type = 0;
+     SV* retsv=NULL;
+-#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50709
++#if ( !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50709 ) || MYSQL_VERSION_ID >= 100202
+ /* MariaDB 10 is not MySQL source level compatible so this only applies to MySQL*/
+     IV buffer_len;
+ #endif 
+@@ -822,7 +822,7 @@ dbd_mysql_get_info(dbh, sql_info_type)
+ 	    retsv = newSVpvn("`", 1);
+ 	    break;
+ 	case SQL_MAXIMUM_STATEMENT_LENGTH:
+-#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50709
++#if ( !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50709 ) || MYSQL_VERSION_ID >= 100202
+         /* MariaDB 10 is not MySQL source level compatible so this
+            only applies to MySQL*/
+ 	    /* mysql_get_option() was added in mysql 5.7.3 */
+-- 
+2.14.2
+


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/files/, dev-perl/DBD-mysql/
@ 2018-01-24  4:41 Kent Fredric
  0 siblings, 0 replies; 5+ messages in thread
From: Kent Fredric @ 2018-01-24  4:41 UTC (permalink / raw
  To: gentoo-commits

commit:     0d845674dece9cded838f4184eeeaf33fea0a0ae
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 24 04:33:33 2018 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Jan 24 04:40:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d845674

dev-perl/DBD-mysql: Bump to version 4.44.0

- Remove embedded support
  - https://bugs.gentoo.org/644174
  - https://bugs.gentoo.org/598048
  - removal from older versions may happen later

Upstream:
- Fix for CVE-2017-10788 ( https://bugs.gentoo.org/623632 )
- Fix for CVE-2017-10789 ( https://bugs.gentoo.org/623942 )
- Enforce SSL settings for BACKRONYM and Riddle
- Fix parsing of mysql_config --libs output  in Configure
- Return INTs with ZEROFILL as strings
- Some fixes for 5.26-dot-in-inc

Bug: https://bugs.gentoo.org/598048
Bug: https://bugs.gentoo.org/623632
Bug: https://bugs.gentoo.org/623942
Bug: https://bugs.gentoo.org/644174
Package-Manager: Portage-2.3.18, Repoman-2.3.6

 dev-perl/DBD-mysql/DBD-mysql-4.44.0.ebuild         |  64 +++++++++
 dev-perl/DBD-mysql/Manifest                        |   1 +
 .../DBD-mysql-4.044-amvis-type-conversions.patch   |  56 ++++++++
 .../files/DBD-mysql-4.044-no-dot-inc.patch         | 151 +++++++++++++++++++++
 4 files changed, 272 insertions(+)

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.44.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.44.0.ebuild
new file mode 100644
index 00000000000..48c3cc910c8
--- /dev/null
+++ b/dev-perl/DBD-mysql/DBD-mysql-4.44.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=CAPTTOFU
+DIST_VERSION=4.044
+inherit eutils perl-module
+
+DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="test +ssl"
+
+RDEPEND=">=dev-perl/DBI-1.609.0
+	virtual/libmysqlclient:=
+"
+DEPEND="${RDEPEND}
+	virtual/perl-ExtUtils-MakeMaker
+	virtual/perl-Data-Dumper
+	test? (
+		dev-perl/Test-Deep
+		>=virtual/perl-Test-Simple-0.900.0
+		virtual/perl-Time-HiRes
+	)
+"
+PATCHES=(
+	"${FILESDIR}/${PN}-${DIST_VERSION}-amvis-type-conversions.patch"
+	"${FILESDIR}/${PN}-${DIST_VERSION}-no-dot-inc.patch"
+	"${FILESDIR}/4.041-mariadb-10.2.patch"
+)
+src_configure() {
+	if use test; then
+		myconf="${myconf} --testdb=test \
+			--testhost=localhost \
+			--testuser=test \
+			--testpassword=test"
+	fi
+	myconf="${myconf} --$(usex ssl ssl nossl)"
+	perl-module_src_configure
+}
+
+# Parallel testing is broken as 2 tests create the same table
+# and mysql isn't acid compliant and can't limit visibility of tables
+# to a transaction...
+DIST_TEST="do"
+
+src_test() {
+	einfo
+	einfo "If tests fail, you have to configure your MySQL instance to create"
+	einfo "and grant some privileges to the test user."
+	einfo "You can run the following commands at the MySQL prompt: "
+	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
+	einfo "> CREATE DATABASE test;"
+	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
+	einfo
+	sleep 5
+	perl_rm_files t/pod.t t/manifest.t
+	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
+	# out why 60leaks.t fails
+	perl-module_src_test
+}

diff --git a/dev-perl/DBD-mysql/Manifest b/dev-perl/DBD-mysql/Manifest
index 45096fbca21..6765b78c1b2 100644
--- a/dev-perl/DBD-mysql/Manifest
+++ b/dev-perl/DBD-mysql/Manifest
@@ -2,3 +2,4 @@ DIST DBD-mysql-4.032.tar.gz 146476 BLAKE2B 3ace983522e273cdb18352d2fa87702222594
 DIST DBD-mysql-4.037.tar.gz 146639 BLAKE2B fbecca7302cd6ea0386116a1824a7696f87f681dbfcd88970b1a5eab54639e46471fc07b37bd8c0158b3eca02d05dad159e11027daa5ab46eaa307b530f7c58e SHA512 3bda6ea18d29e32028b7eb93cd06fdbabbadafa66f982556298a68980c42a7b5236872113696e6d2df66a345049d1e63bc90ab358c8631f0cbea187780e514af
 DIST DBD-mysql-4.041.tar.gz 150508 BLAKE2B 900ccc4ad9bc5bfb236c66774a6c9529beed3568c3f3626afcbb572fa530a2488ee8e05b1dabd169a775f28d634321dd3e86923e2829e019943a9f3054b1e887 SHA512 8663c58f1dec273869ef5d3ee663d80cb36fa87b1956318fff07a4a801aaecc395510a8f31b7a51b823f7e9d6a73ebf13894c1b7f7b27fdc3f3956e6aba34777
 DIST DBD-mysql-4.042.tar.gz 160028 BLAKE2B ef2f9d6508a473c34275ae9d7233863698ab502d837975f08593d2d1ca9761081ffb84bafc5a02c572e2a6b4d54dd7c8312e476e0719733166f8edc030a016de SHA512 fe3c9e1e325f7056da783e0ea33f9a7810f25f3d9cd2c9a4bf4037b20a2148f2291b2f90d44730e63c7902b45e26993a7f9fcf1b3bf8d1bc5d3fca99893a019e
+DIST DBD-mysql-4.044.tar.gz 155006 BLAKE2B 2934224010bb09aaff9a334b25038a4c7d1eb5552f6ad2b73f44aa7e2d8cb3684644773a89f35363c156cf40867a28943320e1b8b7ef4b9d4b8ac0f6b2417b38 SHA512 e3dd9482e8f78c19dc91baba07e39e266f113ce5a014cfe6c5989c96ed0f85723a17ba6a6e00b65a1ed3c62362400bd3779eb63ed282f73587b4757da249af02

diff --git a/dev-perl/DBD-mysql/files/DBD-mysql-4.044-amvis-type-conversions.patch b/dev-perl/DBD-mysql/files/DBD-mysql-4.044-amvis-type-conversions.patch
new file mode 100644
index 00000000000..9cf9ff91fc8
--- /dev/null
+++ b/dev-perl/DBD-mysql/files/DBD-mysql-4.044-amvis-type-conversions.patch
@@ -0,0 +1,56 @@
+From eb7eddaa2341b853df045ad4a3690c60fc38c6c8 Mon Sep 17 00:00:00 2001
+From: Pali <pali@cpan.org>
+Date: Fri, 24 Feb 2017 19:51:36 +0100
+Subject: Fix type conversions
+
+Calling SvNV() for magical scalar is not enough for float type conversion.
+It caused problem for Amavis in tainted mode -- all float values were zero.
+On the other hand SvIV() and SvUV() seems to work fine. To be sure that
+correct value of float is in scalar use sv_setnv() with explicit NV float
+value. Similar code is changed also for integers IV/UV.
+
+This patch should fix reported Amavis bug:
+https://github.com/perl5-dbi/DBD-mysql/issues/78
+
+See also reported perl bug about SvNV():
+https://rt.perl.org/Public/Bug/Display.html?id=130801
+
+Bugs: https://github.com/perl5-dbi/DBD-mysql/issues/78
+Bugs-Debian: https://bugs.debian.org/856064
+---
+ dbdimp.c | 9 +++------
+ 1 file changed, 3 insertions(+), 6 deletions(-)
+
+diff --git a/dbdimp.c b/dbdimp.c
+index 9c33994..7fdfba1 100644
+--- a/dbdimp.c
++++ b/dbdimp.c
+@@ -4380,8 +4380,7 @@ process:
+           if (!(fields[i].flags & ZEROFILL_FLAG))
+           {
+             /* Coerce to dobule and set scalar as NV */
+-            (void) SvNV(sv);
+-            SvNOK_only(sv);
++            sv_setnv(sv, SvNV(sv));
+           }
+           break;
+ 
+@@ -4392,13 +4391,11 @@ process:
+             /* Coerce to integer and set scalar as UV resp. IV */
+             if (fields[i].flags & UNSIGNED_FLAG)
+             {
+-              (void) SvUV(sv);
+-              SvIOK_only_UV(sv);
++              sv_setuv(sv, SvUV(sv));
+             }
+             else
+             {
+-              (void) SvIV(sv);
+-              SvIOK_only(sv);
++              sv_setiv(sv, SvIV(sv));
+             }
+           }
+           break;
+-- 
+2.15.1
+

diff --git a/dev-perl/DBD-mysql/files/DBD-mysql-4.044-no-dot-inc.patch b/dev-perl/DBD-mysql/files/DBD-mysql-4.044-no-dot-inc.patch
new file mode 100644
index 00000000000..5e0829384be
--- /dev/null
+++ b/dev-perl/DBD-mysql/files/DBD-mysql-4.044-no-dot-inc.patch
@@ -0,0 +1,151 @@
+From 35931a7465f19da53b97cd1bc5369a69aeac2ff6 Mon Sep 17 00:00:00 2001
+From: Pali <pali@cpan.org>
+Date: Mon, 17 Apr 2017 21:38:58 +0200
+Subject: Fix tests on Perl On 5.25.10 or greater with
+ -Ddefault_inc_excludes_dot
+
+Some tests do not include dot in %INC and fails with error:
+Can't locate t/lib.pl in @INC
+
+Fixes: https://rt.cpan.org/Public/Bug/Display.html?id=120709
+---
+ t/40server_prepare_crash.t             | 3 ++-
+ t/lib.pl                               | 5 +++--
+ t/rt118977-zerofill.t                  | 2 +-
+ t/rt25389-bin-case.t                   | 3 ++-
+ t/rt50304-column_info_parentheses.t    | 3 ++-
+ t/rt61849-bind-param-buffer-overflow.t | 3 ++-
+ t/rt75353-innodb-lock-timeout.t        | 3 ++-
+ t/rt83494-quotes-comments.t            | 3 ++-
+ 8 files changed, 16 insertions(+), 9 deletions(-)
+
+diff --git a/t/40server_prepare_crash.t b/t/40server_prepare_crash.t
+index df6e2b3..e2c8c9f 100644
+--- a/t/40server_prepare_crash.t
++++ b/t/40server_prepare_crash.t
+@@ -5,7 +5,8 @@ use Test::More;
+ use DBI;
+ 
+ use vars qw($test_dsn $test_user $test_password);
+-require "t/lib.pl";
++use lib 't', '.';
++require "lib.pl";
+ 
+ my $dbh = eval { DBI->connect($test_dsn, $test_user, $test_password, { PrintError => 1, RaiseError => 1, AutoCommit => 0, mysql_server_prepare => 1, mysql_server_prepare_disable_fallback => 1 }) };
+ plan skip_all => "no database connection" if $@ or not $dbh;
+diff --git a/t/lib.pl b/t/lib.pl
+index 2221c40..0c756a0 100644
+--- a/t/lib.pl
++++ b/t/lib.pl
+@@ -2,6 +2,7 @@ use strict;
+ use warnings;
+ 
+ use Test::More;
++use File::Spec ();
+ use DBI::Const::GetInfoType;
+ use vars qw($mdriver $dbdriver $childPid $test_dsn $test_user $test_password);
+ 
+@@ -31,7 +32,7 @@ if (-f ($file = "t/$dbdriver.dbtest")  ||
+     -f ($file = "$dbdriver.dbtest")    ||
+     -f ($file = "../tests/$dbdriver.dbtest")  ||
+     -f ($file = "tests/$dbdriver.dbtest")) {
+-    eval { require $file; };
++    eval { require File::Spec->rel2abs($file); };
+     if ($@) {
+ 	print STDERR "Cannot execute $file: $@.\n";
+ 	print "1..0\n";
+@@ -45,7 +46,7 @@ if (-f ($file = "t/$mdriver.mtest")  ||
+     -f ($file = "$mdriver.mtest")    ||
+     -f ($file = "../tests/$mdriver.mtest")  ||
+     -f ($file = "tests/$mdriver.mtest")) {
+-    eval { require $file; };
++    eval { require File::Spec->rel2abs($file); };
+     if ($@) {
+ 	print STDERR "Cannot execute $file: $@.\n";
+ 	print "1..0\n";
+diff --git a/t/rt118977-zerofill.t b/t/rt118977-zerofill.t
+index 27ba1b7..86edb8e 100644
+--- a/t/rt118977-zerofill.t
++++ b/t/rt118977-zerofill.t
+@@ -5,7 +5,7 @@ use Test::More;
+ use DBI;
+ 
+ use vars qw($test_dsn $test_user $test_password);
+-require "t/lib.pl";
++require "./t/lib.pl";
+ 
+ my $dbh = eval { DBI->connect($test_dsn, $test_user, $test_password, { PrintError => 1, RaiseError => 1 }) };
+ plan skip_all => "no database connection" if $@ or not $dbh;
+diff --git a/t/rt25389-bin-case.t b/t/rt25389-bin-case.t
+index 37bffb9..9d091b3 100644
+--- a/t/rt25389-bin-case.t
++++ b/t/rt25389-bin-case.t
+@@ -4,7 +4,8 @@ use warnings;
+ use DBI;
+ 
+ use vars qw($test_dsn $test_user $test_password);
+-require "t/lib.pl";
++use lib 't', '.';
++require "lib.pl";
+ 
+ use Test::More;
+ 
+diff --git a/t/rt50304-column_info_parentheses.t b/t/rt50304-column_info_parentheses.t
+index 5b6d799..8c31bf6 100644
+--- a/t/rt50304-column_info_parentheses.t
++++ b/t/rt50304-column_info_parentheses.t
+@@ -4,7 +4,8 @@ use warnings;
+ use DBI;
+ 
+ use vars qw($test_dsn $test_user $test_password $state);
+-require "t/lib.pl";
++use lib 't', '.';
++require "lib.pl";
+ 
+ use Test::More;
+ 
+diff --git a/t/rt61849-bind-param-buffer-overflow.t b/t/rt61849-bind-param-buffer-overflow.t
+index 99a4ccc..494f985 100644
+--- a/t/rt61849-bind-param-buffer-overflow.t
++++ b/t/rt61849-bind-param-buffer-overflow.t
+@@ -5,7 +5,8 @@ use Test::More;
+ use DBI;
+ 
+ use vars qw($test_dsn $test_user $test_password);
+-require "t/lib.pl";
++use lib 't', '.';
++require "lib.pl";
+ 
+ my $INSECURE_VALUE_FROM_USER = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
+ 
+diff --git a/t/rt75353-innodb-lock-timeout.t b/t/rt75353-innodb-lock-timeout.t
+index 69b740e..41d1b8f 100644
+--- a/t/rt75353-innodb-lock-timeout.t
++++ b/t/rt75353-innodb-lock-timeout.t
+@@ -5,7 +5,8 @@ use Test::More;
+ use DBI;
+ 
+ use vars qw($test_dsn $test_user $test_password);
+-require "t/lib.pl";
++use lib 't', '.';
++require "lib.pl";
+ 
+ my $dbh1 = eval { DBI->connect($test_dsn, $test_user, $test_password, { RaiseError => 1, AutoCommit => 0 }) };
+ plan skip_all => "no database connection" if $@ or not $dbh1;
+diff --git a/t/rt83494-quotes-comments.t b/t/rt83494-quotes-comments.t
+index 9df0d90..c42afe4 100644
+--- a/t/rt83494-quotes-comments.t
++++ b/t/rt83494-quotes-comments.t
+@@ -9,7 +9,8 @@ use DBI;
+ use Test::More;
+ 
+ use vars qw($test_dsn $test_user $test_password $state);
+-require "t/lib.pl";
++use lib 't', '.';
++require "lib.pl";
+ 
+ my $dbh;
+ eval {$dbh= DBI->connect($test_dsn, $test_user, $test_password,
+-- 
+2.15.1
+


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/files/, dev-perl/DBD-mysql/
@ 2019-08-29  9:41 Kent Fredric
  0 siblings, 0 replies; 5+ messages in thread
From: Kent Fredric @ 2019-08-29  9:41 UTC (permalink / raw
  To: gentoo-commits

commit:     945eb72e9fd616d936f29d8d77f03c077a787ad4
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 14:27:06 2019 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 09:40:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945eb72e

dev-perl/DBD-mysql: bump to v4.050

Closes: https://bugs.gentoo.org/661480
Closes: https://github.com/gentoo/gentoo/pull/12731
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-perl/DBD-mysql/DBD-mysql-4.50.0.ebuild         | 70 ++++++++++++++++++++++
 dev-perl/DBD-mysql/Manifest                        |  1 +
 ...DBD-mysql-4.050-fix-float-type-conversion.patch | 48 +++++++++++++++
 ....050-fix-for-MariaDB-10.3.13-with-zerofil.patch | 36 +++++++++++
 4 files changed, 155 insertions(+)

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.50.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.50.0.ebuild
new file mode 100644
index 00000000000..4f268c86e07
--- /dev/null
+++ b/dev-perl/DBD-mysql/DBD-mysql-4.50.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=DVEEDEN
+DIST_VERSION=4.050
+inherit eutils perl-module
+
+DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="mariadb +mysql test +ssl"
+REQUIRED_USE="^^ ( mysql mariadb )"
+
+RDEPEND=">=dev-perl/DBI-1.609.0
+	>=dev-perl/Devel-CheckLib-1.109.0
+	mysql? ( dev-db/mysql-connector-c:= )
+	mariadb? ( dev-db/mariadb-connector-c:=[ssl(+)?] )
+"
+DEPEND="${RDEPEND}
+	virtual/perl-ExtUtils-MakeMaker
+	virtual/perl-Data-Dumper
+	test? (
+		dev-perl/Test-Deep
+		>=virtual/perl-Test-Simple-0.900.0
+		virtual/perl-Time-HiRes
+	)
+"
+PATCHES=(
+	"${FILESDIR}/${PN}-${DIST_VERSION}-no-dot-inc.patch"
+	"${FILESDIR}/${PN}-${DIST_VERSION}-fix-float-type-conversion.patch"
+	"${FILESDIR}/${PN}-${DIST_VERSION}-fix-for-MariaDB-10.3.13-with-zerofil.patch"
+)
+
+src_configure() {
+	local impl
+	impl=$(usex mariadb mariadb mysql)
+	if use test; then
+		myconf="${myconf} --testdb=test \
+			--testhost=localhost \
+			--testuser=test \
+			--testpassword=test"
+	fi
+	myconf="${myconf} --$(usex ssl ssl nossl) --mysql_config=${EPREFIX%/}/usr/bin/${impl}_config"
+	perl-module_src_configure
+}
+
+# Parallel testing is broken as 2 tests create the same table
+# and mysql isn't acid compliant and can't limit visibility of tables
+# to a transaction...
+DIST_TEST="do"
+
+src_test() {
+	einfo
+	einfo "If tests fail, you have to configure your MySQL instance to create"
+	einfo "and grant some privileges to the test user."
+	einfo "You can run the following commands at the MySQL prompt: "
+	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
+	einfo "> CREATE DATABASE test;"
+	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
+	einfo
+	sleep 5
+	perl_rm_files t/pod.t t/manifest.t
+	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
+	# out why 60leaks.t fails
+	perl-module_src_test
+}

diff --git a/dev-perl/DBD-mysql/Manifest b/dev-perl/DBD-mysql/Manifest
index 6765b78c1b2..8d20e439305 100644
--- a/dev-perl/DBD-mysql/Manifest
+++ b/dev-perl/DBD-mysql/Manifest
@@ -3,3 +3,4 @@ DIST DBD-mysql-4.037.tar.gz 146639 BLAKE2B fbecca7302cd6ea0386116a1824a7696f87f6
 DIST DBD-mysql-4.041.tar.gz 150508 BLAKE2B 900ccc4ad9bc5bfb236c66774a6c9529beed3568c3f3626afcbb572fa530a2488ee8e05b1dabd169a775f28d634321dd3e86923e2829e019943a9f3054b1e887 SHA512 8663c58f1dec273869ef5d3ee663d80cb36fa87b1956318fff07a4a801aaecc395510a8f31b7a51b823f7e9d6a73ebf13894c1b7f7b27fdc3f3956e6aba34777
 DIST DBD-mysql-4.042.tar.gz 160028 BLAKE2B ef2f9d6508a473c34275ae9d7233863698ab502d837975f08593d2d1ca9761081ffb84bafc5a02c572e2a6b4d54dd7c8312e476e0719733166f8edc030a016de SHA512 fe3c9e1e325f7056da783e0ea33f9a7810f25f3d9cd2c9a4bf4037b20a2148f2291b2f90d44730e63c7902b45e26993a7f9fcf1b3bf8d1bc5d3fca99893a019e
 DIST DBD-mysql-4.044.tar.gz 155006 BLAKE2B 2934224010bb09aaff9a334b25038a4c7d1eb5552f6ad2b73f44aa7e2d8cb3684644773a89f35363c156cf40867a28943320e1b8b7ef4b9d4b8ac0f6b2417b38 SHA512 e3dd9482e8f78c19dc91baba07e39e266f113ce5a014cfe6c5989c96ed0f85723a17ba6a6e00b65a1ed3c62362400bd3779eb63ed282f73587b4757da249af02
+DIST DBD-mysql-4.050.tar.gz 161579 BLAKE2B fb17e151db730fd6955d3e4424dd495a9fcf5f3f4e2b6b79d9fdc86bc42c3314b68771f1d3c393fd80ea14aeda626a5c5d21f5b921d487350ffd79802edab1f6 SHA512 910f5b4ba7a7890d50a79f37d04ec8971a4f62acd0fe30bf3ab634f66e3128f0cd6513e5c9da8c807a0f4477d0cc766682ea8dd0d8072d02821b78df51f37879

diff --git a/dev-perl/DBD-mysql/files/DBD-mysql-4.050-fix-float-type-conversion.patch b/dev-perl/DBD-mysql/files/DBD-mysql-4.050-fix-float-type-conversion.patch
new file mode 100644
index 00000000000..cda1cabdc24
--- /dev/null
+++ b/dev-perl/DBD-mysql/files/DBD-mysql-4.050-fix-float-type-conversion.patch
@@ -0,0 +1,48 @@
+From: Pali <pali@cpan.org>
+Date: Fri, 24 Feb 2017 19:51:36 +0100
+Subject: [PATCH] Fix type conversions
+ Calling SvNV() for magical scalar is not enough for float type conversion.
+ It caused problem for Amavis in tainted mode -- all float values were zero.
+ On the other hand SvIV() and SvUV() seems to work fine. To be sure that
+ correct value of float is in scalar use sv_setnv() with explicit NV float
+ value. Similar code is changed also for integers IV/UV.
+ .
+ This patch should fix reported Amavis bug:
+ https://github.com/perl5-dbi/DBD-mysql/issues/78
+ .
+ See also reported perl bug about SvNV():
+ https://rt.perl.org/Public/Bug/Display.html?id=130801
+Bugs: https://github.com/perl5-dbi/DBD-mysql/issues/78
+Bugs-Debian: https://bugs.debian.org/856064
+Last-Update: 2019-01-09
+Reviewed-By: Xavier Guimard <x.guimard@free.fr>,
+ gregor herrmann <gregoa@debian.org>
+
+--- a/dbdimp.c
++++ b/dbdimp.c
+@@ -4447,8 +4447,7 @@
+           if (!(fields[i].flags & ZEROFILL_FLAG))
+           {
+             /* Coerce to double and set scalar as NV */
+-            (void) SvNV(sv);
+-            SvNOK_only(sv);
++            sv_setnv(sv, SvNV(sv));
+           }
+           break;
+ 
+@@ -4459,13 +4458,11 @@
+             /* Coerce to integer and set scalar as UV resp. IV */
+             if (fields[i].flags & UNSIGNED_FLAG)
+             {
+-              (void) SvUV(sv);
+-              SvIOK_only_UV(sv);
++              sv_setuv(sv, SvUV(sv));
+             }
+             else
+             {
+-              (void) SvIV(sv);
+-              SvIOK_only(sv);
++              sv_setiv(sv, SvIV(sv));
+             }
+           }
+           break;

diff --git a/dev-perl/DBD-mysql/files/DBD-mysql-4.050-fix-for-MariaDB-10.3.13-with-zerofil.patch b/dev-perl/DBD-mysql/files/DBD-mysql-4.050-fix-for-MariaDB-10.3.13-with-zerofil.patch
new file mode 100644
index 00000000000..f3d5e5bf4cb
--- /dev/null
+++ b/dev-perl/DBD-mysql/files/DBD-mysql-4.050-fix-for-MariaDB-10.3.13-with-zerofil.patch
@@ -0,0 +1,36 @@
+From 8b5ba5f9c8d239328ecbc862aba203d44819e2f5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= <git@myname.nl>
+Date: Tue, 5 Mar 2019 16:24:17 +0100
+Subject: [PATCH] Fix for MariaDB 10.3.13 with zerofil
+
+Issue: #304
+
+Bug: https://github.com/perl5-dbi/DBD-mysql/issues/304
+Bug-Debian: https://bugs.debian.org/923541
+
+---
+ dbdimp.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/dbdimp.c b/dbdimp.c
+index a9c37cf..82c96d2 100644
+--- a/dbdimp.c
++++ b/dbdimp.c
+@@ -4055,9 +4055,13 @@ int dbd_describe(SV* sth, imp_sth_t* imp_sth)
+         break;
+ 
+       default:
+-#if MYSQL_VERSION_ID > 100300
++#if (MYSQL_VERSION_ID > 100300) && (MYSQL_VERSION_ID < 100313)
+         // https://jira.mariadb.org/browse/MDEV-18143
+         buffer->buffer_length= fields[i].max_length ? fields[i].max_length : 2;
++#elif MYSQL_VERSION_ID > 100312
++        // https://jira.mariadb.org/browse/MDEV-18823
++        buffer->buffer_length= fields[i].max_length ? fields[i].max_length + 1 : 2;
++        buffer->buffer_length= fields[i].length > fields[i].max_length ? fields[i].length + 1 : 2;
+ #else
+         buffer->buffer_length= fields[i].max_length ? fields[i].max_length : 1;
+ #endif
+-- 
+2.20.1
+


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/files/, dev-perl/DBD-mysql/
@ 2019-10-09 21:49 Andreas K. Hüttel
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas K. Hüttel @ 2019-10-09 21:49 UTC (permalink / raw
  To: gentoo-commits

commit:     b12f7b3b83729b4a144883996e628889c8a2df78
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  9 21:48:21 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 21:49:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b12f7b3b

dev-perl/DBD-mysql: Drop old, vulnerable and masked versions.

Also drops embedded useflag support.

Closes: https://bugs.gentoo.org/634192
Closes: https://bugs.gentoo.org/598048
Closes: https://bugs.gentoo.org/644174
Closes: https://bugs.gentoo.org/598060
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild      |  49 ------
 dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild         |  68 --------
 dev-perl/DBD-mysql/DBD-mysql-4.41.0-r2.ebuild      |  69 --------
 dev-perl/DBD-mysql/DBD-mysql-4.41.0.ebuild         |  65 --------
 dev-perl/DBD-mysql/DBD-mysql-4.42.0.ebuild         |  66 --------
 dev-perl/DBD-mysql/Manifest                        |   4 -
 .../files/4.041-amvis-type-conversions.patch       |  47 ------
 dev-perl/DBD-mysql/files/4.041-no-dot-inc.patch    | 103 ------------
 dev-perl/DBD-mysql/files/4.042-no-dot-inc.patch    | 178 ---------------------
 .../files/DBD-mysql-print_embedded_options.patch   |  20 ---
 dev-perl/DBD-mysql/metadata.xml                    |   1 -
 11 files changed, 670 deletions(-)

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild
deleted file mode 100644
index c167c867d20..00000000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MODULE_AUTHOR=CAPTTOFU
-MODULE_VERSION=4.032
-inherit eutils perl-module
-
-DESCRIPTION="The Perl DBD:mysql Module"
-
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="embedded test"
-
-RDEPEND="dev-perl/DBI
-	dev-perl/Test-Deep
-	<dev-db/mysql-connector-c-8.0:0=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-print_embedded_options.patch
-}
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild
deleted file mode 100644
index 9ebdaccc60f..00000000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=MICHIELB
-DIST_VERSION=4.037
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	<dev-db/mysql-connector-c-8.0:0=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-PATCHES=(
-	"${FILESDIR}"/${PN}-print_embedded_options.patch
-)
-
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r2.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r2.ebuild
deleted file mode 100644
index 1595e68121f..00000000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=MICHIELB
-DIST_VERSION=4.041
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	<dev-db/mysql-connector-c-8.0:0=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-PATCHES=(
-	"${FILESDIR}/${DIST_VERSION}-no-dot-inc.patch"
-	"${FILESDIR}/${DIST_VERSION}-amvis-type-conversions.patch"
-	"${FILESDIR}/${DIST_VERSION}-mariadb-10.2.patch"
-)
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.41.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.41.0.ebuild
deleted file mode 100644
index f3a4883d4ce..00000000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.41.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=MICHIELB
-DIST_VERSION=4.041
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	<dev-db/mysql-connector-c-8.0:0=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-PATCHES=( "${FILESDIR}/${DIST_VERSION}-no-dot-inc.patch" )
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.42.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.42.0.ebuild
deleted file mode 100644
index 40d76fff1f4..00000000000
--- a/dev-perl/DBD-mysql/DBD-mysql-4.42.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=MICHIELB
-DIST_VERSION=4.042
-inherit eutils perl-module
-
-DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~s390 ~sh ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-# embedded=on disables ssl support
-# https://metacpan.org/source/MICHIELB/DBD-mysql-4.036/dbdimp.c#L1886
-REQUIRED_USE="?? ( embedded ssl )"
-IUSE="embedded test +ssl"
-
-RDEPEND=">=dev-perl/DBI-1.609.0
-	<dev-db/mysql-connector-c-8.0:0=
-	embedded? ( virtual/mysql[embedded] )
-"
-DEPEND="${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-Data-Dumper
-	dev-perl/Devel-CheckLib
-	test? (
-		dev-perl/Test-Deep
-		>=virtual/perl-Test-Simple-0.900.0
-		virtual/perl-Time-HiRes
-	)
-"
-PATCHES=( "${FILESDIR}/${DIST_VERSION}-no-dot-inc.patch" )
-src_configure() {
-	if use test; then
-		myconf="${myconf} --testdb=test \
-			--testhost=localhost \
-			--testuser=test \
-			--testpassword=test"
-	fi
-	myconf="${myconf} --$(usex ssl ssl nossl)"
-	use embedded && myconf="${myconf} --force-embedded --embedded=mysql_config"
-	perl-module_src_configure
-}
-
-# Parallel testing is broken as 2 tests create the same table
-# and mysql isn't acid compliant and can't limit visibility of tables
-# to a transaction...
-DIST_TEST="do"
-
-src_test() {
-	einfo
-	einfo "If tests fail, you have to configure your MySQL instance to create"
-	einfo "and grant some privileges to the test user."
-	einfo "You can run the following commands at the MySQL prompt: "
-	einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
-	einfo "> CREATE DATABASE test;"
-	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
-	einfo
-	sleep 5
-	perl_rm_files t/pod.t t/manifest.t
-	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
-	# out why 60leaks.t fails
-	perl-module_src_test
-}

diff --git a/dev-perl/DBD-mysql/Manifest b/dev-perl/DBD-mysql/Manifest
index 8d20e439305..7658903db07 100644
--- a/dev-perl/DBD-mysql/Manifest
+++ b/dev-perl/DBD-mysql/Manifest
@@ -1,6 +1,2 @@
-DIST DBD-mysql-4.032.tar.gz 146476 BLAKE2B 3ace983522e273cdb18352d2fa87702222594daed6e8d1eda2b037e5b98c31fd2e81bfa57ec71d6f5d836de80cdaf06a3571ae7c84d1ff4822ed6ab4f5d9e8fe SHA512 7e7ebaed07f0540079854294cc3ab4a4554fd0f850dd0927b2485cc985c2c9f5b70a650d971027c883cc4d8450020245656f6ff1f792a56d1a2d4b45402d73d0
-DIST DBD-mysql-4.037.tar.gz 146639 BLAKE2B fbecca7302cd6ea0386116a1824a7696f87f681dbfcd88970b1a5eab54639e46471fc07b37bd8c0158b3eca02d05dad159e11027daa5ab46eaa307b530f7c58e SHA512 3bda6ea18d29e32028b7eb93cd06fdbabbadafa66f982556298a68980c42a7b5236872113696e6d2df66a345049d1e63bc90ab358c8631f0cbea187780e514af
-DIST DBD-mysql-4.041.tar.gz 150508 BLAKE2B 900ccc4ad9bc5bfb236c66774a6c9529beed3568c3f3626afcbb572fa530a2488ee8e05b1dabd169a775f28d634321dd3e86923e2829e019943a9f3054b1e887 SHA512 8663c58f1dec273869ef5d3ee663d80cb36fa87b1956318fff07a4a801aaecc395510a8f31b7a51b823f7e9d6a73ebf13894c1b7f7b27fdc3f3956e6aba34777
-DIST DBD-mysql-4.042.tar.gz 160028 BLAKE2B ef2f9d6508a473c34275ae9d7233863698ab502d837975f08593d2d1ca9761081ffb84bafc5a02c572e2a6b4d54dd7c8312e476e0719733166f8edc030a016de SHA512 fe3c9e1e325f7056da783e0ea33f9a7810f25f3d9cd2c9a4bf4037b20a2148f2291b2f90d44730e63c7902b45e26993a7f9fcf1b3bf8d1bc5d3fca99893a019e
 DIST DBD-mysql-4.044.tar.gz 155006 BLAKE2B 2934224010bb09aaff9a334b25038a4c7d1eb5552f6ad2b73f44aa7e2d8cb3684644773a89f35363c156cf40867a28943320e1b8b7ef4b9d4b8ac0f6b2417b38 SHA512 e3dd9482e8f78c19dc91baba07e39e266f113ce5a014cfe6c5989c96ed0f85723a17ba6a6e00b65a1ed3c62362400bd3779eb63ed282f73587b4757da249af02
 DIST DBD-mysql-4.050.tar.gz 161579 BLAKE2B fb17e151db730fd6955d3e4424dd495a9fcf5f3f4e2b6b79d9fdc86bc42c3314b68771f1d3c393fd80ea14aeda626a5c5d21f5b921d487350ffd79802edab1f6 SHA512 910f5b4ba7a7890d50a79f37d04ec8971a4f62acd0fe30bf3ab634f66e3128f0cd6513e5c9da8c807a0f4477d0cc766682ea8dd0d8072d02821b78df51f37879

diff --git a/dev-perl/DBD-mysql/files/4.041-amvis-type-conversions.patch b/dev-perl/DBD-mysql/files/4.041-amvis-type-conversions.patch
deleted file mode 100644
index 041ba0a496a..00000000000
--- a/dev-perl/DBD-mysql/files/4.041-amvis-type-conversions.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From: Pali <pali@cpan.org>
-Date: Fri, 24 Feb 2017 19:51:36 +0100
-Subject: [PATCH] Fix type conversions
-
-Calling SvNV() for magical scalar is not enough for float type conversion.
-It caused problem for Amavis in tainted mode -- all float values were zero.
-On the other hand SvIV() and SvUV() seems to work fine. To be sure that
-correct value of float is in scalar use sv_setnv() with explicit NV float
-value. Similar code is changed also for integers IV/UV.
-
-This patch should fix reported Amavis bug:
-https://github.com/perl5-dbi/DBD-mysql/issues/78
-
-See also reported perl bug about SvNV():
-https://rt.perl.org/Public/Bug/Display.html?id=130801
-
-Bugs: https://github.com/perl5-dbi/DBD-mysql/issues/78
-Bugs-Debian: https://bugs.debian.org/856064
-
---- a/dbdimp.c
-+++ b/dbdimp.c
-@@ -4250,8 +4250,7 @@
-         switch (mysql_to_perl_type(fields[i].type)) {
-         case MYSQL_TYPE_DOUBLE:
-           /* Coerce to dobule and set scalar as NV */
--          (void) SvNV(sv);
--          SvNOK_only(sv);
-+          sv_setnv(sv, SvNV(sv));
-           break;
- 
-         case MYSQL_TYPE_LONG:
-@@ -4259,13 +4258,11 @@
-           /* Coerce to integer and set scalar as UV resp. IV */
-           if (fields[i].flags & UNSIGNED_FLAG)
-           {
--            (void) SvUV(sv);
--            SvIOK_only_UV(sv);
-+            sv_setuv(sv, SvUV(sv));
-           }
-           else
-           {
--            (void) SvIV(sv);
--            SvIOK_only(sv);
-+            sv_setiv(sv, SvIV(sv));
-           }
-           break;
- 

diff --git a/dev-perl/DBD-mysql/files/4.041-no-dot-inc.patch b/dev-perl/DBD-mysql/files/4.041-no-dot-inc.patch
deleted file mode 100644
index f26837f548a..00000000000
--- a/dev-perl/DBD-mysql/files/4.041-no-dot-inc.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-From 497224cad8b6469913c61ee856228bc1d0280980 Mon Sep 17 00:00:00 2001
-From: Pali <pali@cpan.org>
-Date: Mon, 17 Apr 2017 21:38:58 +0200
-Subject: [PATCH] Fix tests on Perl On 5.25.10 or greater with
- -Ddefault_inc_excludes_dot
-
-Some tests do not include dot in %INC and fails with error:
-Can't locate t/lib.pl in @INC
-
-Fixes: https://rt.cpan.org/Public/Bug/Display.html?id=120709
----
- t/40server_prepare_crash.t             | 3 ++-
- t/rt25389-bin-case.t                   | 3 ++-
- t/rt50304-column_info_parentheses.t    | 3 ++-
- t/rt61849-bind-param-buffer-overflow.t | 3 ++-
- t/rt75353-innodb-lock-timeout.t        | 3 ++-
- t/rt83494-quotes-comments.t            | 3 ++-
- 11 files changed, 22 insertions(+), 11 deletions(-)
-
-diff --git a/t/40server_prepare_crash.t b/t/40server_prepare_crash.t
-index e3777b9..d04eb9c 100644
---- a/t/40server_prepare_crash.t
-+++ b/t/40server_prepare_crash.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { PrintError => 1, RaiseError => 1, AutoCommit => 0, mysql_server_prepare => 1, mysql_server_prepare_disable_fallback => 1 });
- plan skip_all => "You must have MySQL version 4.1.3 and greater for this test to run" if $dbh->{mysql_clientversion} < 40103 or $dbh->{mysql_serverversion} < 40103;
-diff --git a/t/rt25389-bin-case.t b/t/rt25389-bin-case.t
-index cbda8b7..3aee41b 100644
---- a/t/rt25389-bin-case.t
-+++ b/t/rt25389-bin-case.t
-@@ -4,7 +4,8 @@ use warnings;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- use Test::More;
- 
-diff --git a/t/rt50304-column_info_parentheses.t b/t/rt50304-column_info_parentheses.t
-index 76f9eff..6c3aac5 100644
---- a/t/rt50304-column_info_parentheses.t
-+++ b/t/rt50304-column_info_parentheses.t
-@@ -4,7 +4,8 @@ use warnings;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password $state);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- use Test::More;
- 
-diff --git a/t/rt61849-bind-param-buffer-overflow.t b/t/rt61849-bind-param-buffer-overflow.t
-index 82baf2f..a3c75de 100644
---- a/t/rt61849-bind-param-buffer-overflow.t
-+++ b/t/rt61849-bind-param-buffer-overflow.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $INSECURE_VALUE_FROM_USER = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
- 
-diff --git a/t/rt75353-innodb-lock-timeout.t b/t/rt75353-innodb-lock-timeout.t
-index a1f437d..95694db 100644
---- a/t/rt75353-innodb-lock-timeout.t
-+++ b/t/rt75353-innodb-lock-timeout.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh1 = DbiTestConnect($test_dsn, $test_user, $test_password, { RaiseError => 1, AutoCommit => 0 });
- 
-diff --git a/t/rt83494-quotes-comments.t b/t/rt83494-quotes-comments.t
-index c48b0b9..83919f2 100644
---- a/t/rt83494-quotes-comments.t
-+++ b/t/rt83494-quotes-comments.t
-@@ -9,7 +9,8 @@ use DBI;
- use Test::More;
- 
- use vars qw($test_dsn $test_user $test_password $state);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password,
-                       { RaiseError => 1, PrintError => 0, AutoCommit => 0 });

diff --git a/dev-perl/DBD-mysql/files/4.042-no-dot-inc.patch b/dev-perl/DBD-mysql/files/4.042-no-dot-inc.patch
deleted file mode 100644
index 274605c44c7..00000000000
--- a/dev-perl/DBD-mysql/files/4.042-no-dot-inc.patch
+++ /dev/null
@@ -1,178 +0,0 @@
-From 497224cad8b6469913c61ee856228bc1d0280980 Mon Sep 17 00:00:00 2001
-From: Pali <pali@cpan.org>
-Date: Mon, 17 Apr 2017 21:38:58 +0200
-Subject: [PATCH] Fix tests on Perl On 5.25.10 or greater with
- -Ddefault_inc_excludes_dot
-
-Some tests do not include dot in %INC and fails with error:
-Can't locate t/lib.pl in @INC
-
-Fixes: https://rt.cpan.org/Public/Bug/Display.html?id=120709
----
- t/40server_prepare_crash.t             | 3 ++-
- t/55utf8_jp.t                          | 3 ++-
- t/cve-2017-3302.t                      | 3 ++-
- t/magic.t                              | 3 ++-
- t/rt110983-valid-mysqlfd.t             | 3 ++-
- t/rt118977-zerofill.t                  | 3 ++-
- t/rt25389-bin-case.t                   | 3 ++-
- t/rt50304-column_info_parentheses.t    | 3 ++-
- t/rt61849-bind-param-buffer-overflow.t | 3 ++-
- t/rt75353-innodb-lock-timeout.t        | 3 ++-
- t/rt83494-quotes-comments.t            | 3 ++-
- 11 files changed, 22 insertions(+), 11 deletions(-)
-
-diff --git a/t/40server_prepare_crash.t b/t/40server_prepare_crash.t
-index e3777b9..d04eb9c 100644
---- a/t/40server_prepare_crash.t
-+++ b/t/40server_prepare_crash.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { PrintError => 1, RaiseError => 1, AutoCommit => 0, mysql_server_prepare => 1, mysql_server_prepare_disable_fallback => 1 });
- plan skip_all => "You must have MySQL version 4.1.3 and greater for this test to run" if $dbh->{mysql_clientversion} < 40103 or $dbh->{mysql_serverversion} < 40103;
-diff --git a/t/55utf8_jp.t b/t/55utf8_jp.t
-index 638d494..88874c3 100644
---- a/t/55utf8_jp.t
-+++ b/t/55utf8_jp.t
-@@ -6,7 +6,8 @@ use DBI;
- use Encode;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { mysql_enable_utf8 => 1, PrintError => 1, RaiseError => 1 });
- 
-diff --git a/t/cve-2017-3302.t b/t/cve-2017-3302.t
-index b2de927..fbca0e3 100644
---- a/t/cve-2017-3302.t
-+++ b/t/cve-2017-3302.t
-@@ -6,7 +6,8 @@ if ($ENV{SKIP_CRASH_TESTING}) {
- no warnings 'once';
- use DBI;
- use vars qw($test_dsn $test_user $test_password $test_db);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- eval {
-   $dbh = DBI->connect($test_dsn, $test_user, $test_password, {RaiseError => 1, mysql_server_prepare => 1});
- } or do {
-diff --git a/t/magic.t b/t/magic.t
-index 2720655..a7978a4 100644
---- a/t/magic.t
-+++ b/t/magic.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $tb = Test::More->builder;
- binmode $tb->failure_output, ":utf8";
-diff --git a/t/rt110983-valid-mysqlfd.t b/t/rt110983-valid-mysqlfd.t
-index ad59762..12dace7 100644
---- a/t/rt110983-valid-mysqlfd.t
-+++ b/t/rt110983-valid-mysqlfd.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { RaiseError => 1, AutoCommit => 0 });
- 
-diff --git a/t/rt118977-zerofill.t b/t/rt118977-zerofill.t
-index 1992c4c..328766b 100644
---- a/t/rt118977-zerofill.t
-+++ b/t/rt118977-zerofill.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { PrintError => 1, RaiseError => 1 });
- 
-diff --git a/t/rt25389-bin-case.t b/t/rt25389-bin-case.t
-index cbda8b7..3aee41b 100644
---- a/t/rt25389-bin-case.t
-+++ b/t/rt25389-bin-case.t
-@@ -4,7 +4,8 @@ use warnings;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- use Test::More;
- 
-diff --git a/t/rt50304-column_info_parentheses.t b/t/rt50304-column_info_parentheses.t
-index 76f9eff..6c3aac5 100644
---- a/t/rt50304-column_info_parentheses.t
-+++ b/t/rt50304-column_info_parentheses.t
-@@ -4,7 +4,8 @@ use warnings;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password $state);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- use Test::More;
- 
-diff --git a/t/rt61849-bind-param-buffer-overflow.t b/t/rt61849-bind-param-buffer-overflow.t
-index 82baf2f..a3c75de 100644
---- a/t/rt61849-bind-param-buffer-overflow.t
-+++ b/t/rt61849-bind-param-buffer-overflow.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $INSECURE_VALUE_FROM_USER = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
- 
-diff --git a/t/rt75353-innodb-lock-timeout.t b/t/rt75353-innodb-lock-timeout.t
-index a1f437d..95694db 100644
---- a/t/rt75353-innodb-lock-timeout.t
-+++ b/t/rt75353-innodb-lock-timeout.t
-@@ -5,7 +5,8 @@ use Test::More;
- use DBI;
- 
- use vars qw($test_dsn $test_user $test_password);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh1 = DbiTestConnect($test_dsn, $test_user, $test_password, { RaiseError => 1, AutoCommit => 0 });
- 
-diff --git a/t/rt83494-quotes-comments.t b/t/rt83494-quotes-comments.t
-index c48b0b9..83919f2 100644
---- a/t/rt83494-quotes-comments.t
-+++ b/t/rt83494-quotes-comments.t
-@@ -9,7 +9,8 @@ use DBI;
- use Test::More;
- 
- use vars qw($test_dsn $test_user $test_password $state);
--require "t/lib.pl";
-+use lib 't', '.';
-+require "lib.pl";
- 
- my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password,
-                       { RaiseError => 1, PrintError => 0, AutoCommit => 0 });

diff --git a/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch b/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch
deleted file mode 100644
index d205b43f33e..00000000000
--- a/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ubBr old/dbdimp.c new/dbdimp.c
---- old/dbdimp.c	2015-09-12 17:52:41.328543844 -0400
-+++ new/dbdimp.c	2015-09-12 23:21:52.848371578 -0400
-@@ -443,14 +443,14 @@
-  Print out embbedded option settings
- 
- */
--int print_embedded_options(char ** options_list, int options_count)
-+int print_embedded_options(PerlIOl ** Log, char ** options_list, int options_count)
- {
-   int i;
- 
-   for (i=0; i<options_count; i++)
-   {
-     if (options_list[i])
--        PerlIO_printf(DBILOGFP,
-+        PerlIO_printf(Log,
-                       "Embedded server, parameter[%d]=%s\n",
-                       i, options_list[i]);
-   }

diff --git a/dev-perl/DBD-mysql/metadata.xml b/dev-perl/DBD-mysql/metadata.xml
index 59ac82b1e1b..08306e46bf9 100644
--- a/dev-perl/DBD-mysql/metadata.xml
+++ b/dev-perl/DBD-mysql/metadata.xml
@@ -15,7 +15,6 @@
     <remote-id type="cpan-module">DBD::mysql::st</remote-id>
   </upstream>
   <use>
-    <flag name="embedded">Support embedded server (libmysqld)</flag>
     <flag name="ssl">Compile in support for SSL connections via libmysqlclient</flag>
     <flag name="mariadb">Use <pkg>dev-db/mariadb-connector-c</pkg> as the client library</flag>
     <flag name="mysql">Use <pkg>dev-db/mysql-connector-c</pkg> as the client library</flag>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-09 21:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-29  9:41 [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/files/, dev-perl/DBD-mysql/ Kent Fredric
  -- strict thread matches above, loose matches on Subject: below --
2019-10-09 21:49 Andreas K. Hüttel
2018-01-24  4:41 Kent Fredric
2017-10-19 23:54 Kent Fredric
2017-01-24  1:59 Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox