I just went through and did some work to get 2.2.2 working with the
existing setup, it required these changes... hope this helps:
Index: debian/control
===================================================================
--- debian/control (revision 3254)
+++ debian/control (working copy)
@@ -13,7 +13,7 @@
Package: libapache2-mod-passenger
Architecture: any
-Depends: ${shlibs:Depends}, apache2-mpm-worker, ruby, rubygems (>= 1.2)
+Depends: ${shlibs:Depends}, apache2-mpm-worker, ruby, rubygems (>= 1.2), librack-ruby1.8 (>= 1.0.0-2)
Suggests: python, rails, passenger-doc
Description: Rails and Rack support for Apache2
Phusion Passenger — a.k.a. mod_rails or mod_rack — makes
Index: debian/libapache2-mod-passenger.install
===================================================================
--- debian/libapache2-mod-passenger.install (revision 3254)
+++ debian/libapache2-mod-passenger.install (working copy)
@@ -1,4 +1,3 @@
usr/bin
usr/lib
-etc
../passenger.{conf,load} etc/apache2/mods-available
Index: debian/rules
===================================================================
--- debian/rules (revision 3254)
+++ debian/rules (working copy)
@@ -4,7 +4,7 @@
include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_DH_INSTALL_SOURCEDIR := $(DEB_DESTDIR)
-DEB_INSTALL_DOCS_passenger-doc += DEVELOPERS.TXT
$(DEB_DESTDIR)/usr/share/doc/passenger/
+DEB_INSTALL_DOCS_phusion_passenger-doc += DEVELOPERS.TXT
$(DEB_DESTDIR)/usr/share/doc/phusion_passenger/
DEB_INSTALL_MANPAGES_libapache2-mod-passenger += man/*
bindir = usr/bin
@@ -12,7 +12,7 @@
builddir = pkg/fakeroot
moddir = usr/lib/apache2/modules
modsavailabledir = etc/apache2/mods-available
-passengermodule = usr/lib/passenger/mod_passenger.so
+passengermodule = usr/lib/phusion_passenger/mod_passenger.so
admintools = passenger-memory-stats passenger-make-enterprisey
passenger-status
clean::
@@ -24,6 +24,7 @@
mv $(builddir) $(DEB_DESTDIR)
binary-install/libapache2-mod-passenger::
+ mkdir -p $(CURDIR)/debian/$(cdbs_curpkg)/$(modsavailabledir)
mkdir -p $(CURDIR)/debian/$(cdbs_curpkg)/$(moddir)
mv $(CURDIR)/debian/$(cdbs_curpkg)/$(passengermodule)
$(CURDIR)/debian/$(cdbs_curpkg)/$(moddir)
rm $(CURDIR)/debian/$(cdbs_curpkg)/$(bindir)/passenger-install-apache2-module
Attachment:
signature.asc
Description: Digital signature