From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- 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-r1.ebuild | 68 ++++++++ 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 | 16 ++ .../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 | 21 +++ 11 files changed, 701 insertions(+) create mode 100644 dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild create mode 100644 dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild create mode 100644 dev-perl/DBD-mysql/DBD-mysql-4.41.0-r1.ebuild create mode 100644 dev-perl/DBD-mysql/DBD-mysql-4.41.0.ebuild create mode 100644 dev-perl/DBD-mysql/DBD-mysql-4.42.0.ebuild create mode 100644 dev-perl/DBD-mysql/Manifest create mode 100644 dev-perl/DBD-mysql/files/4.041-amvis-type-conversions.patch create mode 100644 dev-perl/DBD-mysql/files/4.041-no-dot-inc.patch create mode 100644 dev-perl/DBD-mysql/files/4.042-no-dot-inc.patch create mode 100644 dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch create mode 100644 dev-perl/DBD-mysql/metadata.xml (limited to 'dev-perl/DBD-mysql') 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 new file mode 100644 index 000000000000..84ac33ce749c --- /dev/null +++ b/dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 + 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.37.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild new file mode 100644 index 000000000000..26cd430f46cd --- /dev/null +++ b/dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 + 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.41.0-r1.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r1.ebuild new file mode 100644 index 000000000000..dd0e5c3e5dc2 --- /dev/null +++ b/dev-perl/DBD-mysql/DBD-mysql-4.41.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 + 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}/${DIST_VERSION}-no-dot-inc.patch" + "${FILESDIR}/${DIST_VERSION}-amvis-type-conversions.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 new file mode 100644 index 000000000000..25b0b306ccc8 --- /dev/null +++ b/dev-perl/DBD-mysql/DBD-mysql-4.41.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 + 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}/${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 new file mode 100644 index 000000000000..d96848aa70f8 --- /dev/null +++ b/dev-perl/DBD-mysql/DBD-mysql-4.42.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 + virtual/libmysqlclient:= + 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 new file mode 100644 index 000000000000..90283d7f8962 --- /dev/null +++ b/dev-perl/DBD-mysql/Manifest @@ -0,0 +1,16 @@ +AUX 4.041-amvis-type-conversions.patch 1503 SHA256 c7d3d058d72799dccd5225e1ae3025a0a540d373e55c7814564203d2eb45561f SHA512 e30e7d04fac5e19d710af7f116c82455bed5ab1a080bd4e8777e4a08915243f5059c687c936da82d92bbb53496c9a6848cb2fb36bc8e63140e6b230b78d3daae WHIRLPOOL 1919c1b2f99f071cbb667c62cf389809cbdfcff7fb3ee8463f98796e628df1e1587a07298000fecdc2dc3199893059e73d8f3f296f41934ff8a0f600895246cb +AUX 4.041-no-dot-inc.patch 3470 SHA256 4a75b2eae0cca4b4bc9d122d12a6c96ad8f6ed823b70c85ff8bf91c740de4beb SHA512 b7a075b9e63bf80bf78a91fc732fccf2059638961d941b7be0dd73b3669a0a0df7bed3a8e5c12d8d88a9da7c28fb872669de5f3d6b6ac60da5510599a173cb26 WHIRLPOOL 085ad9532f6977ca5ebab4487e035caaf1cf30d4f07bf97e4d2edb244743c0c21a018fb361708ae7342d81c6eb2805820248d7b16e5e535e37c12fdb4fe345f5 +AUX 4.042-no-dot-inc.patch 5717 SHA256 a156c12ed5461a7e51fdd1a9fdd1613620a39ca1d90b3f1f04adccac465ac2a6 SHA512 8b8707cffc9ff711ea0effe9c2eb0ef56fd4b97729e76f3bffe52e780764a4f0d812e1ec00249752363475650dc803b2311c82cc645016d0449be296b8b1bf0b WHIRLPOOL 4b437edd2bbce3438e709a7f66fb56d990f6f20ce427f6884a40f176fd23be3de9160bf9110fc8c8d3b6965d71c2b5621749e79988c96f7e9073d296eee178ae +AUX DBD-mysql-print_embedded_options.patch 616 SHA256 b1aeee3f0d34a909509b30b0713c1e9385061e2d5518f5210fd90c6d15d07348 SHA512 da7bbc1b65e58128af4c19673827c342de94e811b6ab20ff6844646eb7d6afdff79b61aaa6033ae2ac3d8dce8140f78505961e3da49306b5034a6c3eb5ba8157 WHIRLPOOL e7c755168a0d1c2cf6eeaf6c6fb68ad0ab16c20425adb1375cc40165b08606c309b88e22c320f4c5ceb0adcdf6aca009038ac8a99cd3fdf3907bbba1fbe087f2 +DIST DBD-mysql-4.032.tar.gz 146476 SHA256 b8e681e719d8f2d1cecb9e8603e13483b09b56508629b079022778e7dfd7bfb6 SHA512 7e7ebaed07f0540079854294cc3ab4a4554fd0f850dd0927b2485cc985c2c9f5b70a650d971027c883cc4d8450020245656f6ff1f792a56d1a2d4b45402d73d0 WHIRLPOOL 79b94c7c85406e0f3a0469c8017594f81f6151eab3059d483c50326222fdb920d12db04a5382dbdc2862cf853e1c421fe0d7acc4a35b131a0f9d39c2d79f5d0b +DIST DBD-mysql-4.037.tar.gz 146639 SHA256 df578acef28ed3f6aaae52dc98e6821a1407d3bfa88585255729bb0ebfed3cfc SHA512 3bda6ea18d29e32028b7eb93cd06fdbabbadafa66f982556298a68980c42a7b5236872113696e6d2df66a345049d1e63bc90ab358c8631f0cbea187780e514af WHIRLPOOL 2cd51fb258de4877010d6d5f88a27f8e251d86b311d5d7dc3b62a46e7d6ac87facaad7c2bbba6c7f306d91d106e7a713fb21c2f1b7d2934e989aa30794d38a7f +DIST DBD-mysql-4.041.tar.gz 150508 SHA256 4777de11c464b515db9da95c08c225900d0594b65ba3256982dc21f9f9379040 SHA512 8663c58f1dec273869ef5d3ee663d80cb36fa87b1956318fff07a4a801aaecc395510a8f31b7a51b823f7e9d6a73ebf13894c1b7f7b27fdc3f3956e6aba34777 WHIRLPOOL 9440ce5e595091228512dbdc90f13dfa9fd0133ba82c96f2be993cec545479c89e362b923ca973829982aca0e81fede30833d32b3c02d4a25287caea31bce47e +DIST DBD-mysql-4.042.tar.gz 160028 SHA256 dadb6884788dc3fdf40b13b72d8c60d5a83680cc2aeec7515c3e5999e064b455 SHA512 fe3c9e1e325f7056da783e0ea33f9a7810f25f3d9cd2c9a4bf4037b20a2148f2291b2f90d44730e63c7902b45e26993a7f9fcf1b3bf8d1bc5d3fca99893a019e WHIRLPOOL e8fe5c142028df4b10982f71e4aede68f01e0ecef6040fb6d4cf0d8006ab34f80fa8d20fd06794c2668dc8cb0a0459a8c97038f3abe280a6f6bd94e4d04f216f +EBUILD DBD-mysql-4.32.0-r2.ebuild 1319 SHA256 4311abd6df474f5df7b2de8c8ca427048e93f840364126bbd5ee723c67c57d21 SHA512 e654b62fefeb79914ba77691a9b28777c594fc69f8ff91f77d190f831a79a7b5bd7caaf62d6cc9d6cc3d48a9ae43b96815d3bf87aa62cf9a1a2b3ef6189db776 WHIRLPOOL 3347586ae44a84463889dd804d17728f46bb3125455e65a92527f391197e1491a575595f1ef67ec785cdce71c8bb8eb4305fcaa5e3727beff830dde181ae2f98 +EBUILD DBD-mysql-4.37.0.ebuild 1973 SHA256 9f2a1dfe233565034158c407de65c1ce20e83125ca1c26291d103eb1b78e42ae SHA512 1b6e44cfff11f8f28e29721fd0c47b3b2b1c6a5bd638a9b219e94dd76ae23814bf86116006b1bebae49266e255cfe9b529b79e54076664a502013a6d057f1696 WHIRLPOOL 0dd10efdd7d76d46662f30dac1c96ccf4f56fee1e5630a2b2e36aa64c692e737fb27d091bb3bca572c5a4f43083841a8d37376fc6406fbf1558d03c4ff796063 +EBUILD DBD-mysql-4.41.0-r1.ebuild 2043 SHA256 dbd70d8134be8a9d3af71c5e217eeb358eb23db6eca3c5feb984f33fb48e9a37 SHA512 eb03419925b3b4018b5d9c0bce4561c925a381f1c66c99874bdc9b40e6641a607411362b9468fb01c0d7f628cfbf721c2727d2a7801b23fc21eae106929b339a WHIRLPOOL f6205ebfe8051a0f6cab27e57d49bf8096290b2f19055f562ad320493e7a3e2f725e0b20baf3d1944f91702c97ea930e6027a27a46da882fd4c9c47f94edc5c2 +EBUILD DBD-mysql-4.41.0.ebuild 1966 SHA256 de13dfad6ab4a235869466d22ec5bad77e69ed566afac3a9a93f499bf7297521 SHA512 88e2669b1feb2b6bdeec630a9fa2fc4dfd62b907d0af3ac0b97a90608a4113593f704ce92d14fd542c8b9760d3a4a345dfdec251359d30075da1a500526182e0 WHIRLPOOL c559885c164743b6641a85fa9b9272e90681b66c7d3983ba8c2ba896e0779de634d1f2cde751f40e90f50bd97db537ce3ed1eba4407f9a72827298e5a4c5dd2b +EBUILD DBD-mysql-4.42.0.ebuild 1977 SHA256 849f55ca8976cba4672bc823fc12271b3a8f6871480293a7c701bbee8df10680 SHA512 ee15ba80bc64c0073a81f9883ceb0366e21aed63d3543eb75427166f01ffe0125087d4ea0aa196eed1c5c8596581664038bc9f41c2486c2ea5b8c4f68cf9c201 WHIRLPOOL f9743ed08677ccbc9ba486168edfca587b11cf371438311166ae7c40d1ac53b438def464484934fc2122185029064208c6359cb4d2532c719720ec6ba4a9ee0c +MISC ChangeLog 12301 SHA256 5542cd6880e4f05520c0bb77252bd7ba8e49a825f3330af412fcaaa11769f9a7 SHA512 f6df4409bb13951d3b2d8b4df4d05ace5c828c567e0b4b07e53dcb3a7f141e27028539b66c0ba30b5eb9d3704d79e8191607542f2893f94904cc88fd33c6f896 WHIRLPOOL 7670b320d6f9c3e2898fe922de8c6099350fe26900b4641fe2c244afa6333876766cf8867d7946fc02b37846280ad47d4b9dfd12a4af1fd05fd79302a92b4c92 +MISC ChangeLog-2015 18791 SHA256 1796f018ebff137151c507b7a0cc3defac5afdfca0fa10e144466238c4093528 SHA512 33a5b0898371d1111140b1e9c955b6eba2cebe14e6101e961e2df42d28e6326770cd1e1442b8feb4f46a120fce40d302faa3f3d42588cf02482cf4970f6b985a WHIRLPOOL 3222bbb849b246d86d5f3467acdf4ad695362290aeff4d7d78b06fc19dc0d245cf708dd9d1dba0e3b3df1c480029fe366d0d3171eba3a9f765e4cf8476e19873 +MISC metadata.xml 876 SHA256 67872e1995bdaa45b2aa15c393a1eeb52c48ed6f03d50d4cba8799dccdb4663d SHA512 05226b4f30741e8d77f5174491aee480a958e3cdf9b9484ff261b975805b82eee9ff865df97891c6107307c5cc19994764110f5461c3e80c9d8828b34e076968 WHIRLPOOL 930090d6497d7507c91f2761dde06e0059df49298318ba5a0b2d83b0182b031408413a2ecb57df549a391fbf3bed229355bfc1583c3e45ce2db91da64441b7b8 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 new file mode 100644 index 000000000000..041ba0a496a6 --- /dev/null +++ b/dev-perl/DBD-mysql/files/4.041-amvis-type-conversions.patch @@ -0,0 +1,47 @@ +From: Pali +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 new file mode 100644 index 000000000000..f26837f548a8 --- /dev/null +++ b/dev-perl/DBD-mysql/files/4.041-no-dot-inc.patch @@ -0,0 +1,103 @@ +From 497224cad8b6469913c61ee856228bc1d0280980 Mon Sep 17 00:00:00 2001 +From: Pali +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 new file mode 100644 index 000000000000..274605c44c7d --- /dev/null +++ b/dev-perl/DBD-mysql/files/4.042-no-dot-inc.patch @@ -0,0 +1,178 @@ +From 497224cad8b6469913c61ee856228bc1d0280980 Mon Sep 17 00:00:00 2001 +From: Pali +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 new file mode 100644 index 000000000000..d205b43f33ec --- /dev/null +++ b/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch @@ -0,0 +1,20 @@ +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 + + + + perl@gentoo.org + Gentoo Perl Project + + + DBD-mysql + Bundle::DBD::mysql + DBD::mysql + DBD::mysql::GetInfo + DBD::mysql::db + DBD::mysql::dr + DBD::mysql::st + + + Support embedded server (libmysqld) + Compile in support for SSL connections via libmysqlclient + + -- cgit v1.2.3