Hi, ports@:

    Here is a patch for security/p5-Crypt-CBC:
    i) Update to 3.03
    ii) Remove the line of BUILD_DEPENDS= ${RUN_DEPENDS}
    iii) Add security/p5-Crypt-PBKDF2 and security/p5-CryptX as RUND
    iv) Add security/p5-Crypt-Blowfish_PP and security/p5-Crypt-IDEA
as TEST_DEPENDS
   v) Remove the trailing whitespace

    It build well and pass all tests on amd64-6.9 system.
    There are 7 ports depends on it, all build well and pass tests.

   Before test this patch, 2 new ports(security/p5-Crypt-IDEA and
security/p5-Digest-SHA3) should be imported into portstree.


Cheers !
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/p5-Crypt-CBC/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile    3 Jul 2020 21:45:40 -0000       1.30
+++ Makefile    2 May 2021 23:23:28 -0000
@@ -4,14 +4,16 @@ COMMENT=      cryptographic cipher block chai
 
 MODULES=       cpan
 PKG_ARCH=      *
-DISTNAME =     Crypt-CBC-2.33
+DISTNAME =     Crypt-CBC-3.03
 CATEGORIES=    security
-REVISION =     0
 
 RUN_DEPENDS=   security/p5-Crypt-DES \
                security/p5-Crypt-Blowfish \
-               security/p5-Crypt-Rijndael
-BUILD_DEPENDS= ${RUN_DEPENDS}
+               security/p5-Crypt-PBKDF2 \
+               security/p5-Crypt-Rijndael \
+               security/p5-CryptX
+TEST_DEPENDS=  security/p5-Crypt-Blowfish_PP \
+               security/p5-Crypt-IDEA
 
 # Perl
 PERMIT_PACKAGE=        Yes
@@ -19,4 +21,4 @@ PERMIT_PACKAGE=       Yes
 MODCPAN_EXAMPLES=      Yes
 MODCPAN_EXAMPLES_DIST= eg
 
-.include <bsd.port.mk> 
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/p5-Crypt-CBC/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo    15 Nov 2014 10:05:28 -0000      1.12
+++ distinfo    2 May 2021 23:23:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (Crypt-CBC-2.33.tar.gz) = anDeIbbMfysQAGfo4Yjblm6agAG122+pdufLWylK5kU=
-SIZE (Crypt-CBC-2.33.tar.gz) = 23470
+SHA256 (Crypt-CBC-3.03.tar.gz) = 1hGCLM5tA+laDAszb8t788u/GfThy0zq2tysedbrl64=
+SIZE (Crypt-CBC-3.03.tar.gz) = 40174
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/p5-Crypt-CBC/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   6 Oct 2008 17:01:16 -0000       1.6
+++ pkg/PLIST   2 May 2021 23:23:28 -0000
@@ -1,6 +1,14 @@
 @comment $OpenBSD: PLIST,v 1.6 2008/10/06 17:01:16 jasper Exp $
 ${P5SITE}/Crypt/
+${P5SITE}/Crypt/CBC/
 ${P5SITE}/Crypt/CBC.pm
+${P5SITE}/Crypt/CBC/PBKDF/
+${P5SITE}/Crypt/CBC/PBKDF.pm
+${P5SITE}/Crypt/CBC/PBKDF/none.pm
+${P5SITE}/Crypt/CBC/PBKDF/opensslv1.pm
+${P5SITE}/Crypt/CBC/PBKDF/opensslv2.pm
+${P5SITE}/Crypt/CBC/PBKDF/pbkdf2.pm
+${P5SITE}/Crypt/CBC/PBKDF/randomiv.pm
 @man man/man3p/Crypt::CBC.3p
 share/examples/p5-Crypt-CBC/
 share/examples/p5-Crypt-CBC/aes.pl

Reply via email to