Date: Mon, 1 Sep 2014 19:15:48 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366933 - in head/security: . p5-Crypt-T_e_a p5-Crypt-Tea_JS Message-ID: <201409011915.s81JFmD0006803@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Mon Sep 1 19:15:47 2014 New Revision: 366933 URL: http://svnweb.freebsd.org/changeset/ports/366933 QAT: https://qat.redports.org/buildarchive/r366933/ Log: Add security/p5-Crypt-Tea_JS. security/p5-Crypt-T_e_a development stopped at 2.11 and there will be no further releases for that port. Development has continued by the same author, under a new name, Crypt::Tea_JS. I've added conflicts between the two, but p5-Crypt-T_e_a should probably be considered deprecated. This module implements TEA, the Tiny Encryption Algorithm, and some Modes of Use, in Perl and JavaScript. The $key is a sufficiently longish string; at least 17 random 8-bit bytes for single encryption. Crypt::Tea_JS can be used for secret-key encryption in general, or, in particular, to communicate securely between browser and web-host. In this case, the simplest arrangement is for the user to enter the key into a JavaScript variable, and for the host to retrieve that user's key from a database. Or, for extra security, the first message (or even each message) between browser and host could contain a random challenge-string, which each end would then turn into a signature, and use that signature as the encryption-key for the session (or the reply). WWW: http://search.cpan.org/dist/Crypt-Tea_JS/ Added: head/security/p5-Crypt-Tea_JS/ head/security/p5-Crypt-Tea_JS/Makefile (contents, props changed) head/security/p5-Crypt-Tea_JS/distinfo (contents, props changed) head/security/p5-Crypt-Tea_JS/pkg-descr (contents, props changed) head/security/p5-Crypt-Tea_JS/pkg-plist (contents, props changed) Modified: head/security/Makefile head/security/p5-Crypt-T_e_a/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Mon Sep 1 19:11:33 2014 (r366932) +++ head/security/Makefile Mon Sep 1 19:15:47 2014 (r366933) @@ -510,6 +510,7 @@ SUBDIR += p5-Crypt-SmbHash SUBDIR += p5-Crypt-Solitaire SUBDIR += p5-Crypt-TEA + SUBDIR += p5-Crypt-Tea_JS SUBDIR += p5-Crypt-T_e_a SUBDIR += p5-Crypt-TripleDES SUBDIR += p5-Crypt-Twofish Modified: head/security/p5-Crypt-T_e_a/Makefile ============================================================================== --- head/security/p5-Crypt-T_e_a/Makefile Mon Sep 1 19:11:33 2014 (r366932) +++ head/security/p5-Crypt-T_e_a/Makefile Mon Sep 1 19:15:47 2014 (r366933) @@ -12,6 +12,8 @@ DISTNAME= Crypt-Tea-${PORTVERSION} MAINTAINER= swills@FreeBSD.org COMMENT= The Tiny Encryption Algorithm in Perl and JavaScript +CONFLICTS= p5-Crypt-Tea_JS-[0-9]* + USES= perl5 USE_PERL5= configure Added: head/security/p5-Crypt-Tea_JS/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/p5-Crypt-Tea_JS/Makefile Mon Sep 1 19:15:47 2014 (r366933) @@ -0,0 +1,28 @@ +# Created by: adamw +# $FreeBSD$ + +PORTNAME= Crypt-Tea_JS +PORTVERSION= 2.23 +CATEGORIES= security perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= adamw@FreeBSD.org +COMMENT= Tiny Encryption Algorithm in Perl and Javascript + +CONFLICTS= p5-Crypt-T_e_a-[0-9]* + +USES= perl5 +USE_PERL5= configure + +OPTIONS_DEFINE= EXAMPLES +PORTEXAMPLES= tea_demo.cgi +PORTDATA= Tea_JS.js + +post-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/Tea_JS.js ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} + +.include <bsd.port.mk> Added: head/security/p5-Crypt-Tea_JS/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/p5-Crypt-Tea_JS/distinfo Mon Sep 1 19:15:47 2014 (r366933) @@ -0,0 +1,2 @@ +SHA256 (Crypt-Tea_JS-2.23.tar.gz) = b9c5af99ddca84611cd5c6cbd5d5a5989009d5a42818f4e64e735da25676e918 +SIZE (Crypt-Tea_JS-2.23.tar.gz) = 21510 Added: head/security/p5-Crypt-Tea_JS/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/p5-Crypt-Tea_JS/pkg-descr Mon Sep 1 19:15:47 2014 (r366933) @@ -0,0 +1,16 @@ +This module implements TEA, the Tiny Encryption Algorithm, and some Modes of +Use, in Perl and JavaScript. + +The $key is a sufficiently longish string; at least 17 random 8-bit bytes for +single encryption. + +Crypt::Tea_JS can be used for secret-key encryption in general, or, in +particular, to communicate securely between browser and web-host. In this case, +the simplest arrangement is for the user to enter the key into a JavaScript +variable, and for the host to retrieve that user's key from a database. Or, for +extra security, the first message (or even each message) between browser and +host could contain a random challenge-string, which each end would then turn +into a signature, and use that signature as the encryption-key for the session +(or the reply). + +WWW: http://search.cpan.org/dist/Crypt-Tea_JS/ Added: head/security/p5-Crypt-Tea_JS/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/p5-Crypt-Tea_JS/pkg-plist Mon Sep 1 19:15:47 2014 (r366933) @@ -0,0 +1,9 @@ +bin/tea +man/man1/tea.1.gz +%%PERL5_MAN3%%/Crypt::Tea_JS.3.gz +%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Tea_JS.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Tea_JS/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Tea_JS/Tea_JS.so +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Tea_JS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409011915.s81JFmD0006803>