svn commit: r384666 - in head: net/p5-OurNet-BBS security/p5-Crypt-GOST security/p5-Crypt-GOST/files security/p5-Crypt-TEA security/p5-Crypt-TEA/files
Mathieu Arnold
mat at FreeBSD.org
Fri Apr 24 16:20:33 UTC 2015
Author: mat
Date: Fri Apr 24 16:20:31 2015
New Revision: 384666
URL: https://svnweb.freebsd.org/changeset/ports/384666
Log:
Fix security/p5-Crypt-{TEA,GOST} and undeprecate dependency.
Sponsored by: Absolight
Added:
head/security/p5-Crypt-GOST/files/
head/security/p5-Crypt-GOST/files/patch-GOST.xs (contents, props changed)
head/security/p5-Crypt-TEA/files/
head/security/p5-Crypt-TEA/files/patch-TEA.xs (contents, props changed)
Modified:
head/net/p5-OurNet-BBS/Makefile
head/security/p5-Crypt-GOST/Makefile
head/security/p5-Crypt-TEA/Makefile
Modified: head/net/p5-OurNet-BBS/Makefile
==============================================================================
--- head/net/p5-OurNet-BBS/Makefile Fri Apr 24 15:59:14 2015 (r384665)
+++ head/net/p5-OurNet-BBS/Makefile Fri Apr 24 16:20:31 2015 (r384666)
@@ -43,7 +43,4 @@ PORTSCOUT= skipv:1.67
USES= perl5
USE_PERL5= configure
-DEPRECATED= Needs p5-Crypt-Tea that does not work with 5.18 or above
-EXPIRATION_DATE=2015-07-31
-
.include <bsd.port.mk>
Modified: head/security/p5-Crypt-GOST/Makefile
==============================================================================
--- head/security/p5-Crypt-GOST/Makefile Fri Apr 24 15:59:14 2015 (r384665)
+++ head/security/p5-Crypt-GOST/Makefile Fri Apr 24 16:20:31 2015 (r384666)
@@ -14,13 +14,4 @@ COMMENT= Perl extension for GOST Encrypt
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>
Added: head/security/p5-Crypt-GOST/files/patch-GOST.xs
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/p5-Crypt-GOST/files/patch-GOST.xs Fri Apr 24 16:20:31 2015 (r384666)
@@ -0,0 +1,15 @@
+--- GOST.xs.orig 2001-05-13 14:11:35 UTC
++++ GOST.xs
+@@ -54,9 +54,11 @@ gost_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);
++
+ gost_crypt(self,
+ (unsigned char *)input,
+ (unsigned char *)SvGROW(output, outlen),
Modified: head/security/p5-Crypt-TEA/Makefile
==============================================================================
--- head/security/p5-Crypt-TEA/Makefile Fri Apr 24 15:59:14 2015 (r384665)
+++ head/security/p5-Crypt-TEA/Makefile Fri Apr 24 16:20:31 2015 (r384666)
@@ -14,13 +14,4 @@ COMMENT= Perl extension to Tiny Encrypti
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>
Added: head/security/p5-Crypt-TEA/files/patch-TEA.xs
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/p5-Crypt-TEA/files/patch-TEA.xs Fri Apr 24 16:20:31 2015 (r384666)
@@ -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),
More information about the svn-ports-head
mailing list