Permalink
Browse files

Add Brightbox Debian specs.

  • Loading branch information...
FooBarWidget committed Nov 18, 2010
1 parent fcfe95a commit b162b1ff30b1a22213d4692ae99ee4404a4ee028
View
@@ -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
View
@@ -0,0 +1,185 @@
+passenger (3.0.0-1bbox3) hardy; urgency=low
+
+ * Fixed clean of vendored libev
+
+ -- John Leach <john@brightbox.co.uk> Thu, 11 Nov 2010 17:30:20 +0000
+
+passenger (3.0.0-1bbox2) hardy; urgency=low
+
+ * Fixed packaging bug with vendored libev
+
+ -- John Leach <john@brightbox.co.uk> Wed, 19 Oct 2010 21:37:19 +0100
+
+passenger (3.0.0-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 3.0.0
+
+ -- John Leach <john@brightbox.co.uk> Wed, 19 Oct 2010 12:57:07 +0100
+
+passenger (3.0.0-1bbox1~pre3) hardy; urgency=low
+
+ * New Upstream Version, 3.0.0~pre3
+
+ -- John Leach <john@brightbox.co.uk> Wed, 20 Sep 2010 17:27:09 +0100
+
+passenger (2.2.15-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.15
+
+ -- Ben Arblaster <ben@brightbox.co.uk> Tue, 06 Jul 2010 14:37:38 +0100
+
+passenger (2.2.14-1bbox2) hardy; urgency=low
+
+ * New Upstream Version, 2.2.14
+
+ -- Ben Arblaster <ben@brightbox.co.uk> Wed, 23 Jun 2010 11:32:26 +0100
+
+passenger (2.2.11-1bbox2) hardy; urgency=low
+
+ * Fix dependency on passenger-common
+
+ -- John Leach <john@brightbox.co.uk> Fri, 18 Jun 2010 07:41:26 +0100
+
+passenger (2.2.11-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.11
+
+ -- John Leach <john@brightbox.co.uk> Fri, 05 Mar 2010 15:03:50 +0000
+
+passenger (2.2.10-1bbox2) hardy; urgency=low
+
+ * Change depency from apache mpm to apache common package
+
+ -- John Leach <john@brightbox.co.uk> Thu, 04 Mar 2010 14:52:46 +0000
+
+passenger (2.2.10-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.10
+
+ -- John Leach <john@brightbox.co.uk> Thu, 25 Feb 2010 15:31:42 +0000
+
+passenger (2.2.9-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.9
+
+ -- John Leach <john@brightbox.co.uk> Fri, 08 Jan 2010 11:37:10 +0000
+
+passenger (2.2.7-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.7
+
+ -- John Leach <john@brightbox.co.uk> Mon, 23 Nov 2009 20:04:04 +0000
+
+passenger (2.2.5-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.5
+
+ -- John Leach <john@brightbox.co.uk> Thu, 03 Sep 2009 08:13:14 +0100
+
+passenger (2.2.4-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.4
+
+ -- John Leach <john@brightbox.co.uk> Mon, 29 Jun 2009 11:05:34 +0100
+
+passenger (2.2.2-1bbox2) hardy; urgency=low
+
+ * Changed dependency from librack to librack1.8
+
+ -- John Leach <john@brightbox.co.uk> Fri, 01 May 2009 13:05:22 +0100
+
+passenger (2.2.2-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.2
+ * Updated dependency to librack 1.0.0
+
+ -- John Leach <john@brightbox.co.uk> Fri, 01 May 2009 12:21:43 +0100
+
+passenger (2.2.1-1bbox2) hardy; urgency=low
+
+ * Conflicts with older versions of libapache2-mod-passenger
+ * libapache2-mod-passenger depends on exact version of passenger-common
+
+ -- John Leach <john@brightbox.co.uk> Wed, 22 Apr 2009 18:49:42 +0100
+
+passenger (2.2.1-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2.1
+ * Split into separate packages, to allow nginx support
+
+ -- John Leach <john@brightbox.co.uk> Mon, 20 Apr 2009 17:18:09 +0100
+
+passenger (2.2.0-1bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.2
+
+ -- John Leach <john@brightbox.co.uk> Fri, 17 Apr 2009 10:34:14 +0100
+
+passenger (2.1.3-1bbox1) hardy; urgency=low
+
+ * New upstream version, 2.1.3
+
+ -- John Leach <john@brightbox.co.uk> Sun, 05 Apr 2009 15:14:34 +0100
+
+passenger (2.1.2-1bbox1) hardy; urgency=low
+
+ * New upstream version
+
+ -- John Leach <john@brightbox.co.uk> Sat, 14 Mar 2009 17:34:17 +0000
+
+passenger (2.1.1.20090309-0bbox1) hardy; urgency=low
+
+ * New upstream version
+
+ -- John Leach <john@brightbox.co.uk> Wed, 11 Mar 2009 00:05:15 +0000
+
+passenger (2.0.6-0bbox2) hardy; urgency=low
+
+ * Fixed depends to allow apache2-mpm-prefork instead of apache2-mpm-worker
+
+ -- John Leach <john@brightbox.co.uk> Sun, 11 Jan 2009 15:01:22 +0000
+
+passenger (2.0.6-0bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.0.6
+
+ -- John Leach <john@brightbox.co.uk> Mon, 15 Dec 2008 19:29:13 +0000
+
+passenger (2.0.5-0bbox1) hardy; urgency=low
+
+ * New Upstream Version, 2.0.5
+
+ -- John Leach <john@brightbox.co.uk> Fri, 05 Dec 2008 14:22:41 +0000
+
+passenger (2.0.4-1bbox2) hardy; urgency=medium
+
+ * Added 11_fix_passenger-config_version.patch to fix bug in passenger-config
+ (Thanks to Rich Drummond)
+ * Changed depends to allow apache2-mpm-prefork instead of apache2-mpm-worker
+
+ -- John Leach <john@brightbox.co.uk> Wed, 03 Dec 2008 18:14:46 +0000
+
+passenger (2.0.4-1bbox1) hardy; urgency=low
+
+ * New upstream version, 2.0.4
+
+ -- John Leach <john@brightbox.co.uk> Mon, 01 Dec 2008 23:00:11 +0000
+
+passenger (2.0.3-1bbox4) hardy; urgency=low
+
+ * Tweaked build-depends for Ruby 1.8
+
+ -- John Leach <john@brightbox.co.uk> Wed, 26 Nov 2008 17:41:07 +0000
+
+passenger (2.0.3-0ubuntu1~bbox3) hardy; urgency=low
+
+ * Change rubygems depends to suggests
+ * Fix typo in control that led to mod_passenger.so being put in /
+
+ -- John Leach <john@brightbox.co.uk> Wed, 26 Nov 2008 14:02:29 +0000
+
+passenger (2.0.3-0ubuntu1~bbox2) intrepid; urgency=low
+
+ * Initial release: closes LP: #246719
+
+ -- Neil Wilson <neil@brightbox.co.uk> Sun, 17 Aug 2008 22:30:35 +0100
View
@@ -1,21 +1,49 @@
-Package: passenger
-Version: 1.1.0
-Section: net
+Source: passenger
+Section: web
Priority: optional
+Maintainer: John Leach <john@brightbox.co.uk>
+Build-Depends: apache2-threaded-dev, apache2-mpm-worker | apache2-mpm-prefork,
+ libapr1-dev, ruby, rubygems, debhelper (>= 5.0.44), ruby1.8-dev, doxygen,
+ asciidoc (>= 8.2), graphviz, rake, cdbs, source-highlight, libev-dev,
+ libcurl4-openssl-dev
+Standards-Version: 3.8.0
+Homepage: http://www.modrails.com/
+XS-Vcs-git: git://github.com/johnl/deb-passenger/tree/master
+XS-Vcs-browser: http://github.com/johnl/deb-passenger/tree/master
+
+Package: passenger-common
Architecture: any
-Essential: no
-Depends:
-Pre-Depends:
-XSB-Comment: We put dependencies in Recommends because a lot of people
- have Ruby/RubyGems/Apache installed from source instead of from apt.
-Recommends: ruby1.8, rubygems, apache2
-Suggests:
-Maintainer: Hongli Lai <hongli@phusion.nl>
-Conflicts:
-Replaces:
-Provides:
-Installed-Size: 1741
-Description: Phusion Passenger, Ruby web application deployment module for Apache.
- Phusion Passenger makes deploying Ruby and Ruby on Rails web applications on Apache
- a breeze. Please don't forget to run 'passenger-install-apache2-module' after the
- installation.
+Depends: ${shlibs:Depends}, ruby, librack-ruby1.8 (>= 1.0.0)
+Conflicts: libapache2-mod-passenger (< 2.2.1-1bbox1)
+Suggests: python, rails, passenger-doc, rubygems (>= 1.0)
+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 provides the bits of Passenger common to both its Apache
+ and NGINX support.
+
+Package: libapache2-mod-passenger
+Architecture: any
+Depends: ${shlibs:Depends}, apache2.2-common,
+ passenger-common (= ${binary:Version})
+Suggests: python, rails, passenger-doc, rubygems (>= 1.0)
+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 provides the Phusion Passenger loadable Apache module
+
+Package: passenger-doc
+Section: doc
+Architecture: all
+Suggests: www-browse
+Description: Rails and Rac 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.
+
View
@@ -0,0 +1,33 @@
+This package was debianized by Neil Wilson <neil@brightbox.co.uk> on
+Thu, 08 May 2008 17:36:47 +0100.
+
+It was downloaded from http://www.modrails.com/install.html
+
+Upstream Author:
+
+ Phusion: info@phusion.nl
+
+Copyright:
+
+ Copyright (C) 2008 Phusion
+
+License:
+
+ 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). See `/usr/share/common-licenses/GPL-2'.
+
+ In addition to the GNU General Public License v2 licensing terms,
+ we explicitly grand you the permission to run any application on
+ top of 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 Passenger itself, and not
+ to applications that are run through Passenger.
+
+ We also explicitly allow Apache to load the Passenger Apache module,
+ without Apache or any other loaded modules needing to be released
+ under the terms of the GPL.
+
+Packaging:
+ (C) 2008 Neil Wilson, Brightbox Systems <neil@brightbox.co.uk>
+ Licensed under GPL-2. See `/usr/share/common-licenses/GPL-2'.
@@ -0,0 +1 @@
+../passenger.{conf,load} etc/apache2/mods-available
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "configure" ]; then
+ exit 0
+fi
+
+reload_apache()
+{
+ if apache2ctl configtest 2>/dev/null; then
+ invoke-rc.d apache2 force-reload || true
+ else
+ echo "Your apache2 configuration is broken, so we're not restarting it for you."
+ fi
+}
+
+if [ -n "$2" ]; then
+# we're upgrading. test if we're enabled, and if so, restart to reload the module.
+ if [ -e /etc/apache2/mods-enabled/passenger.load ]; then
+ reload_apache
+ fi
+ exit 0
+fi
+
+if [ -e /etc/apache2/apache2.conf ]; then
+# Enable the module, but hide a2enmod's misleading message about apachectl
+# and force-reload the thing ourselves.
+ a2enmod passenger >/dev/null || true
+ reload_apache
+fi
+
+exit 0
+
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "remove" -a "$1" != "purge" ]; then
+ exit 0
+fi;
+
+if [ -e /etc/apache2/apache2.conf ]; then
+ a2dismod passenger || true
+fi
+
+exit 0
@@ -0,0 +1,4 @@
+usr/lib/ruby
+usr/lib/phusion-passenger
+usr/share/phusion-passenger
+usr/sbin
View
@@ -0,0 +1,4 @@
+<IfModule mod_passenger.c>
+ PassengerRoot /usr
+ PassengerRuby /usr/bin/ruby
+</IfModule>
View
@@ -0,0 +1 @@
+LoadModule passenger_module /usr/lib/apache2/modules/mod_passenger.so
View
@@ -1,24 +0,0 @@
-#!/bin/sh
-if ruby -e ''; then
- if ! ruby -rphusion_passenger/native_support -e '' 2>/dev/null; then
- export RUBYLIB=/usr/lib/ruby/1.8
- fi
- passenger-install-apache2-module
- if ! ruby -rubygems -rfastthread -e '' 2>/dev/null; then
- echo
- echo
- echo "****** WARNING WARNING WARNING WARNING WARNING WARNING WARNING ******"
- echo
- echo "Passenger requires the Ruby library 'fastthread', which does not seem to be installed. Since there's no native package for it in the Debian repository, you must install it via RubyGems:"
- echo
- echo " gem install fastthread"
- echo
- echo "Please install fastthread, otherwise Passenger won't work."
- echo
- echo "****** WARNING WARNING WARNING WARNING WARNING WARNING WARNING ******"
- fi
-else
- echo "********* NOTE ***********"
- echo "Ruby doesn't seem to be installed. Please install Ruby and RubyGems, because Passenger needs them."
-fi
-exit 0
Oops, something went wrong.

0 comments on commit b162b1f

Please sign in to comment.