summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2013-07-03 17:44:29 +0000
committersno <sno@pkgsrc.org>2013-07-03 17:44:29 +0000
commit2211d97ed0affba34f77f9a3081ae8123c994b23 (patch)
tree31e4484df4467293073c825b515b045823fbe93f /www
parent61dfa03aa33a94fc4fe1f2f714307615b9053f41 (diff)
downloadpkgsrc-2211d97ed0affba34f77f9a3081ae8123c994b23.tar.gz
Adding package for CPAN distribution Dancer-Session-Cookie version 0.22
into www/p5-Dancer-Session-Cookie. This module implements a session engine for sessions stored entirely in cookies. Usually only session id is stored in cookies and the session data itself is saved in some external storage, e.g. database. This module allows to avoid using external storage at all. Since server cannot trust any data returned by client in cookies, this module uses cryptography to ensure integrity and also secrecy. The data your application stores in sessions is completely protected from both tampering and analysis on the client-side.
Diffstat (limited to 'www')
-rw-r--r--www/p5-Dancer-Session-Cookie/DESCR9
-rw-r--r--www/p5-Dancer-Session-Cookie/Makefile31
-rw-r--r--www/p5-Dancer-Session-Cookie/distinfo5
3 files changed, 45 insertions, 0 deletions
diff --git a/www/p5-Dancer-Session-Cookie/DESCR b/www/p5-Dancer-Session-Cookie/DESCR
new file mode 100644
index 00000000000..9b756364428
--- /dev/null
+++ b/www/p5-Dancer-Session-Cookie/DESCR
@@ -0,0 +1,9 @@
+This module implements a session engine for sessions stored entirely in
+cookies. Usually only session id is stored in cookies and the session data
+itself is saved in some external storage, e.g. database. This module allows
+to avoid using external storage at all.
+
+Since server cannot trust any data returned by client in cookies, this
+module uses cryptography to ensure integrity and also secrecy. The data
+your application stores in sessions is completely protected from both
+tampering and analysis on the client-side.
diff --git a/www/p5-Dancer-Session-Cookie/Makefile b/www/p5-Dancer-Session-Cookie/Makefile
new file mode 100644
index 00000000000..945672986c7
--- /dev/null
+++ b/www/p5-Dancer-Session-Cookie/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2013/07/03 17:44:29 sno Exp $
+
+DISTNAME= Dancer-Session-Cookie-0.22
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Dancer/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Dancer-Session-Cookie/
+COMMENT= Encrypted cookie-based session backend for Dancer
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Dancer/Session/Cookie/.packlist
+
+DEPENDS+= p5-Crypt-CBC-[0-9]*:../../security/p5-Crypt-CBC
+DEPENDS+= p5-Crypt-Rijndael-[0-9]*:../../security/p5-Crypt-Rijndael
+DEPENDS+= p5-Dancer>=1.1313:../../www/p5-Dancer
+DEPENDS+= p5-Session-Storage-Secure-[0-9]*:../../www/p5-Session-Storage-Secure
+DEPENDS+= p5-String-CRC32-[0-9]*:../../textproc/p5-String-CRC32
+DEPENDS+= p5-Time-Duration-Parse-[0-9]*:../../time/p5-Time-Duration-Parse
+
+BUILD_DEPENDS+= p5-HTTP-Cookies-[0-9]*:../../www/p5-HTTP-Cookies
+BUILD_DEPENDS+= p5-HTTP-Date-[0-9]*:../../www/p5-HTTP-Date
+BUILD_DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
+BUILD_DEPENDS+= p5-Test-NoWarnings-[0-9]*:../../net/p5-Test-TCP
+BUILD_DEPENDS+= p5-Test-TCP-[0-9]*:../../net/p5-Test-TCP
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Dancer-Session-Cookie/distinfo b/www/p5-Dancer-Session-Cookie/distinfo
new file mode 100644
index 00000000000..a2886c5e6cb
--- /dev/null
+++ b/www/p5-Dancer-Session-Cookie/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 17:44:29 sno Exp $
+
+SHA1 (Dancer-Session-Cookie-0.22.tar.gz) = e59ab1c2e3246ca1e99d29237fe5a5976d8c4c8d
+RMD160 (Dancer-Session-Cookie-0.22.tar.gz) = 0a3a5358cd18d6e777db7a03c2691b9ab2217afa
+Size (Dancer-Session-Cookie-0.22.tar.gz) = 20279 bytes