Commit d81ea752 authored by hadret's avatar hadret

feat: dynamic brotli.

parent 1f56c38a
nginx (1.16.1-2bionic1) bionic; urgency=medium
* Non-maintainer upload.
* feat: brotli as a dynamic module.
-- Filip Chabik <hadret@gmail.com> Sat, 16 Nov 2019 15:37:25 +0000
nginx (1.16.1-2bionic0) bionic; urgency=medium
* Non-maintainer upload.
......
......@@ -105,6 +105,7 @@ Description: nginx web/proxy server (standard version)
Package: nginx-full
Architecture: any
Depends: iproute2,
libnginx-mod-http-brotli (= ${binary:Version}),
libnginx-mod-http-auth-ldap (= ${binary:Version}),
libnginx-mod-http-auth-pam (= ${binary:Version}),
libnginx-mod-http-dav-ext (= ${binary:Version}),
......@@ -180,6 +181,7 @@ Description: nginx web/proxy server (basic version)
Package: nginx-extras
Architecture: any
Depends: iproute2,
libnginx-mod-http-brotli (= ${binary:Version}),
libnginx-mod-http-auth-ldap (= ${binary:Version}),
libnginx-mod-http-auth-pam (= ${binary:Version}),
libnginx-mod-http-cache-purge (= ${binary:Version}),
......@@ -478,3 +480,15 @@ Description: stream server traffic status module for Nginx
server stats and
.
This package provides second module necessary to run STS.
Package: libnginx-mod-http-brotli
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: brotli compression module for Nginx
generic-purpose lossless compression algorithm that compresses data using a
combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd
order context modeling, with a compression ratio comparable to the best
currently available general-purpose compression methods. It is similar in speed
with deflate but offers more dense compression.
.
This package provides both on-the-fly and static modules.
#!/usr/bin/perl -w
use File::Basename;
# Guess module name
$module = basename($0, '.nginx');
$module =~ s/^libnginx-mod-//;
$modulepath = $module;
$modulepath =~ s/-/_/g;
print "mod debian/build-extras/objs/ngx_${modulepath}_filter_module.so\n";
print "mod debian/build-extras/objs/ngx_${modulepath}_static_module.so\n";
print "mod debian/libnginx-mod.conf/mod-${module}.conf\n";
load_module modules/ngx_http_brotli_filter_module.so;
load_module modules/ngx_http_brotli_static_module.so;
......@@ -9,6 +9,7 @@ FLAVOURS := core full light extras
DYN_MODS := \
http-auth-ldap \
http-auth-pam \
http-brotli \
http-cache-purge \
http-dav-ext \
http-echo \
......@@ -100,7 +101,6 @@ core_configure_flags := \
--with-stream_ssl_module \
--with-mail=dynamic \
--with-mail_ssl_module \
--add-module=$(MODULESDIR)/brotli \
--add-dynamic-module=$(MODULESDIR)/http-geoip2
full_configure_flags := \
......@@ -116,10 +116,10 @@ full_configure_flags := \
--with-stream_ssl_preread_module \
--with-mail=dynamic \
--with-mail_ssl_module \
--add-module=$(MODULESDIR)/brotli \
--add-module=$(MODULESDIR)/http-upstream-check \
--add-dynamic-module=$(MODULESDIR)/http-auth-ldap \
--add-dynamic-module=$(MODULESDIR)/http-auth-pam \
--add-dynamic-module=$(MODULESDIR)/http-brotli \
--add-dynamic-module=$(MODULESDIR)/http-dav-ext \
--add-dynamic-module=$(MODULESDIR)/http-echo \
--add-dynamic-module=$(MODULESDIR)/http-geoip2 \
......@@ -148,12 +148,12 @@ extras_configure_flags := \
--with-stream \
--with-stream_ssl_module \
--with-stream_ssl_preread_module \
--add-module=$(MODULESDIR)/brotli \
--add-module=$(MODULESDIR)/http-upstream-check \
--add-dynamic-module=$(MODULESDIR)/http-upsync \
--add-dynamic-module=$(MODULESDIR)/http-headers-more-filter \
--add-dynamic-module=$(MODULESDIR)/http-auth-ldap \
--add-dynamic-module=$(MODULESDIR)/http-auth-pam \
--add-dynamic-module=$(MODULESDIR)/http-brotli \
--add-dynamic-module=$(MODULESDIR)/http-cache-purge \
--add-dynamic-module=$(MODULESDIR)/http-dav-ext \
--add-dynamic-module=$(MODULESDIR)/http-ndk \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment