perlPackages.AuthenSimple: don't test the "crypt" algo
This commit is contained in:
@@ -1350,6 +1350,20 @@ let
|
||||
url = "mirror://cpan/authors/id/C/CH/CHANSEN/Authen-Simple-0.5.tar.gz";
|
||||
hash = "sha256-As3atH+L8aHL1Mm/jSWPbQURFJnDP4MV5yRIEvcmE6o=";
|
||||
};
|
||||
# Our C crypt() doesn't support this weak "crypt" algorithm anymore.
|
||||
postPatch = ''
|
||||
patch -p1 <<-EOF
|
||||
--- a/t/09password.t
|
||||
+++ b/t/09password.t
|
||||
@@ -10 +10 @@
|
||||
-use Test::More tests => 16;
|
||||
+use Test::More tests => 14;
|
||||
@@ -14 +13,0 @@
|
||||
- [ 'crypt', 'lk9Mh5KHGjAaM', 'crypt' ],
|
||||
@@ -18 +16,0 @@
|
||||
- [ 'crypt', '{CRYPT}lk9Mh5KHGjAaM', '{CRYPT}' ],
|
||||
EOF
|
||||
'';
|
||||
propagatedBuildInputs = [ ClassAccessor ClassDataInheritable CryptPasswdMD5 ParamsValidate ];
|
||||
meta = {
|
||||
description = "Simple Authentication";
|
||||
|
||||
Reference in New Issue
Block a user