Hi, ports@:

    Here is a patch for security/p5-Crypt-Argon2 to update to 0.022.
It build well and pass all tests on amd64-current system.
    Only one port depends on it, textproc/p5-File-KDBX, it build well
with this patch and pass all tests.


Best Regards,
wen
Index: security/p5-Crypt-Argon2/Makefile
===================================================================
RCS file: /cvs/ports/security/p5-Crypt-Argon2/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- security/p5-Crypt-Argon2/Makefile   26 Nov 2023 07:17:10 -0000      1.6
+++ security/p5-Crypt-Argon2/Makefile   16 Jul 2024 02:27:19 -0000
@@ -1,6 +1,6 @@
 COMMENT =      interface to the Argon2 key derivation functions
 
-DISTNAME =     Crypt-Argon2-0.020
+DISTNAME =     Crypt-Argon2-0.022
 
 CATEGORIES =   security
 
Index: security/p5-Crypt-Argon2/distinfo
===================================================================
RCS file: /cvs/ports/security/p5-Crypt-Argon2/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- security/p5-Crypt-Argon2/distinfo   26 Nov 2023 07:17:10 -0000      1.5
+++ security/p5-Crypt-Argon2/distinfo   16 Jul 2024 02:27:19 -0000
@@ -1,2 +1,2 @@
-SHA256 (Crypt-Argon2-0.020.tar.gz) = 
FiGMb8lqnj7hMi2d+H9jW1vhF7wTfvnObW01NARVSlo=
-SIZE (Crypt-Argon2-0.020.tar.gz) = 40398
+SHA256 (Crypt-Argon2-0.022.tar.gz) = 
NmSSMK4kiYqECBQooVjjIJ41fKgQKeBSMdZAr9fTEKI=
+SIZE (Crypt-Argon2-0.022.tar.gz) = 40502
Index: security/p5-Crypt-Argon2/patches/patch-Build_PL
===================================================================
RCS file: security/p5-Crypt-Argon2/patches/patch-Build_PL
diff -N security/p5-Crypt-Argon2/patches/patch-Build_PL
--- security/p5-Crypt-Argon2/patches/patch-Build_PL     26 Nov 2023 07:17:10 
-0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
---- Build.PL.orig.port Sun Oct 29 18:28:55 2023
-+++ Build.PL   Sun Nov 26 08:12:35 2023
-@@ -9,11 +9,10 @@
-       source               => 'opt/opt.c',
-       object_file          => File::Spec->devnull,
-       include_dirs         => [ 'include', 'src' ],
--      extra_compiler_flags => [ '-march=native' ],
- );
- 
- my $optimized = $ENV{PERL5_CPAN_IS_RUNNING} && eval { 
$cbuilder->compile(%opt_args) };
--my ($dir, $compiler_flags, $linker_flags) = $optimized ? ('opt', 
['-march=native']) : ('ref');
-+my ($dir, $compiler_flags, $linker_flags) = $optimized ? ('opt') : ('ref');
- 
- if ($^O ne 'MSWin32') {
-       unshift @{ $compiler_flags }, '-pthread';

Reply via email to