aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI-EncryptForm
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-04-02 14:22:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-04-02 14:22:31 +0000
commit796b0f6d7c9ef0cc0d6dff29b502bec185c345d2 (patch)
tree1a93780a2ecf36a44aa0ee1ca0b53442a11f5c29 /www/p5-CGI-EncryptForm
parent92b502a73e6d7522080c5679d3bc11949d40e358 (diff)
downloadports-796b0f6d7c9ef0cc0d6dff29b502bec185c345d2.tar.gz
ports-796b0f6d7c9ef0cc0d6dff29b502bec185c345d2.zip
Notes
Diffstat (limited to 'www/p5-CGI-EncryptForm')
-rw-r--r--www/p5-CGI-EncryptForm/Makefile22
-rw-r--r--www/p5-CGI-EncryptForm/distinfo3
-rw-r--r--www/p5-CGI-EncryptForm/files/patch-EncryptForm.pm20
-rw-r--r--www/p5-CGI-EncryptForm/pkg-descr3
-rw-r--r--www/p5-CGI-EncryptForm/pkg-plist5
5 files changed, 53 insertions, 0 deletions
diff --git a/www/p5-CGI-EncryptForm/Makefile b/www/p5-CGI-EncryptForm/Makefile
new file mode 100644
index 000000000000..7e23d027c130
--- /dev/null
+++ b/www/p5-CGI-EncryptForm/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-CGI-EncryptForm
+# Date created: 2010-03-11
+# Whom: Steve Wills <steve@mouf.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CGI-EncryptForm
+PORTVERSION= 1.02
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/M/MA/MARAL
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= steve@mouf.net
+COMMENT= Implement trusted stateful CGI Form Data using cryptography
+
+PERL_CONFIGURE= yes
+
+MAN3= CGI::EncryptForm.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-CGI-EncryptForm/distinfo b/www/p5-CGI-EncryptForm/distinfo
new file mode 100644
index 000000000000..e0cf3e016e30
--- /dev/null
+++ b/www/p5-CGI-EncryptForm/distinfo
@@ -0,0 +1,3 @@
+MD5 (CGI-EncryptForm-1.02.tar.gz) = 0152f93ff29a4ee8fc4f9622c73a91dd
+SHA256 (CGI-EncryptForm-1.02.tar.gz) = fe7291e422ded4836ccc5bcb440da99c836a1ee86d98727f2a20a2369584f83b
+SIZE (CGI-EncryptForm-1.02.tar.gz) = 9754
diff --git a/www/p5-CGI-EncryptForm/files/patch-EncryptForm.pm b/www/p5-CGI-EncryptForm/files/patch-EncryptForm.pm
new file mode 100644
index 000000000000..fd3cb432980a
--- /dev/null
+++ b/www/p5-CGI-EncryptForm/files/patch-EncryptForm.pm
@@ -0,0 +1,20 @@
+--- EncryptForm.pm.orig 2010-03-11 15:18:24.000000000 -0500
++++ EncryptForm.pm 2010-03-11 15:18:50.000000000 -0500
+@@ -10,7 +10,7 @@
+ package CGI::EncryptForm;
+
+ use Crypt::HCE_SHA;
+-use Storable qw(freeze thaw);
++use Storable qw(nfreeze thaw);
+ use Digest::SHA1 qw(sha1);
+
+ use strict;
+@@ -70,7 +70,7 @@
+
+ my $random_key = $self->_random_key();
+
+- my $str = freeze($decrypted_hashref);
++ my $str = nfreeze($decrypted_hashref);
+ $str = sha1($str) . $str;
+
+ my $cipher = Crypt::HCE_SHA->new($secret_key, $random_key);
diff --git a/www/p5-CGI-EncryptForm/pkg-descr b/www/p5-CGI-EncryptForm/pkg-descr
new file mode 100644
index 000000000000..965d3c5e64d5
--- /dev/null
+++ b/www/p5-CGI-EncryptForm/pkg-descr
@@ -0,0 +1,3 @@
+Implement trusted stateful CGI Form Data using cryptography.
+
+WWW: http://search.cpan.org/dist/CGI-EncryptForm/
diff --git a/www/p5-CGI-EncryptForm/pkg-plist b/www/p5-CGI-EncryptForm/pkg-plist
new file mode 100644
index 000000000000..c874a4c4bda3
--- /dev/null
+++ b/www/p5-CGI-EncryptForm/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/CGI/EncryptForm.pm
+%%SITE_PERL%%/mach/auto/CGI/EncryptForm/.packlist
+@dirrmtry %%SITE_PERL%%/mach/auto/CGI/EncryptForm
+@dirrmtry %%SITE_PERL%%/mach/auto/CGI
+@dirrmtry %%SITE_PERL%%/CGI