Merge ~bryce/ubuntu/+source/nginx:merge-v1.18.0-3 into ubuntu/+source/nginx:debian/sid

Proposed by Bryce Harrington
Status: Rejected
Rejected by: Bryce Harrington
Proposed branch: ~bryce/ubuntu/+source/nginx:merge-v1.18.0-3
Merge into: ubuntu/+source/nginx:debian/sid
Diff against target: 1686 lines (+1420/-3)
7 files modified
debian/apport/source_nginx.py (+19/-0)
debian/changelog (+1286/-0)
debian/control (+3/-3)
debian/nginx-common.install (+1/-0)
debian/patches/nginx-fix-pidfile.patch (+89/-0)
debian/patches/series (+2/-0)
debian/patches/ubuntu-branding.patch (+20/-0)
Reviewer Review Type Date Requested Status
Thomas Ward (community) Approve
Christian Ehrhardt  (community) Approve
Canonical Server Pending
Review via email: mp+386231@code.launchpad.net

Description of the change

PPA: https://launchpad.net/~bryce/+archive/ubuntu/nginx-merge-1.18.0-3

Debian has taken part of ubuntu's delta, so this re-merges with their package and reduces our delta. I've also imported this into git ubuntu, splitting the change history into individual commits. This should be reviewable as a regular git-ubuntu package (usual tags, et al).

php-fpm appears to be expecting things to be in /run/php. Looks like /var/run is symlinked to /run so presumably either should work fine, but going forward if we use /run it'll minimize our delta and (presumably) be more correct.

See the changelog for things that were dropped.

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
Download full text (7.7 KiB)

Changelog:
- [✓] old content and logical tag match as expected
- [✓] changelog entry correct version and targeted codename
- [✓] changelog entries correct
   I see some of the old changes have been forgotten to be mentioned on some old merges.
   AFAICS you did well detecting and carrying them.
   I was looking for `iproute2` but you squashed it with the port 80 checks, fine with me.
- [✓] update-maintainer has been run

Actual changes:
- [✓] no major new upstream changes to consider
- [✓] no further upstream version to consider
- [x] debian changes look safe (not as much as I expected as it seemed dormant there, more see below)

Old Delta:
- [✓] dropped changes are ok to be dropped
- [x] nothing else to drop (see below for details)
- [x] changes forwarded upstream/debian (see below for details)

New Delta:
- [✓] new change is just a typo fix to be squashed later and ok

Build/Test:
- [✓] build is ok
- [✓] verified PPA package installs/uninstalls
- [✓] autopkgtest against the PPA package passes
- [✓] sanity checks test fine

#1 Changelog

Forgotten to mention in changelog that it was dropped:
- d/conf/sites-available/default: Update PHP path for PHP 7.4.
  added in 1.17.9-0ubuntu3 taken in Debian at 1.18.0-2

#2 submission to Debian/Upstream
I think some just are special to Ubuntu like branding, geoip and apport.
- The latter (apport) being debatable as many Debian packages have taken apport Delta being a no-op for them.
- PIDFile is awkward in bug 1581864 more and more ask to submit it or even call it a placebo, I feel if we keep this as-is forever it will bit rot and get worse. Submitting it seems painful but required.

Now that you rebased so well split, would you mind sending these over for their consideration?

#3 potential conflicts
This lists things that changed in Debian/Upstream and I wondered if we need to adapt

