svn commit: r409028 - in head: lang lang/p5-Scalar-Util-Numeric security security/p5-Crypt-XTEA

Adam Weinberger adamw at FreeBSD.org
Wed Feb 17 04:23:03 UTC 2016


Author: adamw
Date: Wed Feb 17 04:23:00 2016
New Revision: 409028
URL: https://svnweb.freebsd.org/changeset/ports/409028

Log:
  Add security/p5-Crypt-XTEA, and its dependency lang/p5-Scalar-Util-Numeric.
  
  Crypt::XTEA implements the fast and light XTEA cipher that supports the
  Crypt::CBC interface.
  
  https://metacpan.org/pod/Crypt::XTEA
  
  Scalar::Util::Numeric implements some scalar classification routines
  with an XS module.
  
  https://metacpan.org/pod/Scalar::Util::Numeric

Added:
  head/lang/p5-Scalar-Util-Numeric/
  head/lang/p5-Scalar-Util-Numeric/Makefile   (contents, props changed)
  head/lang/p5-Scalar-Util-Numeric/distinfo   (contents, props changed)
  head/lang/p5-Scalar-Util-Numeric/pkg-descr   (contents, props changed)
  head/lang/p5-Scalar-Util-Numeric/pkg-plist   (contents, props changed)
  head/security/p5-Crypt-XTEA/
  head/security/p5-Crypt-XTEA/Makefile   (contents, props changed)
  head/security/p5-Crypt-XTEA/distinfo   (contents, props changed)
  head/security/p5-Crypt-XTEA/pkg-descr   (contents, props changed)
  head/security/p5-Crypt-XTEA/pkg-plist   (contents, props changed)
Modified:
  head/lang/Makefile
  head/security/Makefile

Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile	Wed Feb 17 04:18:18 2016	(r409027)
+++ head/lang/Makefile	Wed Feb 17 04:23:00 2016	(r409028)
@@ -221,6 +221,7 @@
     SUBDIR += p5-Pugs-Compiler-Rule
     SUBDIR += p5-Quantum-Superpositions
     SUBDIR += p5-Scalar-List-Utils
+    SUBDIR += p5-Scalar-Util-Numeric
     SUBDIR += p5-Switch
     SUBDIR += p5-Tcl
     SUBDIR += p5-Test-XPath

Added: head/lang/p5-Scalar-Util-Numeric/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/p5-Scalar-Util-Numeric/Makefile	Wed Feb 17 04:23:00 2016	(r409028)
@@ -0,0 +1,22 @@
+# Created by: Adam Weinberger <adamw at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Scalar-Util-Numeric
+PORTVERSION=	0.40
+CATEGORIES=	lang perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	adamw at FreeBSD.org
+COMMENT=	Numeric tests for perl scalars
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+USES=		perl5
+USE_PERL5=	configure
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Scalar/Util/Numeric/Numeric.so
+
+.include <bsd.port.mk>

Added: head/lang/p5-Scalar-Util-Numeric/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/p5-Scalar-Util-Numeric/distinfo	Wed Feb 17 04:23:00 2016	(r409028)
@@ -0,0 +1,2 @@
+SHA256 (Scalar-Util-Numeric-0.40.tar.gz) = d7501b6d410703db5b1c1942fbfc41af8964a35525d7f766058acf5ca2cc4440
+SIZE (Scalar-Util-Numeric-0.40.tar.gz) = 52757

Added: head/lang/p5-Scalar-Util-Numeric/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/p5-Scalar-Util-Numeric/pkg-descr	Wed Feb 17 04:23:00 2016	(r409028)
@@ -0,0 +1,5 @@
+This module exports a number of wrappers around perl's builtin grok_number
+function, which returns the numeric type of its argument, or 0 if it isn't
+numeric.
+
+WWW: https://metacpan.org/pod/Scalar::Util::Numeric

Added: head/lang/p5-Scalar-Util-Numeric/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/p5-Scalar-Util-Numeric/pkg-plist	Wed Feb 17 04:23:00 2016	(r409028)
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/Scalar/Util/Numeric.pm
+%%SITE_ARCH%%/auto/Scalar/Util/Numeric/Numeric.so
+%%PERL5_MAN3%%/Scalar::Util::Numeric.3.gz

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Wed Feb 17 04:18:18 2016	(r409027)
+++ head/security/Makefile	Wed Feb 17 04:23:00 2016	(r409028)
@@ -572,6 +572,7 @@
     SUBDIR += p5-Crypt-UnixCrypt
     SUBDIR += p5-Crypt-UnixCrypt_XS
     SUBDIR += p5-Crypt-X509
+    SUBDIR += p5-Crypt-XTEA
     SUBDIR += p5-Crypt-xDBM_File
     SUBDIR += p5-CryptX
     SUBDIR += p5-Dancer-Plugin-Auth-Extensible

Added: head/security/p5-Crypt-XTEA/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Crypt-XTEA/Makefile	Wed Feb 17 04:23:00 2016	(r409028)
@@ -0,0 +1,26 @@
+# Created by: Adam Weinberger <adamw at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Crypt-XTEA
+PORTVERSION=	0.0107
+CATEGORIES=	security perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	adamw at FreeBSD.org
+COMMENT=	Implementation of the eXtended Tiny Encryption Algorithm
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Scalar-Util-Numeric>=0.40:${PORTSDIR}/lang/p5-Scalar-Util-Numeric
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+TEST_DEPENDS=	p5-Crypt-CBC>=0:${PORTSDIR}/security/p5-Crypt-CBC
+
+USES=		perl5
+USE_PERL5=	configure
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/XTEA/XTEA.so
+
+.include <bsd.port.mk>

Added: head/security/p5-Crypt-XTEA/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Crypt-XTEA/distinfo	Wed Feb 17 04:23:00 2016	(r409028)
@@ -0,0 +1,2 @@
+SHA256 (Crypt-XTEA-0.0107.tar.gz) = bb25595caaca4847ce9462b63727e5e17978e3c48c2778a6fe4f535d81414722
+SIZE (Crypt-XTEA-0.0107.tar.gz) = 57495

Added: head/security/p5-Crypt-XTEA/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Crypt-XTEA/pkg-descr	Wed Feb 17 04:23:00 2016	(r409028)
@@ -0,0 +1,13 @@
+In cryptography, XTEA (eXtended TEA) is a block cipher designed to correct
+weaknesses in TEA. The cipher's designers were David Wheeler and Roger Needham
+of the Cambridge Computer Laboratory, and the algorithm was presented in an
+unpublished technical report in 1997 (Needham and Wheeler, 1997). It is not
+subject to any patents.
+
+Like TEA, XTEA is a 64-bit block Feistel cipher with a 128-bit key and a
+suggested 64 Feistel rounds (i.e 32 cycles). Crypt::XTEA uses the recommended
+value of 32 cycles by default.
+
+This module implements XTEA encryption. It supports the Crypt::CBC interface.
+
+WWW: https://metacpan.org/pod/Crypt::XTEA

Added: head/security/p5-Crypt-XTEA/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Crypt-XTEA/pkg-plist	Wed Feb 17 04:23:00 2016	(r409028)
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/Crypt/XTEA.pm
+%%SITE_ARCH%%/auto/Crypt/XTEA/XTEA.so
+%%PERL5_MAN3%%/Crypt::XTEA.3.gz


More information about the svn-ports-all mailing list