Commit 3196de66 authored by hadret's avatar hadret

feat: brotli as a dynamic module.

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.
......
......@@ -107,6 +107,7 @@ Architecture: any
Depends: iproute2,
libnginx-mod-http-auth-ldap (= ${binary:Version}),
libnginx-mod-http-auth-pam (= ${binary:Version}),
libnginx-mod-http-brotli (= ${binary:Version}),
libnginx-mod-http-dav-ext (= ${binary:Version}),
libnginx-mod-http-echo (= ${binary:Version}),
libnginx-mod-http-geoip2 (= ${binary:Version}),
......@@ -182,6 +183,7 @@ Architecture: any
Depends: iproute2,
libnginx-mod-http-auth-ldap (= ${binary:Version}),
libnginx-mod-http-auth-pam (= ${binary:Version}),
libnginx-mod-http-brotli (= ${binary:Version}),
libnginx-mod-http-cache-purge (= ${binary:Version}),
libnginx-mod-http-dav-ext (= ${binary:Version}),
libnginx-mod-http-echo (= ${binary:Version}),
......@@ -450,6 +452,18 @@ Description: LDAP authentication module for Nginx
The module uses LDAP as a backend for simple http authentication. It
also allows one to use multiple LDAP servers.
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.
Package: libnginx-mod-http-upsync
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
......
#!/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;
......@@ -77,6 +77,10 @@ Module: http-auth-ldap
Homepage: https://github.com/kvspb/nginx-auth-ldap
Version: master
Module: http-brotli
Homepage: https://github.com/google/ngx_brotli
Version: master
Module: http-upstream-check
Homepage: https://github.com/xiaokai-wang/nginx_upstream_check_module
Version: 219131a
......@@ -93,6 +97,3 @@ Module: http-stream-server-traffic-status
Homepage: https://github.com/vozlt/nginx-module-sts
Version: v0.1.1
Module: brotli
Homepage: https://github.com/google/ngx_brotli
Version: master
......@@ -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