aboutsummaryrefslogtreecommitdiff
path: root/extra/nginx
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-05-17 10:38:00 +0300
committerCem Keylan <cem@ckyln.com>2021-05-17 10:38:00 +0300
commit29d96017350d1893be4d968531f7416755430ff8 (patch)
tree5f1120203ea615b87734c5752a1c1d5441d51c98 /extra/nginx
parent267ce6fe24ab60ab6652f7f17e399cc54a12e28c (diff)
downloadrepository-29d96017350d1893be4d968531f7416755430ff8.tar.gz
nginx: add new package at 1.18.0
Diffstat (limited to 'extra/nginx')
-rwxr-xr-xextra/nginx/build41
-rw-r--r--extra/nginx/checksums1
-rw-r--r--extra/nginx/depends3
-rw-r--r--extra/nginx/sources1
-rw-r--r--extra/nginx/version1
5 files changed, 47 insertions, 0 deletions
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"
diff --git a/extra/nginx/checksums b/extra/nginx/checksums
new file mode 100644
index 00000000..a041f4be
--- /dev/null
+++ b/extra/nginx/checksums
@@ -0,0 +1 @@
+4c373e7ab5bf91d34a4f11a0c9496561061ba5eee6020db272a17a7228d35f99 nginx-1.18.0.tar.gz
diff --git a/extra/nginx/depends b/extra/nginx/depends
new file mode 100644
index 00000000..1468cb1d
--- /dev/null
+++ b/extra/nginx/depends
@@ -0,0 +1,3 @@
+libressl
+pcre
+zlib
diff --git a/extra/nginx/sources b/extra/nginx/sources
new file mode 100644
index 00000000..b61b5f81
--- /dev/null
+++ b/extra/nginx/sources
@@ -0,0 +1 @@
+https://nginx.org/download/nginx-1.18.0.tar.gz
diff --git a/extra/nginx/version b/extra/nginx/version
new file mode 100644
index 00000000..f0fb559d
--- /dev/null
+++ b/extra/nginx/version
@@ -0,0 +1 @@
+1.18.0 1