Original packaging of ruby-passenger from Debian 8/jessie (ruby-passenger 4.0.35-1). vendor-jessie
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 7 Mar 2014 16:03:17 +0000 (17:03 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 7 Mar 2014 16:03:17 +0000 (17:03 +0100)
23 files changed:
ruby-passenger/debian/README.Debian [new file with mode: 0644]
ruby-passenger/debian/autoreconf [new file with mode: 0644]
ruby-passenger/debian/changelog [new file with mode: 0644]
ruby-passenger/debian/compat [new file with mode: 0644]
ruby-passenger/debian/control [new file with mode: 0644]
ruby-passenger/debian/copyright [new file with mode: 0644]
ruby-passenger/debian/gbp.conf [new file with mode: 0644]
ruby-passenger/debian/libapache2-mod-passenger.apache2 [new file with mode: 0644]
ruby-passenger/debian/libapache2-mod-passenger.install [new file with mode: 0644]
ruby-passenger/debian/passenger.conf [new file with mode: 0644]
ruby-passenger/debian/passenger.load [new file with mode: 0644]
ruby-passenger/debian/patches/bin_load_path.patch [new file with mode: 0644]
ruby-passenger/debian/patches/fix_install_path.patch [new file with mode: 0644]
ruby-passenger/debian/patches/no_jsoncpp.patch [new file with mode: 0644]
ruby-passenger/debian/patches/series [new file with mode: 0644]
ruby-passenger/debian/ruby-passenger-doc.install [new file with mode: 0644]
ruby-passenger/debian/ruby-passenger.docs [new file with mode: 0644]
ruby-passenger/debian/ruby-passenger.install [new file with mode: 0644]
ruby-passenger/debian/ruby-passenger.manpages [new file with mode: 0644]
ruby-passenger/debian/rules [new file with mode: 0755]
ruby-passenger/debian/source/format [new file with mode: 0644]
ruby-passenger/debian/upstream-signing-key.pgp [new file with mode: 0644]
ruby-passenger/debian/watch [new file with mode: 0644]

diff --git a/ruby-passenger/debian/README.Debian b/ruby-passenger/debian/README.Debian
new file mode 100644 (file)
index 0000000..5250f01
--- /dev/null
@@ -0,0 +1,17 @@
+Phusion Passenger module for Apache2
+AKA mod_rails or mod_rack
+This is the Phusion Passenger (mod_rails/mod_rack) Apache 2 module
+package offering support for Ruby web applications based on Rails or
+Rack. There is even experimental support for WSGI Python apps.
+This package version manages the dependencies for you and will install
+a fully working Apache2 setup with the module in place and activated. No
+need to run any installers or other programs. The package does all that
+for you.
+All you need do is add your virtual host to your setup, and reload
+Apache2. See the User Guide (passenger/Users guide.html or
+passenger/Users guide.txt.gz) for more information.
+Neil Wilson <neil@brightbox.co.uk> Fri 29 July 2008
diff --git a/ruby-passenger/debian/autoreconf b/ruby-passenger/debian/autoreconf
new file mode 100644 (file)
index 0000000..687170e
--- /dev/null
@@ -0,0 +1 @@
+ext/libeio
diff --git a/ruby-passenger/debian/changelog b/ruby-passenger/debian/changelog
new file mode 100644 (file)
index 0000000..f0d91b5
--- /dev/null
@@ -0,0 +1,247 @@
+ruby-passenger (4.0.35-1) unstable; urgency=low
+
+  * Team upload
+
+  [ Felix Geyer ]
+  * Import the upstream release signing key for uscan to verify the tarball.
+
+  [ Cédric Boutillier ]
+  * Imported Upstream version 4.0.35
+  * Drop rubygems from Depends since it is shipped by Ruby1.9+
+  * Bump Standards-Version to 3.9.5 (no changes needed)
+  * debian/patches:
+    - drop fix_ftbfs_fortify_source.patch, applied upstream
+    - refresh fix_install_path.patch and no_jsoncpp.patch
+    - add bin_load_path.patch to prevent load_path manipulation in bin/*
+  * Fix installation path for (multiarch) Ruby2.0
+  * Replace debian/upstream-signing-key.pgp by its armored ASCII version
+  * Install NEWS as the upstream changelog
+
+ -- Cédric Boutillier <boutil@debian.org>  Thu, 16 Jan 2014 12:53:56 +0100
+
+ruby-passenger (4.0.25-2) unstable; urgency=low
+
+  * Fix building the documentation. (Closes: #680357)
+    - Build-depend on ruby-mizuho.
+
+ -- Felix Geyer <fgeyer@debian.org>  Sat, 30 Nov 2013 19:12:13 +0100
+
+ruby-passenger (4.0.25-1) unstable; urgency=low
+
+  * New upstream release.
+  * Refresh fix_install_path.patch.
+  * Build for Ruby 2.0 instead of 1.8. (Closes: #725591)
+  * Add fix_ftbfs_fortify_source.patch.
+  * Install passenger template files.
+
+ -- Felix Geyer <fgeyer@debian.org>  Sat, 23 Nov 2013 23:50:02 +0100
+
+ruby-passenger (4.0.10-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #711906)
+  * Stop repacking the upstream tarball as it doesn't contain any minified
+    javascript files anymore.
+    - Add valgrind.h license to the copyright file.
+    - Drop libjs-scriptaculous from build-depends.
+  * Refresh fix_install_path.patch.
+  * Drop fix_ftbfs_glibc217.patch, CVE-2013-2119.patch and CVE-2013-4136.patch,
+    applied upstream.
+  * Point PassengerRoot to the locations.ini in passenger.conf.
+  * Pass CXXFLAGS, CPPFLAGS and LDFLAGS to the build system.
+  * Add ruby1.9.1 as an alternative dependency to rubygems. (Closes: #683511)
+  * Add myself as Uploader.
+  * Fix the watch file.
+  * Use dh-autoreconf.
+  * Bump Standards-Version to 3.9.4, no changes needed.
+  * Don't build the embedded jsoncpp source as it's not actually used.
+    - Add no_jsoncpp.patch.
+
+ -- Felix Geyer <fgeyer@debian.org>  Tue, 06 Aug 2013 23:08:29 +0200
+
+ruby-passenger (3.0.13debian-1.2) unstable; urgency=high
+
+  * Non-maintainer upload.
+
+  [ Laurent Bigonville ]
+  * debian/control: Use canonical VCS URL
+  * debian/control: Move libapache2-mod-passenger to httpd section
+
+  [ Felix Geyer ]
+  * Cherry-pick another commit to properly fix CVE-2013-2119.
+  * Fix CVE-2013-4136: insecure tmp files usage. (Closes: #717176)
+    - Add CVE-2013-4136.patch, backported from upstream.
+
+ -- Felix Geyer <fgeyer@debian.org>  Sun, 21 Jul 2013 10:41:42 +0200
+
+ruby-passenger (3.0.13debian-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Transition towards Apache 2.4. (Closes: #707063)
+    - Build-depend on apache2-dev and apache2.
+    - Use apache2 dh helper.
+    - Drop libapache2-mod-passenger maintainer scripts, now handled by
+      dh_apache2.
+  * Fix buiding against glibc 2.17.
+    - Add fix_ftbfs_glibc217.patch, cherry-picked from upstream.
+  * Fix CVE-2013-2119: insecure temporary file usage. (Closes: #710351)
+    - Add CVE-2013-2119.patch, cherry-picked from upstream.
+
+ -- Felix Geyer <fgeyer@debian.org>  Thu, 30 May 2013 09:27:46 +0200
+
+ruby-passenger (3.0.13debian-1) unstable; urgency=low
+
+  * Team upload.
+  * New upstream release
+  * debian/control: Add apache2-mpm-event to the dependency alternative, it is
+    now supported by passenger (Closes: #600679)
+  * Drop debian/patches/fix_ftbfs_gcc47.patch: Applied upstream
+  * Add debian/gbp.conf file
+  * debian/rules: Remove leftover MacOS resource fork file
+
+ -- Laurent Bigonville <bigon@debian.org>  Thu, 28 Jun 2012 17:00:42 +0200
+
+ruby-passenger (3.0.12debian-1) unstable; urgency=low
+
+  * Team upload.
+  * New upstream release
+  * Add debian/patches/fix_ftbfs_gcc47.patch: Fix FTBFS with GCC 4.7
+    (Closes: #672096)
+
+ -- Laurent Bigonville <bigon@debian.org>  Wed, 23 May 2012 18:40:57 +0200
+
+ruby-passenger (3.0.11debian-1) unstable; urgency=low
+
+  * Team upload.
+  [ Dmitry Borodaenko ]
+  * New upstream release (Closes: #588256)
+
+  [ Laurent Bigonville ]
+  * Rename packages to follow new ruby policy
+  * Split all ruby files into the ruby-passenger package (Closes: #664152)
+  * debian/control: Fix typo, the right package is www-browser (Closes:
+    #628479)
+  * Also build for ruby 1.9.1 (LP: #695159)
+
+ -- Laurent Bigonville <bigon@debian.org>  Fri, 23 Mar 2012 13:14:01 +0100
+
+passenger (2.2.11debian-2) unstable; urgency=low
+
+  [Laurent Arnoud]
+  * Team upload.
+  * Bump Standards version to 3.9.1 (no changes).
+
+  [Evgeni Golov]
+  * Correctly install docs in passenger-doc (Closes: #599024)
+
+ -- Evgeni Golov <evgeni@debian.org>  Wed, 06 Oct 2010 11:49:07 +0200
+
+passenger (2.2.11debian-1) unstable; urgency=low
+
+  [ Paul van Tilburg ]
+  * debian/watch: fixed typo in the dversionmangle regexp.
+
+  [ Micah Anderson ]
+  * New upstream release
+  * Update Standards version, no changes
+  * Remove unused patchsystem in debian/rules
+
+ -- Micah Anderson <micah@debian.org>  Wed, 17 Mar 2010 00:27:59 -0400
+
+passenger (2.2.9debian-1) unstable; urgency=low
+
+  * New upstream release (Closes: #555552)
+
+ -- Micah Anderson <micah@debian.org>  Sun, 31 Jan 2010 14:19:55 -0500
+
+passenger (2.2.7debian-1) unstable; urgency=low
+
+  * Added possibile dependency on apache2-mpm-itk (Closes: #556230)
+  * New upstream release
+
+ -- Micah Anderson <micah@debian.org>  Fri, 20 Nov 2009 13:56:00 -0500
+
+passenger (2.2.5debian1-1) unstable; urgency=low
+
+  * Really sort out the Build-deps this time (Closes: #555155)
+  * Remove embedded prototype.js, Build-dep on libjs-prototype
+    and symlink to that version, requires repack of orig
+    tarball (Closes: #555273)
+
+ -- Micah Anderson <micah@debian.org>  Mon, 09 Nov 2009 12:07:15 -0500
+
+passenger (2.2.5debian-5) unstable; urgency=low
+
+  * Build-dep on apache2 to fix FTBS (Closes: #555155)
+
+ -- Micah Anderson <micah@debian.org>  Sun, 08 Nov 2009 21:22:47 -0500
+
+passenger (2.2.5debian-3) unstable; urgency=low
+
+  * Really fix apache2-mpm-preform dependencies (Closes: #545872)
+
+ -- Micah Anderson <micah@debian.org>  Fri, 06 Nov 2009 17:41:46 -0500
+
+passenger (2.2.5debian-2) unstable; urgency=low
+
+  * Update control to allow for possible installation of
+    apache2-mpm-prefork (Closes: #545872)
+
+ -- Micah Anderson <micah@debian.org>  Wed, 23 Sep 2009 14:55:53 -0400
+
+passenger (2.2.5debian-1) unstable; urgency=low
+
+  * New upstream release
+  * Bump standards version one minor number (no changes)
+
+ -- Micah Anderson <micah@debian.org>  Thu, 17 Sep 2009 22:55:23 -0400
+
+passenger (2.2.4debian-1) unstable; urgency=low
+
+  * Updated debian/copyright information with information for:
+    . test/support/tut.h and tut_reporter.h
+    . test/stub/rails_apps/mycookbook/public/javascripts/prototype.js
+    . test/stub/rails_apps/mycookbook/public/javascripts/effects.js
+    . test/stub/rails_apps/mycookbook/public/javascripts/dragdrop.js
+    . test/stub/rails_apps/mycookbook/public/javascripts/controls.js
+    . ext/nginx/StaticContentHandler.c
+    . ext/nginx/Configuration.[c,h], ContentHandler.[c,h],
+    . ext/nginx/ngx_http_passenger_module.[c,h] and StaticContentHandler.h
+    . ext/apache2/Hooks.cpp
+    . ext/common/Base65.[cpp,h]
+  * Update Standards-Version to 3.8.2 (no changes)
+  * Also remove passenger-install-nginx-module, same as the apache piece
+  * Add myself and damog to Uploaders
+  * Set Maintainer field to Debian Ruby Extras Maintainers
+  * Make sure the modsavailabledir is properly created
+  * Fix the DEB_INSTALL_DOCS package name
+  * Update the passengermodule and admintools names for the new upstream
+  * Removed etc from libapache2-mod-passenger.install
+  * Updated to new upstream version
+  * Added librack-ruby Depends
+  * Removed tests/support/valgrind.h, incompatible 4-clause BSD license
+  * Added Build-dep on source-highlight
+
+ -- Micah Anderson <micah@debian.org>  Sat, 25 Jul 2009 11:46:51 -0400
+
+passenger (2.1.2-1) unstable; urgency=low
+
+  * New upstream version.
+  * Added license and copyright information for Boost library at
+    debian/copyright.
+  * Updated source paths.
+  * Updated Standards-Version to 3.8.1 .
+
+ -- Filipe Lautert <filipe@debian.org>  Thu, 26 Mar 2009 19:56:22 -0300
+
+passenger (2.0.3-1) unstable; urgency=low
+
+  [Filipe Lautert]
+
+  * Some corrections to changelog file.
+  * Added myself and ruby-extras group to uploaders field.
+
+  [Leandro Nunes dos Santos]
+
+  * Initial release (Closes: #488753).
+
+ -- Filipe Lautert <filipe@debian.org>  Wed, 15 Oct 2008 23:04:26 -0200
diff --git a/ruby-passenger/debian/compat b/ruby-passenger/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/ruby-passenger/debian/control b/ruby-passenger/debian/control
new file mode 100644 (file)
index 0000000..327a342
--- /dev/null
@@ -0,0 +1,52 @@
+Source: ruby-passenger
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
+Uploaders: Filipe Lautert <filipe@debian.org>, Micah Anderson <micah@debian.org>, David Moreno <damog@debian.org>,
+ Felix Geyer <fgeyer@debian.org>
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.12~), apache2 (>= 2.4),
+ apache2-dev (>= 2.4), libapr1-dev, doxygen, asciidoc (>= 8.2), graphviz, rake,
+ source-highlight, libcurl4-openssl-dev, libev-dev, dh-autoreconf, ruby-mizuho
+Standards-Version: 3.9.5
+Homepage: http://www.modrails.com/
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-passenger.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-passenger.git;a=summary
+XS-Ruby-Versions: all
+
+Package: ruby-passenger
+Architecture: any
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack
+Suggests: python, rails, ruby-passenger-doc
+Breaks: libapache2-mod-passenger (<< 3.0.11debian)
+Replaces: libapache2-mod-passenger (<< 3.0.11debian)
+Description: Rails and Rack support for Apache2 and Nginx
+ Phusion Passenger — a.k.a. mod_rails or mod_rack — makes
+ deployment of Ruby web applications, such as those built on the
+ revolutionary Ruby on Rails web framework, a breeze.
+
+Package: libapache2-mod-passenger
+Architecture: any
+Section: httpd
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby-passenger (= ${binary:Version})
+Description: Rails and Rack support for Apache2
+ Phusion Passenger — a.k.a. mod_rails or mod_rack — makes
+ deployment of Ruby web applications, such as those built on the
+ revolutionary Ruby on Rails web framework, a breeze.
+ .
+ This package contains the Apache 2 module required by Phusion Passenger.
+
+Package: ruby-passenger-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: www-browser
+Provides: passenger-doc
+Conflicts: passenger-doc
+Replaces: passenger-doc
+Description: Rails and Rack support for Apache2 - Documentation
+ Phusion Passenger — a.k.a. mod_rails or mod_rack — makes
+ deployment of Ruby web applications, such as those built on the
+ revolutionary Ruby on Rails web framework, a breeze.
+ .
+ This package provides the documentation for Phusion Passenger.
diff --git a/ruby-passenger/debian/copyright b/ruby-passenger/debian/copyright
new file mode 100644 (file)
index 0000000..d2aaeb8
--- /dev/null
@@ -0,0 +1,418 @@
+This package was debianized by Leandro Nunes dos Santos <leandronunes@safernet.org.br> on
+Mon, 29 Sep 2008 19:36:41 -0300.
+
+It incorporates packaging work done by Neil Wilson <neil@brightbox.co.uk>
+
+Some further refined packaging work was done by David Moreno <david@axiombox.com> and
+Micah Anderson <micah@riseup.net>.
+
+It was downloaded from http://www.modrails.com/install.html
+
+Upstream Authors: Hongli Lai <hongli@plan99.net>
+                    Ninh Bui <ninh.bui@gmail.com>
+
+Copyright:
+
+    Copyright (C) 2008 Hongli Lai & Ninh Bui
+
+License:
+
+Phusion Passenger is licensed under the GNU General Public License (GPL)
+version 2, and *only* version 2 (i.e. not version 3 or any later versions).
+
+In addition to the GNU General Public License v2 licensing terms, we explicitly
+grand you the permission to run any application on top of Phusion Passenger,
+regardless of the application's own licensing terms. The application will not
+be bound to the terms of the GPL in any way. That is, the GPL only applies to
+Phusion Passenger itself, and not to applications that are run through Phusion
+Passenger.
+
+We also explicitly allow Apache to load the Phusion Passenger Apache module,
+without Apache or any other loaded modules needing to be released under the
+terms of the GPL.
+
+On Debian systems, the full text of the GNU General Public License can be
+found at /usr/share/common-licenses/GPL-2.
+
+
+This package also contains a modified version of Boost library:
+
+Copyright:
+
+The individual copyright and license statements generally appear in
+library headers, though a few appear in other files. For more detailed 
+copyright information, see debian/copyright file from Debian boost package.
+
+License:
+
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+The file lib/phusion_passenger/railz/cgi_fixed.rb license is as follows:
+
+# Copyright (c) 2004 Zed A. Shaw
+#
+# 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 OR COPYRIGHT HOLDERS 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.
+
+All files under ext/oxt are licensed under the MIT license and are
+Copyright (c) 2008 Phusion:
+
+ *
+ * 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 OR COPYRIGHT HOLDERS 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.
+
+Rack is also vendored with this version of Passenger under the following terms:
+
+Copyright (c) 2007, 2008, 2009 Christian Neukirchen <purl.org/net/chneukirchen>
+
+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.
+
+All files located under ext/common hold the same Copyright and license
+as the main Passenger source (Copyright (C) 2008 Hongli Lai & Ninh Bui
+and GPLv2 only), except where noted below:
+
+ext/common/Base65.[cpp,h] is Copyright (C) 2004-2008 René Nyffenegger:
+
+ * Modified by Phusion for inclusion in Phusion Passenger.
+ *
+ * This source code is provided 'as-is', without any express or implied
+ * warranty. In no event will the author be held liable for any damages
+ * arising from the use of this software.
+ *
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ *
+ * 1. The origin of this source code must not be misrepresented; you must not
+ *    claim that you wrote the original source code. If you use this source code
+ *    in a product, an acknowledgment in the product documentation would be
+ *    appreciated but is not required.
+ *
+ * 2. Altered source versions must be plainly marked as such, and must not be
+ *    misrepresented as being the original source code.
+ *
+ * 3. This notice may not be removed or altered from any source distribution.
+ *
+ * René Nyffenegger rene.nyffenegger@adp-gmbh.ch
+ *
+ */
+---------------------------------------------------------------------------
+All files located under ext/apache2 hold the same Copyright and license
+as the main Passenger source (Copyright (C) 2008 Hongli Lai & Ninh Bui
+and GPLv2 only), except where noted below:
+
+A few functions in ext/apache2/Hooks.cpp are based on the source code of
+mod_scgi version 1.9. Its license is included in this file.
+Please note that these licensing terms *only* encompass those few
+functions, and not Passenger as a whole.
+
+The functions which are based on mod_scgi's code are as follows:
+- Hooks::prepareRequest(). Although our version looks nothing like the
+  original, the idea of checking for the file's existance from the
+  map_to_storage/fixups hook is inspired by mod_scgi's code.
+- Hooks::handleRequest(). Although our version looks nothing like the original,
+  the idea of passing the backend process's socket file descriptor up to the
+  bucket brigade chain is inspired by mod_scgi's code.
+- Hooks::http2env(), Hooks::lookupName(), Hooks::lookupHeader(),
+  Hooks::lookupEnv(), Hooks::addHeader(): Copied from mod_scgi's functions that
+  are named similarly. Slightly modified to make the coding style consistent
+  with the rest of Phusion Passenger.
+- Hooks::sendHeaders(): Based for the most part on mod_scgi's send_headers()
+  function.
+
+------------------------------------------------------------------------
+CNRI OPEN SOURCE LICENSE AGREEMENT
+
+IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY.  BY
+COPYING, INSTALLING OR OTHERWISE USING SCGI-1.9 SOFTWARE, YOU ARE
+DEEMED TO HAVE AGREED TO THE TERMS AND CONDITIONS OF THIS LICENSE
+AGREEMENT.
+
+1. This LICENSE AGREEMENT is between Corporation for National
+   Research Initiatives, having an office at 1895 Preston White
+   Drive, Reston, VA 20191 ("CNRI"), and the Individual or
+   Organization ("Licensee") copying, installing or otherwise using
+   scgi-1.9 software in source or binary form and its associated
+   documentation ("scgi-1.9").
+
+2. Subject to the terms and conditions of this License Agreement,
+   CNRI hereby grants Licensee a nonexclusive, royalty-free, world-
+   wide license to reproduce, analyze, test, perform and/or display
+   publicly, prepare derivative works, distribute, and otherwise use
+   scgi-1.9 alone or in any derivative version, provided, however,
+   that CNRI's License Agreement and CNRI's notice of copyright,
+   i.e., "Copyright (c) 2004 Corporation for National Research
+   Initiatives; All Rights Reserved" are retained in scgi-1.9 alone
+   or in any derivative version prepared by Licensee.
+
+3. In the event Licensee prepares a derivative work that is based on
+   or incorporates scgi-1.9 or any part thereof, and wants to make
+   the derivative work available to others as provided herein, then
+   Licensee hereby agrees to include in any such work a brief
+   summary of the changes made to scgi-1.9.
+
+4. CNRI is making scgi-1.9 available to Licensee on an "AS IS"
+   basis.  CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+   IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO
+   AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY
+   OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF SCGI-1.9
+   WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF SCGI-
+   1.9 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
+   AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING SCGI-
+   1.9, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE
+   POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a
+   material breach of its terms and conditions.
+
+7. This License Agreement shall be governed by and interpreted in
+   all respects by the law of the State of Virginia, excluding
+   Virginia's conflict of law provisions.  Nothing in this License
+   Agreement shall be deemed to create any relationship of agency,
+   partnership, or joint venture between CNRI and Licensee.  This
+   License Agreement does not grant permission to use CNRI
+   trademarks or trade name in a trademark sense to endorse or
+   promote products or services of Licensee, or any third party.
+
+8. By copying, installing or otherwise using scgi-1.9, Licensee
+   agrees to be bound by the terms and conditions of this License
+   Agreement.
+
+---------------------------------------------------------------------------
+All files located under ext/nginx hold the same Copyright and license
+as the main Passenger source (Copyright (C) 2008 Hongli Lai & Ninh Bui
+and GPLv2 only), except where noted below:
+
+ext/nginx/Configuration.[c,h], ContentHandler.[c,h],
+ngx_http_passenger_module.[c,h] and StaticContentHandler.h is:
+
+/* Copyright (C) Igor Sysoev
+ * Copyright (C) 2007 Manlio Perillo (manlio.perillo@gmail.com)
+ * Copyright (C) 2008, 2009 Phusion
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+ext/nginx/StaticContentHandler.c is:
+/*
+ * Copyright (C) Igor Sysoev
+ * Copyright (C) 2009 Phusion
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+-----------------------------------------------------------------------------
+
+All files located under test hold the same Copyright and license
+as the main Passenger source (Copyright (C) 2008 Hongli Lai & Ninh Bui
+and GPLv2 only), except where noted below:
+
+test/stub/rails_apps/mycookbook/public/javascripts/controls.js is:
+
+// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//           (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
+//           (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)
+// Contributors:
+//  Richard Livsey
+//  Rahul Bhargava
+//  Rob Wills
+// 
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+test/stub/rails_apps/mycookbook/public/javascripts/dragdrop.js is:
+
+// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//           (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
+// 
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+test/stub/rails_apps/mycookbook/public/javascripts/effects.js is:
+
+// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// Contributors:
+//  Justin Palmer (http://encytemedia.com/)
+//  Mark Pilgrim (http://diveintomark.org/)
+//  Martin Bialasinki
+// 
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/ 
+
+test/stub/rails_apps/mycookbook/public/javascripts/prototype.js is:
+
+/*  Prototype JavaScript framework, version 1.6.0.1
+ *  (c) 2005-2007 Sam Stephenson
+ *
+ *  Prototype is freely distributable under the terms of an MIT-style license.
+ *  For details, see the Prototype web site: http://www.prototypejs.org/
+*/
+
+test/support/tut.h and tut_reporter.h is Copyright 2002-2006 Vladimir Dyuzhev:
+
+ * http://tut-framework.sourceforge.net/
+ *
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+test/support/valgrind.h
+
+   Copyright (C) 2000-2007 Julian Seward.  All rights reserved.
+
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions
+   are met:
+
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+   2. The origin of this software must not be misrepresented; you must 
+      not claim that you wrote the original software.  If you use this 
+      software in a product, an acknowledgment in the product 
+      documentation would be appreciated but is not required.
+
+   3. Altered source versions must be plainly marked as such, and must
+      not be misrepresented as being the original software.
+
+   4. The name of the author may not be used to endorse or promote 
+      products derived from this software without specific prior written 
+      permission.
+
+   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
+   OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+   DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/ruby-passenger/debian/gbp.conf b/ruby-passenger/debian/gbp.conf
new file mode 100644 (file)
index 0000000..efba884
--- /dev/null
@@ -0,0 +1,4 @@
+[DEFAULT]
+debian-branch = master
+upstream-branch = upstream
+pristine-tar = True
diff --git a/ruby-passenger/debian/libapache2-mod-passenger.apache2 b/ruby-passenger/debian/libapache2-mod-passenger.apache2
new file mode 100644 (file)
index 0000000..7165fc7
--- /dev/null
@@ -0,0 +1,2 @@
+mod debian/passenger.load
+mod debian/passenger.conf
diff --git a/ruby-passenger/debian/libapache2-mod-passenger.install b/ruby-passenger/debian/libapache2-mod-passenger.install
new file mode 100644 (file)
index 0000000..010fce2
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/apache2/modules/
diff --git a/ruby-passenger/debian/passenger.conf b/ruby-passenger/debian/passenger.conf
new file mode 100644 (file)
index 0000000..7761bf5
--- /dev/null
@@ -0,0 +1,4 @@
+<IfModule mod_passenger.c>
+  PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
+  PassengerDefaultRuby /usr/bin/ruby
+</IfModule>
diff --git a/ruby-passenger/debian/passenger.load b/ruby-passenger/debian/passenger.load
new file mode 100644 (file)
index 0000000..b588afd
--- /dev/null
@@ -0,0 +1 @@
+LoadModule passenger_module /usr/lib/apache2/modules/mod_passenger.so
diff --git a/ruby-passenger/debian/patches/bin_load_path.patch b/ruby-passenger/debian/patches/bin_load_path.patch
new file mode 100644 (file)
index 0000000..7b6cacf
--- /dev/null
@@ -0,0 +1,94 @@
+Description: do not mess with LOAD_PATH in bin/* files
+Author: Cédric Boutillier <boutil@debian.org>
+Last-Update: 2014-01-16
+
+--- a/bin/passenger
++++ b/bin/passenger
+@@ -23,12 +23,6 @@
+ #  THE SOFTWARE.
+ ## Magic comment: begin bootstrap ##
+-source_root = File.expand_path("..", File.dirname(__FILE__))
+-$LOAD_PATH.unshift("#{source_root}/lib")
+-begin
+-      require 'rubygems'
+-rescue LoadError
+-end
+ require 'phusion_passenger'
+ ## Magic comment: end bootstrap ##
+--- a/bin/passenger-config
++++ b/bin/passenger-config
+@@ -23,12 +23,6 @@
+ #  THE SOFTWARE.
+ ## Magic comment: begin bootstrap ##
+-source_root = File.expand_path("..", File.dirname(__FILE__))
+-$LOAD_PATH.unshift("#{source_root}/lib")
+-begin
+-      require 'rubygems'
+-rescue LoadError
+-end
+ require 'phusion_passenger'
+ ## Magic comment: end bootstrap ##
+--- a/bin/passenger-install-apache2-module
++++ b/bin/passenger-install-apache2-module
+@@ -24,12 +24,6 @@
+ #  THE SOFTWARE.
+ ## Magic comment: begin bootstrap ##
+-source_root = File.expand_path("..", File.dirname(__FILE__))
+-$LOAD_PATH.unshift("#{source_root}/lib")
+-begin
+-      require 'rubygems'
+-rescue LoadError
+-end
+ require 'phusion_passenger'
+ ## Magic comment: end bootstrap ##
+--- a/bin/passenger-install-nginx-module
++++ b/bin/passenger-install-nginx-module
+@@ -23,12 +23,6 @@
+ #  THE SOFTWARE.
+ ## Magic comment: begin bootstrap ##
+-source_root = File.expand_path("..", File.dirname(__FILE__))
+-$LOAD_PATH.unshift("#{source_root}/lib")
+-begin
+-      require 'rubygems'
+-rescue LoadError
+-end
+ require 'phusion_passenger'
+ ## Magic comment: end bootstrap ##
+--- a/bin/passenger-memory-stats
++++ b/bin/passenger-memory-stats
+@@ -23,12 +23,6 @@
+ #  THE SOFTWARE.
+ ## Magic comment: begin bootstrap ##
+-source_root = File.expand_path("..", File.dirname(__FILE__))
+-$LOAD_PATH.unshift("#{source_root}/lib")
+-begin
+-      require 'rubygems'
+-rescue LoadError
+-end
+ require 'phusion_passenger'
+ ## Magic comment: end bootstrap ##
+--- a/bin/passenger-status
++++ b/bin/passenger-status
+@@ -23,12 +23,6 @@
+ #  THE SOFTWARE.
+ ## Magic comment: begin bootstrap ##
+-source_root = File.expand_path("..", File.dirname(__FILE__))
+-$LOAD_PATH.unshift("#{source_root}/lib")
+-begin
+-      require 'rubygems'
+-rescue LoadError
+-end
+ require 'phusion_passenger'
+ ## Magic comment: end bootstrap ##
diff --git a/ruby-passenger/debian/patches/fix_install_path.patch b/ruby-passenger/debian/patches/fix_install_path.patch
new file mode 100644 (file)
index 0000000..7f5ec4b
--- /dev/null
@@ -0,0 +1,19 @@
+Description: Install in vendor_ruby directory and install common files in non-versioned path
+Author: Laurent Bigonville <bigon@debian.org>
+Last-Update: 2014-01-16
+
+--- a/build/packaging.rb
++++ b/build/packaging.rb
+@@ -406,10 +406,10 @@
+       # We don't use CONFIG['archdir'] and the like because we want
+       # the files to be installed to /usr, and the Ruby interpreter
+       # on the packaging machine might be in /usr/local.
+-      psg_rubylibdir = ENV['RUBYLIBDIR'] || "#{fs_libdir}/ruby/vendor_ruby"
++      psg_rubylibdir = ENV['RUBYLIBDIR'] || CONFIG['vendordir'].sub(/^\/usr/,fs_prefix)
+       psg_nodelibdir = "#{fs_datadir}/#{GLOBAL_NAMESPACE_DIRNAME}/node"
+       psg_libdir     = "#{fs_libdir}/#{GLOBAL_NAMESPACE_DIRNAME}"
+-      psg_native_support_dir = ENV["RUBYARCHDIR"] || "#{fs_libdir}/ruby/#{CONFIG['ruby_version']}/#{CONFIG['arch']}"
++      psg_native_support_dir = ENV["RUBYARCHDIR"] || CONFIG['vendorarchdir'].sub(/^\/usr/,fs_prefix)
+       psg_agents_dir = "#{fs_libdir}/#{GLOBAL_NAMESPACE_DIRNAME}/agents"
+       psg_helper_scripts_dir = "#{fs_datadir}/#{GLOBAL_NAMESPACE_DIRNAME}/helper-scripts"
+       psg_resources_dir      = "#{fs_datadir}/#{GLOBAL_NAMESPACE_DIRNAME}"
diff --git a/ruby-passenger/debian/patches/no_jsoncpp.patch b/ruby-passenger/debian/patches/no_jsoncpp.patch
new file mode 100644 (file)
index 0000000..71254f5
--- /dev/null
@@ -0,0 +1,20 @@
+Description: Remove embedded jsoncpp, only used in tests that aren't built.
+Author: Felix Geyer <fgeyer@debian.org>
+Last-Update: 2014-01-16
+
+--- a/lib/phusion_passenger/common_library.rb
++++ b/lib/phusion_passenger/common_library.rb
+@@ -437,13 +437,6 @@
+                       Utils/fib.h
+                       Utils/fibpriv.h
+               )
+-      define_component 'Utils/jsoncpp.o',
+-              :source   => 'Utils/jsoncpp.cpp',
+-              :category => :other,
+-              :deps     => %w(
+-                      Utils/json.h
+-                      Utils/json-forwards.h
+-              )
+       #'BCrypt.o' => %w(
+       #       BCrypt.cpp
diff --git a/ruby-passenger/debian/patches/series b/ruby-passenger/debian/patches/series
new file mode 100644 (file)
index 0000000..d4cadda
--- /dev/null
@@ -0,0 +1,3 @@
+fix_install_path.patch
+no_jsoncpp.patch
+bin_load_path.patch
diff --git a/ruby-passenger/debian/ruby-passenger-doc.install b/ruby-passenger/debian/ruby-passenger-doc.install
new file mode 100644 (file)
index 0000000..b3e22fc
--- /dev/null
@@ -0,0 +1,2 @@
+usr/share/doc/passenger/*.html usr/share/doc/ruby-passenger-doc
+usr/share/doc/passenger/images usr/share/doc/ruby-passenger-doc
diff --git a/ruby-passenger/debian/ruby-passenger.docs b/ruby-passenger/debian/ruby-passenger.docs
new file mode 100644 (file)
index 0000000..389dbb9
--- /dev/null
@@ -0,0 +1,2 @@
+README.md
+debian/README.Debian
diff --git a/ruby-passenger/debian/ruby-passenger.install b/ruby-passenger/debian/ruby-passenger.install
new file mode 100644 (file)
index 0000000..22bc879
--- /dev/null
@@ -0,0 +1,8 @@
+usr/lib/passenger/agents/
+usr/share/passenger/union_station_gateway.crt
+usr/share/passenger/mime.types
+usr/share/passenger/helper-scripts/
+usr/share/passenger/templates/
+usr/lib/ruby/vendor_ruby/
+usr/lib/*/ruby/vendor_ruby/
+usr/sbin/
diff --git a/ruby-passenger/debian/ruby-passenger.manpages b/ruby-passenger/debian/ruby-passenger.manpages
new file mode 100644 (file)
index 0000000..e3f8430
--- /dev/null
@@ -0,0 +1,2 @@
+man/passenger-memory-stats.8
+man/passenger-status.8
diff --git a/ruby-passenger/debian/rules b/ruby-passenger/debian/rules
new file mode 100755 (executable)
index 0000000..d827f82
--- /dev/null
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+include /usr/share/dpkg/buildflags.mk
+export EXTRA_CXXFLAGS=$(CXXFLAGS) $(CPPFLAGS)
+export EXTRA_LDFLAGS=$(LDFLAGS)
+
+export USE_VENDORED_LIBEV=false
+
+# needed to generate docs
+export LC_ALL=C.UTF-8
+
+%:
+       dh $@ --buildsystem=ruby --with ruby,apache2,autoreconf
+
+override_dh_auto_build:
+       /usr/bin/ruby1.9.1 /usr/bin/rake fakeroot
+       mv pkg/fakeroot pkg/fakeroot1.9.1
+       /usr/bin/ruby2.0 /usr/bin/rake fakeroot
+       mv pkg/fakeroot pkg/fakeroot2.0
+
+override_dh_auto_install:
+       mkdir debian/tmp/
+       cp -a pkg/fakeroot1.9.1/* debian/tmp/
+       cp -a pkg/fakeroot2.0/* debian/tmp/
+       rm -f debian/tmp/usr/share/doc/phusion-passenger/images/._phusion_banner.png
+
+override_dh_auto_clean:
+       dh_auto_clean -O--buildsystem=ruby
+       rm -rf pkg/fakeroot1.9.1
+       rm -rf pkg/fakeroot2.0
+
+override_dh_install:
+       dh_install --list-missing -O--buildsystem=ruby
+
+override_dh_installchangelogs:
+       dh_installchangelogs NEWS
diff --git a/ruby-passenger/debian/source/format b/ruby-passenger/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/ruby-passenger/debian/upstream-signing-key.pgp b/ruby-passenger/debian/upstream-signing-key.pgp
new file mode 100644 (file)
index 0000000..f422ca4
--- /dev/null
@@ -0,0 +1,66 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1
+
+mQENBFELwVYBCAC8HTdplQDZ+0tbjq24/pH8CbGg1r6jDOj7BH4wUkzqbnc34MVm
+X7nSMpPiT0VHlaX/TuovhYnVcUU+WKwGHlIo75jT1oM96WcqfV2hZz62Ng+zzQ34
+pcAQ+hjKHTiErfrgfSKa9TVSSviMAqZ1qrXrKyhCtdbwS4JcK+emKRiyYmDxtk5p
+jcNieNvpmpEVJPe/Jen8G+H89lPY2dSTSt4hKQpQnBFQ6pu2DMk8sdNcfBYzf5Az
+ejXigjBd5gPgeVVuEjzUsd7Z3Ujsjm6wGJ1TYFqO2Mh/m0a7lG5FfJ4SNws2Ao4x
+06BFK+txKAjv5KFHaPP9t3OMW+ktOinWx+tTABEBAAG0GVBodXNpb24gPGluZm9A
+cGh1c2lvbi5ubD6IRgQTEQIABgUCUQvBqAAKCRAGoTEJS29DMiUVAJ9KS3i2kpFd
+aeHSE6jll6xtCGaifwCfft+gl/KBF761eG39Zwybw4/SSIqJ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lQl78s+zPZPZvIPE/lk1d2YmLrIySTv5zy
+2VkRX91eKqdhY4hnHPYPOFfRUMnJ/tqwZrTov439Hv22slrgnQRqx/jDA25OPwe6
+jEs+ouAS+G7WKkicfG9pGzpgH6oXnqozddSMhE8LgTHJowjYqHsFFbu+uHZiYeQu
+mgn5ZGqJ8r8snhMyAxDcRyBsY9rI31YyLwNdnihJd7VmpPCcsvKVdHATDCCWEWfb
+BLIndVJsn7AHmlj+DP/OzstND46I4RBWdg3UFJLGAhrl
+=j0QS
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/ruby-passenger/debian/watch b/ruby-passenger/debian/watch
new file mode 100644 (file)
index 0000000..30e6620
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+opts=pgpsigurlmangle=s/$/.asc/ \
+  https://www.phusionpassenger.com/file_releases http://s3.amazonaws.com/phusion-passenger/releases/passenger-([\d.-]*)\.tar\.gz