aboutsummaryrefslogtreecommitdiff
path: root/extra/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nginx')
-rwxr-xr-xextra/nginx/build43
-rw-r--r--extra/nginx/checksums2
-rw-r--r--extra/nginx/depends3
-rw-r--r--extra/nginx/meta3
-rw-r--r--extra/nginx/sources1
-rw-r--r--extra/nginx/version1
6 files changed, 53 insertions, 0 deletions
diff --git a/extra/nginx/build b/extra/nginx/build
new file mode 100755
index 00000000..f6a3b41d
--- /dev/null
+++ b/extra/nginx/build
@@ -0,0 +1,43 @@
+#!/bin/sh -e
+
+export CFLAGS="$CFLAGS -static"
+
+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"
+
+clman -d "$1" man/nginx.8
diff --git a/extra/nginx/checksums b/extra/nginx/checksums
new file mode 100644
index 00000000..ac7962d0
--- /dev/null
+++ b/extra/nginx/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+98e6811fe53cc30c0e13efc95c76bd0e1379f72023bf9b88de4d350f42d5c097 nginx-1.25.2.tar.gz
diff --git a/extra/nginx/depends b/extra/nginx/depends
new file mode 100644
index 00000000..a7115da8
--- /dev/null
+++ b/extra/nginx/depends
@@ -0,0 +1,3 @@
+libressl
+pcre2
+zlib
diff --git a/extra/nginx/meta b/extra/nginx/meta
new file mode 100644
index 00000000..b952a28a
--- /dev/null
+++ b/extra/nginx/meta
@@ -0,0 +1,3 @@
+description: High performance web server
+license: BSD-2-Clause
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/nginx/sources b/extra/nginx/sources
new file mode 100644
index 00000000..9bba778b
--- /dev/null
+++ b/extra/nginx/sources
@@ -0,0 +1 @@
+https://nginx.org/download/nginx-1.25.2.tar.gz
diff --git a/extra/nginx/version b/extra/nginx/version
new file mode 100644
index 00000000..a22675c2
--- /dev/null
+++ b/extra/nginx/version
@@ -0,0 +1 @@
+1.25.2 1