diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-24 16:20:31 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-24 16:20:31 +0000 |
commit | b134f2c69639b4b83d5bc2f73f33fcf115a1f4de (patch) | |
tree | 1c5538437c9365d2220789eb77ec1a0dc205e18a /security/p5-Crypt-TEA | |
parent | caca042d2417c1a78df47e5ff579322554ac3d54 (diff) | |
download | ports-b134f2c69639b4b83d5bc2f73f33fcf115a1f4de.tar.gz ports-b134f2c69639b4b83d5bc2f73f33fcf115a1f4de.zip |
Fix security/p5-Crypt-{TEA,GOST} and undeprecate dependency.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=384666
Diffstat (limited to 'security/p5-Crypt-TEA')
-rw-r--r-- | security/p5-Crypt-TEA/Makefile | 11 | ||||
-rw-r--r-- | security/p5-Crypt-TEA/files/patch-TEA.xs | 15 |
2 files changed, 16 insertions, 10 deletions
diff --git a/security/p5-Crypt-TEA/Makefile b/security/p5-Crypt-TEA/Makefile index e8a013bdab1d..d145b76b3e8b 100644 --- a/security/p5-Crypt-TEA/Makefile +++ b/security/p5-Crypt-TEA/Makefile @@ -14,13 +14,4 @@ COMMENT= Perl extension to Tiny Encryption Algorithm USES= perl5 USE_PERL5= configure -DEPRECATED= Does not work with 5.18 or above -EXPIRATION_DATE=2015-07-31 - -.include <bsd.port.pre.mk> - -.if ${PERL_VER} >= 5.18 -BROKEN= Does not build with Perl 5.18 or above -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/p5-Crypt-TEA/files/patch-TEA.xs b/security/p5-Crypt-TEA/files/patch-TEA.xs new file mode 100644 index 000000000000..a84a24f0c68c --- /dev/null +++ b/security/p5-Crypt-TEA/files/patch-TEA.xs @@ -0,0 +1,15 @@ +--- TEA.xs.orig 2001-05-21 17:32:59 UTC ++++ TEA.xs +@@ -55,9 +55,11 @@ tea_crypt(self, input, output, decrypt) + output = sv_newmortal(); + outlen = 8; + +- if (SvREADONLY(output) || !SvUPGRADE(output, SVt_PV)) ++ if (SvREADONLY(output)) + croak("cannot use output as lvalue"); + ++ SvUPGRADE(output, SVt_PV); ++ + tea_crypt(self, + (unsigned char *)input, + (unsigned char *)SvGROW(output, outlen), |