Conflict 1:
Ubuntu:
   8 - Do not attempt to start nginx if other daemon is binding to port
   9 80, to prevent install failure (LP #1782226):
Debian:
  76 * Check if port 80 is free before starting during install

This is somewhat messed up.
Debian added most of what we had.
We had:
commit b17a1ed0781213770ef39b9cc7e3d8af463b5d21
Author: Bryce Harrington <email address hidden>
Date: Mon Jun 15 02:43:43 2020 +0000
        - Do not attempt to start nginx if other daemon is binding to port
          80, to prevent install failure (LP 1782226):
          + d/nginx{core,light,full,extras}.postinst: Add checks for whether
            port 80 is in use or not to determine whether or not to attempt
            starting of the NGINX service during install/upgrade.
          + d/control: Add dependencies to nginx-{core,light,full,extras} on
            `iproute2` as the postinst scripts now use `ss` to determine if
            Port 80 is open or not.
Which actually didn't add the iproute2 depencency, that was in
commit 844ab3317d0b0b0d15d197b2bdd8044bb88c65fd
Author: Bryce Harrington <email address hidden>
Date: Mon Jun 15 02:57:32 2020 +0000
        - d/control: Add `iproute2` dependencies for the binary
          nginx-{core,light,full,extras} packages, they got missed in the
          appl...

Read more...

review: Needs Fixing
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

P.S. as I mentioned in the past I still recommend pre-building the PPAs on all architectures.
Maybe I'm thinking too much about it working on arch dependent SW so much, a webserver might be fine as-is :-)

I also tried the upgrade from nginx-full as I was concerned there might be dependency issues - at least in my silly simple test it worked.

0328462... by Bryce Harrington

  * Dropped:
    - d/conf/sites-available/default: Update PHP path for PHP 7.4.
      [added in 1.17.9-0ubuntu3 taken by Debian in 1.18.0-2]

820981c... by Bryce Harrington

  * Dropped:
    - d/nginx-full.postinst: Add checks for whether
      port 80 is in use or not to determine whether or not to attempt
      starting of the NGINX service during install/upgrade.

c4d65f5... by Bryce Harrington

  * Dropped:
    - d/control: Add dependency from nginx-full on `iproute2` as the
      postinst scripts now use `ss` to determine if Port 80 is open
      or not.
      [Taken by Debian in 1.18.0-2]

1a14a89... by Bryce Harrington

  * Dropped:
    - d/rules: Enable --with-compat build option for all nginx package
      flavors (LP #1797897)

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for the review Christian.

Fwiw, I had set up a previous PPA with all arch's enabled - which built find on all iirc, but then noticed something I needed to change, so I deleted the PPA and made a new one for this MP, but forgot to enable arches on this one.

I need to think more on the upgrade paths and on the Debian forwards, but the remaining changes I've incorporated in my local checkout; I'll re-push for review tomorrow.

Regarding the dropped bits, I have been trying to use andreas' approach to let git-ubuntu generate the changelog, so only put '* Dropped' on one commit, and put all the other drop commits following that. But you're right, this is confusing and error prone, and occurs to me is something git-ubuntu ought to be doing for us since it's within its power. I've redone my git tree to prefix the drop commits with this, and taken a task to add this feature to git-ubuntu.

Revision history for this message
Bryce Harrington (bryce) wrote :

(See LP: #1884861 for the git-ubuntu enhancement idea)

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

ok, thanks for opening the g-u bug - agreed.

I double checked, but there are no changes for re-review yet (as you said).
Waiting for v2 later then ...

9acda50... by Bryce Harrington

  * d/p/nginx-fix-pidfile.patch: Update dep3 with fwd debian link

8cda4da... by Bryce Harrington

merge-changelogs

45ed56b... by Bryce Harrington

reconstruct-changelog

7f105b8... by Bryce Harrington

update-maintainer

8f2387d... by Bryce Harrington

changelog cleanup

Revision history for this message
Bryce Harrington (bryce) wrote :

Branch has been updated for review.

* Forwarded Apport hook to Debian:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963668
* Forwarded PID fix to Debian:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876365
* Updated DEP-3 for nginx-fix-pidfile.patch with the deb bug link
* Dropped extraneous --with-compat change [taken by debian]
* Dropped extraneous iproute2 dependency change [taken by debian]
* Dropped port 80 check [taken by debian]
* Added missing mention of drop of PHP 7.4 path update [taken by debian]
* Revised git history to include explicit ' * Dropped:' prefix for each dropped change
* Other cleanups to git history to facilitate debian/changelog generation
* Created new PPA configured to build against all platforms

PPA: https://launchpad.net/~bryce/+archive/ubuntu/nginx-merge-v1.18.0-3

Hopefully I've covered all your review points (was much to digest, but thanks!)

Regarding the update paths, I had a discussion with teward. We both think things should work without issue. Here's his analysis:

"""
If they used the nginx metapackage that just pulls in nginx-common and nginx-(core|full|light|extras) so it SHOULD work without issue. So to my knowledge if how APT works nginx-full still meets the dep criterion. To my knowledge https://git.launchpad.net/~bryce/ubuntu/+source/nginx/tree/debian/control?h=merge-v1.18.0-3#n34 is where that magic happens and this should Just Work. nginx-full will upgrade to nginx-full and nginx-core will upgrade to nginx-core here in Ubunt. In Debian, nginx-core is new so any upgrade tasks will still meet nginx-full or nginx-light or nginx-extras if they're using nginx metapackage, and flavors will still upgrade to their corresponding flavor.
"""

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks for the updates, cleanups and patch submissions!
Further thanks to talk with teward about it.

It now LGTM, thank you for reading through my wall of text.
+1

review: Approve
Revision history for this message
Thomas Ward (teward) :
review: Approve
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks! Uploading...

$ git ubuntu tag --upload

$ git push pkg upload/1.18.0-3ubuntu1
Enumerating objects: 70, done.
Counting objects: 100% (70/70), done.
Delta compression using up to 12 threads
Compressing objects: 100% (61/61), done.
Writing objects: 100% (63/63), 19.06 KiB | 1.73 MiB/s, done.
Total 63 (delta 39), reused 2 (delta 0)
To ssh://git.launchpad.net/ubuntu/+source/nginx
 * [new tag] upload/1.18.0-3ubuntu1 -> upload/1.18.0-3ubuntu1

$ dput ubuntu ${changes_file}
Checking signature on .changes
gpg: ../nginx_1.18.0-3ubuntu1_source.changes: Valid signature from E603B2578FB8F0FB
Checking signature on .dsc
gpg: ../nginx_1.18.0-3ubuntu1.dsc: Valid signature from E603B2578FB8F0FB
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading nginx_1.18.0-3ubuntu1.dsc: done.
  Uploading nginx_1.18.0.orig.tar.gz: done.
  Uploading nginx_1.18.0-3ubuntu1.debian.tar.xz: done.
  Uploading nginx_1.18.0-3ubuntu1_source.buildinfo: done.
  Uploading nginx_1.18.0-3ubuntu1_source.changes: done.
Successfully uploaded packages.

I think the warning about the orig is because nginx has been diverged and we're merging at a -3 instead of a -1. I got the email that the upload was accepted to -proposed, will keep an eye on it for transitioning.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

FYI still in proposed

Revision history for this message
Bryce Harrington (bryce) wrote :

Unmerged commits

8f2387d... by Bryce Harrington

changelog cleanup

7f105b8... by Bryce Harrington

update-maintainer

45ed56b... by Bryce Harrington

reconstruct-changelog

8cda4da... by Bryce Harrington

merge-changelogs

1a14a89... by Bryce Harrington

  * Dropped:
    - d/rules: Enable --with-compat build option for all nginx package
      flavors (LP #1797897)

c4d65f5... by Bryce Harrington

  * Dropped:
    - d/control: Add dependency from nginx-full on `iproute2` as the
      postinst scripts now use `ss` to determine if Port 80 is open
      or not.
      [Taken by Debian in 1.18.0-2]

820981c... by Bryce Harrington

  * Dropped:
    - d/nginx-full.postinst: Add checks for whether
      port 80 is in use or not to determine whether or not to attempt
      starting of the NGINX service during install/upgrade.

0328462... by Bryce Harrington

  * Dropped:
    - d/conf/sites-available/default: Update PHP path for PHP 7.4.
      [added in 1.17.9-0ubuntu3 taken by Debian in 1.18.0-2]

60d258b... by Bryce Harrington

  * Dropped:
    - Add GeoIP2 third party module to nginx-full and nginx-extras
      (LP #1825895). The following is the files list for this:
      + d/{control,rules}: Add libnginx-mod-http-geoip2 and corresponding
        build rules.
      + d/modules/http-geoip2{,/*}: Add geoip2 module from third party git.
      + d/copyright: Add relevant copyright lines for GeoIP2 module.

c0c6f61... by Bryce Harrington

  * Dropped:
    - debian/tests/control: add nginx-core test.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/apport/source_nginx.py b/debian/apport/source_nginx.py
0new file mode 1006440new file mode 100644
index 0000000..aec6e8e
--- /dev/null
+++ b/debian/apport/source_nginx.py
@@ -0,0 +1,19 @@
1'''
2apport package hook for nginx packages
3
4Copyright (c) 2015, Thomas Ward <teward@ubuntu.com>
5'''
6
7import apport.hookutils
8import os
9import subprocess
10
11def add_info(report, ui):
12 if (report['Package'].split()[0] != 'nginx-common'
13 and report['ProblemType'] == 'Package'
14 and os.path.isdir('/run/systemd/system')):
15 report['Journalctl_Nginx.txt'] = apport.hookutils.command_output(
16 ['journalctl', '-xe', '--unit=nginx.service'])
17 report['SystemctlStatusFull_Nginx.txt'] = subprocess.Popen(
18 ['systemctl', '-l', 'status', 'nginx.service'],
19 stdout=subprocess.PIPE).communicate()[0]
diff --git a/debian/changelog b/debian/changelog
index c2bed08..e1c0e33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,56 @@
1nginx (1.18.0-3ubuntu1) groovy; urgency=medium
2
3 * Merge with Debian unstable. Remaining changes:
4 - d/p/ubuntu-branding.patch: add Ubuntu branding (refreshed)
5 - d/apport/source_nginx.py: Add apport hooks for additional bug
6 information gathering.
7 - d/nginx-common.install: Add install rule for apport hooks.
8 - d/p/nginx-fix-pidfile.patch: Fix NGINX PIDfile handling to avoid
9 SystemD race condition - thanks to Tj for the patch. (LP #1581864)
10 - Drop GeoIP from nginx-core due to demotion of libgeoip
11 (LP #1861101, LP #1867150):
12 + d/control: Remove libnginx-mod-http-geoip from nginx-core dependency
13 + d/rules: Remove the configure line of with-http_geoip_module=dynamic
14 from the nginx-core build flags, due to demotion of libgeoip and the
15 removal of the dynamic library from install deps for nginx-core.
16 * d/a/source_nginx.py: Fix indentation in apport hook
17 * d/p/nginx-fix-pidfile.patch: Update dep3 with fwd debian link
18 * Dropped:
19 - debian/patches/0002-Make-sure-signature-stays-the-same-in-
20 all-nginx-buil.patch: Refreshed patch - Merge-o-Matic introduced some
21 fuzz which caused issues.
22 [ Does not seem necessary ]
23 - d/control: drop mention of SSL Preread from nginx-full, nginx-extras
24 [ Previously undocumented ]
25 - d/gbp.conf: update for 1.12 release
26 [ Previously undocumented ]
27 - d/p/0003-define_gnu_source-on-other-glibc-based-platforms.patch:
28 Refresh patch.
29 [ Previously undocumented ]
30 - d/{control,rules,nginx-core.*}: add new binary package for main,
31 nginx-core, which contains only source-tarball-included modules
32 and no third-party modules.
33 - debian/tests/control: add nginx-core test.
34 - Add GeoIP2 third party module to nginx-full and nginx-extras
35 (LP #1825895). The following is the files list for this:
36 + d/{control,rules}: Add libnginx-mod-http-geoip2 and corresponding
37 build rules.
38 + d/modules/http-geoip2{,/*}: Add geoip2 module from third party git.
39 + d/copyright: Add relevant copyright lines for GeoIP2 module.
40 - d/conf/sites-available/default: Update PHP path for PHP 7.4.
41 [added in 1.17.9-0ubuntu3 taken by Debian in 1.18.0-2]
42 - d/nginx-full.postinst: Add checks for whether
43 port 80 is in use or not to determine whether or not to attempt
44 starting of the NGINX service during install/upgrade.
45 - d/control: Add dependency from nginx-full on `iproute2` as the
46 postinst scripts now use `ss` to determine if Port 80 is open
47 or not.
48 [Taken by Debian in 1.18.0-2]
49 - d/rules: Enable --with-compat build option for all nginx package
50 flavors (LP #1797897)
51
52 -- Bryce Harrington <bryce@canonical.com> Wed, 24 Jun 2020 23:15:11 +0000
53
1nginx (1.18.0-3) unstable; urgency=medium54nginx (1.18.0-3) unstable; urgency=medium
255
3 * Source-only upload to allow migration.56 * Source-only upload to allow migration.
@@ -55,6 +108,225 @@ nginx (1.18.0-1) unstable; urgency=medium
55108
56 -- Ondřej Nový <onovy@debian.org> Fri, 29 May 2020 19:03:30 +0200109 -- Ondřej Nový <onovy@debian.org> Fri, 29 May 2020 19:03:30 +0200
57110
111nginx (1.17.10-0ubuntu1) focal; urgency=medium
112
113 * New upstream release (1.17.9) - full changelog available from
114 http://nginx.org/en/CHANGES
115 * Remaining Ubuntu-specific changes:
116 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
117 - d/{control,rules,nginx-core.*}: add new binary package for main,
118 nginx-core, which contains only source-tarball-included modules
119 and no third-party modules.
120 - debian/tests/control: add nginx-core test.
121 - debian/apport/source_nginx.py: Add apport hooks for additional bug
122 information gathering.
123 - debian/nginx-common.install: Add install rule for apport hooks.
124 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
125 port 80 is in use or not to determine whether or not to attempt
126 starting of the NGINX service during install/upgrade
127 - d/control: Add dependencies to nginx-{core,light,full,extras} on
128 `iproute2` as the postinst scripts now use `ss` to determine if
129 Port 80 is open or not.
130 - d/rules: Enable --with-compat build option for all nginx package
131 flavors
132 - d/{control,rules,copyright,modules/http-geoip2*}: Add GeoIP2 third party
133 module to nginx-full and nginx-extras (and use proper DEP5 syntax for
134 d/copyright).
135 - d/control, d/rules: Drop GeoIP from nginx-core due to demotion of
136 libgeoip.
137
138 -- Thomas Ward <teward@ubuntu.com> Tue, 14 Apr 2020 12:53:34 -0400
139
140nginx (1.17.9-0ubuntu3) focal; urgency=medium
141
142 * d/conf/sites-available/default: Update PHP path for PHP 7.4.
143
144 -- Thomas Ward <teward@ubuntu.com> Thu, 26 Mar 2020 10:53:52 -0400
145
146nginx (1.17.9-0ubuntu2) focal; urgency=medium
147
148 * Drop GeoIP from nginx-core due to demotion of libgeoip (LP: #1861101,
149 LP: #1867150):
150 - d/control: Remove libnginx-mod-http-geoip from nginx-core dependency
151 - d/rules: Remove the configure line of with-http_geoip_module=dynamic
152 from the nginx-core build flags, due to demotion of libgeoip and the
153 removal of the dynamic library from install deps for nginx-core.
154
155 -- Thomas Ward <teward@ubuntu.com> Wed, 11 Mar 2020 13:41:07 -0400
156
157nginx (1.17.9-0ubuntu1) focal; urgency=medium
158
159 * New upstream release (1.17.9) - full changelog available from
160 http://nginx.org/en/CHANGES
161 * Remaining Ubuntu-specific changes:
162 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
163 - d/{control,rules,nginx-core.*}: add new binary package for main,
164 nginx-core, which contains only source-tarball-included modules
165 and no third-party modules.
166 - debian/tests/control: add nginx-core test.
167 - debian/apport/source_nginx.py: Add apport hooks for additional bug
168 information gathering.
169 - debian/nginx-common.install: Add install rule for apport hooks.
170 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
171 port 80 is in use or not to determine whether or not to attempt
172 starting of the NGINX service during install/upgrade
173 - d/control: Add dependencies to nginx-{core,light,full,extras} on
174 `iproute2` as the postinst scripts now use `ss` to determine if
175 Port 80 is open or not.
176 - d/rules: Enable --with-compat build option for all nginx package
177 flavors
178 - d/{control,rules,copyright,modules/http-geoip2*}: Add GeoIP2 third party
179 module to nginx-full and nginx-extras (and use proper DEP5 syntax for
180 d/copyright).
181
182 -- Thomas Ward <teward@ubuntu.com> Tue, 03 Mar 2020 11:05:45 -0500
183
184nginx (1.17.8-0ubuntu3) focal; urgency=medium
185
186 * d/conf/sites-available/default: Indentation consistency.
187 Fix an indentation issue introduced by 1.17.8-0ubuntu2 to make sure that
188 indentation in the default config file is consistent.
189
190 -- Thomas Ward <teward@ubuntu.com> Wed, 26 Feb 2020 10:35:13 -0500
191
192nginx (1.17.8-0ubuntu2) focal; urgency=medium
193
194 * d/conf/sites-available/default: Revert changes done in #1743592.
195 Reverts this change:
196 - d/conf/sites-available/default: Update default nginx site
197 configuration file to remove the IPv6 listening line so that servers
198 running without IPv6 enabled at all on the system will start nginx
199 properly.
200
201 -- Thomas Ward <teward@ubuntu.com> Thu, 20 Feb 2020 13:52:32 -0500
202
203nginx (1.17.8-0ubuntu1) focal; urgency=medium
204
205 * New upstream release (1.17.8) - full changelog available from
206 http://nginx.org/en/CHANGES
207 * Remaining Ubuntu-specific changes:
208 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
209 - d/{control,rules,nginx-core.*}: add new binary package for main,
210 nginx-core, which contains only source-tarball-included modules
211 and no third-party modules.
212 - debian/tests/control: add nginx-core test.
213 - debian/apport/source_nginx.py: Add apport hooks for additional bug
214 information gathering.
215 - debian/nginx-common.install: Add install rule for apport hooks.
216 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
217 port 80 is in use or not to determine whether or not to attempt
218 starting of the NGINX service during install/upgrade
219 - d/control: Add dependencies to nginx-{core,light,full,extras} on
220 `iproute2` as the postinst scripts now use `ss` to determine if
221 Port 80 is open or not.
222 - d/rules: Enable --with-compat build option for all nginx package
223 flavors
224 - d/{control,rules,copyright,modules/http-geoip2*}: Add GeoIP2 third party
225 module to nginx-full and nginx-extras (and use proper DEP5 syntax for
226 d/copyright).
227 - d/conf/sites-available/default: Update default nginx site configuration
228 file to remove the IPv6 listening line so that servers running without
229 IPv6 enabled at all on the system will start nginx properly.
230 (LP: #1743592)
231
232 -- Thomas Ward <teward@ubuntu.com> Tue, 18 Feb 2020 19:01:02 -0500
233
234nginx (1.17.7-0ubuntu1) focal; urgency=medium
235
236 * New upstream release (1.17.7) - full changelog available from
237 http://nginx.org/en/CHANGES
238 * Remaining Ubuntu-specific changes:
239 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
240 - d/{control,rules,nginx-core.*}: add new binary package for main,
241 nginx-core, which contains only source-tarball-included modules
242 and no third-party modules.
243 - debian/tests/control: add nginx-core test.
244 - debian/apport/source_nginx.py: Add apport hooks for additional bug
245 information gathering.
246 - debian/nginx-common.install: Add install rule for apport hooks.
247 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
248 port 80 is in use or not to determine whether or not to attempt
249 starting of the NGINX service during install/upgrade
250 - d/control: Add dependencies to nginx-{core,light,full,extras} on
251 `iproute2` as the postinst scripts now use `ss` to determine if
252 Port 80 is open or not.
253 - d/rules: Enable --with-compat build option for all nginx package
254 flavors
255 - d/{control,rules,copyright,modules/http-geoip2*}: Add GeoIP2 third party
256 module to nginx-full and nginx-extras (and use proper DEP5 syntax for
257 d/copyright).
258 - d/conf/sites-available/default: Update default nginx site configuration
259 file to remove the IPv6 listening line so that servers running without
260 IPv6 enabled at all on the system will start nginx properly.
261 (LP: #1743592)
262
263
264 -- Thomas Ward <teward@ubuntu.com> Mon, 30 Dec 2019 13:02:58 -0500
265
266nginx (1.17.6-0ubuntu1) focal; urgency=medium
267
268 * New upstream release (1.17.6) - full changelog available from
269 http://nginx.org/en/CHANGES
270 * Remaining Ubuntu-specific changes:
271 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
272 - d/{control,rules,nginx-core.*}: add new binary package for main,
273 nginx-core, which contains only source-tarball-included modules
274 and no third-party modules.
275 - debian/tests/control: add nginx-core test.
276 - debian/apport/source_nginx.py: Add apport hooks for additional bug
277 information gathering.
278 - debian/nginx-common.install: Add install rule for apport hooks.
279 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
280 port 80 is in use or not to determine whether or not to attempt
281 starting of the NGINX service during install/upgrade
282 - d/control: Add dependencies to nginx-{core,light,full,extras} on
283 `iproute2` as the postinst scripts now use `ss` to determine if
284 Port 80 is open or not.
285 - d/rules: Enable --with-compat build option for all nginx package
286 flavors
287 - d/{control,rules,copyright,modules/http-geoip2*}: Add GeoIP2 third party
288 module to nginx-full and nginx-extras (and use proper DEP5 syntax for
289 d/copyright).
290 - d/conf/sites-available/default: Update default nginx site configuration
291 file to remove the IPv6 listening line so that servers running without
292 IPv6 enabled at all on the system will start nginx properly.
293 (LP: #1743592)
294
295
296 -- Thomas Ward <teward@ubuntu.com> Tue, 19 Nov 2019 10:34:14 -0500
297
298nginx (1.17.5-0ubuntu1) focal; urgency=medium
299
300 * New upstream release (1.17.5) - full changelog available from
301 http://nginx.org/en/CHANGES
302 * Remaining Ubuntu-specific changes:
303 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
304 - d/{control,rules,nginx-core.*}: add new binary package for main,
305 nginx-core, which contains only source-tarball-included modules
306 and no third-party modules.
307 - debian/tests/control: add nginx-core test.
308 - debian/apport/source_nginx.py: Add apport hooks for additional bug
309 information gathering.
310 - debian/nginx-common.install: Add install rule for apport hooks.
311 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
312 port 80 is in use or not to determine whether or not to attempt
313 starting of the NGINX service during install/upgrade
314 - d/control: Add dependencies to nginx-{core,light,full,extras} on
315 `iproute2` as the postinst scripts now use `ss` to determine if
316 Port 80 is open or not.
317 - d/rules: Enable --with-compat build option for all nginx package
318 flavors
319 - d/{control,rules,copyright,modules/http-geoip2*}: Add GeoIP2 third party
320 module to nginx-full and nginx-extras (and use proper DEP5 syntax for
321 d/copyright).
322 * New Ubuntu-specific changes:
323 - d/conf/sites-available/default: Update default nginx site configuration
324 file to remove the IPv6 listening line so that servers running without
325 IPv6 enabled at all on the system will start nginx properly.
326 (LP: #1743592)
327
328 -- Thomas Ward <teward@ubuntu.com> Fri, 01 Nov 2019 11:55:10 -0400
329
58nginx (1.16.1-3) unstable; urgency=high330nginx (1.16.1-3) unstable; urgency=high
59331
60 * Handle CVE-2019-20372, error page request smuggling332 * Handle CVE-2019-20372, error page request smuggling
@@ -79,6 +351,294 @@ nginx (1.16.1-1) unstable; urgency=medium
79351
80 -- Christos Trochalakis <ctrochalakis@debian.org> Mon, 09 Sep 2019 18:24:43 +0300352 -- Christos Trochalakis <ctrochalakis@debian.org> Mon, 09 Sep 2019 18:24:43 +0300
81353
354nginx (1.16.1-0ubuntu3) focal; urgency=medium
355
356 * No-change rebuild for the perl update.
357
358 -- Matthias Klose <doko@ubuntu.com> Fri, 18 Oct 2019 19:37:10 +0000
359
360nginx (1.16.1-0ubuntu2) eoan; urgency=medium
361
362 * d/conf/sites-available/default: Update PHP referred to in the
363 example in the default configuration to PHP 7.2.
364 (LP: #1831748)
365
366 -- Thomas Ward <teward@ubuntu.com> Thu, 15 Aug 2019 12:01:39 -0400
367
368nginx (1.16.1-0ubuntu1) eoan; urgency=medium
369
370 * New upstream release (1.16.1) - full changelog available from
371 http://nginx.org/en/CHANGES-1.16
372 * This patch contains security patches only.
373 * Security content in this version:
374 - When using HTTP/2 a client might cause excessive memory consumption
375 and CPU usage (CVE-2019-9511. CVE-2019-9513, CVE-2019-9516)
376
377 -- Thomas Ward <teward@ubuntu.com> Tue, 13 Aug 2019 13:08:03 -0400
378
379nginx (1.16.0-0ubuntu2) eoan; urgency=medium
380
381 * d/patches/nginx-fix-pidfile.patch: Fix NGINX PIDfile handling to avoid
382 SystemD race condition - thanks to Tj for the patch. (LP: #1581864)
383
384 -- Thomas Ward <teward@ubuntu.com> Tue, 04 Jun 2019 11:43:30 -0400
385
386nginx (1.16.0-0ubuntu1) eoan; urgency=medium
387
388 * New upstream release (1.16.0) - full changelog available from
389 http://nginx.org/en/CHANGES
390 * Remaining Ubuntu-specific changes:
391 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
392 - d/{control,rules,nginx-core.*}: add new binary package for main,
393 nginx-core, which contains only source-tarball-included modules
394 and no third-party modules.
395 - debian/tests/control: add nginx-core test.
396 - debian/apport/source_nginx.py: Add apport hooks for additional bug
397 information gathering.
398 - debian/nginx-common.install: Add install rule for apport hooks.
399 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
400 port 80 is in use or not to determine whether or not to attempt
401 starting of the NGINX service during install/upgrade
402 - d/control: Add dependencies to nginx-{core,light,full,extras} on
403 `iproute2` as the postinst scripts now use `ss` to determine if
404 Port 80 is open or not.
405 - d/rules: Enable --with-compat build option for all nginx package
406 flavors
407 - d/{control,rules,copyright,modules/http-geoip2*}: Add GeoIP2 third party
408 module to nginx-full and nginx-extras
409
410 -- Thomas Ward <teward@ubuntu.com> Mon, 29 Apr 2019 12:31:39 -0400
411
412nginx (1.15.12-0ubuntu1) eoan; urgency=medium
413
414 * New upstream release (1.15.12) - full changelog available from
415 http://nginx.org/en/CHANGES
416 * Remaining Ubuntu-specific changes:
417 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
418 - d/{control,rules,nginx-core.*}: add new binary package for main,
419 nginx-core, which contains only source-tarball-included modules
420 and no third-party modules.
421 - debian/tests/control: add nginx-core test.
422 - debian/apport/source_nginx.py: Add apport hooks for additional bug
423 information gathering.
424 - debian/nginx-common.install: Add install rule for apport hooks.
425 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
426 port 80 is in use or not to determine whether or not to attempt
427 starting of the NGINX service during install/upgrade
428 - d/control: Add dependencies to nginx-{core,light,full,extras} on
429 `iproute2` as the postinst scripts now use `ss` to determine if
430 Port 80 is open or not.
431 - d/rules: Enable --with-compat build option for all nginx package
432 flavors
433 * Add GeoIP2 third party module to nginx-full and nginx-extras
434 (LP: #1825895). The following is the files list for this:
435 - d/{control,rules}: Add libnginx-mod-http-geoip2 and corresponding build
436 rules.
437 - d/modules/http-geoip2{,/*}: Add geoip2 module from third party git.
438 - d/copyright: Add relevant copyright lines for GeoIP2 module.
439
440 -- Thomas Ward <teward@ubuntu.com> Mon, 22 Apr 2019 17:59:46 -0400
441
442nginx (1.15.8-0ubuntu1) disco; urgency=medium
443
444 * New upstream release (1.15.8) - full changelog available from
445 http://nginx.org/en/CHANGES
446 * Remaining Ubuntu-specific changes:
447 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
448 - d/{control,rules,nginx-core.*}: add new binary package for main,
449 nginx-core, which contains only source-tarball-included modules
450 and no third-party modules.
451 - debian/tests/control: add nginx-core test.
452 - debian/apport/source_nginx.py: Add apport hooks for additional bug
453 information gathering.
454 - debian/nginx-common.install: Add install rule for apport hooks.
455 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
456 port 80 is in use or not to determine whether or not to attempt
457 starting of the NGINX service during install/upgrade
458 - d/control: Add dependencies to nginx-{core,light,full,extras} on
459 `iproute2` as the postinst scripts now use `ss` to determine if
460 Port 80 is open or not.
461 - d/rules: Enable --with-compat build option for all nginx package
462 flavors
463
464 -- Thomas Ward <teward@ubuntu.com> Fri, 01 Feb 2019 20:21:45 -0500
465
466nginx (1.15.7-0ubuntu1) disco; urgency=medium
467
468 * New upstream release (1.15.7) - full changelog available from
469 http://nginx.org/en/CHANGES
470 * Remaining Ubuntu-specific changes:
471 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
472 - d/{control,rules,nginx-core.*}: add new binary package for main,
473 nginx-core, which contains only source-tarball-included modules
474 and no third-party modules.
475 - debian/tests/control: add nginx-core test.
476 - debian/apport/source_nginx.py: Add apport hooks for additional bug
477 information gathering.
478 - debian/nginx-common.install: Add install rule for apport hooks.
479 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
480 port 80 is in use or not to determine whether or not to attempt
481 starting of the NGINX service during install/upgrade
482 - d/control: Add dependencies to nginx-{core,light,full,extras} on
483 `iproute2` as the postinst scripts now use `ss` to determine if
484 Port 80 is open or not.
485 - d/rules: Enable --with-compat build option for all nginx package
486 flavors (LP: #1797897)
487
488 -- Thomas Ward <teward@ubuntu.com> Tue, 27 Nov 2018 10:28:55 -0500
489
490nginx (1.15.6-0ubuntu2) disco; urgency=medium
491
492 * Apply a Debian packaging change to Ubuntu package for config parity:
493 * d/conf/snippets/fastcgi-php.conf: Adjust fastcgi_split_path_info
494 snippet to handle the /example.php/ case. (Debian bug 911398)
495
496 -- Thomas Ward <teward@ubuntu.com> Fri, 23 Nov 2018 10:56:21 -0500
497
498nginx (1.15.6-0ubuntu1) disco; urgency=medium
499
500 * New upstream release (1.15.6) - full changelog available from
501 http://nginx.org/en/CHANGES
502 * Remaining Ubuntu-specific changes:
503 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
504 - d/{control,rules,nginx-core.*}: add new binary package for main,
505 nginx-core, which contains only source-tarball-included modules
506 and no third-party modules.
507 - debian/tests/control: add nginx-core test.
508 - debian/apport/source_nginx.py: Add apport hooks for additional bug
509 information gathering.
510 - debian/nginx-common.install: Add install rule for apport hooks.
511 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
512 port 80 is in use or not to determine whether or not to attempt
513 starting of the NGINX service during install/upgrade
514 - d/control: Add dependencies to nginx-{core,light,full,extras} on
515 `iproute2` as the postinst scripts now use `ss` to determine if
516 Port 80 is open or not.
517 - d/rules: Enable --with-compat build option for all nginx package
518 flavors (LP: #1797897)
519
520 -- Thomas Ward <teward@ubuntu.com> Tue, 13 Nov 2018 10:10:45 -0500
521
522nginx (1.15.5-0ubuntu4) disco; urgency=medium
523
524 * No-change rebuild against libhiredis0.14
525
526 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 12 Nov 2018 08:47:44 +0000
527
528nginx (1.15.5-0ubuntu3) disco; urgency=medium
529
530 * No-change rebuild for the perl 5.28 transition.
531
532 -- Adam Conrad <adconrad@ubuntu.com> Fri, 02 Nov 2018 19:02:18 -0600
533
534nginx (1.15.5-0ubuntu2) cosmic; urgency=medium
535
536 * d/conf/nginx.conf: Enable TLSv1.3 by default by adding TLSv1.3 to
537 the ssl_protocols line. (SRU, LP: #1800214)
538
539 -- Thomas Ward <teward@ubuntu.com> Fri, 26 Oct 2018 15:25:59 -0400
540
541nginx (1.15.5-0ubuntu1) cosmic; urgency=medium
542
543 * This is a bugfixes-only upstream micro release, and thus is a bugfixes-
544 only version change. (LP: #1795690)
545 * New upstream release (1.15.5) - full changelog available from
546 http://nginx.org/en/CHANGES
547 * Remaining Ubuntu-specific changes:
548 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
549 - d/{control,rules,nginx-core.*}: add new binary package for main,
550 nginx-core, which contains only source-tarball-included modules
551 and no third-party modules.
552 - debian/tests/control: add nginx-core test.
553 - debian/apport/source_nginx.py: Add apport hooks for additional bug
554 information gathering.
555 - debian/nginx-common.install: Add install rule for apport hooks.
556 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
557 port 80 is in use or not to determine whether or not to attempt
558 starting of the NGINX service during install/upgrade
559 - d/control: Add dependencies to nginx-{core,light,full,extras} on
560 `iproute2` as the postinst scripts now use `ss` to determine if
561 Port 80 is open or not.
562
563 -- Thomas Ward <teward@ubuntu.com> Tue, 02 Oct 2018 11:31:05 -0400
564
565nginx (1.15.4-0ubuntu1) cosmic; urgency=medium
566
567 * New upstream release (1.15.4) - full changelog available from
568 http://nginx.org/en/CHANGES (LP: #1794321)
569 * Remaining Ubuntu-specific changes:
570 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
571 - d/{control,rules,nginx-core.*}: add new binary package for main,
572 nginx-core, which contains only source-tarball-included modules
573 and no third-party modules.
574 - debian/tests/control: add nginx-core test.
575 - debian/apport/source_nginx.py: Add apport hooks for additional bug
576 information gathering.
577 - debian/nginx-common.install: Add install rule for apport hooks.
578 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
579 port 80 is in use or not to determine whether or not to attempt
580 starting of the NGINX service during install/upgrade
581 - d/control: Add dependencies to nginx-{core,light,full,extras} on
582 `iproute2` as the postinst scripts now use `ss` to determine if
583 Port 80 is open or not.
584
585 -- Thomas Ward <teward@ubuntu.com> Tue, 25 Sep 2018 11:59:46 -0400
586
587nginx (1.15.3-0ubuntu1) cosmic; urgency=medium
588
589 * New upstream release (1.15.3) - full changelog available from
590 http://nginx.org/en/CHANGES (LP: #1790149)
591 * Remaining Ubuntu-specific changes:
592 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
593 - d/{control,rules,nginx-core.*}: add new binary package for main,
594 nginx-core, which contains only source-tarball-included modules
595 and no third-party modules.
596 - debian/tests/control: add nginx-core test.
597 - debian/apport/source_nginx.py: Add apport hooks for additional bug
598 information gathering.
599 - debian/nginx-common.install: Add install rule for apport hooks.
600 - d/nginx-{core,light,full,extras}.postinst: Add checks for whether
601 port 80 is in use or not to determine whether or not to attempt
602 starting of the NGINX service during install/upgrade
603 - d/control: Add dependencies to nginx-{core,light,full,extras} on
604 `iproute2` as the postinst scripts now use `ss` to determine if
605 Port 80 is open or not.
606
607 -- Thomas Ward <teward@ubuntu.com> Fri, 31 Aug 2018 09:52:34 -0400
608
609nginx (1.15.2-0ubuntu2) cosmic; urgency=medium
610
611 * d/control: Add `iproute2` dependencies for the binary
612 nginx-{core,light,full,extras} packages, they got missed in the
613 application of the diff in 1.15.2-0ubuntu1. (LP: #1782226)
614
615 -- Thomas Ward <teward@ubuntu.com> Tue, 21 Aug 2018 12:07:59 -0400
616
617nginx (1.15.2-0ubuntu1) cosmic; urgency=medium
618
619 * Switch to track NGINX Mainline for 18.10 (and 19.04) releases after
620 discussion with Server team members. Mainline version is 1.15.2
621 * Upstream changelogs for 1.15.2 are available at
622 http://nginx.org/en/CHANGES
623 * Remaining Ubuntu-specific changes:
624 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
625 - d/{control,rules,nginx-core.*}: add new binary package for main,
626 nginx-core, which contains only source-tarball-included modules
627 and no third-party modules.
628 - debian/tests/control: add nginx-core test.
629 - debian/apport/source_nginx.py: Add apport hooks for additional bug
630 information gathering.
631 - debian/nginx-common.install: Add install rule for apport hooks.
632 * Additional Ubuntu only changes (LP: #1782226):
633 - d/nginx{core,light,full,extras}.postinst: Add checks for whether
634 port 80 is in use or not to determine whether or not to attempt
635 starting of the NGINX service during install/upgrade.
636 - d/control: Add dependencies to nginx-{core,light,full,extras} on
637 `iproute2` as the postinst scripts now use `ss` to determine if
638 Port 80 is open or not.
639
640 -- Thomas Ward <teward@ubuntu.com> Sun, 19 Aug 2018 12:16:48 -0400
641
82nginx (1.14.2-3) unstable; urgency=high642nginx (1.14.2-3) unstable; urgency=high
83643
84 * Backport upstream fixes for 3 CVEs (Closes: #935037)644 * Backport upstream fixes for 3 CVEs (Closes: #935037)
@@ -145,18 +705,85 @@ nginx (1.14.0-1) unstable; urgency=medium
145705
146 -- Christos Trochalakis <ctrochalakis@debian.org> Fri, 31 Aug 2018 15:28:04 +0300706 -- Christos Trochalakis <ctrochalakis@debian.org> Fri, 31 Aug 2018 15:28:04 +0300
147707
708nginx (1.14.0-0ubuntu2) cosmic; urgency=medium
709
710 * debian/nginx-core.postinst: Make nginx-*.postinst use invoke-rc.d.
711 (LP: #1578344)
712
713 -- Thomas Ward <teward@ubuntu.com> Tue, 15 May 2018 11:14:02 -0400
714
715nginx (1.14.0-0ubuntu1) bionic; urgency=medium
716
717 * New upstream stable release (1.14.0)
718 * Upstream changelogs can be found at http://nginx.org/en/CHANGES-1.14
719 * There are no functional changes or new features in this release,
720 and the only change is a version number change.
721 * Remaining Ubuntu-specific changes:
722 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
723 - d/{control,rules,nginx-core.*}: add new binary package for main,
724 nginx-core, which contains only source-tarball-included modules
725 and no third-party modules.
726 - debian/tests/control: add nginx-core test.
727 - debian/apport/source_nginx.py: Add apport hooks for additional bug
728 information gathering.
729 - debian/nginx-common.install: Add install rule for apport hooks.
730
731 -- Thomas Ward <teward@ubuntu.com> Tue, 17 Apr 2018 12:17:58 -0400
732
148nginx (1.13.12-1) unstable; urgency=medium733nginx (1.13.12-1) unstable; urgency=medium
149734
150 * New upstream version735 * New upstream version
151736
152 -- Christos Trochalakis <ctrochalakis@debian.org> Wed, 11 Apr 2018 08:19:23 +0300737 -- Christos Trochalakis <ctrochalakis@debian.org> Wed, 11 Apr 2018 08:19:23 +0300
153738
739nginx (1.13.12-0ubuntu1) bionic; urgency=medium
740
741 * New upstream releases (1.13.11, 1.13.12)
742 * Upstream changelogs can be found at https://nginx.org/en/CHANGES
743 * Remaining Ubuntu-specific changes:
744 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
745 - d/{control,rules,nginx-core.*}: add new binary package for main,
746 nginx-core, which contains only source-tarball-included modules
747 and no third-party modules.
748 - debian/tests/control: add nginx-core test.
749 - debian/apport/source_nginx.py: Add apport hooks for additional bug
750 information gathering.
751 - debian/nginx-common.install: Add install rule for apport hooks.
752
753 -- Thomas Ward <teward@ubuntu.com> Mon, 16 Apr 2018 11:43:01 -0400
754
154nginx (1.13.11-1) unstable; urgency=medium755nginx (1.13.11-1) unstable; urgency=medium
155756
156 * New upstream version757 * New upstream version
157758
158 -- Christos Trochalakis <ctrochalakis@debian.org> Tue, 10 Apr 2018 14:55:11 +0300759 -- Christos Trochalakis <ctrochalakis@debian.org> Tue, 10 Apr 2018 14:55:11 +0300
159760
761nginx (1.13.10-1ubuntu1) bionic; urgency=medium
762
763 * Merge with Debian unstable. Remaining changes:
764 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
765 - d/{control,rules,nginx-core.*}: add new binary package for main,
766 nginx-core, which contains only source-tarball-included modules
767 and no third-party modules.
768 - debian/tests/control: add nginx-core test.
769 - debian/apport/source_nginx.py: Add apport hooks for additional bug
770 information gathering.
771 - debian/nginx-common.install: Add install rule for apport hooks.
772 * Drop:
773 - debian/patches/0002-Make-sure-signature-stays-the-same-in-
774 all-nginx-buil.patch: Refreshed patch - Merge-o-Matic introduced some
775 fuzz which caused issues.
776 [ Does not seem necessary ]
777 - d/control: drop mention of SSL Preread from nginx-full, nginx-extras
778 [ Previously undocumented ]
779 - d/gbp.conf: update for 1.12 release
780 [ Previously undocumented ]
781 - d/p/0003-define_gnu_source-on-other-glibc-based-platforms.patch:
782 Refresh patch.
783 [ Previously undocumented ]
784
785 -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Thu, 05 Apr 2018 15:43:49 -0700
786
160nginx (1.13.10-1) unstable; urgency=medium787nginx (1.13.10-1) unstable; urgency=medium
161788
162 * New upstream version789 * New upstream version
@@ -202,6 +829,32 @@ nginx (1.13.7-1) unstable; urgency=medium
202829
203 -- Christos Trochalakis <ctrochalakis@debian.org> Thu, 14 Dec 2017 11:04:36 +0200830 -- Christos Trochalakis <ctrochalakis@debian.org> Thu, 14 Dec 2017 11:04:36 +0200
204831
832nginx (1.13.6-2ubuntu2) bionic; urgency=high
833
834 * No change rebuild against openssl1.1.
835
836 -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 05 Feb 2018 16:51:17 +0000
837
838nginx (1.13.6-2ubuntu1) bionic; urgency=low
839
840 * Merge from Debian unstable. Remaining changes:
841 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
842 - d/{control,rules,nginx-core.*}: add new binary package for main,
843 nginx-core, which contains only source-tarball-included modules
844 and no third-party modules.
845 - debian/tests/control: add nginx-core test.
846 - debian/apport/source_nginx.py: Add apport hooks for additional bug
847 information gathering.
848 - debian/nginx-common.install: Add install rule for apport hooks.
849 - debian/rules: Alter build flags for cflags and ldflags to fix known
850 fPIE / fPIC compilation issues (see nginx PPA bug for more details
851 and information, LP: #1657596)
852 - debian/patches/0002-Make-sure-signature-stays-the-same-in-
853 all-nginx-buil.patch: Refreshed patch - Merge-o-Matic introduced some
854 fuzz which caused issues.
855
856 -- Thomas Ward <teward@ubuntu.com> Tue, 12 Dec 2017 12:15:30 -0500
857
205nginx (1.13.6-2) unstable; urgency=medium858nginx (1.13.6-2) unstable; urgency=medium
206859
207 * rtmp: Ship docs & examples (Closes: #878368)860 * rtmp: Ship docs & examples (Closes: #878368)
@@ -289,6 +942,37 @@ nginx (1.13.0-1) experimental; urgency=medium
289942
290 -- Christos Trochalakis <ctrochalakis@debian.org> Wed, 10 May 2017 11:40:38 +0300943 -- Christos Trochalakis <ctrochalakis@debian.org> Wed, 10 May 2017 11:40:38 +0300
291944
945nginx (1.12.1-0ubuntu2) artful; urgency=medium
946
947 * No-change rebuild for perl 5.26.0.
948
949 -- Matthias Klose <doko@ubuntu.com> Wed, 26 Jul 2017 20:11:43 +0000
950
951nginx (1.12.1-0ubuntu1) artful; urgency=medium
952
953 * New upstream release (1.12.1) - full changelog available at upstream
954 website - http://nginx.org/en/CHANGES-1.12
955 * This release is a security patch micro-release from Upstream.
956 * This package contains security content to fix the following CVEs:
957 * CVE-2017-7529: A security issue was identified in nginx range filter.
958 A specially crafted request might result in an integer overflow and
959 incorrect processing of ranges, potentially resulting in sensitive
960 information leak. (Closes LP: #1704151)
961 * Additional changes:
962 * d/patches/ubuntu-branding.patch: Refreshed Ubuntu Branding patch.
963
964 -- Thomas Ward <teward@ubuntu.com> Sat, 15 Jul 2017 12:40:15 -0400
965
966nginx (1.12.0-1ubuntu1) artful; urgency=medium
967
968 * Merge from Debian Experimental (1.12.0-1, via snapshots.debian.org)
969 * All Ubuntu-specific changes from Ubuntu 1.12.0-0ubuntu1 were retained.
970 * Remaining changes:
971 * d/tests/control: Specify nginx-core flavor tests.
972 * This merge closes the merge request on Launchpad. (LP: #1704020)
973
974 -- Thomas Ward <teward@ubuntu.com> Wed, 12 Jul 2017 19:53:24 -0400
975
292nginx (1.12.0-1) experimental; urgency=medium976nginx (1.12.0-1) experimental; urgency=medium
293977
294 [ Michael Lustfield ]978 [ Michael Lustfield ]
@@ -309,6 +993,90 @@ nginx (1.12.0-1) experimental; urgency=medium
309993
310 -- Christos Trochalakis <ctrochalakis@debian.org> Fri, 05 May 2017 11:16:30 +0300994 -- Christos Trochalakis <ctrochalakis@debian.org> Fri, 05 May 2017 11:16:30 +0300
311995
996nginx (1.12.0-0ubuntu1) artful; urgency=medium
997
998 * New upstream release: 1.12.0 Stable branch.
999 * All remaining Ubuntu-specific and Debian-specific changes remain
1000 in place with this upload, the upstream version and code are the
1001 only bits that have been updated, except where indicated below.
1002 * Remaining changes:
1003 - d/modules/nginx-upload-progress/config: Apply upstream patch to
1004 fix an issue where the module does not properly function due to
1005 the wrong module type being set; this prevented the module from
1006 working when built. (LP: #1673056)
1007 - d/patches: The following patches were dropped from the package
1008 because the changes from the patches are already incorporated
1009 in 1.12.0:
1010 - 0004-SSL-error-messages-style.patch
1011 - 0005-SSL-style.patch
1012 - 0006-SSL-support-for-multiple-curves-ticket-885.patch
1013 - d/patches/perl-use-dpkg-buildflags.patch: Refreshed patch to
1014 remove fuzz from the patch.
1015 - d/modules/nginx-echo: Apply upstream diff/patch to fix an FTBFS
1016 - d/modules/nginx-lua: Apply upstream diff/patch to fix an FTBFS
1017 - d/modules/nginx-upstream-fair: Apply diff/patch from the Debian
1018 package maintainers' git repository to not use default_port to
1019 fix an FTBFS. (This will eventually be in Debian, and will get
1020 merged in then as well).
1021
1022 -- Thomas Ward <teward@ubuntu.com> Wed, 26 Apr 2017 12:02:33 -0400
1023
1024nginx (1.12.0-1) UNRELEASED; urgency=medium
1025
1026 [ Michael Lustfield ]
1027 * debian/rules:
1028 - Configure build flags to work with other arches and downstreams.
1029 Thanks to Thomas Ward.
1030
1031 [ Christos Trochalakis ]
1032 * New upstream release.
1033 * Patch nginx-upstream-fair to build against nginx 1.11.6.
1034 * Patch nginx-lua to build against nginx 1.11.11.
1035 * Patch nginx-echo to build against nginx 1.11.11.
1036 * Drop curve list patch, it's included upstream.
1037 * Drop perl build flags patch, it is now handled upstream.
1038 * Enable SSL Preread builtin module on nginx-full & nginx-extras.
1039 (Closes: #854214)
1040 * Switch to debhelper 10, no changes needed.
1041
1042 -- Christos Trochalakis <ctrochalakis@debian.org> Fri, 28 Apr 2017 11:14:41 +0300
1043
1044nginx (1.10.3-1ubuntu3) zesty; urgency=medium
1045
1046 * debian/tests/control: Remove the 'ec-x25519' test stanzas from the
1047 declarations of tests to run. This test requires OpenSSL >= 1.1.0
1048 to support the X25519 ECDH curve, and we do not have OpenSSL 1.1.0.
1049 This delta can be ***dropped*** when we do have OpenSSL >= 1.1.0.
1050 - This fixes the autopkgtests, of which the Debian merge introduced
1051 a regression due to the ec-x25519 test.
1052
1053 -- Thomas Ward <teward@ubuntu.com> Mon, 27 Feb 2017 19:51:57 -0500
1054
1055nginx (1.10.3-1ubuntu2) zesty; urgency=low
1056
1057 * debian/*.save: Junk .save left in the packaging, remove these.
1058
1059 -- Thomas Ward <teward@ubuntu.com> Thu, 16 Feb 2017 15:39:51 -0500
1060
1061nginx (1.10.3-1ubuntu1) zesty; urgency=medium
1062
1063 * Merge from Debian unstable (note: 1.10.3 already was merged, but 1.10.3
1064 packaging changes in Debian were not). Remaining changes are as
1065 follows: (LP: #1664652)
1066 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
1067 - d/{control,rules,nginx-core.*}: add new binary package for main,
1068 nginx-core, which contains only source-tarball-included modules
1069 and no third-party modules.
1070 - debian/tests/control: add nginx-core test.
1071 - debian/apport/source_nginx.py: Add apport hooks for additional bug
1072 information gathering.
1073 - debian/nginx-common.install: Add install rule for apport hooks.
1074 - debian/rules: Alter build flags for cflags and ldflags to fix known
1075 fPIE / fPIC compilation issues (see nginx PPA bug for more details
1076 and information, LP: #1657596)
1077
1078 -- Thomas Ward <teward@ubuntu.com> Thu, 16 Feb 2017 15:29:40 -0500
1079
312nginx (1.10.3-1) unstable; urgency=medium1080nginx (1.10.3-1) unstable; urgency=medium
3131081
314 * New upstream release. (Closes: #855113)1082 * New upstream release. (Closes: #855113)
@@ -317,6 +1085,24 @@ nginx (1.10.3-1) unstable; urgency=medium
3171085
318 -- Christos Trochalakis <ctrochalakis@debian.org> Wed, 15 Feb 2017 09:58:13 +02001086 -- Christos Trochalakis <ctrochalakis@debian.org> Wed, 15 Feb 2017 09:58:13 +0200
3191087
1088nginx (1.10.3-0ubuntu2) zesty; urgency=low
1089
1090 * Merge from Debian unstable (nginx version there is 1.10.2-4). Remaining
1091 changes: (LP: #1664652)
1092 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
1093 - d/{control,rules,nginx-core.*}: add new binary package for main,
1094 nginx-core, which contains only source-tarball-included modules
1095 and no third-party modules.
1096 - debian/tests/control: add nginx-core test.
1097 - debian/apport/source_nginx.py: Add apport hooks for additional bug
1098 information gathering.
1099 - debian/nginx-common.install: Add install rule for apport hooks.
1100 - debian/rules: Alter build flags for cflags and ldflags to fix known
1101 fPIE / fPIC compilation issues (see nginx PPA bug for more details
1102 and information, LP: #1657596)
1103
1104 -- Thomas Ward <teward@ubuntu.com> Tue, 14 Feb 2017 17:47:00 -0500
1105
320nginx (1.10.2-4) unstable; urgency=medium1106nginx (1.10.2-4) unstable; urgency=medium
3211107
322 * Switch module reloading logic to dpkg triggers.1108 * Switch module reloading logic to dpkg triggers.
@@ -389,6 +1175,18 @@ nginx (1.10.2-1) unstable; urgency=high
3891175
390 -- Christos Trochalakis <yatiohi@ideopolis.gr> Sat, 29 Oct 2016 08:45:09 +03001176 -- Christos Trochalakis <yatiohi@ideopolis.gr> Sat, 29 Oct 2016 08:45:09 +0300
3911177
1178nginx (1.10.2-0ubuntu1) zesty; urgency=medium
1179
1180 * New upstream release (1.10.2) - full changelog available at upstream
1181 website - http://nginx.org/en/CHANGES-1.10 - upstream release date
1182 was 18 Oct 2016
1183 * All other changes from 1.10.1-0ubuntu1 through 1.10.1-0ubuntu5 remain
1184 included
1185 * debian/patches/ubuntu-branding.patch:
1186 - Refreshed Ubuntu Branding patch.
1187
1188 -- Thomas Ward <teward@ubuntu.com> Thu, 15 Dec 2016 11:23:43 -0500
1189
392nginx (1.10.1-3) unstable; urgency=medium1190nginx (1.10.1-3) unstable; urgency=medium
3931191
394 * debian/control:1192 * debian/control:
@@ -450,6 +1248,58 @@ nginx (1.10.1-1) unstable; urgency=medium
4501248
451 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 31 May 2016 22:01:25 +03001249 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 31 May 2016 22:01:25 +0300
4521250
1251nginx (1.10.1-0ubuntu5) zesty; urgency=medium
1252
1253 * debian/nginx-common.config:
1254 - Fix the return code so the script does not exit during version
1255 string comparisons.
1256 - Also update the version string to compare with (for zesty only)
1257
1258 -- Thomas Ward <teward@ubuntu.com> Thu, 27 Oct 2016 10:48:45 -0400
1259
1260nginx (1.10.1-0ubuntu4) zesty; urgency=medium
1261
1262 * debian/nginx-common.config:
1263 - Fix an issue with the incorrect version numbers being compared
1264 during configuration; this was something I missed when reviewing
1265 the package for uploading previously. (LP: #1637058)
1266
1267 -- Thomas Ward <teward@ubuntu.com> Thu, 27 Oct 2016 08:45:40 -0400
1268
1269nginx (1.10.1-0ubuntu3) zesty; urgency=medium
1270
1271 [ Christos Trochalakis ]
1272 * debian/nginx-common.postinst:
1273 + Secure log file handling (owner & permissions) against privilege
1274 escalation attacks. /var/log/nginx is now owned by root:adm.
1275 Thanks Dawid Golunski (http://legalhackers.com) for the report.
1276 Changing /var/log/nginx permissions effectively reopens #701112,
1277 since log files can be world-readable. This is a trade-off until
1278 a better log opening solution is implemented upstream (trac:376).
1279 * debian/control:
1280 Don't allow building against liblua5.1-0-dev on architectures
1281 that libluajit is available.
1282
1283 -- Thomas Ward <teward@ubuntu.com> Tue, 25 Oct 2016 17:03:54 -0400
1284
1285nginx (1.10.1-0ubuntu2) zesty; urgency=medium
1286
1287 * No-change rebuild for perl 5.24 transition
1288
1289 -- Iain Lane <iain@orangesquash.org.uk> Mon, 24 Oct 2016 10:36:19 +0100
1290
1291nginx (1.10.1-0ubuntu1) yakkety; urgency=medium
1292
1293 * New upstream release (1.10.1) - full changelog available at upstream
1294 website - http://nginx.org/en/CHANGES-1.10.
1295 * Update done to address the following security issues:
1296 - [CVE-2016-4450] NULL pointer dereference while writing client
1297 request body. (LP: #1587577)
1298 * Additional changes:
1299 * debian/patches/ubuntu-branding.patch: Refreshed Ubuntu Branding patch.
1300
1301 -- Thomas Ward <teward@ubuntu.com> Tue, 31 May 2016 19:09:33 -0400
1302
453nginx (1.10.0-1) unstable; urgency=medium1303nginx (1.10.0-1) unstable; urgency=medium
4541304
455 [ Christos Trochalakis ]1305 [ Christos Trochalakis ]
@@ -457,6 +1307,30 @@ nginx (1.10.0-1) unstable; urgency=medium
4571307
458 -- Christos Trochalakis <yatiohi@ideopolis.gr> Fri, 29 Apr 2016 10:31:46 +03001308 -- Christos Trochalakis <yatiohi@ideopolis.gr> Fri, 29 Apr 2016 10:31:46 +0300
4591309
1310nginx (1.10.0-0ubuntu1) yakkety; urgency=medium
1311
1312 * New upstream release (1.10.0) - full changelog available at upstream
1313 website - http://nginx.org/en/CHANGES-1.10 (LP: #1575217)
1314 * All Ubuntu specific changes from 1.9.15-0ubuntu1 remain included.
1315 * Additional changes:
1316 * debian/patches/ubuntu-branding.patch: Refreshed Ubuntu Branding patch.
1317
1318 -- Thomas Ward <teward@ubuntu.com> Tue, 26 Apr 2016 10:24:23 -0400
1319
1320nginx (1.9.15-0ubuntu1) xenial-proposed; urgency=medium
1321
1322 * New upstream release (1.9.15) - full changelog available at upstream
1323 website - http://nginx.org/en/CHANGES (LP: #1572223)
1324 * All Ubuntu specific changes from 1.1.14-0ubuntu1, except noted below,
1325 remain included in this upload.
1326 * Remaining changes:
1327 * debian/control: Re-add libluajit-5.1-dev build-dependency, as it will
1328 only affect nginx-extras which is in Universe. This reduces the merge
1329 delta between Ubuntu and Debian slightly, as well. (LP: #1571444)
1330 * debian/patches/ubuntu-branding.patch: Refresh Ubuntu Branding patch.
1331
1332 -- Thomas Ward <teward@ubuntu.com> Mon, 18 Apr 2016 15:39:08 -0400
1333
460nginx (1.9.14-2) unstable; urgency=medium1334nginx (1.9.14-2) unstable; urgency=medium
4611335
462 [ Christos Trochalakis ]1336 [ Christos Trochalakis ]
@@ -500,6 +1374,84 @@ nginx (1.9.14-1) unstable; urgency=medium
5001374
501 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 19 Apr 2016 11:05:35 +03001375 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 19 Apr 2016 11:05:35 +0300
5021376
1377nginx (1.9.14-0ubuntu1) xenial-proposed; urgency=medium
1378
1379 * New upstream release (1.9.14) - full changelog available at upstream
1380 website - htp://nginx.org/en/CHANGES (LP: #1566392)
1381 * All Ubuntu specific changes from 1.9.13-0ubuntu1, except noted below,
1382 remain included in this upload.
1383 * Remaining changes:
1384 * Enable HTTP/2 module for nginx-full, nginx-extras, and nginx-core
1385 (LP: #1565043)
1386 - debian/rules: Enable HTTP/2 module building in flavor rules
1387 - debian/control: Add HTTP/2 module to package descriptions.
1388 * debian/patches/ubuntu-branding.patch: Refresh Ubuntu Branding patch.
1389
1390 -- Thomas Ward <teward@ubuntu.com> Fri, 01 Apr 2016 14:23:47 -0400
1391
1392nginx (1.9.13-0ubuntu1) xenial-proposed; urgency=medium
1393
1394 * New upstream release (1.9.13) - full changelog available at upstream
1395 website - http://nginx.org/en/CHANGES (LP: #1563393)
1396 * All Ubuntu specific changes from 1.9.12-0ubuntu1 remain included in
1397 this upload.
1398 * debian/patches/ubuntu-branding.patch: Refresh Ubuntu Branding patch.
1399
1400 -- Thomas Ward <teward@ubuntu.com> Tue, 29 Mar 2016 18:47:36 -0400
1401
1402nginx (1.9.12-0ubuntu1) xenial; urgency=medium
1403
1404 * New upstream release (1.9.12) - full changelog available at upstream
1405 website - http://nginx.org/en/CHANGES (LP: #1549347)
1406 * All Ubuntu specific changes from 1.9.11-0ubuntu1 and -0ubuntu2 remain
1407 included in this upload.
1408
1409 -- Thomas Ward <teward@ubuntu.com> Wed, 24 Feb 2016 10:26:31 -0500
1410
1411nginx (1.9.11-0ubuntu2) xenial; urgency=medium
1412
1413 * This is a bug-fix only upload and does not include any new changes to
1414 features.
1415 * debian/conf/sites-available/default: Modify PHP 'default example' settings
1416 to account for php5 being replaced with php7.0 in Xenial. Also adapt the
1417 UNIX socket path for php7.0-fpm to be the one used by default in Xenial.
1418 (LP: #1547642)
1419
1420 -- Thomas Ward <teward@ubuntu.com> Fri, 19 Feb 2016 14:13:28 -0500
1421
1422nginx (1.9.11-0ubuntu1) xenial; urgency=low
1423
1424 * New upstream release (1.9.11) - see http://nginx.org/en/CHANGES for
1425 full changelog.
1426 * Ubuntu-specific changes from the 1.9.10 merge remain included here.
1427 * Additional changes:
1428 - debian/modules/nginx-lua: Apply upstream patch to fix FTBFS issue
1429
1430 -- Thomas Ward <teward@ubuntu.com> Tue, 09 Feb 2016 10:33:14 -0500
1431
1432nginx (1.9.10-1ubuntu1) xenial; urgency=low
1433
1434 * Merge from Debian unstable. Remaining changes: (LP: #1538677)
1435 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
1436 - d/{control,rules,nginx-core.*}: add new binary package for main,
1437 nginx-core, which contains only source-tarball-included modules
1438 and no third-party modules.
1439 - debian/tests/control: add nginx-core test.
1440 - debian/control:
1441 - drop luajit from Build-Depends as it is in universe.
1442 - Remove HTTP/2 references in package descriptions, per Ubuntu
1443 Security Team mandate to disable HTTP/2 support.
1444 - debian/rules:
1445 - Disable HTTP/2 module support in all flavors, per Ubuntu Security
1446 Team mandate.
1447 - debian/apport/source_nginx.py: Add apport hooks for additional bug
1448 information gathering.
1449 - debian/nginx-common.install: Add install rule for apport hooks.
1450 * Additional bugs fixed by this merge:
1451 - nginx-common should not depend on python (LP: #1480513)
1452
1453 -- Thomas Ward <teward@ubuntu.com> Tue, 27 Jan 2016 12:52:00 -0500
1454
503nginx (1.9.10-1) unstable; urgency=medium1455nginx (1.9.10-1) unstable; urgency=medium
5041456
505 [ Christos Trochalakis ]1457 [ Christos Trochalakis ]
@@ -509,6 +1461,54 @@ nginx (1.9.10-1) unstable; urgency=medium
5091461
510 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 26 Jan 2016 20:12:06 +02001462 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 26 Jan 2016 20:12:06 +0200
5111463
1464nginx (1.9.10-0ubuntu1) xenial; urgency=medium
1465
1466 * New upstream release.
1467 * debian/patches/ubuntu-branding.patch: Refreshed Ubuntu Branding patch
1468 * Security content of this upload addresses the following vulnerabilities
1469 and CVE-numbered Security issues: (LP: #1538165)
1470 - Invalid pointer dereference might occur during DNS server response
1471 processing, allowing an attacker who is able to forge UDP
1472 packets from the DNS server to cause worker process crash
1473 (CVE-2016-0742).
1474 - Use-after-free condition might occur during CNAME response
1475 processing. This problem allows an attacker who is able to trigger
1476 name resolution to cause worker process crash, or might
1477 have potential other impact (CVE-2016-0746).
1478 - CNAME resolution was insufficiently limited, allowing an attacker who
1479 is able to trigger arbitrary name resolution to cause excessive resource
1480 consumption in worker processes (CVE-2016-0747).
1481
1482 -- Thomas Ward <teward@ubuntu.com> Tue, 26 Jan 2016 14:53:01 -0500
1483
1484nginx (1.9.9-1ubuntu1) xenial; urgency=low
1485
1486 * Merge from Debian unstable. Remaining changes: (LP: #1534208)
1487 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
1488 - d/{control,rules,nginx-core.*}: add new binary package for main,
1489 nginx-core, which contains only source-tarball-included modules
1490 and no third-party modules.
1491 - debian/tests/control: add nginx-core test.
1492 - debian/control:
1493 - drop luajit from Build-Depends as it is in universe.
1494 - Update nginx-core description to match nginx-full description of the
1495 standard and optional HTTP modules that are enabled.
1496 - Remove HTTP/2 references in package descriptions, per Ubuntu
1497 Security Team mandate to disable HTTP/2 support.
1498 - debian/rules:
1499 - Update nginx-core configure flags to match nginx-full config flags,
1500 due to refreshing the nginx-core 'enabled modules' to match the
1501 nginx-full modules (minus third-party modules)
1502 - Disable HTTP/2 module support in all flavors, per Ubuntu Security
1503 Team mandate.
1504 - debian/apport/source_nginx.py: Add apport hooks for additional bug
1505 information gathering.
1506 - debian/nginx-common.install: Add install rule for apport hooks.
1507 * debian/control: Remove HTTP/2 reference in nginx-extras description, which
1508 was missed previously due to accidental oversight. (LP: #1534368)
1509
1510 -- Thomas Ward <teward@ubuntu.com> Thu, 14 Jan 2016 18:42:00 -0500
1511
512nginx (1.9.9-1) unstable; urgency=medium1512nginx (1.9.9-1) unstable; urgency=medium
5131513
514 [ Michael Lustfield ]1514 [ Michael Lustfield ]
@@ -522,6 +1522,46 @@ nginx (1.9.9-1) unstable; urgency=medium
5221522
523 -- Christos Trochalakis <yatiohi@ideopolis.gr> Thu, 14 Jan 2016 10:40:35 +02001523 -- Christos Trochalakis <yatiohi@ideopolis.gr> Thu, 14 Jan 2016 10:40:35 +0200
5241524
1525nginx (1.9.9-0ubuntu1) xenial; urgency=medium
1526
1527 * New upstream release.
1528 * debian/patches/ubuntu-branding.patch: Refreshed Ubuntu Branding patch
1529
1530 -- Thomas Ward <teward@ubuntu.com> Sun, 03 Jan 2016 12:49:21 -0500
1531
1532nginx (1.9.6-2ubuntu2) xenial; urgency=medium
1533
1534 * Rebuild for Perl 5.22.1.
1535
1536 -- Colin Watson <cjwatson@ubuntu.com> Fri, 18 Dec 2015 12:53:05 +0000
1537
1538nginx (1.9.6-2ubuntu1) xenial; urgency=medium
1539
1540 * Merge from Debian unstable. Remaining changes: (LP: #1510096)
1541 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
1542 - d/{control,rules,nginx-core.*}: add new binary package for main,
1543 nginx-core, which contains only source-tarball-included modules
1544 and no third-party modules.
1545 - debian/tests/control: add nginx-core test.
1546 - debian/control: drop luajit from Build-Depends as it is in universe.
1547 - debian/apport/source_nginx.py: Add apport hooks for additional bug
1548 information gathering.
1549 - debian/nginx-common.install: Add install rule for apport hooks.
1550 * Additional changes:
1551 * debian/rules:
1552 - Update nginx-core configure flags to match nginx-full config flags,
1553 due to refreshing the nginx-core 'enabled modules' to match the
1554 nginx-full modules (minus third-party modules)
1555 - Disable HTTP/2 module support in all flavors, per Ubuntu Security
1556 Team mandate.
1557 * debian/control:
1558 - Update nginx-core description to match nginx-full description of the
1559 standard and optional HTTP modules that are enabled.
1560 - Remove HTTP/2 references in package descriptions, per Ubuntu
1561 Security Team mandate to disable HTTP/2 support.
1562
1563 -- Thomas Ward <teward@ubuntu.com> Mon, 14 Dec 2015 10:34:42 -0500
1564
525nginx (1.9.6-2) unstable; urgency=medium1565nginx (1.9.6-2) unstable; urgency=medium
5261566
527 [ Christos Trochalakis]1567 [ Christos Trochalakis]
@@ -547,6 +1587,21 @@ nginx (1.9.4-1) unstable; urgency=medium
5471587
548 -- Christos Trochalakis <yatiohi@ideopolis.gr> Mon, 24 Aug 2015 16:23:20 +03001588 -- Christos Trochalakis <yatiohi@ideopolis.gr> Mon, 24 Aug 2015 16:23:20 +0300
5491589
1590nginx (1.9.3-1ubuntu1) wily; urgency=medium
1591
1592 * Merge from Debian. Remaining changes: (LP: #1476811)
1593 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
1594 - d/{control,rules,nginx-core.*}: add new binary package for main,
1595 nginx-core, which contains only source-tarball-included modules
1596 and no third-party modules.
1597 - debian/tests/control: add nginx-core test.
1598 - debian/control: drop luajit from Build-Depends as it is in universe.
1599 - debian/apport/source_nginx.py: Add apport hooks for additional bug
1600 information gathering.
1601 - debian/nginx-common.install: Add install rule for apport hooks.
1602
1603 -- Thomas Ward <teward@ubuntu.com> Wed, 22 Jul 2015 11:39:44 -0400
1604
550nginx (1.9.3-1) unstable; urgency=medium1605nginx (1.9.3-1) unstable; urgency=medium
5511606
552 [ Christos Trochalakis]1607 [ Christos Trochalakis]
@@ -631,6 +1686,52 @@ nginx (1.9.1-1) unstable; urgency=medium
6311686
632 -- Christos Trochalakis <yatiohi@ideopolis.gr> Fri, 12 Jun 2015 15:42:49 +03001687 -- Christos Trochalakis <yatiohi@ideopolis.gr> Fri, 12 Jun 2015 15:42:49 +0300
6331688
1689nginx (1.6.2-5ubuntu4) wily; urgency=medium
1690
1691 * debian/apport/source_nginx.py:
1692 - Add apport hooks for additional bug information gathering, as a result
1693 of non-useful reports due to postinstall script failure bugs. This is
1694 necessary in order to be able to actually debug what is going on in the
1695 bug reports, thanks to systemd not putting startup errors to stdout or
1696 stderr anymore, like Upstart and others did. (LP: #1472683)
1697 * debian/nginx-common.install:
1698 - Add install rule for debian/apport/source_nginx.py, which is the new
1699 apport hooks to gather additional 'Package' bugtype debug data.
1700
1701 -- Thomas Ward <teward@ubuntu.com> Fri, 10 Jul 2015 12:51:48 -0400
1702
1703nginx (1.6.2-5ubuntu3) vivid-proposed; urgency=medium
1704
1705 * debian/rules:
1706 * Reversed Debian change in 1.6.2-5ubuntu2.
1707 * Added DEB_BUILD_MAINT_OPTIONS=hardening=+all to enable all
1708 dpkg-buildflags to harden the code, except for PIE flags.
1709 * Manually define DEB_BUILD_MAINT_OPTIONS in DEBIAN_NGINX_PERL_LDFLAGS
1710 to not have -fPIE conflicts in Perl flags.
1711
1712 -- Thomas Ward <teward@ubuntu.com> Wed, 01 Apr 2015 14:57:34 -0400
1713
1714nginx (1.6.2-5ubuntu2) vivid-proposed; urgency=medium
1715
1716 * debian/rules:
1717 * Added -fPIE -pie to build rules (enables position-independent builds)
1718 using Debian's committed change to enable. (LP: #1315426)
1719
1720 -- Thomas Ward <teward@ubuntu.com> Wed, 01 Apr 2015 14:26:32 -0400
1721
1722nginx (1.6.2-5ubuntu1) vivid; urgency=medium
1723
1724 * Merge from Debian. Remaining changes: (LP: #1399967)
1725 - debian/patches/ubuntu-branding.patch: add Ubuntu branding (refreshed)
1726 - debian/rules: Drop from -O3 to -O2 to work around a build failure.
1727 - d/{control,rules,nginx-core.*}: add new binary package for main,
1728 nginx-core, which contains only source-tarball-included modules
1729 and no third-party modules.
1730 - debian/tests/control: add nginx-core test.
1731 - debian/control: drop luajit from Build-Depends as it is in universe.
1732
1733 -- Thomas Ward <teward@ubuntu.com> Sat, 06 Dec 2014 13:06:55 -0500
1734
634nginx (1.6.2-5) unstable; urgency=medium1735nginx (1.6.2-5) unstable; urgency=medium
6351736
636 [ Christos Trochalakis ]1737 [ Christos Trochalakis ]
@@ -646,6 +1747,27 @@ nginx (1.6.2-5) unstable; urgency=medium
6461747
647 -- Christos Trochalakis <yatiohi@ideopolis.gr> Sun, 30 Nov 2014 10:39:55 +02001748 -- Christos Trochalakis <yatiohi@ideopolis.gr> Sun, 30 Nov 2014 10:39:55 +0200
6481749
1750nginx (1.6.2-4ubuntu1) vivid; urgency=medium
1751
1752 * Merge from Debian. Remaining changes: (LP: #1388621)
1753 - debian/patches/ubuntu-branding.patch: add Ubuntu branding
1754 (refreshed).
1755 - debian/rules: Drop from -O3 to -O2 to work around a build failure.
1756 - d/{control,rules,nginx-core.*}: add new binary package for main,
1757 nginx-core, which contains only source-tarball-included modules
1758 and no third-party modules.
1759 - debian/tests/control: add nginx-core test.
1760 - debian/control: drop luajit from Build-Depends as it is in universe.
1761 * debian/control:
1762 * Remove nginx-naxsi* from nginx-core and related
1763 package stanzas, as the naxsi packages have all been dropped.
1764 * Remove reference to nginx-naxsi from nginx metapackage description
1765 * debian/index.html: Modify included index.html file to have Ubuntu
1766 branding, Ubuntu bug reporting tool references, and a link to the
1767 Launchpad bugs page for the nginx package.
1768
1769 -- Thomas Ward <teward@ubuntu.com> Wed, 05 Nov 2014 10:05:07 -0500
1770
649nginx (1.6.2-4) unstable; urgency=medium1771nginx (1.6.2-4) unstable; urgency=medium
6501772
651 [ Christos Trochalakis ]1773 [ Christos Trochalakis ]
@@ -697,6 +1819,27 @@ nginx (1.6.2-2) unstable; urgency=medium
6971819
698 -- Christos Trochalakis <yatiohi@ideopolis.gr> Fri, 26 Sep 2014 11:06:47 +03001820 -- Christos Trochalakis <yatiohi@ideopolis.gr> Fri, 26 Sep 2014 11:06:47 +0300
6991821
1822nginx (1.6.2-1ubuntu1.1) utopic; urgency=medium
1823
1824 * debian/conf/sites-available/default: Remove SSLv3 from the ssl_protocols
1825 line in the default config example, due to POODLE vulnerability.
1826
1827 -- Thomas Ward <teward@dark-net.net> Wed, 22 Oct 2014 09:43:35 -0400
1828
1829nginx (1.6.2-1ubuntu1) utopic; urgency=medium
1830
1831 * Merge from Debian. Remaining changes:
1832 - debian/patches/ubuntu-branding.patch: add Ubuntu branding
1833 (refreshed).
1834 - debian/rules: Drop from -O3 to -O2 to work around a build failure.
1835 - d/{control,rules,nginx-core.*}: add new binary package for main,
1836 nginx-core, which contains only source-tarball-included modules
1837 and no third-party modules.
1838 * debian/tests/control: add nginx-core test.
1839 * debian/control: drop luajit from Build-Depends as it is in universe.
1840
1841 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 22 Sep 2014 13:32:30 -0400
1842
700nginx (1.6.2-1) unstable; urgency=high1843nginx (1.6.2-1) unstable; urgency=high
7011844
702 [ Christos Trochalakis ]1845 [ Christos Trochalakis ]
@@ -744,6 +1887,25 @@ nginx (1.6.1-2) unstable; urgency=medium
7441887
745 -- Christos Trochalakis <yatiohi@ideopolis.gr> Thu, 04 Sep 2014 13:00:46 +03001888 -- Christos Trochalakis <yatiohi@ideopolis.gr> Thu, 04 Sep 2014 13:00:46 +0300
7461889
1890nginx (1.6.1-1ubuntu2) utopic; urgency=medium
1891
1892 * Rebuild for Perl 5.20.0.
1893
1894 -- Colin Watson <cjwatson@ubuntu.com> Sun, 24 Aug 2014 06:43:36 -0700
1895
1896nginx (1.6.1-1ubuntu1) utopic; urgency=medium
1897
1898 * Merge from Debian. Remaining changes:
1899 - debian/patches/ubuntu-branding.patch: add Ubuntu branding
1900 (refreshed).
1901 - debian/rules: Drop from -O3 to -O2 to work around a build failure.
1902 - d/{control,rules,nginx-core.*}: add new binary package for main,
1903 nginx-core, which contains only source-tarball-included modules
1904 and no third-party modules.
1905 * Add dep8 smoke test
1906
1907 -- Robie Basak <robie.basak@ubuntu.com> Fri, 15 Aug 2014 16:46:48 +0000
1908
747nginx (1.6.1-1) unstable; urgency=medium1909nginx (1.6.1-1) unstable; urgency=medium
7481910
749 [ Christos Trochalakis ]1911 [ Christos Trochalakis ]
@@ -809,6 +1971,34 @@ nginx (1.4.7-1) unstable; urgency=medium
8091971
810 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 18 Mar 2014 22:03:47 +02001972 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 18 Mar 2014 22:03:47 +0200
8111973
1974nginx (1.4.6-1ubuntu3) trusty; urgency=medium
1975
1976 * Add new binary package for main, nginx-core, which contains only
1977 source-tarball-included modules and no third-party modules.
1978 * Changes to debian/ directory:
1979 - control:
1980 + Add entry for nginx-core and nginx-core-dbg.
1981 - rules:
1982 + Add nginx-core flavor to the build rules.
1983 - nginx-core.*: Add new packaging files for nginx-core based on
1984 the packaging files for nginx-full.
1985 * The above changes satisfy the requirements for main (LP: #1262710)
1986
1987 -- Thomas Ward <teward@ubuntu.com> Mon, 10 Mar 2014 18:23:36 -0400
1988
1989nginx (1.4.6-1ubuntu2) trusty; urgency=medium
1990
1991 * debian/rules: Drop from -O3 to -O2 to work around a build failure.
1992
1993 -- Adam Conrad <adconrad@ubuntu.com> Sun, 09 Mar 2014 11:49:28 -0600
1994
1995nginx (1.4.6-1ubuntu1) trusty; urgency=low
1996
1997 * Merge from Debian unstable. Remaining changes:
1998 - debian/patches/ubuntu-branding.patch: Add Ubuntu branding.
1999
2000 -- Adam Conrad <adconrad@ubuntu.com> Sun, 09 Mar 2014 11:13:26 -0600
2001
812nginx (1.4.6-1) unstable; urgency=medium2002nginx (1.4.6-1) unstable; urgency=medium
8132003
814 [ Christos Trochalakis ]2004 [ Christos Trochalakis ]
@@ -830,6 +2020,14 @@ nginx (1.4.6-1) unstable; urgency=medium
8302020
831 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 04 Mar 2014 18:06:55 +02002021 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 04 Mar 2014 18:06:55 +0200
8322022
2023nginx (1.4.5-1ubuntu1) trusty; urgency=medium
2024
2025 * Resynchronise with Debian (LP: #1280511). Remaining changes:
2026 - debian/patches/ubuntu-branding.patch:
2027 + Add Ubuntu branding to server_tokens.
2028
2029 -- Colin Watson <cjwatson@ubuntu.com> Sat, 15 Feb 2014 03:05:42 +0000
2030
833nginx (1.4.5-1) unstable; urgency=medium2031nginx (1.4.5-1) unstable; urgency=medium
8342032
835 [ Christos Trochalakis ]2033 [ Christos Trochalakis ]
@@ -870,6 +2068,14 @@ nginx (1.4.4-3) unstable; urgency=medium
8702068
871 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 31 Dec 2013 11:47:07 +02002069 -- Christos Trochalakis <yatiohi@ideopolis.gr> Tue, 31 Dec 2013 11:47:07 +0200
8722070
2071nginx (1.4.4-2ubuntu1) trusty; urgency=medium
2072
2073 * Resynchronise with Debian. Remaining changes:
2074 - debian/patches/ubuntu-branding.patch:
2075 + Add Ubuntu branding to server_tokens.
2076
2077 -- Colin Watson <cjwatson@ubuntu.com> Sat, 28 Dec 2013 10:21:44 +0000
2078
873nginx (1.4.4-2) unstable; urgency=low2079nginx (1.4.4-2) unstable; urgency=low
8742080
875 [ Michael Lustfield ]2081 [ Michael Lustfield ]
@@ -907,6 +2113,14 @@ nginx (1.4.4-2) unstable; urgency=low
9072113
908 -- Kartik Mistry <kartik@debian.org> Fri, 27 Dec 2013 21:16:01 +05302114 -- Kartik Mistry <kartik@debian.org> Fri, 27 Dec 2013 21:16:01 +0530
9092115
2116nginx (1.4.4-1ubuntu1) trusty; urgency=low
2117
2118 * Resynchronise with Debian (LP: #1253691). Remaining changes:
2119 - debian/patches/ubuntu-branding.patch:
2120 + Add Ubuntu branding to server_tokens.
2121
2122 -- Colin Watson <cjwatson@ubuntu.com> Fri, 22 Nov 2013 12:23:25 +0000
2123
910nginx (1.4.4-1) unstable; urgency=low2124nginx (1.4.4-1) unstable; urgency=low
9112125
912 [ Christos Trochalakis ]2126 [ Christos Trochalakis ]
@@ -931,6 +2145,14 @@ nginx (1.4.4-1) unstable; urgency=low
9312145
932 -- Michael Lustfield <michael@lustfield.net> Thu, 21 Nov 2013 19:25:50 +05302146 -- Michael Lustfield <michael@lustfield.net> Thu, 21 Nov 2013 19:25:50 +0530
9332147
2148nginx (1.4.3-2ubuntu1) trusty; urgency=low
2149
2150 * Resynchronise with Debian. Remaining changes:
2151 - debian/patches/ubuntu-branding.patch:
2152 + Add Ubuntu branding to server_tokens.
2153
2154 -- Colin Watson <cjwatson@ubuntu.com> Mon, 21 Oct 2013 13:26:52 +0100
2155
934nginx (1.4.3-2) unstable; urgency=low2156nginx (1.4.3-2) unstable; urgency=low
9352157
936 [ Kartik Mistry ]2158 [ Kartik Mistry ]
@@ -987,6 +2209,14 @@ nginx (1.4.3-1) unstable; urgency=low
9872209
988 -- Kartik Mistry <kartik@debian.org> Thu, 10 Oct 2013 17:28:56 +05302210 -- Kartik Mistry <kartik@debian.org> Thu, 10 Oct 2013 17:28:56 +0530
9892211
2212nginx (1.4.1-3ubuntu1) saucy; urgency=low
2213
2214 * Resynchronise with Debian. Remaining changes:
2215 - debian/patches/ubuntu-branding.patch:
2216 + Add Ubuntu branding to server_tokens.
2217
2218 -- Colin Watson <cjwatson@ubuntu.com> Thu, 20 Jun 2013 15:08:44 +0100
2219
990nginx (1.4.1-3) unstable; urgency=low2220nginx (1.4.1-3) unstable; urgency=low
9912221
992 [ Kartik Mistry ]2222 [ Kartik Mistry ]
@@ -1000,6 +2230,14 @@ nginx (1.4.1-3) unstable; urgency=low
10002230
1001 -- Kartik Mistry <kartik@debian.org> Sun, 09 Jun 2013 13:07:52 +05302231 -- Kartik Mistry <kartik@debian.org> Sun, 09 Jun 2013 13:07:52 +0530
10022232
2233nginx (1.4.1-2ubuntu1) saucy; urgency=low
2234
2235 * Resynchronise with Debian. Remaining changes:
2236 - debian/patches/ubuntu-branding.patch:
2237 + Add Ubuntu branding to server_tokens.
2238
2239 -- Colin Watson <cjwatson@ubuntu.com> Fri, 07 Jun 2013 15:41:48 +0100
2240
1003nginx (1.4.1-2) unstable; urgency=medium2241nginx (1.4.1-2) unstable; urgency=medium
10042242
1005 [ Kartik Mistry]2243 [ Kartik Mistry]
@@ -1021,6 +2259,24 @@ nginx (1.4.1-2) unstable; urgency=medium
10212259
1022 -- Kartik Mistry <kartik@debian.org> Thu, 06 Jun 2013 12:55:23 +05302260 -- Kartik Mistry <kartik@debian.org> Thu, 06 Jun 2013 12:55:23 +0530
10232261
2262nginx (1.4.1-1ubuntu2) saucy; urgency=low
2263
2264 * Rebuild for libgd3.
2265
2266 -- Colin Watson <cjwatson@ubuntu.com> Mon, 20 May 2013 00:45:10 +0100
2267
2268nginx (1.4.1-1ubuntu1) saucy; urgency=low
2269
2270 * Merge with Debian unstable (LP: #1177919). Remaining changes:
2271 - debian/conf/sites-available/default:
2272 + Modify default site configuration file to correct a typo
2273 that prevented out-of-the-box usability (LP: #1162177).
2274 - debian/patches/ubuntu-branding.patch:
2275 + Add ubuntu branding to server_tokens.
2276 * Refresh all patches.
2277
2278 -- Dmitry Shachnev <mitya57@ubuntu.com> Sat, 11 May 2013 14:47:53 +0400
2279
1024nginx (1.4.1-1) unstable; urgency=low2280nginx (1.4.1-1) unstable; urgency=low
10252281
1026 * New upstream release:2282 * New upstream release:
@@ -1098,6 +2354,36 @@ nginx (1.4.0-1) experimental; urgency=low
10982354
1099 -- Kartik Mistry <kartik@debian.org> Thu, 25 Apr 2013 12:51:45 +05302355 -- Kartik Mistry <kartik@debian.org> Thu, 25 Apr 2013 12:51:45 +0530
11002356
2357nginx (1.2.6-1ubuntu4) saucy; urgency=low
2358
2359 * debian/patches/ubuntu-branding.patch: Move Ubuntu branding from
2360 the numerical version string to the long version (LP: #1174158)
2361
2362 -- Adam Conrad <adconrad@ubuntu.com> Thu, 09 May 2013 11:50:52 -0600
2363
2364nginx (1.2.6-1ubuntu3) raring; urgency=low
2365
2366 * debian/patches/ubuntu-branding.patch: Add ubuntu branding
2367 to server_tokens.
2368
2369 -- Chuck Short <zulcss@ubuntu.com> Tue, 09 Apr 2013 10:23:26 -0500
2370
2371nginx (1.2.6-1ubuntu2) raring; urgency=low
2372
2373 * debian/conf/sites-available/default:
2374 * Modify default site configuration file to correct a typo
2375 that prevented out-of-the-box usability (LP: #1162177)
2376
2377 -- Thomas Ward <teward@ubuntu.com> Fri, 05 Apr 2013 20:22:38 +0100
2378
2379nginx (1.2.6-1ubuntu1) raring; urgency=low
2380
2381 * debian/conf/sites-available/default:
2382 * Modify default site default configuration file to bind to IPv6
2383 only for IPv6 default listen statement (LP: #1132678)
2384
2385 -- Thomas Ward <teward@ubuntu.com> Tue, 12 Mar 2013 00:23:02 +0000
2386
1101nginx (1.2.6-1) unstable; urgency=low2387nginx (1.2.6-1) unstable; urgency=low
11022388
1103 [ Kartik Mistry ]2389 [ Kartik Mistry ]
diff --git a/debian/control b/debian/control
index 4f00178..760c244 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: nginx1Source: nginx
2Section: httpd2Section: httpd
3Priority: optional3Priority: optional
4Maintainer: Debian Nginx Maintainers <pkg-nginx-maintainers@alioth-lists.debian.net>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Nginx Maintainers <pkg-nginx-maintainers@alioth-lists.debian.net>
5Uploaders: Christos Trochalakis <ctrochalakis@debian.org>,6Uploaders: Christos Trochalakis <ctrochalakis@debian.org>,
6 Ondřej Nový <onovy@debian.org>,7 Ondřej Nový <onovy@debian.org>,
7Build-Depends: debhelper-compat (= 13),8Build-Depends: debhelper-compat (= 13),
@@ -68,8 +69,7 @@ Description: small, powerful, scalable web/proxy server - common files
6869
69Package: nginx-core70Package: nginx-core
70Architecture: any71Architecture: any
71Depends: libnginx-mod-http-geoip (= ${binary:Version}),72Depends: libnginx-mod-http-image-filter (= ${binary:Version}),
72 libnginx-mod-http-image-filter (= ${binary:Version}),
73 libnginx-mod-http-xslt-filter (= ${binary:Version}),73 libnginx-mod-http-xslt-filter (= ${binary:Version}),
74 libnginx-mod-mail (= ${binary:Version}),74 libnginx-mod-mail (= ${binary:Version}),
75 libnginx-mod-stream (= ${binary:Version}),75 libnginx-mod-stream (= ${binary:Version}),
diff --git a/debian/nginx-common.install b/debian/nginx-common.install
index 90f173b..20109fa 100644
--- a/debian/nginx-common.install
+++ b/debian/nginx-common.install
@@ -1,5 +1,6 @@
1contrib/vim/* usr/share/vim/addons1contrib/vim/* usr/share/vim/addons
2debian/conf/* etc/nginx2debian/conf/* etc/nginx
3debian/apport/source_nginx.py usr/share/apport/package-hooks
3debian/ufw/nginx etc/ufw/applications.d4debian/ufw/nginx etc/ufw/applications.d
4debian/vim/nginx.yaml usr/share/vim/registry5debian/vim/nginx.yaml usr/share/vim/registry
5html/index.html usr/share/nginx/html/6html/index.html usr/share/nginx/html/
diff --git a/debian/patches/nginx-fix-pidfile.patch b/debian/patches/nginx-fix-pidfile.patch
6new file mode 1006447new file mode 100644
index 0000000..47a16ff
--- /dev/null
+++ b/debian/patches/nginx-fix-pidfile.patch
@@ -0,0 +1,89 @@
1Description: Fix NGINX pidfile handling
2Author: Tj <ubuntu@iam.tj>
3Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864
4Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876365
5Last-Update: 2020-06-24
6---
7This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
8diff --git a/src/core/nginx.c b/src/core/nginx.c
9index 9fcb0eb2..083eba1d 100644
10--- a/src/core/nginx.c
11+++ b/src/core/nginx.c
12@@ -338,14 +338,21 @@ main(int argc, char *const *argv)
13 ngx_process = NGX_PROCESS_MASTER;
14 }
15
16+ /* tell-tale to detect if this is parent or child process */
17+ ngx_int_t child_pid = NGX_BUSY;
18+
19 #if !(NGX_WIN32)
20
21 if (ngx_init_signals(cycle->log) != NGX_OK) {
22 return 1;
23 }
24
25+ /* tell-tale that this code has been executed */
26+ child_pid--;
27+
28 if (!ngx_inherited && ccf->daemon) {
29- if (ngx_daemon(cycle->log) != NGX_OK) {
30+ child_pid = ngx_daemon(cycle->log);
31+ if (child_pid == NGX_ERROR) {
32 return 1;
33 }
34
35@@ -358,8 +365,19 @@ main(int argc, char *const *argv)
36
37 #endif
38
39- if (ngx_create_pidfile(&ccf->pid, cycle->log) != NGX_OK) {
40- return 1;
41+ /* If ngx_daemon() returned the child's PID in the parent process
42+ * after the fork() set ngx_pid to the child_pid, which gets
43+ * written to the PID file, then exit.
44+ * For NGX_WIN32 always write the PID file
45+ * For others, only write it from the parent process */
46+ if (child_pid < NGX_OK || child_pid > NGX_OK) {
47+ ngx_pid = child_pid > NGX_OK ? child_pid : ngx_pid;
48+ if (ngx_create_pidfile(&ccf->pid, cycle->log) != NGX_OK) {
49+ return 1;
50+ }
51+ }
52+ if (child_pid > NGX_OK) {
53+ exit(0);
54 }
55
56 if (ngx_log_redirect_stderr(cycle) != NGX_OK) {
57diff --git a/src/os/unix/ngx_daemon.c b/src/os/unix/ngx_daemon.c
58index 385c49b6..3719854c 100644
59--- a/src/os/unix/ngx_daemon.c
60+++ b/src/os/unix/ngx_daemon.c
61@@ -7,14 +7,17 @@
62
63 #include <ngx_config.h>
64 #include <ngx_core.h>
65+#include <unistd.h>
66
67
68 ngx_int_t
69 ngx_daemon(ngx_log_t *log)
70 {
71 int fd;
72+ /* retain the return value for passing back to caller */
73+ pid_t pid_child = fork();
74
75- switch (fork()) {
76+ switch (pid_child) {
77 case -1:
78 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "fork() failed");
79 return NGX_ERROR;
80@@ -23,7 +26,8 @@ ngx_daemon(ngx_log_t *log)
81 break;
82
83 default:
84- exit(0);
85+ /* let caller do the exit() */
86+ return pid_child;
87 }
88
89 ngx_parent = ngx_pid;
diff --git a/debian/patches/series b/debian/patches/series
index b221db7..d78aeb1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,5 @@
10002-Make-sure-signature-stays-the-same-in-all-nginx-buil.patch10002-Make-sure-signature-stays-the-same-in-all-nginx-buil.patch
20003-define_gnu_source-on-other-glibc-based-platforms.patch20003-define_gnu_source-on-other-glibc-based-platforms.patch
3CVE-2019-20372.patch3CVE-2019-20372.patch
4ubuntu-branding.patch
5nginx-fix-pidfile.patch
diff --git a/debian/patches/ubuntu-branding.patch b/debian/patches/ubuntu-branding.patch
4new file mode 1006446new file mode 100644
index 0000000..6bf8ae5
--- /dev/null
+++ b/debian/patches/ubuntu-branding.patch
@@ -0,0 +1,20 @@
1Description: Add Ubuntu token to NGINX_VER
2Author: Adam Conrad <adconrad@ubuntu.com>
3Forwarded: not-needed
4Last-Update: 2020-04-14
5
6---
7 src/core/nginx.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10--- a/src/core/nginx.h
11+++ b/src/core/nginx.h
12@@ -11,7 +11,7 @@
13
14 #define nginx_version 1018000
15 #define NGINX_VERSION "1.18.0"
16-#define NGINX_VER "nginx/" NGINX_VERSION
17+#define NGINX_VER "nginx/" NGINX_VERSION " (Ubuntu)"
18
19 #ifdef NGX_BUILD
20 #define NGINX_VER_BUILD NGINX_VER " (" NGX_BUILD ")"

Subscribers

People subscribed via source and target branches