From: Charles McGarvey Date: Thu, 31 Mar 2022 13:46:46 +0000 (-0600) Subject: add NAME WriteMakefile arg for non-dzil testing X-Git-Tag: v0.900~15 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c61dec8ff21760377f7aea48fcc69defb091c14f;p=chaz%2Fp5-File-KDBX-XS add NAME WriteMakefile arg for non-dzil testing --- diff --git a/.gitignore b/.gitignore index 34d1c2b..3aa630d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,9 +9,12 @@ /.perl-version /File-KDBX-* /MYMETA.* +/Makefile +/XS.c /blib /cover_db /fatlib +/libtomcrypt/libonlyaes.a /local* /pm_to_blib /src.saved diff --git a/Makefile.PL b/Makefile.PL index 4e62701..05b01e6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,5 +1,8 @@ #!/usr/bin/env perl +# A lot of this is cargo-culted from CryptX which has already gone through a lot of working around platform +# incompatibilities which we're grateful to take advantage of here -- thanks cpan:MIK! + use warnings; use strict; @@ -64,7 +67,8 @@ if ($^O !~ /^(MSWin32|darwin|solaris)$/ && ($Config{ld} =~ /gcc|g\+\+/ || $Confi } my %eumm_args = ( -##{ $plugin->get_default(qw{ABSTRACT AUTHOR DISTNAME LICENSE MIN_PERL_VERSION NAME VERSION test}) ##} + 'NAME' => 'File::KDBX::XS',##{ # List NAME explicitly here so it works even without dzil. ##} +##{ $plugin->get_default(qw{ABSTRACT AUTHOR DISTNAME LICENSE MIN_PERL_VERSION VERSION test}) ##} ##{ $plugin->get_prereqs(1) ##} @EUMM_INC_LIB, ); diff --git a/t/kdf-aes.t b/t/kdf-aes.t index 7a968a4..94ddf82 100644 --- a/t/kdf-aes.t +++ b/t/kdf-aes.t @@ -3,10 +3,9 @@ use warnings; use strict; +use File::KDBX::XS; use Test::More; -BEGIN { use_ok('File::KDBX::XS') } - my $key = "\1" x 32; my $seed = "\1" x 16; my $rounds = 123;