svn commit: r324557 - in head/textproc: . p5-String-Compare-ConstantTime

Jun Kuriyama kuriyama at FreeBSD.org
Sat Aug 10 17:04:03 UTC 2013


Author: kuriyama
Date: Sat Aug 10 17:04:02 2013
New Revision: 324557
URL: http://svnweb.freebsd.org/changeset/ports/324557

Log:
  This module provides one function, equals (not exported by default).
  
  You should pass this function two strings of the same length. It will
  return true if they are string-wise identical and false otherwise,
  just like eq.  However, comparing any two differing strings will take
  a fixed amount of time, unlike eq.
  
  WWW: http://search.cpan.org/dist/String-Compare-ConstantTime/

Added:
  head/textproc/p5-String-Compare-ConstantTime/
  head/textproc/p5-String-Compare-ConstantTime/Makefile   (contents, props changed)
  head/textproc/p5-String-Compare-ConstantTime/distinfo   (contents, props changed)
  head/textproc/p5-String-Compare-ConstantTime/pkg-descr   (contents, props changed)
  head/textproc/p5-String-Compare-ConstantTime/pkg-plist   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Aug 10 17:00:46 2013	(r324556)
+++ head/textproc/Makefile	Sat Aug 10 17:04:02 2013	(r324557)
@@ -723,6 +723,7 @@
     SUBDIR += p5-Spreadsheet-XLSX
     SUBDIR += p5-String-BufferStack
     SUBDIR += p5-String-CamelCase
+    SUBDIR += p5-String-Compare-ConstantTime
     SUBDIR += p5-String-Divert
     SUBDIR += p5-String-Escape
     SUBDIR += p5-String-Flogger

Added: head/textproc/p5-String-Compare-ConstantTime/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-String-Compare-ConstantTime/Makefile	Sat Aug 10 17:04:02 2013	(r324557)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME=	String-Compare-ConstantTime
+PORTVERSION=	0.300
+CATEGORIES=	textproc perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	kuriyama at FreeBSD.org
+COMMENT=	Perl extension for timing side-channel protected string compare
+
+USES=	perl5
+USE_PERL5=	configure
+
+MAN3=	String::Compare::ConstantTime.3 \
+	String::Compare::README.3
+
+.include <bsd.port.mk>

Added: head/textproc/p5-String-Compare-ConstantTime/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-String-Compare-ConstantTime/distinfo	Sat Aug 10 17:04:02 2013	(r324557)
@@ -0,0 +1,2 @@
+SHA256 (String-Compare-ConstantTime-0.300.tar.gz) = 579593451de15653f28c69fec61f4a7b987e8a1236b35e3a407241f6e9ce4f6f
+SIZE (String-Compare-ConstantTime-0.300.tar.gz) = 5210

Added: head/textproc/p5-String-Compare-ConstantTime/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-String-Compare-ConstantTime/pkg-descr	Sat Aug 10 17:04:02 2013	(r324557)
@@ -0,0 +1,8 @@
+This module provides one function, equals (not exported by default).
+
+You should pass this function two strings of the same length. It will
+return true if they are string-wise identical and false otherwise,
+just like eq.  However, comparing any two differing strings will take
+a fixed amount of time, unlike eq.
+
+WWW: http://search.cpan.org/dist/String-Compare-ConstantTime/

Added: head/textproc/p5-String-Compare-ConstantTime/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-String-Compare-ConstantTime/pkg-plist	Sat Aug 10 17:04:02 2013	(r324557)
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/ConstantTime.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/ConstantTime.so
+%%SITE_PERL%%/%%PERL_ARCH%%/String/Compare/README.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/String/Compare/ConstantTime.pm
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/String/Compare
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/String
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String


More information about the svn-ports-head mailing list