summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-09-15 17:03:01 +0000
committertaca <taca@pkgsrc.org>2013-09-15 17:03:01 +0000
commit9ef23eecabcd1c0a35a732aa6a9da6f46d61dd3f (patch)
tree910e848f1cab82fda0beb10700f0e5219f2eab83 /www
parentcaa0a6a39b20f50a7333af0362ce2f0906f7c2f8 (diff)
downloadpkgsrc-9ef23eecabcd1c0a35a732aa6a9da6f46d61dd3f.tar.gz
Add ruby-http-cookie package version 1.0.2.
HTTP::Cookie is a ruby library to handle HTTP cookies in a way both compliant with RFCs and compatible with today's major browsers. It was originally a part of the [Mechanize](https://github.com/sparklemotion/mechanize) library, separated as an independent library in the hope of serving as a common component that is reusable from any HTTP related piece of software. The following is an incomplete list of its features: * Its behavior is highly compatible with that of today's major web browsers. * It is based on and conforms to RFC 6265 (the latest standard for the HTTP cookie mechanism) to a high extent, with real world conventions deeply in mind. * It takes eTLD (effective TLD, also known as "Public Suffix") into account just as major browsers do, to reject cookies with an eTLD domain like "org", "co.jp", or "appspot.com". This feature is brought to you by the domain_name gem. * The number of cookies and the size are properly capped so that a cookie store does not get flooded. * It supports the legacy Netscape cookies.txt format for serialization, maximizing the interoperability with other implementations. * It supports the cookies.sqlite format adopted by Mozilla Firefox for backend store database which can be shared among multiple program instances. * It is relatively easy to add a new serialization format or a backend store because of its modular API.
Diffstat (limited to 'www')
-rw-r--r--www/ruby-http-cookie/DESCR35
-rw-r--r--www/ruby-http-cookie/Makefile14
-rw-r--r--www/ruby-http-cookie/PLIST29
-rw-r--r--www/ruby-http-cookie/distinfo5
4 files changed, 83 insertions, 0 deletions
diff --git a/www/ruby-http-cookie/DESCR b/www/ruby-http-cookie/DESCR
new file mode 100644
index 00000000000..8327fe3ad1f
--- /dev/null
+++ b/www/ruby-http-cookie/DESCR
@@ -0,0 +1,35 @@
+HTTP::Cookie is a ruby library to handle HTTP cookies in a way both
+compliant with RFCs and compatible with today's major browsers.
+
+It was originally a part of the
+[Mechanize](https://github.com/sparklemotion/mechanize) library,
+separated as an independent library in the hope of serving as a common
+component that is reusable from any HTTP related piece of software.
+
+The following is an incomplete list of its features:
+
+* Its behavior is highly compatible with that of today's major web
+ browsers.
+
+* It is based on and conforms to RFC 6265 (the latest standard for the
+ HTTP cookie mechanism) to a high extent, with real world conventions
+ deeply in mind.
+
+* It takes eTLD (effective TLD, also known as "Public Suffix") into
+ account just as major browsers do, to reject cookies with an eTLD
+ domain like "org", "co.jp", or "appspot.com". This feature is
+ brought to you by the domain_name gem.
+
+* The number of cookies and the size are properly capped so that a
+ cookie store does not get flooded.
+
+* It supports the legacy Netscape cookies.txt format for
+ serialization, maximizing the interoperability with other
+ implementations.
+
+* It supports the cookies.sqlite format adopted by Mozilla Firefox for
+ backend store database which can be shared among multiple program
+ instances.
+
+* It is relatively easy to add a new serialization format or a backend
+ store because of its modular API.
diff --git a/www/ruby-http-cookie/Makefile b/www/ruby-http-cookie/Makefile
new file mode 100644
index 00000000000..4af5fd3a1db
--- /dev/null
+++ b/www/ruby-http-cookie/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2013/09/15 17:03:01 taca Exp $
+
+DISTNAME= http-cookie-1.0.2
+CATEGORIES= www ruby
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= https://github.com/sparklemotion/http-cookie
+COMMENT= Ruby library to handle HTTP Cookies based on RFC 6265
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-domain_name>=0.5<1:../../net/ruby-domain_name
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-http-cookie/PLIST b/www/ruby-http-cookie/PLIST
new file mode 100644
index 00000000000..c8f23c92c7c
--- /dev/null
+++ b/www/ruby-http-cookie/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/15 17:03:01 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/http-cookie.gemspec
+${GEM_LIBDIR}/lib/http-cookie.rb
+${GEM_LIBDIR}/lib/http/cookie.rb
+${GEM_LIBDIR}/lib/http/cookie/ruby_compat.rb
+${GEM_LIBDIR}/lib/http/cookie/scanner.rb
+${GEM_LIBDIR}/lib/http/cookie/version.rb
+${GEM_LIBDIR}/lib/http/cookie_jar.rb
+${GEM_LIBDIR}/lib/http/cookie_jar/abstract_saver.rb
+${GEM_LIBDIR}/lib/http/cookie_jar/abstract_store.rb
+${GEM_LIBDIR}/lib/http/cookie_jar/cookiestxt_saver.rb
+${GEM_LIBDIR}/lib/http/cookie_jar/hash_store.rb
+${GEM_LIBDIR}/lib/http/cookie_jar/mozilla_store.rb
+${GEM_LIBDIR}/lib/http/cookie_jar/yaml_saver.rb
+${GEM_LIBDIR}/test/helper.rb
+${GEM_LIBDIR}/test/mechanize.yml
+${GEM_LIBDIR}/test/simplecov_start.rb
+${GEM_LIBDIR}/test/test_http_cookie.rb
+${GEM_LIBDIR}/test/test_http_cookie_jar.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
+@pkgdir lib/ruby/gems/2.0.0/build_info
diff --git a/www/ruby-http-cookie/distinfo b/www/ruby-http-cookie/distinfo
new file mode 100644
index 00000000000..c087b26acbe
--- /dev/null
+++ b/www/ruby-http-cookie/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/15 17:03:01 taca Exp $
+
+SHA1 (http-cookie-1.0.2.gem) = 3fac9c6e96cb4c22c04bdb6e1edf0620255a6ff7
+RMD160 (http-cookie-1.0.2.gem) = 6c129c5cae8fa034dcba544432c08db6eef72d41
+Size (http-cookie-1.0.2.gem) = 37888 bytes