debian/0000755000000000000000000000000012233525334007170 5ustar debian/ruby-rack1.4.manpages0000644000000000000000000000002012233525037013017 0ustar debian/rackup.1 debian/copyright0000644000000000000000000000372012233525037011125 0ustar This package was debianized by Sebastien Delafond on Wed, 07 May 2008 09:39:28 -0700. It was downloaded from Upstream Authors: * Christian Neukirchen * HTTP authentication: Tim Fletcher * Cookie sessions, Static handler: Luc Heinrich * Pool sessions, OpenID authentication: blink * LiteSpeed handler: Adrian Madrid * SCGI handler: Jeremy Evans * Official Logo: Armin Ronacher Copyright: doc/js/jquery.js is Copyright (c) 2009 John Resig, and is distributed under either the MIT or GPL licenses. doc/js/thickbox-compressed.js is Copyright (c) 2007 Cody Lindley, and is licensed under the MIT license. The rest of the source is Copyright (c) 2007 Christian Neukirchen . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. On Debian systems, the text of the GPL license version 2 can be found at `/usr/share/common-licenses/GPL-2' debian/rules0000755000000000000000000000070212233525037010247 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) # export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby debian/source/0000755000000000000000000000000012233525037010470 5ustar debian/source/format0000644000000000000000000000001412233525037011676 0ustar 3.0 (quilt) debian/rackup.10000644000000000000000000000457112233525037010546 0ustar .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "RACKUP" "1" "December 2010" "" "" . .SH "NAME" \fBrackup\fR . .P rackup(1) \-\- An utility for run Rack\-based applications . .SH "SYNOPSIS" \fBrackup\fR [ruby options] [rack options] [rackup config] . .SH "DESCRIPTION" Rackup is a useful tool for running Rack applications, which uses the Rack::Builder DSL to configure middleware and build up applications easily\. . .P rackup automatically figures out the environment it is run in, and runs your application as FastCGI, CGI, or standalone with Mongrel or WEBrick \-all from the same configuration\. . .SH "OPTIONS" Ruby options: . .TP \fB\-e\fR, \fB\-\-eval\fR [LINE] evaluate a LINE of code . .TP \fB\-d\fR, \fB\-\-debug\fR set debugging flags (set $DEBUG to true) . .TP \fB\-w\fR, \fB\-\-warn\fR turn warnings on for your script . .TP \fB\-I\fR, \fB\-\-include\fR [PATH] specify $LOAD_PATH (may be used more than once) . .TP \fB\-r\fR, \fB\-\-require\fR [LIBRARY] require the library, before executing your script . .P Rack options: . .TP \fB\-s\fR, \fB\-\-server\fR [SERVER] serve using SERVER (webrick/mongrel) . .TP \fB\-o\fR, \fB\-\-host\fR [HOST] listen on HOST (default: 0\.0\.0\.0) . .TP \fB\-p\fR, \fB\-\-port\fR [PORT] use PORT (default: 9292) . .TP \fB\-E\fR, \fB\-\-env\fR [ENVIRONMENT] use ENVIRONMENT for defaults (default: development) . .TP \fB\-D\fR, \fB\-\-daemonize\fR run daemonized in the background . .TP \fB\-P\fR, \fB\-\-pid\fR [FILE] file to store PID (default: rack\.pid) . .P Common options: . .TP \fB\-h\fR, \fB\-\-help\fR Show the help message . .TP \fB\-\-version\fR Show version . .SH "EXAMPLES" This is a simple example on how to start an application based on Rack with rackup: . .P $ rackup \-Ilib blog/config\.ru . .P [2010\-12\-10 15:01:11] INFO WEBrick 1\.3\.1 . .P [2010\-12\-10 15:01:11] INFO ruby 1\.9\.2 (2010\-08\-18) [x86_64\-linux] . .P [2010\-12\-10 15:01:11] INFO WEBrick::HTTPServer#start: pid=4496 port=9292 . .SH "AUTHORS" Copyright (C) 2007, 2008, 2009, 2010 \fBChristian Neukirchen\fR \fB\fR . .P For a complete list of authors and contributors to the project, please take a look here \fIhttps://github\.com/rack/rack/contributors\fR . .P This manual page was written by Ermenegildo Fiorito \fIfiorito\.g@gmail\.com\fR for the Debian Project . .SH "SEE ALSO" ruby(1) \fIhttp://rack\.rubyforge\.org\fR debian/control0000644000000000000000000000230212233525313010565 0ustar Source: ruby-rack1.4 Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Christian Hofstaedtler Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-bacon, ruby-memcache-client, thin Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rack1.4.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-rack1.4.git;a=summary Homepage: http://rack.rubyforge.org XS-Ruby-Versions: all Package: ruby-rack1.4 Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Conflicts: ruby-rack Provides: ruby-rack Description: Modular Ruby webserver interface Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call. . The exact details of this are described in the Rack specification, which all Rack applications should conform to. debian/watch0000644000000000000000000000013512233525037010220 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/rack .*/rack-(.*).tar.gz debian/ruby-tests.rake0000644000000000000000000000047312233525037012161 0ustar # -*- mode: ruby; coding: utf-8 -*- require 'rbconfig' unless defined? RbConfig ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) task :default do sh "#{ruby} /usr/bin/bacon -I./lib:./test -w -a -q -t '^(?!Rack::Adapter|Rack::Session::Memcache|Rack::Server|Rack::Handler)'" end debian/changelog0000644000000000000000000001251612233525302011042 0ustar ruby-rack1.4 (1.4.5-1) unstable; urgency=low * New upstream version. * Reintroduce rack 1.4 into unstable, for the benefit of Rails 3.2 (and by extension, Redmine). * Remove upstream-applied security patches: * 0001-Fix-parsing-performance-for-unquoted-filenames.patch * 0002-multipart-parser-avoid-unbounded-gets-method.patch * 0003-Reimplement-auth-scheme-fix.patch * 0004-Prevent-symlink-path-traversals.patch * 0005-Use-secure_compare-for-hmac-comparison.patch * Add patch fixing test failure on Ruby 2.0 (from Rack 1.5) -- Christian Hofstaedtler Mon, 28 Oct 2013 18:06:01 +0100 ruby-rack (1.4.1-2.1) unstable; urgency=high [ KURASHIKI Satoru ] * Non-maintainer upload. * Create cherry-picked patches for Security Fix (Closes: #700173 #700226). - CVE-2013-0262: 0004-Prevent-symlink-path-traversals.patch - CVE-2013-0263: 0005-Use-secure_compare-for-hmac-comparison.patch [ Youhei SASAKI ] * Create cherry-picked patches for Security Fix (Closes: #698440). - CVE-2012-6109: 0001-Fix-parsing-performance-for-unquoted-filenames.patch - CVE-2013-0183: 0002-multipart-parser-avoid-unbounded-gets-method.patch - CVE-2013-0184: 0003-Reimplement-auth-scheme-fix.patch -- KURASHIKI Satoru Wed, 20 Feb 2013 20:56:31 +0900 ruby-rack (1.4.1-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Antonio Terceiro Mon, 25 Jun 2012 15:07:51 -0300 ruby-rack (1.4.1-1) unstable; urgency=low * New Upstream version 1.4.1 * Bump standard version: 3.9.3 * Add Build-Depends: rake, bacon, ruby-memcache-client, thin * Add d/s/local-options: Update patch handling * Update ruby-tests.rb to ruby-tests.rake: running full test -- Youhei SASAKI Wed, 07 Mar 2012 01:00:16 +0900 ruby-rack (1.4.0-1) unstable; urgency=low * New upstream release (closes: #653963). -- Paul van Tilburg Tue, 03 Jan 2012 22:39:13 +0100 ruby-rack (1.3.5-1) unstable; urgency=low * New upstream release. * Fix my email address. * Fix priority of transitional packages. * TESTS ARE DISABLED: many dependencies required for tests are not packaged yet. -- Lucas Nussbaum Wed, 21 Dec 2011 10:52:37 +0100 ruby-rack (1.3.1-1) unstable; urgency=low * New upstream release: 1.3.1 * Bump Standard version: 3.9.2 * Add me to Uploaders * Add ruby-bacon to Build-Depends * Add manpage for rackup Closes: #606910 - Thanks to Glido Fiorito -- Youhei SASAKI Tue, 26 Jul 2011 00:57:23 +0900 ruby-rack (1.2.2-2) unstable; urgency=low * Add transitional packages from librack-ruby. -- Lucas Nussbaum Tue, 26 Apr 2011 16:34:08 +0200 ruby-rack (1.2.2-1) unstable; urgency=low * Switch to gem2deb-based packaging. Rename source and binary package. * libopenssl-ruby was merged in the main ruby package. Closes: #574960 Closes: #592416. * new upstream release. * TESTS ARE DISABLED: many dependencies required for tests are not packaged yet. -- Lucas Nussbaum Tue, 26 Apr 2011 15:44:15 +0200 librack-ruby (1.1.0-4) unstable; urgency=low * Team upload. * This package is now maintained within the Debian/Ruby Extras team. * debian/control: - Added the team (and myself) to the uploaders. - Updated the Vcs-* fields. * Version the dependency between librack-ruby and librack-ruby1.8. Closes: #583553 * Rename the 1.9.1 binary to rackup1.9.1 -- Lucas Nussbaum Sat, 18 Sep 2010 08:31:46 +0200 librack-ruby (1.1.0-3) unstable; urgency=low * adopt package * add Conflicts/Replaces from librack-ruby1.9.1 to librack-ruby1.9 because of /usr/bin/rackup1.9 (Closes: #570435) -- Ryan Niebur Sat, 13 Mar 2010 12:14:56 -0800 librack-ruby (1.1.0-2) unstable; urgency=low * Move to ruby1.9.1 (Closes: #569884). * Removed unused lintian override. * Bumped up Standards-Version. -- Sebastien Delafond Mon, 15 Feb 2010 19:42:49 +0100 librack-ruby (1.1.0-1) unstable; urgency=low * New upstream release. -- Sebastien Delafond Fri, 08 Jan 2010 18:50:25 +0100 librack-ruby (1.0.1-1) unstable; urgency=low * New upstream release. * Bumped up Standards revision. * Moved to CDBS. * Lintian cleanups. -- Sebastien Delafond Wed, 21 Oct 2009 11:36:29 +0200 librack-ruby (1.0.0-1) unstable; urgency=low * New upstream release. * Added debian/watch file. * Bumped up Standards version to 3.8.1. * BUmped up debhelper compat level to 6. * Moved to section "ruby". * Added proper versioned dependency on debhelper (for dh_lintian). * Updated short description for librack-ruby1.8. -- Sebastien Delafond Tue, 28 Apr 2009 02:14:00 -0700 librack-ruby (0.9.1-1) unstable; urgency=low * New upstream release (Closes: #516855). -- Sebastien Delafond Mon, 23 Feb 2009 19:29:20 -0800 librack-ruby (0.3.0-2) unstable; urgency=low * Corrected short description for librack-ruby1.8 -- Sebastien Delafond Wed, 07 May 2008 14:13:26 -0700 librack-ruby (0.3.0-1) unstable; urgency=low * Initial Release (Closes: #480035). -- Sebastien Delafond Wed, 07 May 2008 11:28:30 -0700 debian/compat0000644000000000000000000000000212233525037010366 0ustar 7 debian/patches/0000755000000000000000000000000012233525037010617 5ustar debian/patches/0007-Spec-Chunked-ruby2.00000644000000000000000000000167312233525037014605 0ustar Description: fix failing test on Ruby 2.0. Picked from Rack 1.5. Index: ruby-rack-1.4/test/spec_chunked.rb =================================================================== --- ruby-rack-1.4.orig/test/spec_chunked.rb 2013-10-28 18:15:03.976132208 +0100 +++ ruby-rack-1.4/test/spec_chunked.rb 2013-10-28 18:15:03.976132208 +0100 @@ -43,7 +43,7 @@ describe Rack::Chunked do response.headers.should.not.include 'Content-Length' response.headers['Transfer-Encoding'].should.equal 'chunked' response.body.encoding.to_s.should.equal "ASCII-8BIT" - response.body.should.equal "c\r\n\xFE\xFFH\x00e\x00l\x00l\x00o\x00\r\n2\r\n \x00\r\na\r\nW\x00o\x00r\x00l\x00d\x00\r\n0\r\n\r\n" + response.body.should.equal "c\r\n\xFE\xFFH\x00e\x00l\x00l\x00o\x00\r\n2\r\n \x00\r\na\r\nW\x00o\x00r\x00l\x00d\x00\r\n0\r\n\r\n".force_encoding("BINARY") end if RUBY_VERSION >= "1.9" should 'not modify response when Content-Length header present' do debian/patches/series0000644000000000000000000000003212233525037012027 0ustar 0007-Spec-Chunked-ruby2.0 debian/ruby-rack1.4.docs0000644000000000000000000000003112233525037012156 0ustar README.rdoc KNOWN-ISSUES