From f57efc5206db398a493ef45748906eefb71c8779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Sun, 27 Nov 2022 12:53:46 +0100 Subject: [PATCH 1/3] Add buildsystem nginx_mod to dh-sequence nginx --- debian/debhelper/nginx.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/debhelper/nginx.pm b/debian/debhelper/nginx.pm index 0473815..0e41120 100644 --- a/debian/debhelper/nginx.pm +++ b/debian/debhelper/nginx.pm @@ -3,6 +3,12 @@ use warnings; use strict; use Debian::Debhelper::Dh_Lib; +add_command_options( "dh_auto_test", "--buildsystem=nginx_mod" ); +add_command_options( "dh_auto_configure", "--buildsystem=nginx_mod" ); +add_command_options( "dh_auto_build", "--buildsystem=nginx_mod" ); +add_command_options( "dh_auto_install", "--buildsystem=nginx_mod" ); +add_command_options( "dh_auto_clean", "--buildsystem=nginx_mod" ); + insert_after("dh_install", "dh_nginx"); 1; From e06af596025cea1568171b4bed2413209c2b13ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Sun, 27 Nov 2022 12:55:48 +0100 Subject: [PATCH 2/3] nginx-dev provides dh-sequence-nginx --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 769452a..f464dd8 100644 --- a/debian/control +++ b/debian/control @@ -81,6 +81,7 @@ Depends: ${misc:Depends}, zlib1g-dev, nginx-core (<< ${source:Version}.1~) | nginx-light (<< ${source:Version}.1~) | nginx-extras (<< ${source:Version}.1~), nginx-core (>= ${source:Version}) | nginx-light (>= ${source:Version}) | nginx-extras (>= ${source:Version}) +Provides: dh-sequence-nginx Description: nginx web/proxy server - development headers Nginx ("engine X") is a high-performance web and reverse proxy server created by Igor Sysoev. It can be used both as a standalone web server From 8e0e251d546ca69d0662880a773e0d6329c49445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Sun, 27 Nov 2022 12:57:51 +0100 Subject: [PATCH 3/3] Update changelog --- debian/changelog | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4735a81..8e47d67 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ nginx (1.22.1-2) UNRELEASED; urgency=medium + [ Jan Mojžíš ] * d/control: fixed spelling-error-in-description * d/nginx-*.postinst: fixed postinst script, used invoke-rc.d instead of pidof and ad-hoc tests, tnx Gioele Barabucci @@ -11,7 +12,11 @@ nginx (1.22.1-2) UNRELEASED; urgency=medium * d/control: updated implicit dependencies of third-party modules for easier transition to third-party modules in separate packages. - -- Jan Mojžíš Fri, 11 Nov 2022 06:15:39 +0100 + [ Jérémy Lal ] + * d/debhelper: set nginx_mod buildsystem by default + * d/control: nginx-dev provides dh-sequence-nginx (Closes: #1024879) + + -- Jérémy Lal Sun, 27 Nov 2022 12:56:29 +0100 nginx (1.22.1-1) unstable; urgency=medium