summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2014-02-06 10:44:57 +0000
committerabs <abs>2014-02-06 10:44:57 +0000
commit4f902f602a76c3ef9fdda49ee6e71b2c428bf1a3 (patch)
tree54c60a47295e34116b8281b3e4cb98550c7ac42d
parente1e9beea72748e27c56fca36f405a43049ad4dc2 (diff)
downloadpkgsrc-4f902f602a76c3ef9fdda49ee6e71b2c428bf1a3.tar.gz
Added www/p5-CGI-Cookie-XS version 0.18
This module implements a very simple parser for cookies used in HTTP applications. We've found CGI::Simple::Cookie and CGI::Cookie rather slow according to the profiling results for our OpenResty project, hence the rewrite in C. Special effort has been made to ensure this module works in the same way as the latest CGI::Cookie (i.e., the pure Perl implementation). If you find it doesn't, please let us know.
-rw-r--r--www/p5-CGI-Cookie-XS/DESCR8
-rw-r--r--www/p5-CGI-Cookie-XS/Makefile17
-rw-r--r--www/p5-CGI-Cookie-XS/distinfo5
3 files changed, 30 insertions, 0 deletions
diff --git a/www/p5-CGI-Cookie-XS/DESCR b/www/p5-CGI-Cookie-XS/DESCR
new file mode 100644
index 00000000000..8ad7f1ec56d
--- /dev/null
+++ b/www/p5-CGI-Cookie-XS/DESCR
@@ -0,0 +1,8 @@
+This module implements a very simple parser for cookies used in
+HTTP applications. We've found CGI::Simple::Cookie and CGI::Cookie
+rather slow according to the profiling results for our OpenResty
+project, hence the rewrite in C.
+
+Special effort has been made to ensure this module works in the
+same way as the latest CGI::Cookie (i.e., the pure Perl implementation).
+If you find it doesn't, please let us know.
diff --git a/www/p5-CGI-Cookie-XS/Makefile b/www/p5-CGI-Cookie-XS/Makefile
new file mode 100644
index 00000000000..9bb8e93d71d
--- /dev/null
+++ b/www/p5-CGI-Cookie-XS/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2014/02/06 10:44:57 abs Exp $
+
+DISTNAME= CGI-Cookie-XS-0.18
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/A/AG/AGENT/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/CGI-Cookie-XS/
+COMMENT= HTTP Cookie parser in pure C
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES= c
+PERL5_PACKLIST= auto/CGI/Cookie/XS/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-CGI-Cookie-XS/distinfo b/www/p5-CGI-Cookie-XS/distinfo
new file mode 100644
index 00000000000..8ead66d1d20
--- /dev/null
+++ b/www/p5-CGI-Cookie-XS/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2014/02/06 10:44:57 abs Exp $
+
+SHA1 (CGI-Cookie-XS-0.18.tar.gz) = c7a53e821e023046c4e865d7b53cb20e97eebc5f
+RMD160 (CGI-Cookie-XS-0.18.tar.gz) = f5242f819e67d8bbc13da3cb160eb08658ab0dbe
+Size (CGI-Cookie-XS-0.18.tar.gz) = 47890 bytes