From 02e2208f46f4e2c00fb9743cbc47350bdd233bfa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 16 Jan 2018 17:34:21 +0000 Subject: gentoo resync : 16.01.2018 --- dev-perl/Template-DBI/Manifest | 2 ++ .../Template-DBI/Template-DBI-2.650.0-r2.ebuild | 25 ++++++++++++++ .../files/Template-DBI-2.65-no-dot-inc.patch | 40 ++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 dev-perl/Template-DBI/Template-DBI-2.650.0-r2.ebuild create mode 100644 dev-perl/Template-DBI/files/Template-DBI-2.65-no-dot-inc.patch (limited to 'dev-perl/Template-DBI') diff --git a/dev-perl/Template-DBI/Manifest b/dev-perl/Template-DBI/Manifest index 463a06681a51..a54ad82d5c04 100644 --- a/dev-perl/Template-DBI/Manifest +++ b/dev-perl/Template-DBI/Manifest @@ -1,3 +1,5 @@ +AUX Template-DBI-2.65-no-dot-inc.patch 1147 BLAKE2B 596c41017d8f737626144020761d5fc04f5e4cc9c0f9817d016f70463dfab28f92ab6e4743e7538eea6940a6e9f24312a922b2a77055c269f2db78f79eaf9372 SHA512 27f519bf33c1741db9de6400b24cb2f32341803ef7bfb115b0fc0dd38b01e17bded6ea34ed03366616505610cb8b419d1e051f29f3b0c930da8bc95fe338a187 DIST Template-DBI-2.65.tar.gz 15681 BLAKE2B 43c4b7219c34dc59e54463f78afeb5c2152de0a71f1c5b0640364b7b46a6d62819022156b116b38a5c9630ae7fd41b9be6557ec368b15030320ce923e183d985 SHA512 8abbba6e799ee75a62d9f6d72f6314a4044ada849cb47a10bac204aa40f67d62ef41fac44f7fcc17f0a608fc24a3c0baeb9b4955a2d589008283b9eaae06aca6 EBUILD Template-DBI-2.650.0-r1.ebuild 481 BLAKE2B d0127b72d6e8857631e3919c72e401ed65c403aea42133eb5d0b710c8f01cebac8261da5ed7577771bcd10120d3e258f823ddce6405004cbe4880e015a267a56 SHA512 d01610b98e95c4bde8b1199ec2993d870dca04fddcea821a99415c7ea4cdec1c5e9e83325fec2b29b384214d17ad13737aaff5ffd0c583d226939bc3152c27eb +EBUILD Template-DBI-2.650.0-r2.ebuild 521 BLAKE2B 04078e25d9fb7a3cb3fa2b6e4b45ac2bb6a6864d0cf0c9583ddc3b422414185b457fc10deee33d37fcf932751bda06f4435465e129700775ca17852b256a8f9f SHA512 517fcddacae956e8c527bbf12308bf574e4aa4f3f89c1b575246305f84fb54690bab895c195bd9b813fe9b5fbc19dcc8268a0faeb902ee80d952883d802f2a2e MISC metadata.xml 557 BLAKE2B ca9c0e53baf009d00ab913ecd10f6b26af78078d0951af357aff6680ec4bf3b59c938d3dd4d9737cbe27b638fc3ead9035f949f8de45d628ddaf70359022b562 SHA512 0fd6e8cd645742b786a40a8218725f6df39b14a8363e3d9c3bdb3db20bd8c0995c2911094d24701e15c23852d1a861de599254991a622e72ba156892afab3114 diff --git a/dev-perl/Template-DBI/Template-DBI-2.650.0-r2.ebuild b/dev-perl/Template-DBI/Template-DBI-2.650.0-r2.ebuild new file mode 100644 index 000000000000..6f9f1eb9648b --- /dev/null +++ b/dev-perl/Template-DBI/Template-DBI-2.650.0-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=REHSACK +DIST_VERSION=2.65 +inherit perl-module + +DESCRIPTION="DBI plugin for the Template Toolkit" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-aix ~x86-fbsd ~x86-solaris" +IUSE="test" + +RDEPEND=">=dev-perl/DBI-1.612 + >=dev-perl/Template-Toolkit-2.22" +DEPEND="${RDEPEND} + test? ( + dev-perl/MLDBM + >=dev-perl/SQL-Statement-1.28 + )" +PATCHES=( + "${FILESDIR}/${PN}-2.65-no-dot-inc.patch" +) diff --git a/dev-perl/Template-DBI/files/Template-DBI-2.65-no-dot-inc.patch b/dev-perl/Template-DBI/files/Template-DBI-2.65-no-dot-inc.patch new file mode 100644 index 000000000000..803f84123cc6 --- /dev/null +++ b/dev-perl/Template-DBI/files/Template-DBI-2.65-no-dot-inc.patch @@ -0,0 +1,40 @@ +From e55f99e77f12ac5ece679e159e577ef91eee0ba4 Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Mon, 15 Jan 2018 16:05:06 +1300 +Subject: Fix test failures on Perl 5.26+ w/ PERL_USE_UNSAFE_INC=0 + +In future perls, CPAN.pm and Test::Harness will no longer be able to +migitigate this failure mode by internally doing: + + $ENV{PERL_USE_UNSAFE_INC}=1 unless exists $ENV{PERL_USE_UNSAFE_INC} + +This fixes this problem by avoiding the need for @INC traversal by +using a literal path ( eg: one with a / or a ./ prefix ), not an +"@INC-relative path" ( eg: Foo/Baz.pm ), and breaking the reliance on +"." in @INC + +Additionally, this replaces "do" with "require" to give automatic error +handling, instead of continuing when the library load fails. + +Bug: https://bugs.gentoo.org/623120 +Bug: https://rt.cpan.org/Ticket/Display.html?id=124080 +--- + t/dbi.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/dbi.t b/t/dbi.t +index 7193210..7b6dccf 100644 +--- a/t/dbi.t ++++ b/t/dbi.t +@@ -16,7 +16,7 @@ + use strict; + use warnings; + +-do "t/lib.pl"; ++require "./t/lib.pl"; + + use Template::Test; + use Template::Stash; +-- +2.15.1 + -- cgit v1.2.3