Commit 8ce4f1a5 authored by hadret's avatar hadret

fix: switch stream module to static for STS to work.

parent c07416a7
nginx (1.14.2-3xenial1) xenial; urgency=medium
nginx (1.14.2-3xenial2) xenial; urgency=medium
* Non-maintainer upload.
* Move stream module to static for STS to work.
-- Filip Chabik <hadret@gmail.com> Tue, 16 Apr 2019 10:54:33 +0000
nginx (1.14.2-3xenial1) xenial; urgency=medium
* Ditch no longer needed openssl-1.1.0 patch for lua module.
* Fix wrong paths for STS modules.
......
......@@ -74,7 +74,6 @@ Depends: libnginx-mod-http-geoip2 (= ${binary:Version}),
libnginx-mod-http-image-filter (= ${binary:Version}),
libnginx-mod-http-xslt-filter (= ${binary:Version}),
libnginx-mod-mail (= ${binary:Version}),
libnginx-mod-stream (= ${binary:Version}),
nginx-common (= ${source:Version}),
${misc:Depends},
${shlibs:Depends}
......@@ -117,7 +116,6 @@ Depends: libnginx-mod-http-auth-ldap (= ${binary:Version}),
libnginx-mod-http-xslt-filter (= ${binary:Version}),
libnginx-mod-http-vhost-traffic-status (= ${binary:Version}),
libnginx-mod-mail (= ${binary:Version}),
libnginx-mod-stream (= ${binary:Version}),
libnginx-mod-stream-server-traffic-status (= ${binary:Version}),
nginx-common (= ${source:Version}),
${misc:Depends},
......@@ -198,7 +196,6 @@ Depends: libnginx-mod-http-auth-ldap (= ${binary:Version}),
libnginx-mod-http-vhost-traffic-status (= ${binary:Version}),
libnginx-mod-mail (= ${binary:Version}),
libnginx-mod-nchan (= ${binary:Version}),
libnginx-mod-stream (= ${binary:Version}),
libnginx-mod-stream-server-traffic-status (= ${binary:Version}),
nginx-common (= ${source:Version}),
${misc:Depends},
......@@ -271,16 +268,6 @@ Description: Mail module for Nginx
The module supports proxying all the standard mail protocols such as IMAP,
POP3 & SMTP.
Package: libnginx-mod-stream
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Stream module for Nginx
The nginx_stream module adds stream proxy support to nginx.
.
Stream module supports loadbalancing & proxying to TCP servers. The module
also supports ACLs/connection limiting and configuring multiple operational
parameters.
Package: libnginx-mod-http-perl
Architecture: any
Depends: ${misc:Depends}, ${perl: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}_module.so\n";
print "mod debian/libnginx-mod.conf/mod-${module}.conf\n";
load_module modules/ngx_stream_module.so;
......@@ -29,7 +29,6 @@ DYN_MODS := \
mail \
nchan \
rtmp \
stream \
stream-server-traffic-status
MODULESDIR = $(CURDIR)/debian/modules
......@@ -97,7 +96,7 @@ core_configure_flags := \
--with-http_image_filter_module=dynamic \
--with-http_sub_module \
--with-http_xslt_module=dynamic \
--with-stream=dynamic \
--with-stream \
--with-stream_ssl_module \
--with-mail=dynamic \
--with-mail_ssl_module \
......@@ -111,7 +110,7 @@ full_configure_flags := \
--with-http_image_filter_module=dynamic \
--with-http_sub_module \
--with-http_xslt_module=dynamic \
--with-stream=dynamic \
--with-stream \
--with-stream_ssl_module \
--with-stream_ssl_preread_module \
--with-mail=dynamic \
......@@ -144,7 +143,7 @@ extras_configure_flags := \
--with-http_xslt_module=dynamic \
--with-mail=dynamic \
--with-mail_ssl_module \
--with-stream=dynamic \
--with-stream \
--with-stream_ssl_module \
--with-stream_ssl_preread_module \
--add-module=$(MODULESDIR)/http-upstream-check \
......
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