seblu at seblu.net
Thu Aug 1 16:59:38 EDT 2013
Talking about improvment on nginx package with Bartłomiej, it was
suggested to push this publicly to let everyone be confident with.
Nginx is a web server with modules selected (or added from external
sources) at the *build* time. So we cannot package them separately and
install them when needed.
There is 5 kinds of modules in nginx:
- Core: Mandatory modules
- Stardard: enabled by default
- Optional: not enabled by default (like ssl module, more mandatory
- Mail: modules related to IMAP and POP proxies features
- External: provided by third parties (so not shipped with upstream tarball)
We currently have a mix of the 5 kinds of modules in our nginx
package. Passenger is our external module.
When I wanted to add auth-pam external module, it was suggested to me
to split the nginx package to have external modules in a dedicated
package to avoid rebuilding "main" modules when 3rd party modules are
updated. I started a draft version.
- Fedora, have one package with one external module (nginx-upstream-fair).
- Debian, have different packages, in relation with the feature
enabled, not the module kind. In each package (light, full, extra)
there is external modules enabled.
- Opensuse, have one package with one external module built in
Externals modules are not often updated (e.g: auth-pam 11/2010,
upstream-fair: 4/2012). Furthermore, there is no install-time
dependencies added by passenger or the previous others external.
Taking this in consideration, there is probably no need to split nginx
and we can have only one package and update it when it's necessary.
 Even if I doesn't find any trace of this module in build script.
Sébastien "Seblu" Luttringer
More information about the arch-dev-public