summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/p5-Session-Storage-Secure/DESCR10
-rw-r--r--www/p5-Session-Storage-Secure/Makefile34
-rw-r--r--www/p5-Session-Storage-Secure/distinfo5
3 files changed, 49 insertions, 0 deletions
diff --git a/www/p5-Session-Storage-Secure/DESCR b/www/p5-Session-Storage-Secure/DESCR
new file mode 100644
index 00000000000..b2e861567bd
--- /dev/null
+++ b/www/p5-Session-Storage-Secure/DESCR
@@ -0,0 +1,10 @@
+This module implements a secure way to encode session data. It is primarily
+intended for storing session data in browser cookies, but could be used with
+other backend storage where security of stored session data is important.
+
+Features include:
+
+ () Data serialization and compression using Sereal
+ () Data encryption using AES with a unique derived key per encoded session
+ () Enforced expiration timestamp (optional)
+ () Integrity protected with a message authentication code (MAC)
diff --git a/www/p5-Session-Storage-Secure/Makefile b/www/p5-Session-Storage-Secure/Makefile
new file mode 100644
index 00000000000..cba3ee5df03
--- /dev/null
+++ b/www/p5-Session-Storage-Secure/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2013/07/03 17:40:03 sno Exp $
+
+DISTNAME= Session-Storage-Secure-0.007
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DA/DAGOLDEN/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Session-Storage-Secure/
+COMMENT= Encrypted, expiring, compressed, serialized session data with integrity
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Session/Storage/Secure/.packlist
+
+DEPENDS+= p5-Crypt-CBC>=0:../../security/p5-Crypt-CBC
+DEPENDS+= p5-Crypt-Rijndael-[0-9]*:../../security/p5-Crypt-Rijndael
+DEPENDS+= p5-Crypt-URandom-[0-9]*:../../security/p5-Crypt-URandom
+# Digest::SHA is in Core ...
+# MIME::Base64 : "3.12" - since 5.13.8 in Core
+DEPENDS+= p5-Math-Random-ISAAC-XS-[0-9]*:../../math/p5-Math-Random-ISAAC-XS
+DEPENDS+= p5-Moo-[0-9]*:../../devel/p5-Moo
+DEPENDS+= p5-MooX-Types-MooseLike>=0.16:../../devel/p5-MooX-Types-MooseLike
+DEPENDS+= p5-Sereal-Decoder-[0-9]*:../../converters/p5-Sereal-Decoder
+DEPENDS+= p5-Sereal-Encoder-[0-9]*:../../converters/p5-Sereal-Encoder
+DEPENDS+= p5-String-Compare-ConstantTime-[0-9]*:../../textproc/p5-String-Compare-ConstantTime
+DEPENDS+= p5-namespace-clean-[0-9]*:../../devel/p5-namespace-clean
+
+BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
+BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
+BUILD_DEPENDS+= p5-Number-Tolerant-[0-9]*:../../math/p5-Number-Tolerant
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Session-Storage-Secure/distinfo b/www/p5-Session-Storage-Secure/distinfo
new file mode 100644
index 00000000000..702a3c58ff3
--- /dev/null
+++ b/www/p5-Session-Storage-Secure/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 17:40:03 sno Exp $
+
+SHA1 (Session-Storage-Secure-0.007.tar.gz) = dbbc214f0be61f48e52f8f3cb2469559e5f25728
+RMD160 (Session-Storage-Secure-0.007.tar.gz) = 773af22720828e1e3f57f33fffc8603515bde7c9
+Size (Session-Storage-Secure-0.007.tar.gz) = 20419 bytes