diff -Nru libtest-leaktrace-perl-0.15/Changes libtest-leaktrace-perl-0.16/Changes --- libtest-leaktrace-perl-0.15/Changes 2014-11-13 22:51:36.000000000 +0000 +++ libtest-leaktrace-perl-0.16/Changes 2017-06-17 22:54:16.000000000 +0000 @@ -1,5 +1,9 @@ Revision history for Perl extension Test::LeakTrace +0.16 2017-06-17 + - Fix build and test issues with perl5.26 due to removal of . from @INC + (PR #4 - thanks to jkeenan) + 0.15 2014-11-14 07:51:22+0900 - Fix test failure on Windows (#1) diff -Nru libtest-leaktrace-perl-0.15/debian/changelog libtest-leaktrace-perl-0.16/debian/changelog --- libtest-leaktrace-perl-0.15/debian/changelog 2016-10-24 09:31:22.000000000 +0000 +++ libtest-leaktrace-perl-0.16/debian/changelog 2017-08-04 02:57:10.000000000 +0000 @@ -1,14 +1,21 @@ -libtest-leaktrace-perl (0.15-1build2) zesty; urgency=medium +libtest-leaktrace-perl (0.16-1) unstable; urgency=medium - * No-change rebuild for perl 5.24 transition + * Team upload. - -- Iain Lane Mon, 24 Oct 2016 10:31:22 +0100 + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI -libtest-leaktrace-perl (0.15-1build1) xenial; urgency=medium + [ gregor herrmann ] + * Remove Xavier Oswald from Uploaders. (Closes: #824322) + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + * debian/upstream/metadata: use HTTPS for GitHub URLs. + * Remove Chris Butler from Uploaders. Thanks for your work! + * Remove Jonathan Yu from Uploaders. Thanks for your work! + * Import upstream version 0.16. + * Set bindnow linker flag in debian/rules. + * Declare compliance with Debian Policy 4.0.0. - * Rebuild for Perl 5.22.1. - - -- Colin Watson Thu, 17 Dec 2015 16:16:26 +0000 + -- gregor herrmann Thu, 03 Aug 2017 22:57:10 -0400 libtest-leaktrace-perl (0.15-1) unstable; urgency=medium diff -Nru libtest-leaktrace-perl-0.15/debian/control libtest-leaktrace-perl-0.16/debian/control --- libtest-leaktrace-perl-0.15/debian/control 2015-09-11 19:30:48.000000000 +0000 +++ libtest-leaktrace-perl-0.16/debian/control 2017-08-04 02:57:10.000000000 +0000 @@ -1,19 +1,21 @@ Source: libtest-leaktrace-perl +Maintainer: Debian Perl Group +Uploaders: Ansgar Burchardt Section: perl +Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 9.20120630~), perl -Maintainer: Debian Perl Group -Uploaders: Xavier Oswald , Jonathan Yu , - Chris Butler , Ansgar Burchardt -Standards-Version: 3.9.6 -Homepage: https://metacpan.org/release/Test-LeakTrace -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-leaktrace-perl.git +Build-Depends: debhelper (>= 9.20120630~), + perl +Standards-Version: 4.0.0 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtest-leaktrace-perl.git -Testsuite: autopkgtest-pkg-perl +Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libtest-leaktrace-perl.git +Homepage: https://metacpan.org/release/Test-LeakTrace Package: libtest-leaktrace-perl Architecture: any -Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} +Depends: ${misc:Depends}, + ${perl:Depends}, + ${shlibs:Depends} Description: Perl test module for tracing memory leaks Test::LeakTrace provides several functions that detect and trace memory leaks. This module scans arenas, the memory allocation system, so it can detect any diff -Nru libtest-leaktrace-perl-0.15/debian/copyright libtest-leaktrace-perl-0.16/debian/copyright --- libtest-leaktrace-perl-0.15/debian/copyright 2015-09-11 19:27:37.000000000 +0000 +++ libtest-leaktrace-perl-0.16/debian/copyright 2017-08-04 02:57:10.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Test-LeakTrace Upstream-Contact: Goro Fuji(gfx) . Source: https://metacpan.org/release/Test-LeakTrace diff -Nru libtest-leaktrace-perl-0.15/debian/rules libtest-leaktrace-perl-0.16/debian/rules --- libtest-leaktrace-perl-0.15/debian/rules 2011-12-14 20:21:20.000000000 +0000 +++ libtest-leaktrace-perl-0.16/debian/rules 2017-08-04 02:57:10.000000000 +0000 @@ -3,6 +3,8 @@ PACKAGE := $(shell dh_listpackages) TMP := $(CURDIR)/debian/$(PACKAGE) +export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow + %: dh $@ diff -Nru libtest-leaktrace-perl-0.15/debian/upstream/metadata libtest-leaktrace-perl-0.16/debian/upstream/metadata --- libtest-leaktrace-perl-0.15/debian/upstream/metadata 2015-09-11 19:33:28.000000000 +0000 +++ libtest-leaktrace-perl-0.16/debian/upstream/metadata 2017-08-04 02:57:10.000000000 +0000 @@ -2,4 +2,4 @@ Archive: CPAN Contact: Goro Fuji(gfx) . Name: Test-LeakTrace -Repository: git://github.com/gfx/p5-Test-LeakTrace.git +Repository: https://github.com/gfx/p5-Test-LeakTrace.git diff -Nru libtest-leaktrace-perl-0.15/inc/Module/Install/Base.pm libtest-leaktrace-perl-0.16/inc/Module/Install/Base.pm --- libtest-leaktrace-perl-0.15/inc/Module/Install/Base.pm 2014-11-13 22:51:52.000000000 +0000 +++ libtest-leaktrace-perl-0.16/inc/Module/Install/Base.pm 2017-06-18 00:15:04.000000000 +0000 @@ -4,7 +4,7 @@ use strict 'vars'; use vars qw{$VERSION}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.18'; } # Suspend handler for "redefined" warnings diff -Nru libtest-leaktrace-perl-0.15/inc/Module/Install/Makefile.pm libtest-leaktrace-perl-0.16/inc/Module/Install/Makefile.pm --- libtest-leaktrace-perl-0.15/inc/Module/Install/Makefile.pm 2014-11-13 22:51:52.000000000 +0000 +++ libtest-leaktrace-perl-0.16/inc/Module/Install/Makefile.pm 2017-06-18 00:15:04.000000000 +0000 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.18'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru libtest-leaktrace-perl-0.15/inc/Module/Install/MakeMaker.pm libtest-leaktrace-perl-0.16/inc/Module/Install/MakeMaker.pm --- libtest-leaktrace-perl-0.15/inc/Module/Install/MakeMaker.pm 2014-11-13 22:51:52.000000000 +0000 +++ libtest-leaktrace-perl-0.16/inc/Module/Install/MakeMaker.pm 2017-06-18 00:15:04.000000000 +0000 @@ -7,7 +7,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.18'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru libtest-leaktrace-perl-0.15/inc/Module/Install/Metadata.pm libtest-leaktrace-perl-0.16/inc/Module/Install/Metadata.pm --- libtest-leaktrace-perl-0.15/inc/Module/Install/Metadata.pm 2014-11-13 22:51:52.000000000 +0000 +++ libtest-leaktrace-perl-0.16/inc/Module/Install/Metadata.pm 2017-06-18 00:15:04.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.18'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru libtest-leaktrace-perl-0.15/inc/Module/Install.pm libtest-leaktrace-perl-0.16/inc/Module/Install.pm --- libtest-leaktrace-perl-0.15/inc/Module/Install.pm 2014-11-13 22:51:51.000000000 +0000 +++ libtest-leaktrace-perl-0.16/inc/Module/Install.pm 2017-06-18 00:15:03.000000000 +0000 @@ -31,7 +31,7 @@ # This is not enforced yet, but will be some time in the next few # releases once we can make sure it won't clash with custom # Module::Install extensions. - $VERSION = '1.14'; + $VERSION = '1.18'; # Storage for the pseudo-singleton $MAIN = undef; @@ -244,6 +244,8 @@ } return $args{_self} if $args{_self}; + $base_path = VMS::Filespec::unixify($base_path) if $^O eq 'VMS'; + $args{dispatch} ||= 'Admin'; $args{prefix} ||= 'inc'; $args{author} ||= ($^O eq 'VMS' ? '_author' : '.author'); @@ -322,7 +324,7 @@ my ($self, $path) = @_; my @found; - File::Find::find( sub { + File::Find::find( {no_chdir => 1, wanted => sub { my $file = $File::Find::name; return unless $file =~ m!^\Q$path\E/(.+)\.pm\Z!is; my $subpath = $1; @@ -336,7 +338,7 @@ # correctly. Otherwise, root through the file to locate the case-preserved # version of the package name. if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) { - my $content = Module::Install::_read($subpath . '.pm'); + my $content = Module::Install::_read($File::Find::name); my $in_pod = 0; foreach ( split /\n/, $content ) { $in_pod = 1 if /^=\w/; @@ -351,7 +353,7 @@ } push @found, [ $file, $pkg ]; - }, $path ) if -d $path; + }}, $path ) if -d $path; @found; } @@ -373,8 +375,6 @@ return $call; } -# Done in evals to avoid confusing Perl::MinimumVersion -eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _read { local *FH; open( FH, '<', $_[0] ) or die "open($_[0]): $!"; @@ -383,16 +383,6 @@ close FH or die "close($_[0]): $!"; return $string; } -END_NEW -sub _read { - local *FH; - open( FH, "< $_[0]" ) or die "open($_[0]): $!"; - binmode FH; - my $string = do { local $/; }; - close FH or die "close($_[0]): $!"; - return $string; -} -END_OLD sub _readperl { my $string = Module::Install::_read($_[0]); @@ -413,8 +403,6 @@ return $string; } -# Done in evals to avoid confusing Perl::MinimumVersion -eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _write { local *FH; open( FH, '>', $_[0] ) or die "open($_[0]): $!"; @@ -424,17 +412,6 @@ } close FH or die "close($_[0]): $!"; } -END_NEW -sub _write { - local *FH; - open( FH, "> $_[0]" ) or die "open($_[0]): $!"; - binmode FH; - foreach ( 1 .. $#_ ) { - print FH $_[$_] or die "print($_[0]): $!"; - } - close FH or die "close($_[0]): $!"; -} -END_OLD # _version is for processing module versions (eg, 1.03_05) not # Perl versions (eg, 5.8.1). diff -Nru libtest-leaktrace-perl-0.15/lib/Test/LeakTrace/JA.pod libtest-leaktrace-perl-0.16/lib/Test/LeakTrace/JA.pod --- libtest-leaktrace-perl-0.15/lib/Test/LeakTrace/JA.pod 2014-11-13 22:51:40.000000000 +0000 +++ libtest-leaktrace-perl-0.16/lib/Test/LeakTrace/JA.pod 2017-06-18 00:06:47.000000000 +0000 @@ -7,7 +7,7 @@ =head1 VERSION -This document describes Test::LeakTrace version 0.15. +This document describes Test::LeakTrace version 0.16. =head1 SYNOPSIS diff -Nru libtest-leaktrace-perl-0.15/lib/Test/LeakTrace.pm libtest-leaktrace-perl-0.16/lib/Test/LeakTrace.pm --- libtest-leaktrace-perl-0.15/lib/Test/LeakTrace.pm 2014-11-13 22:51:40.000000000 +0000 +++ libtest-leaktrace-perl-0.16/lib/Test/LeakTrace.pm 2017-06-17 22:53:13.000000000 +0000 @@ -4,7 +4,7 @@ use strict; use warnings; -our $VERSION = '0.15'; +our $VERSION = '0.16'; use XSLoader; XSLoader::load(__PACKAGE__, $VERSION); diff -Nru libtest-leaktrace-perl-0.15/Makefile.PL libtest-leaktrace-perl-0.16/Makefile.PL --- libtest-leaktrace-perl-0.15/Makefile.PL 2014-11-13 22:40:34.000000000 +0000 +++ libtest-leaktrace-perl-0.16/Makefile.PL 2017-06-17 22:54:46.000000000 +0000 @@ -1,5 +1,6 @@ use strict; use warnings; +use lib '.'; use inc::Module::Install; name 'Test-LeakTrace'; diff -Nru libtest-leaktrace-perl-0.15/META.yml libtest-leaktrace-perl-0.16/META.yml --- libtest-leaktrace-perl-0.15/META.yml 2014-11-13 22:51:52.000000000 +0000 +++ libtest-leaktrace-perl-0.16/META.yml 2017-06-18 00:15:04.000000000 +0000 @@ -8,7 +8,7 @@ ExtUtils::MakeMaker: 6.59 distribution_type: module dynamic_config: 1 -generated_by: 'Module::Install version 1.14' +generated_by: 'Module::Install version 1.18' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,4 +27,4 @@ resources: license: http://dev.perl.org/licenses/ repository: git://github.com/gfx/p5-Test-LeakTrace.git -version: 0.15 +version: '0.16' diff -Nru libtest-leaktrace-perl-0.15/t/13_do.t libtest-leaktrace-perl-0.16/t/13_do.t --- libtest-leaktrace-perl-0.15/t/13_do.t 2014-11-13 22:40:34.000000000 +0000 +++ libtest-leaktrace-perl-0.16/t/13_do.t 2017-06-17 22:52:39.000000000 +0000 @@ -6,7 +6,7 @@ use Test::LeakTrace; sub foo{ - do 't/lib/foo.pl'; + do './t/lib/foo.pl'; }