Skip to content

Commit

Permalink
Build results of f642a54 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Sep 27, 2015
1 parent c0b2299 commit cd81f73
Show file tree
Hide file tree
Showing 14 changed files with 83 additions and 34 deletions.
10 changes: 10 additions & 0 deletions Changes
@@ -1,5 +1,15 @@
Revision history for ELF-Extract-Sections

1.001003 2015-09-27T08:06:04Z 55e4d01
[Dependencies::Stats]
- Dependencies changed since 1.001002, see misc/*.deps* for details
- runtime: +1
- test: -1

[Win32 Support]
- Handle reading from objdump using slurp style IO instead of using an IO Handle due to open '-|', @list not being
reliable on Win32.

1.001002 2015-09-27T07:39:23Z f807e17
[Installation]
- Checks now attempt to extract the version itself from the version string and versions prior to 2.17 are now all
Expand Down
18 changes: 9 additions & 9 deletions META.json
Expand Up @@ -104,6 +104,7 @@
"Moose" : "2.000"
},
"requires" : {
"Capture::Tiny" : "0",
"Carp" : "0",
"Log::Log4perl" : "1.21",
"Module::Runtime" : "0",
Expand All @@ -129,7 +130,6 @@
"Test::More" : "0.99"
},
"requires" : {
"Capture::Tiny" : "0",
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"File::Which" : "0",
Expand All @@ -147,23 +147,23 @@
"provides" : {
"ELF::Extract::Sections" : {
"file" : "lib/ELF/Extract/Sections.pm",
"version" : "1.001002"
"version" : "1.001003"
},
"ELF::Extract::Sections::Meta::Scanner" : {
"file" : "lib/ELF/Extract/Sections/Meta/Scanner.pm",
"version" : "1.001002"
"version" : "1.001003"
},
"ELF::Extract::Sections::Meta::Types" : {
"file" : "lib/ELF/Extract/Sections/Meta/Types.pm",
"version" : "1.001002"
"version" : "1.001003"
},
"ELF::Extract::Sections::Scanner::Objdump" : {
"file" : "lib/ELF/Extract/Sections/Scanner/Objdump.pm",
"version" : "1.001002"
"version" : "1.001003"
},
"ELF::Extract::Sections::Section" : {
"file" : "lib/ELF/Extract/Sections/Section.pm",
"version" : "1.001002"
"version" : "1.001003"
}
},
"release_status" : "testing",
Expand All @@ -178,7 +178,7 @@
"web" : "https://github.com/kentnl/ELF-Extract-Sections"
}
},
"version" : "1.001002",
"version" : "1.001003",
"x_BuiltWith" : {
"external_file" : "misc/built_with.json"
},
Expand Down Expand Up @@ -674,7 +674,7 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
"tag" : "1.001002-source",
"tag" : "1.001003-source",
"tag_format" : "%v-source",
"tag_message" : "v%v"
},
Expand Down Expand Up @@ -765,7 +765,7 @@
"branch" : "releases",
"changelog" : "Changes",
"signed" : 0,
"tag" : "1.001002",
"tag" : "1.001003",
"tag_format" : "%v",
"tag_message" : "v%v"
},
Expand Down
14 changes: 7 additions & 7 deletions META.yml
Expand Up @@ -3,7 +3,6 @@ abstract: 'Extract Raw Chunks of data from identifiable ELF Sections'
author:
- 'Kent Fredric <kentnl@cpan.org>'
build_requires:
Capture::Tiny: '0'
ExtUtils::MakeMaker: '0'
File::Spec: '0'
File::Which: '0'
Expand Down Expand Up @@ -31,22 +30,23 @@ name: ELF-Extract-Sections
provides:
ELF::Extract::Sections:
file: lib/ELF/Extract/Sections.pm
version: '1.001002'
version: '1.001003'
ELF::Extract::Sections::Meta::Scanner:
file: lib/ELF/Extract/Sections/Meta/Scanner.pm
version: '1.001002'
version: '1.001003'
ELF::Extract::Sections::Meta::Types:
file: lib/ELF/Extract/Sections/Meta/Types.pm
version: '1.001002'
version: '1.001003'
ELF::Extract::Sections::Scanner::Objdump:
file: lib/ELF/Extract/Sections/Scanner/Objdump.pm
version: '1.001002'
version: '1.001003'
ELF::Extract::Sections::Section:
file: lib/ELF/Extract/Sections/Section.pm
version: '1.001002'
version: '1.001003'
recommends:
Moose: '2.000'
requires:
Capture::Tiny: '0'
Carp: '0'
Log::Log4perl: '1.21'
Module::Runtime: '0'
Expand All @@ -66,4 +66,4 @@ resources:
bugtracker: https://github.com/kentnl/ELF-Extract-Sections/issues
homepage: https://github.com/kentnl/ELF-Extract-Sections
repository: https://github.com/kentnl/ELF-Extract-Sections.git
version: '1.001002'
version: '1.001003'
4 changes: 2 additions & 2 deletions Makefile.PL
Expand Up @@ -20,6 +20,7 @@ my %WriteMakefileArgs = (
"MIN_PERL_VERSION" => "5.010000",
"NAME" => "ELF::Extract::Sections",
"PREREQ_PM" => {
"Capture::Tiny" => 0,
"Carp" => 0,
"Log::Log4perl" => "1.21",
"Module::Runtime" => 0,
Expand All @@ -36,7 +37,6 @@ my %WriteMakefileArgs = (
"warnings" => 0
},
"TEST_REQUIRES" => {
"Capture::Tiny" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"File::Which" => 0,
Expand All @@ -48,7 +48,7 @@ my %WriteMakefileArgs = (
"YAML::XS" => 0,
"lib" => 0
},
"VERSION" => "1.001002",
"VERSION" => "1.001003",
"test" => {
"TESTS" => "t/*.t t/00-compile/*.t"
}
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections.pm
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections;

# ABSTRACT: Extract Raw Chunks of data from identifiable ELF Sections

our $VERSION = '1.001002'; # TRIAL
our $VERSION = '1.001003'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand Down Expand Up @@ -267,7 +267,7 @@ ELF::Extract::Sections - Extract Raw Chunks of data from identifiable ELF Sectio
=head1 VERSION
version 1.001002
version 1.001003
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections/Meta/Scanner.pm
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections::Meta::Scanner;

# ABSTRACT: Interface Contract for Scanners

our $VERSION = '1.001002'; # TRIAL
our $VERSION = '1.001003'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand Down Expand Up @@ -36,7 +36,7 @@ ELF::Extract::Sections::Meta::Scanner - Interface Contract for Scanners
=head1 VERSION
version 1.001002
version 1.001003
=head1 Required Methods for Applying Roles
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections/Meta/Types.pm
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections::Meta::Types;

# ABSTRACT: Generic Type Constraints for E:E:S

our $VERSION = '1.001002'; # TRIAL
our $VERSION = '1.001003'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand All @@ -32,7 +32,7 @@ ELF::Extract::Sections::Meta::Types - Generic Type Constraints for E:E:S
=head1 VERSION
version 1.001002
version 1.001003
=head1 Types
Expand Down
27 changes: 24 additions & 3 deletions lib/ELF/Extract/Sections/Scanner/Objdump.pm
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections::Scanner::Objdump;

# ABSTRACT: An objdump based section scanner.

our $VERSION = '1.001002'; # TRIAL
our $VERSION = '1.001003'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand Down Expand Up @@ -173,12 +173,33 @@ sub _build__section_header_identifier {
return qr/${header}\s*${offset}:/;
}

sub _objdump_win32 {
my ($self) = @_;
require Capture::Tiny;
## no critic (Subroutines::ProhibitCallsToUnexportedSubs)
my ( $stdout, $result ) = Capture::Tiny::capture_stdout(
sub {
system 'objdump', qw( -D -F ), $self->_file->realpath->absolute;
},
);
if ( $result != 0 ) {
$self->log->logconfess(qq{An error occured requesting section data from objdump $^E $@ });
}
open my $fh, '<', \$stdout or do {
$self->log->logconfess(qq{An error occured making a string IO filehandle $! $@ });
};
return $fh;
}

sub _objdump {
my ($self) = @_;
if ( 'MSWin32' eq $^O or $ENV{OBJDUMP_SLURP} ) {
return $self->_objdump_win32;
}
if ( open my $fh, q{-|}, q{objdump}, qw( -D -F ), $self->_file->realpath->absolute ) {
return $fh;
}
$self->log->logconfess(qq{An error occured requesting section data from objdump $^ $@ });
$self->log->logconfess(qq{An error occured requesting section data from objdump $! $@ });
return;
}

Expand All @@ -196,7 +217,7 @@ ELF::Extract::Sections::Scanner::Objdump - An objdump based section scanner.
=head1 VERSION
version 1.001002
version 1.001003
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/ELF/Extract/Sections/Section.pm
Expand Up @@ -6,7 +6,7 @@ package ELF::Extract::Sections::Section;

# ABSTRACT: An Objective reference to a section in an ELF file.

our $VERSION = '1.001002'; # TRIAL
our $VERSION = '1.001003'; # TRIAL

our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY

Expand Down Expand Up @@ -189,7 +189,7 @@ ELF::Extract::Sections::Section - An Objective reference to a section in an ELF
=head1 VERSION
version 1.001002
version 1.001003
=head1 SYNOPSIS
Expand Down
9 changes: 8 additions & 1 deletion misc/Changes.deps
@@ -1,6 +1,13 @@
This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test)

1.001002
1.001003
[Added / runtime requires]
- Capture::Tiny

[Removed / test requires]
- Capture::Tiny

1.001002 2015-09-27T07:39:23Z

1.001001 2015-09-26T06:22:10Z
[Added / configure requires]
Expand Down
9 changes: 8 additions & 1 deletion misc/Changes.deps.all
@@ -1,6 +1,13 @@
This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop)

1.001002
1.001003
[Added / runtime requires]
- Capture::Tiny

[Removed / test requires]
- Capture::Tiny

1.001002 2015-09-27T07:39:23Z

1.001001 2015-09-26T06:22:10Z
[Added / configure requires]
Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps.dev
@@ -1,6 +1,8 @@
This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL )

1.001002
1.001003

1.001002 2015-09-27T07:39:23Z

1.001001 2015-09-26T06:22:10Z
[Added / develop requires]
Expand Down
4 changes: 3 additions & 1 deletion misc/Changes.deps.opt
@@ -1,6 +1,8 @@
This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test)

1.001002
1.001003

1.001002 2015-09-27T07:39:23Z

1.001001 2015-09-26T06:22:10Z

Expand Down
2 changes: 1 addition & 1 deletion t/00-report-prereqs.dd
Expand Up @@ -89,6 +89,7 @@ do { my $x = {
'Moose' => '2.000'
},
'requires' => {
'Capture::Tiny' => '0',
'Carp' => '0',
'Log::Log4perl' => '1.21',
'Module::Runtime' => '0',
Expand All @@ -114,7 +115,6 @@ do { my $x = {
'Test::More' => '0.99'
},
'requires' => {
'Capture::Tiny' => '0',
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
'File::Which' => '0',
Expand Down

0 comments on commit cd81f73

Please sign in to comment.