Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (18 sloc) 1.054 kb
b20b0a9 @FooBarWidget Add a packaging guide.
FooBarWidget authored
1 Notes for packagers
2 -------------------
3 By default Phusion Passenger locates all of its resource files under its
4 source root directory, however it also supports FHS-complaint packaging.
33e08d3 @FooBarWidget Update the packaging guidelines.
FooBarWidget authored
5 When packaging Phusion Passenger, be sure to follow these guidelines:
b20b0a9 @FooBarWidget Add a packaging guide.
FooBarWidget authored
6
33e08d3 @FooBarWidget Update the packaging guidelines.
FooBarWidget authored
7 - You can generate a fakeroot with the command 'rake fakeroot'. This will
8 generate an FHS-compliant directory tree in pkg/fakeroot, which you can
9 directly package or with minor modifications.
b20b0a9 @FooBarWidget Add a packaging guide.
FooBarWidget authored
10
33e08d3 @FooBarWidget Update the packaging guidelines.
FooBarWidget authored
11 If the default fakeroot structure is not sufficient, please consider
12 sending a patch.
13 - Be sure to set Apache's PassengerRoot directive or Nginx's passenger_root
14 directive to /usr. This is a hint to Phusion Passenger that it's packaged
15 in an FHS-compliant way.
16 - Inside the fakeroot you will encounter a directory
17 /usr/share/phusion-passenger/source, which contains the entire Phusion
18 Passenger source root. This is normal! It's to allow
19 passenger-install-nginx-module and Phusion Passenger Lite to work; they
20 both require the Phusion Passenger source code in order to compile Nginx.
Something went wrong with that request. Please try again.