summaryrefslogtreecommitdiff
path: root/www/ruby-rack
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 13:16:50 +0000
committertaca <taca@pkgsrc.org>2010-09-10 13:16:50 +0000
commit83ec3e69ad726f28a012561ba1b3a4a331621337 (patch)
tree6ab61cb0b31dab0b31431c7c7440b28a273137af /www/ruby-rack
parentd772f50bbc8eee55ad132c22a973748c8c27cb02 (diff)
downloadpkgsrc-83ec3e69ad726f28a012561ba1b3a4a331621337.tar.gz
Update www/ruby-rack to 1.2.1.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. * Remove default value of GEM_BUILD. == Changes * June 13th, 2010: Tenth public release 1.2.0. * Removed Camping adapter: Camping 2.0 supports Rack as-is * Removed parsing of quoted values * Add Request.trace? and Request.options? * Add mime-type for .webm and .htc * Fix HTTP_X_FORWARDED_FOR * Various multipart fixes * Switch test suite to bacon * January 3rd, 2009: Ninth public release 1.1.0. * Moved Auth::OpenID to rack-contrib. * SPEC change that relaxes Lint slightly to allow subclasses of the required types * SPEC change to document rack.input binary mode in greator detail * SPEC define optional rack.logger specification * File servers support X-Cascade header * Imported Config middleware * Imported ETag middleware * Imported Runtime middleware * Imported Sendfile middleware * New Logger and NullLogger middlewares * Added mime type for .ogv and .manifest. * Don't squeeze PATH_INFO slashes * Use Content-Type to determine POST params parsing * Update Rack::Utils::HTTP_STATUS_CODES hash * Add status code lookup utility * Response should call #to_i on the status * Add Request#user_agent * Request#host knows about forwared host * Return an empty string for Request#host if HTTP_HOST and SERVER_NAME are both missing * Allow MockRequest to accept hash params * Optimizations to HeaderHash * Refactored rackup into Rack::Server * Added Utils.build_nested_query to complement Utils.parse_nested_query * Added Utils::Multipart.build_multipart to complement Utils::Multipart.parse_multipart * Extracted set and delete cookie helpers into Utils so they can be used outside Response * Extract parse_query and parse_multipart in Request so subclasses can change their behavior * Enforce binary encoding in RewindableInput * Set correct external_encoding for handlers that don't use RewindableInput
Diffstat (limited to 'www/ruby-rack')
-rw-r--r--www/ruby-rack/Makefile14
-rw-r--r--www/ruby-rack/PLIST108
-rw-r--r--www/ruby-rack/distinfo8
3 files changed, 73 insertions, 57 deletions
diff --git a/www/ruby-rack/Makefile b/www/ruby-rack/Makefile
index 41546478a76..acff950f82c 100644
--- a/www/ruby-rack/Makefile
+++ b/www/ruby-rack/Makefile
@@ -1,17 +1,15 @@
-# $NetBSD: Makefile,v 1.4 2009/12/02 12:44:43 fhajny Exp $
+# $NetBSD: Makefile,v 1.5 2010/09/10 13:16:50 taca Exp $
-DISTNAME= rack-1.0.1
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+DISTNAME= rack-1.2.1
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rack.rubyforge.org/
COMMENT= Ruby webserver interface
+LICENSE= mit
-GEM_BUILD= gemspec
+pre-configure:
+ ${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w {} \;
-post-extract:
- cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w
-
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-rack/PLIST b/www/ruby-rack/PLIST
index cbe856d5194..9cd437466ba 100644
--- a/www/ruby-rack/PLIST
+++ b/www/ruby-rack/PLIST
@@ -1,11 +1,9 @@
-@comment $NetBSD: PLIST,v 1.5 2009/12/02 12:44:43 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.6 2010/09/10 13:16:50 taca Exp $
bin/rackup
-${GEM_HOME}/cache/rack-${PKGVERSION}.gem
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/COPYING
${GEM_LIBDIR}/KNOWN-ISSUES
-${GEM_LIBDIR}/RDOX
${GEM_LIBDIR}/README
-${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/SPEC
${GEM_LIBDIR}/bin/rackup
${GEM_LIBDIR}/contrib/rack_logo.svg
@@ -13,7 +11,6 @@ ${GEM_LIBDIR}/example/lobster.ru
${GEM_LIBDIR}/example/protectedlobster.rb
${GEM_LIBDIR}/example/protectedlobster.ru
${GEM_LIBDIR}/lib/rack.rb
-${GEM_LIBDIR}/lib/rack/adapter/camping.rb
${GEM_LIBDIR}/lib/rack/auth/abstract/handler.rb
${GEM_LIBDIR}/lib/rack/auth/abstract/request.rb
${GEM_LIBDIR}/lib/rack/auth/basic.rb
@@ -21,16 +18,17 @@ ${GEM_LIBDIR}/lib/rack/auth/digest/md5.rb
${GEM_LIBDIR}/lib/rack/auth/digest/nonce.rb
${GEM_LIBDIR}/lib/rack/auth/digest/params.rb
${GEM_LIBDIR}/lib/rack/auth/digest/request.rb
-${GEM_LIBDIR}/lib/rack/auth/openid.rb
${GEM_LIBDIR}/lib/rack/builder.rb
${GEM_LIBDIR}/lib/rack/cascade.rb
${GEM_LIBDIR}/lib/rack/chunked.rb
${GEM_LIBDIR}/lib/rack/commonlogger.rb
${GEM_LIBDIR}/lib/rack/conditionalget.rb
+${GEM_LIBDIR}/lib/rack/config.rb
${GEM_LIBDIR}/lib/rack/content_length.rb
${GEM_LIBDIR}/lib/rack/content_type.rb
${GEM_LIBDIR}/lib/rack/deflater.rb
${GEM_LIBDIR}/lib/rack/directory.rb
+${GEM_LIBDIR}/lib/rack/etag.rb
${GEM_LIBDIR}/lib/rack/file.rb
${GEM_LIBDIR}/lib/rack/handler.rb
${GEM_LIBDIR}/lib/rack/handler/cgi.rb
@@ -46,14 +44,19 @@ ${GEM_LIBDIR}/lib/rack/head.rb
${GEM_LIBDIR}/lib/rack/lint.rb
${GEM_LIBDIR}/lib/rack/lobster.rb
${GEM_LIBDIR}/lib/rack/lock.rb
+${GEM_LIBDIR}/lib/rack/logger.rb
${GEM_LIBDIR}/lib/rack/methodoverride.rb
${GEM_LIBDIR}/lib/rack/mime.rb
${GEM_LIBDIR}/lib/rack/mock.rb
+${GEM_LIBDIR}/lib/rack/nulllogger.rb
${GEM_LIBDIR}/lib/rack/recursive.rb
${GEM_LIBDIR}/lib/rack/reloader.rb
${GEM_LIBDIR}/lib/rack/request.rb
${GEM_LIBDIR}/lib/rack/response.rb
${GEM_LIBDIR}/lib/rack/rewindable_input.rb
+${GEM_LIBDIR}/lib/rack/runtime.rb
+${GEM_LIBDIR}/lib/rack/sendfile.rb
+${GEM_LIBDIR}/lib/rack/server.rb
${GEM_LIBDIR}/lib/rack/session/abstract/id.rb
${GEM_LIBDIR}/lib/rack/session/cookie.rb
${GEM_LIBDIR}/lib/rack/session/memcache.rb
@@ -65,55 +68,70 @@ ${GEM_LIBDIR}/lib/rack/urlmap.rb
${GEM_LIBDIR}/lib/rack/utils.rb
${GEM_LIBDIR}/rack.gemspec
${GEM_LIBDIR}/test/cgi/lighttpd.conf
+${GEM_LIBDIR}/test/cgi/rackup_stub.rb
+${GEM_LIBDIR}/test/cgi/sample_rackup.ru
${GEM_LIBDIR}/test/cgi/test
${GEM_LIBDIR}/test/cgi/test.fcgi
${GEM_LIBDIR}/test/cgi/test.ru
+${GEM_LIBDIR}/test/multipart/bad_robots
${GEM_LIBDIR}/test/multipart/binary
${GEM_LIBDIR}/test/multipart/empty
+${GEM_LIBDIR}/test/multipart/fail_16384_nofile
+${GEM_LIBDIR}/test/multipart/file1.txt
+${GEM_LIBDIR}/test/multipart/filename_and_modification_param
+${GEM_LIBDIR}/test/multipart/filename_with_escaped_quotes
+${GEM_LIBDIR}/test/multipart/filename_with_escaped_quotes_and_modification_param
+${GEM_LIBDIR}/test/multipart/filename_with_percent_escaped_quotes
+${GEM_LIBDIR}/test/multipart/filename_with_unescaped_quotes
${GEM_LIBDIR}/test/multipart/ie
${GEM_LIBDIR}/test/multipart/nested
${GEM_LIBDIR}/test/multipart/none
${GEM_LIBDIR}/test/multipart/semicolon
${GEM_LIBDIR}/test/multipart/text
-${GEM_LIBDIR}/test/spec_rack_auth_basic.rb
-${GEM_LIBDIR}/test/spec_rack_auth_digest.rb
-${GEM_LIBDIR}/test/spec_rack_auth_openid.rb
-${GEM_LIBDIR}/test/spec_rack_builder.rb
-${GEM_LIBDIR}/test/spec_rack_camping.rb
-${GEM_LIBDIR}/test/spec_rack_cascade.rb
-${GEM_LIBDIR}/test/spec_rack_cgi.rb
-${GEM_LIBDIR}/test/spec_rack_chunked.rb
-${GEM_LIBDIR}/test/spec_rack_commonlogger.rb
-${GEM_LIBDIR}/test/spec_rack_conditionalget.rb
-${GEM_LIBDIR}/test/spec_rack_content_length.rb
-${GEM_LIBDIR}/test/spec_rack_content_type.rb
-${GEM_LIBDIR}/test/spec_rack_deflater.rb
-${GEM_LIBDIR}/test/spec_rack_directory.rb
-${GEM_LIBDIR}/test/spec_rack_fastcgi.rb
-${GEM_LIBDIR}/test/spec_rack_file.rb
-${GEM_LIBDIR}/test/spec_rack_handler.rb
-${GEM_LIBDIR}/test/spec_rack_head.rb
-${GEM_LIBDIR}/test/spec_rack_lint.rb
-${GEM_LIBDIR}/test/spec_rack_lobster.rb
-${GEM_LIBDIR}/test/spec_rack_lock.rb
-${GEM_LIBDIR}/test/spec_rack_methodoverride.rb
-${GEM_LIBDIR}/test/spec_rack_mock.rb
-${GEM_LIBDIR}/test/spec_rack_mongrel.rb
-${GEM_LIBDIR}/test/spec_rack_recursive.rb
-${GEM_LIBDIR}/test/spec_rack_request.rb
-${GEM_LIBDIR}/test/spec_rack_response.rb
-${GEM_LIBDIR}/test/spec_rack_rewindable_input.rb
-${GEM_LIBDIR}/test/spec_rack_session_cookie.rb
-${GEM_LIBDIR}/test/spec_rack_session_memcache.rb
-${GEM_LIBDIR}/test/spec_rack_session_pool.rb
-${GEM_LIBDIR}/test/spec_rack_showexceptions.rb
-${GEM_LIBDIR}/test/spec_rack_showstatus.rb
-${GEM_LIBDIR}/test/spec_rack_static.rb
-${GEM_LIBDIR}/test/spec_rack_thin.rb
-${GEM_LIBDIR}/test/spec_rack_urlmap.rb
-${GEM_LIBDIR}/test/spec_rack_utils.rb
-${GEM_LIBDIR}/test/spec_rack_webrick.rb
+${GEM_LIBDIR}/test/rackup/config.ru
+${GEM_LIBDIR}/test/spec_auth_basic.rb
+${GEM_LIBDIR}/test/spec_auth_digest.rb
+${GEM_LIBDIR}/test/spec_builder.rb
+${GEM_LIBDIR}/test/spec_cascade.rb
+${GEM_LIBDIR}/test/spec_cgi.rb
+${GEM_LIBDIR}/test/spec_chunked.rb
+${GEM_LIBDIR}/test/spec_commonlogger.rb
+${GEM_LIBDIR}/test/spec_conditionalget.rb
+${GEM_LIBDIR}/test/spec_config.rb
+${GEM_LIBDIR}/test/spec_content_length.rb
+${GEM_LIBDIR}/test/spec_content_type.rb
+${GEM_LIBDIR}/test/spec_deflater.rb
+${GEM_LIBDIR}/test/spec_directory.rb
+${GEM_LIBDIR}/test/spec_etag.rb
+${GEM_LIBDIR}/test/spec_fastcgi.rb
+${GEM_LIBDIR}/test/spec_file.rb
+${GEM_LIBDIR}/test/spec_handler.rb
+${GEM_LIBDIR}/test/spec_head.rb
+${GEM_LIBDIR}/test/spec_lint.rb
+${GEM_LIBDIR}/test/spec_lobster.rb
+${GEM_LIBDIR}/test/spec_lock.rb
+${GEM_LIBDIR}/test/spec_logger.rb
+${GEM_LIBDIR}/test/spec_methodoverride.rb
+${GEM_LIBDIR}/test/spec_mock.rb
+${GEM_LIBDIR}/test/spec_mongrel.rb
+${GEM_LIBDIR}/test/spec_nulllogger.rb
+${GEM_LIBDIR}/test/spec_recursive.rb
+${GEM_LIBDIR}/test/spec_request.rb
+${GEM_LIBDIR}/test/spec_response.rb
+${GEM_LIBDIR}/test/spec_rewindable_input.rb
+${GEM_LIBDIR}/test/spec_runtime.rb
+${GEM_LIBDIR}/test/spec_sendfile.rb
+${GEM_LIBDIR}/test/spec_session_cookie.rb
+${GEM_LIBDIR}/test/spec_session_memcache.rb
+${GEM_LIBDIR}/test/spec_session_pool.rb
+${GEM_LIBDIR}/test/spec_showexceptions.rb
+${GEM_LIBDIR}/test/spec_showstatus.rb
+${GEM_LIBDIR}/test/spec_static.rb
+${GEM_LIBDIR}/test/spec_thin.rb
+${GEM_LIBDIR}/test/spec_urlmap.rb
+${GEM_LIBDIR}/test/spec_utils.rb
+${GEM_LIBDIR}/test/spec_webrick.rb
${GEM_LIBDIR}/test/testrequest.rb
${GEM_LIBDIR}/test/unregistered_handler/rack/handler/unregistered.rb
${GEM_LIBDIR}/test/unregistered_handler/rack/handler/unregistered_long_one.rb
-${GEM_HOME}/specifications/rack-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/www/ruby-rack/distinfo b/www/ruby-rack/distinfo
index ee437c1e857..7ec4ab0ad22 100644
--- a/www/ruby-rack/distinfo
+++ b/www/ruby-rack/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2009/12/02 12:44:43 fhajny Exp $
+$NetBSD: distinfo,v 1.5 2010/09/10 13:16:50 taca Exp $
-SHA1 (rack-1.0.1.gem) = 49ae682c029daa5007e7fe7f47096c8788743c8e
-RMD160 (rack-1.0.1.gem) = 8b4448492f2fb2288df7249cb9e96f57f71ac75f
-Size (rack-1.0.1.gem) = 134656 bytes
+SHA1 (rack-1.2.1.gem) = acd5accf6c17a1ae7c9acc71a59dabbc6154081f
+RMD160 (rack-1.2.1.gem) = 9b1f8ee07dcf4e830d83c8ba45f65ece70b6e1c2
+Size (rack-1.2.1.gem) = 139776 bytes