From 2f7df386cf571f63cc9b133095023566e148e27c Mon Sep 17 00:00:00 2001 From: Matthew Berg Date: Tue, 8 May 2018 16:37:06 -0400 Subject: [PATCH] Add nginx-txid module. --- thirdparty/nginx/Makefile | 4 ++++ thirdparty/nginx/zimbra-nginx/rpm/SPECS/nginx.spec | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/thirdparty/nginx/Makefile b/thirdparty/nginx/Makefile index 813494c12..914e777a0 100644 --- a/thirdparty/nginx/Makefile +++ b/thirdparty/nginx/Makefile @@ -24,6 +24,10 @@ getsrc: cd nviennot-nginx-tcp-keepalive && \ git reset --hard $(NGINX_HTTP_KEEPALIVE) >/dev/null 2>&1 && \ rm -rf .git + cd $(psrctmp)/$(pname)-$(pvers)-zimbra/modules && \ + git clone https://github.com/synacor/nginx-module-txid120 >/dev/null 2>&1 && \ + cd nginx-module-txid120 && \ + rm -rf .git cd $(psrctmp) && tar cfz $(zname)-$(pvers).tar.gz $(pname)-$(pvers)-zimbra mv $(psrctmp)/$(zname)-$(pvers).tar.gz $(SRC_DIR) rm -rf $(psrctmp) diff --git a/thirdparty/nginx/zimbra-nginx/rpm/SPECS/nginx.spec b/thirdparty/nginx/zimbra-nginx/rpm/SPECS/nginx.spec index 310b72ce5..05fd91566 100644 --- a/thirdparty/nginx/zimbra-nginx/rpm/SPECS/nginx.spec +++ b/thirdparty/nginx/zimbra-nginx/rpm/SPECS/nginx.spec @@ -61,7 +61,8 @@ CFLAGS="-g -O0"; export CFLAGS; \ --http-fastcgi-temp-path=/opt/zimbra/data/tmp/nginx/fastcgi \ --without-http_scgi_module \ --without-http_uwsgi_module \ - --add-module=modules/nviennot-nginx-tcp-keepalive + --add-module=modules/nviennot-nginx-tcp-keepalive \ + --add-module=modules/nginx-module-txid120 make %install