Codebase list libcrypt-ssleay-perl / 345a11a
Various housecleaning bits A. Sinan Unur 10 years ago
4 changed file(s) with 24 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
1010 certs/ca-bundle.crt
1111 certs/notacacert.pem
1212 certs/notacakeynopass.pem
13 inc/IO/Interactive/Tiny.pm
1314 lib/Crypt/SSLeay/CTX.pm
1415 lib/Crypt/SSLeay/Conn.pm
1516 lib/Crypt/SSLeay/Err.pm
00 blib\/
11 \B.svn\b
22 \B.git\b
3 \.DS_Store
34 pm_to_blib
45 README.old
56 crypt_ssleay_version.h
11 use strict;
22 use warnings;
33
4 use Devel::CheckLib;
54 use ExtUtils::CBuilder;
65 use ExtUtils::MakeMaker;
76 use Getopt::Long qw( GetOptionsFromArray );
8 use IO::Interactive::Tiny;
97 use Path::Class;
108 use Try::Tiny;
9
10 use inc::IO::Interactive::Tiny;
1111
1212 caller
1313 or run(\@ARGV, [qw{ssl crypto ssl32 ssleay32 eay32 libeay32 z}]);
6767 # Address RT #78848 and RT #88269
6868
6969 for my $arg (qw(incpath libpath)) {
70 next unless exists $opt{$arg};
7071 my $path = $opt{$arg};
7172
7273 try {
108109
109110 my %params = (
110111 META_MERGE => {
112 keywords => [ qw(lwp lwp-useragent openssl https) ],
113 no_index => {
114 directory => [ 'inc' ],
115 },
116 build => {
117 recommends => {
118 'Devel::CheckLib' => '0.99',
119 },
120 },
111121 resources => {
112122 repository => 'https://github.com/nanis/Crypt-SSLeay',
113123 },
136146 },
137147
138148 CONFIGURE_REQUIRES => {
139 'Devel::CheckLib' => '0.99',
140149 'ExtUtils::CBuilder' => '0.280205',
141150 'Getopt::Long' => 0,
142 'IO::Interactive::Tiny' => 0,
143151 'Path::Class' => '0.26',
144152 'Try::Tiny' => '0.19',
145153 },
273281 sub filter_libs {
274282 my $opt = shift;
275283 my $libs = shift;
284
285 try {
286 require Devel::CheckLib;
287 Devel::CheckLib->import;
288 }
289 catch {
290 return $libs;
291 };
292
276293 my @found;
277294
278295 for my $lib (@$libs) {
8787
8888 # see https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0160
8989 sub is_openssl_vulnerable_to_heartbleed {
90 my %vulnerable = map $_ => undef, qw(
90 my %vulnerable = map { $_ => undef } qw(
9191 0x1000100f
9292 0x1000101f
9393 0x1000102f