From 29d96017350d1893be4d968531f7416755430ff8 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 17 May 2021 10:38:00 +0300 Subject: nginx: add new package at 1.18.0 --- extra/nginx/build | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 extra/nginx/build (limited to 'extra/nginx/build') diff --git a/extra/nginx/build b/extra/nginx/build new file mode 100755 index 00000000..5ce2160b --- /dev/null +++ b/extra/nginx/build @@ -0,0 +1,41 @@ +#!/bin/sh -e + +cfgdir=/etc/nginx +tmpdir=/var/tmp/nginx + +./configure \ + --prefix=/etc/nginx \ + --sbin-path=/usr/bin/nginx \ + --conf-path=$cfgdir/nginx.conf \ + --modules-path=/usr/share/nginx/modules \ + --pid-path=/run/nginx.pid \ + --lock-path=/var/lock/nginx.lock \ + --error-log-path=/var/log/nginx/error.log \ + --http-log-path=/var/log/nginx/access.log \ + --http-client-body-temp-path=$tmpdir \ + --user=nginx --group=nginx \ + --with-stream \ + --with-stream_ssl_module \ + --with-stream_realip_module \ + --with-stream_ssl_preread_module \ + --with-pcre-jit \ + --with-http_ssl_module \ + --with-http_dav_module \ + --with-http_gzip_static_module \ + --with-http_v2_module \ + --with-http_gunzip_module \ + --with-http_sub_module \ + --with-http_stub_status_module \ + --http-uwsgi-temp-path=${tmpdir}/uwsgi \ + --http-scgi-temp-path=${tmpdir}/scgi \ + --http-fastcgi-temp-path=${tmpdir}/fastcgi \ + --http-proxy-temp-path=${tmpdir}/proxy \ + --http-client-body-temp-path=${tmpdir}/client-body + +make +make DESTDIR="$1" install + +# Don't actually install this directory into the package. +rm -r "$1/run" + +install -Dm644 man/nginx.8 "$1/usr/share/man/man8/nginx.8" -- cgit v1.2.3