nginx-sid/debian
Jérémy Lal bfb15ce426
Set global error_log to /var/log/error.log
Now that error_log default value is stderr, it is possible
to override that config using nginx -g 'error_log stderr;'
2022-12-15 15:00:22 +01:00
..
apport d/apport/source_nginx.py: Add apport hooks 2022-07-23 13:03:31 +02:00
autoscripts Enable modules after a remove -> install cycle 2017-01-22 12:50:54 +02:00
conf Set global error_log to /var/log/error.log 2022-12-15 15:00:22 +01:00
debhelper nginx_mod: detect libnginx-mod-http-ndk-dev 2022-12-12 18:12:57 +01:00
help doc: Improve example WordPress configuration 2017-08-29 13:06:25 +03:00
libnginx-mod.conf remove 3th party modules 2022-12-10 05:26:48 +01:00
ngx-conf d/ngx-conf: Convert to Python 3 2020-06-04 20:35:46 +02:00
patches Refresh patches 2022-12-15 12:11:45 +01:00
po Added Turkish translation (Closes: #915728) 2018-12-06 20:03:49 +05:30
source Drop nginx-naxsi packages 2014-09-18 12:46:10 +03:00
tests d/t/*-module-deps: update: 2022-12-08 12:53:49 +01:00
ufw Imported Debian patch 1.2.0-1 2012-05-08 07:55:38 +02:00
upstream Update signing keys - new upstream signing key(s) observed. 2022-05-24 14:18:52 -04:00
vim Adding missing files. 2015-01-11 16:05:59 -06:00
changelog d/changelog update 2022-12-13 06:07:58 +01:00
control Remove unnecessary dependencies after removing 3rd party modules 2022-12-12 13:45:29 +08:00
copyright remove 3th party modules 2022-12-10 05:26:48 +01:00
gbp.conf Adapt gbp.conf for the master branch 2017-05-05 11:57:32 +03:00
libnginx-mod-http-geoip.nginx build modules using nginx-extras 2016-03-31 09:34:35 +03:00
libnginx-mod-http-image-filter.nginx build modules using nginx-extras 2016-03-31 09:34:35 +03:00
libnginx-mod-http-perl.install Introduce libnginx-mod-http-perl 2016-03-31 09:34:35 +03:00
libnginx-mod-http-perl.nginx Introduce libnginx-mod-http-perl 2016-03-31 09:34:35 +03:00
libnginx-mod-http-xslt-filter.nginx build modules using nginx-extras 2016-03-31 09:34:35 +03:00
libnginx-mod-mail.nginx build modules using nginx-extras 2016-03-31 09:34:35 +03:00
libnginx-mod-stream-geoip.nginx Add stream-geoip and stream-geoip2 modules 2020-06-05 09:33:44 +02:00
libnginx-mod-stream.nginx build modules using nginx-extras 2016-03-31 09:34:35 +03:00
libnginx-mod.nginx.skeleton build modules using nginx-extras 2016-03-31 09:34:35 +03:00
nginx-common.config CVE-2016-1247: Secure log file handling 2016-10-28 09:45:29 +03:00
nginx-common.dirs create var/www/html in nginx-common.postinst 2022-06-26 16:21:08 +02:00
nginx-common.install d/apport/source_nginx.py: Add apport hooks 2022-07-23 13:03:31 +02:00
nginx-common.links Setup libnginx-mod packaging flow 2016-03-30 10:03:46 +03:00
nginx-common.NEWS Release 1.10.2-4 2017-01-22 12:50:54 +02:00
nginx-common.nginx.default initscript: gracefully stop nginx by default 2014-10-13 10:46:17 +03:00
nginx-common.nginx.init initscript: Add some comments/hints 2015-06-17 11:18:53 +03:00
nginx-common.nginx.logrotate Keep logs for 14 *days* 2016-01-14 10:40:07 +02:00
nginx-common.nginx.service d/nginx-common.nginx.service: remove systemd 'After' dependency syslog.target, 2022-07-10 20:13:30 +02:00
nginx-common.postinst create var/www/html in nginx-common.postinst 2022-06-26 16:21:08 +02:00
nginx-common.postrm Use package.maintscript instead of dpkg-maintscript-helper 2020-05-28 21:13:15 +02:00
nginx-common.preinst Use package.maintscript instead of dpkg-maintscript-helper 2020-05-28 21:13:15 +02:00
nginx-common.README.Debian Add a list of important changes since wheezy to README.Debian 2014-12-01 13:12:00 +02:00
nginx-common.templates CVE-2016-1247: Secure log file handling 2016-10-28 09:45:29 +03:00
nginx-core.dirs Introduce nginx-core and make it new default for "nginx" 2020-06-04 22:33:03 +02:00
nginx-core.install Introduce nginx-core and make it new default for "nginx" 2020-06-04 22:33:03 +02:00
nginx-core.manpages Introduce nginx-core and make it new default for "nginx" 2020-06-04 22:33:03 +02:00
nginx-core.postinst d/nginx-*.postinst: Use invoke-rc.d instead of pidof and ad-hoc tests 2022-09-25 22:03:56 +02:00
nginx-core.prerm Introduce nginx-core and make it new default for "nginx" 2020-06-04 22:33:03 +02:00
nginx-core.triggers Introduce nginx-core and make it new default for "nginx" 2020-06-04 22:33:03 +02:00
nginx-dev.install dh_nginx: move to debian/debhelper 2022-06-26 15:20:30 +08:00
nginx-dev.manpages Adding nginx-dev package for tools for building out-of-tree modules 2022-06-26 15:19:47 +08:00
nginx-doc.docs Ship NEWS with nginx-common instead of nginx-doc 2013-12-10 16:42:57 +02:00
nginx-doc.examples Imported Debian patch 1.2.0-1 2012-05-08 07:55:38 +02:00
nginx-extras.install Introduce libnginx-mod-http-perl 2016-03-31 09:34:35 +03:00
nginx-extras.manpages Build upstream manpages before shipping 2015-06-12 15:01:29 +03:00
nginx-extras.NEWS Release 1.10.1-2 2016-09-06 11:08:05 +03:00
nginx-extras.postinst d/nginx-*.postinst: Use invoke-rc.d instead of pidof and ad-hoc tests 2022-09-25 22:03:56 +02:00
nginx-extras.prerm Cleanup nginx-* prerm scripts 2014-01-17 14:20:07 +02:00
nginx-extras.triggers Switch module reloading logic to dpkg triggers 2017-01-22 12:50:54 +02:00
nginx-light.dirs Imported Debian patch 1.2.0-1 2012-05-08 07:55:38 +02:00
nginx-light.install Imported Debian patch 1.2.0-1 2012-05-08 07:55:38 +02:00
nginx-light.manpages Build upstream manpages before shipping 2015-06-12 15:01:29 +03:00
nginx-light.postinst d/nginx-*.postinst: Use invoke-rc.d instead of pidof and ad-hoc tests 2022-09-25 22:03:56 +02:00
nginx-light.prerm Cleanup nginx-* prerm scripts 2014-01-17 14:20:07 +02:00
nginx-light.triggers Switch module reloading logic to dpkg triggers 2017-01-22 12:50:54 +02:00
README.Packaging Adjust experimental flow 2016-11-18 17:26:38 +02:00
rules Merge branch 'stderr' into 'master' 2022-12-12 16:51:38 +00:00
watch Update watch file syntax for proper version matching/reporting 2022-04-07 15:35:33 -04:00

Debian Packaging
================

We use git-buildpackage for packaging. Our repository can be found at
git.debian.org:/git/collab-maint/nginx.git.

Workflow for Unstable
=====================

We use the standard git-buildpackage workflow.

Dynamic Modules
===============

Since v1.9.11 Nginx added dynamic module support. This will sanitize the
nginx packaging flow in the long term, but there is a lot work to be done
in order to get there. We will gradually convert all modules to dynamic
as they add support for it.

Currently nginx modules need to be build together with nginx, but this
will be fixed upstream [0]. Since we already ship 3rd party modules under
debian/modules/ we will start shipping module packages (libnginx-mod) from
the same source. Once upstream implements separated building we will
split each module to a separate source.

[0] https://www.nginx.com/blog/dynamic-modules-nginx-1-9-11/

Workflow for Experimental
=========================

Nginx mainline releases (1.11.x series) are been packaged for experimental,
as they lack security support.

The workflow we use is based on the assumption that packaging work happens on
origin/master and experimental builds are a trivial patch away from that.

The direct consequense of treating experimental as a patchset for origin/master
is that the relevant branches are forced-pushed whenever we release a new
1.11.x version. In other words, **it is not safe to base your work on the
experimental branch**.

This is a brief description of our experimental branches and how we are using
them.

* experimental-base
  Force-pushed when origin/master changes.

  experimental-base tracks the changes needed for building the 1.11.x branch,
  such as new configure parameters, etc. On new 1.11.x releases, it is rebased
  on origin/master so it is always up-to-date with our latest packaging work.

* experimental
  Force-pushed on every 1.11.x release.

  This branch points to the latest 1.11.x release.
  Before release this branch is reset to experimental-base, and then merged
  with the new upstream-1.11 branch. Finally all the release specific changes
  are commited (changelog entry etc) and the build is made.

* upstream-1.11
  Pushed on every 1.11.x release.

  Before a new 1.11.x release origin/upstream is dummy merged (-s ours) into
  ustream-1.11.  This is a technicallity so we can avoid resolving conflicts
  when a new 1.10.x release happens between two experimental releases.

Older 1.11.x releases are not referenced by any branch, but they can be found
by the relevant debian/* tag.

3rd party experimental workflow
===============================

As we described, it is better not base you work on our forced-pushed
experimental branch. A better approach would be to maintain a custom-build
branch that is rebased to our latest experimental branch (basically git rebase
--onto the relevant commits should work).