|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: angie
|
|
|
|
|
Version: 1.6.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 1.8.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Efficient, powerful and scalable reverse proxy and web server
|
|
|
|
|
License: BSD-2-Clause
|
|
|
|
|
URL: https://angie.software
|
|
|
|
@ -11,11 +11,11 @@ Source3: example.conf
|
|
|
|
|
Source4: angie.logrotate
|
|
|
|
|
Source5: angie.service
|
|
|
|
|
Source6: angie.upgrade
|
|
|
|
|
Source30: nginx-auth-jwt-0.7.0.tar.gz
|
|
|
|
|
Source30: nginx-auth-jwt-0.9.0.tar.gz
|
|
|
|
|
Source39: README-module-auth-jwt
|
|
|
|
|
Source74: nginx-auth-ldap-241200eac8e4acae74d353291bd27f79e5ca3dc4.tar.gz
|
|
|
|
|
Source73: README-module-auth-ldap
|
|
|
|
|
Source7: spnego-http-auth-nginx-module-v1.1.1.tar.gz
|
|
|
|
|
Source7: spnego-http-auth-nginx-module-v1.1.2.tar.gz
|
|
|
|
|
Source40: README-module-auth-spnego
|
|
|
|
|
Source8: ngx_brotli-v1.0.0rc.tar.gz
|
|
|
|
|
Source41: README-module-brotli
|
|
|
|
@ -33,32 +33,36 @@ Source31: nginx-eval-module-2016.06.10.tar.gz
|
|
|
|
|
Source46: README-module-eval
|
|
|
|
|
Source10: ngx_http_geoip2_module-3.4.tar.gz
|
|
|
|
|
Source47: README-module-geoip2
|
|
|
|
|
Source11: headers-more-nginx-module-v0.37.tar.gz
|
|
|
|
|
Source11: headers-more-nginx-module-v0.38.tar.gz
|
|
|
|
|
Source48: README-module-headers-more
|
|
|
|
|
Source114: ngx_http_auth_radius_module-458af16e01533d52b842c74f242fff2340104385.tar.gz
|
|
|
|
|
Source115: README-module-http-auth-radius
|
|
|
|
|
Source49: README-module-image-filter
|
|
|
|
|
Source19: nginx-jwt-module-v3.4.1.tar.gz
|
|
|
|
|
Source19: nginx-jwt-module-v3.4.2.tar.gz
|
|
|
|
|
Source50: README-module-jwt
|
|
|
|
|
Source26: nginx-keyval-0.3.0.tar.gz
|
|
|
|
|
Source51: README-module-keyval
|
|
|
|
|
Source21: lua-resty-core-v0.1.28.tar.gz
|
|
|
|
|
Source22: lua-resty-lrucache-v0.13.tar.gz
|
|
|
|
|
Source23: luajit2-v2.1-20240626.tar.gz
|
|
|
|
|
Source24: lua-nginx-module-v0.10.26.tar.gz
|
|
|
|
|
Source25: stream-lua-nginx-module-bea8a0c0de94cede71554f53818ac0267d675d63.tar.gz
|
|
|
|
|
Source21: lua-resty-core-v0.1.31.tar.gz
|
|
|
|
|
Source22: lua-resty-lrucache-v0.15.tar.gz
|
|
|
|
|
Source23: luajit2-v2.1-20250117.tar.gz
|
|
|
|
|
Source24: lua-nginx-module-v0.10.28.tar.gz
|
|
|
|
|
Source25: stream-lua-nginx-module-v0.0.16.tar.gz
|
|
|
|
|
Source94: chronos-v0.2-4.tar.gz
|
|
|
|
|
Source95: lua-cjson-2.1.0.tar.gz
|
|
|
|
|
Source96: lua-dumper-v0.1.1.tar.gz
|
|
|
|
|
Source106: lua-ffi-zlib-v0.6.tar.gz
|
|
|
|
|
Source97: inspect.lua-v3.1.3.tar.gz
|
|
|
|
|
Source98: lua-resty-hmac-5f60e1a28b9fdd7939f0e1738171f0ca5fe22978.tar.gz
|
|
|
|
|
Source99: lua-resty-http-v0.17.2.tar.gz
|
|
|
|
|
Source100: lua-resty-jwt-v0.2.3.tar.gz
|
|
|
|
|
Source101: lua-resty-openidc-v1.7.6.tar.gz
|
|
|
|
|
Source102: lua-resty-openssl-1.4.0.tar.gz
|
|
|
|
|
Source103: lua-resty-session-v3.10.tar.gz
|
|
|
|
|
Source104: lua-resty-string-v0.15.tar.gz
|
|
|
|
|
Source101: lua-resty-openidc-v1.8.0.tar.gz
|
|
|
|
|
Source102: lua-resty-openssl-1.5.1.tar.gz
|
|
|
|
|
Source103: lua-resty-session-v4.0.5.tar.gz
|
|
|
|
|
Source104: lua-resty-string-v0.16.tar.gz
|
|
|
|
|
Source52: README-module-lua
|
|
|
|
|
Source67: libinjection-b9fcaaf9e50e9492807b23ffcc6af46ee1f203b9.tar.gz
|
|
|
|
|
Source68: ModSecurity-v3.0.12.tar.gz
|
|
|
|
|
Source105: mbedtls-v3.6.0.tar.gz
|
|
|
|
|
Source68: ModSecurity-v3.0.13.tar.gz
|
|
|
|
|
Source69: ModSecurity-nginx-v1.0.3.tar.gz
|
|
|
|
|
Source70: ssdeep-release-2.14.1.tar.gz
|
|
|
|
|
Source71: angie-module-modsecurity.logrotate
|
|
|
|
@ -66,10 +70,11 @@ Source72: modsecurity.rules.conf
|
|
|
|
|
Source53: README-module-modsecurity
|
|
|
|
|
Source12: ngx_devel_kit-v0.3.3.tar.gz
|
|
|
|
|
Source54: README-module-ndk
|
|
|
|
|
Source13: njs-0.8.5.tar.gz
|
|
|
|
|
Source13: njs-0.8.9.tar.gz
|
|
|
|
|
Source107: quickjs-6e2e68fd0896957f92eb6c242a2e048c1ef3cae0.tar.gz
|
|
|
|
|
Source55: README-module-njs
|
|
|
|
|
Source34: dd-opentracing-cpp-v1.3.7.tar.gz
|
|
|
|
|
Source35: nginx-opentracing-v0.35.3.tar.gz
|
|
|
|
|
Source35: nginx-opentracing-v0.38.0.tar.gz
|
|
|
|
|
Source36: opentracing-cpp-v1.6.0.tar.gz
|
|
|
|
|
Source37: zipkin-cpp-opentracing-966416e4d6aec23f572730aede6c087ccce6d194.tar.gz
|
|
|
|
|
Source56: README-module-opentracing
|
|
|
|
@ -101,8 +106,15 @@ Source18: nginx-vod-module-1.33.tar.gz
|
|
|
|
|
Source65: README-module-vod
|
|
|
|
|
Source90: nginx-module-stream-sts-v0.1.1.tar.gz
|
|
|
|
|
Source91: nginx-module-sts-v0.1.1.tar.gz
|
|
|
|
|
Source92: nginx-module-vts-v0.2.2.tar.gz
|
|
|
|
|
Source92: nginx-module-vts-v0.2.3.tar.gz
|
|
|
|
|
Source93: README-module-vts
|
|
|
|
|
Source108: wasm-micro-runtime-WAMR-1.3.2.tar.gz
|
|
|
|
|
Source109: wasmtime-v25.0.3-x86_64-linux-c-api.tar.xz
|
|
|
|
|
Source110: angie-wasm-v0.2-beta2.tar.gz
|
|
|
|
|
Source111: README-module-wamr
|
|
|
|
|
Source112: README-module-wasmtime
|
|
|
|
|
Source113: README-module-wasm
|
|
|
|
|
Source116: wasmtime-v25.0.3-aarch64-linux-c-api.tar.xz
|
|
|
|
|
Source66: README-module-xslt
|
|
|
|
|
Source75: mod_zip-1.3.0.tar.gz
|
|
|
|
|
Source76: README-module-zip
|
|
|
|
@ -110,6 +122,7 @@ Source88: zstd-nginx-module-f4ba115e0b0eaecde545e5f37db6aa18917d8f4b.tar.g
|
|
|
|
|
Source89: README-module-zstd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch20: http-auth-radius.patch
|
|
|
|
|
Patch0: luajit2-luaconf.h.patch
|
|
|
|
|
Patch1: luajit2-Makefile.patch
|
|
|
|
|
Patch2: lua-config.patch
|
|
|
|
@ -118,6 +131,7 @@ Patch18: lua-cjson.patch
|
|
|
|
|
Patch12: libinjection-version.patch
|
|
|
|
|
Patch10: modsecurity-ssdeep.patch
|
|
|
|
|
Patch11: modsecurity-libmaxminddb.patch
|
|
|
|
|
Patch19: modsecurity-mbedtls.patch
|
|
|
|
|
Patch8: dd-opentracing-cpp-cmakelists.patch
|
|
|
|
|
Patch9: opentracing-cpp-fix-ftbfs-glibc-2.34.patch
|
|
|
|
|
Patch14: abseil-off_t.patch
|
|
|
|
@ -127,18 +141,18 @@ Patch5: ngx_postgres-dynamic.patch
|
|
|
|
|
Patch6: ngx_postgres-subrequest_in_memory.patch
|
|
|
|
|
|
|
|
|
|
Patch16: zstd-nginx-module.nostatic.patch
|
|
|
|
|
Patch13: configure-accelerator.patch
|
|
|
|
|
Patch1000: 0001-Fix-configure-error.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
|
BuildRequires: pcre2-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
|
BuildRequires: msgpack-devel
|
|
|
|
|
BuildRequires: perl-ExtUtils-Embed
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
|
BuildRequires: perl(ExtUtils::Embed)
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
Requires: systemd
|
|
|
|
|
|
|
|
|
@ -149,10 +163,10 @@ with brand new extra functionality.
|
|
|
|
|
%prep
|
|
|
|
|
rm -Rf %{_builddir}/*
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch13 -p1
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-auth-jwt-0.7.0.tar.gz -C %{_builddir}
|
|
|
|
|
%patch -P 1000 -p1 -b .fix-configure-error
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-auth-jwt-0.9.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-auth-ldap-241200eac8e4acae74d353291bd27f79e5ca3dc4.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/spnego-http-auth-nginx-module-v1.1.1.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/spnego-http-auth-nginx-module-v1.1.2.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/ngx_brotli-v1.0.0rc.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/ngx_cache_purge-2.5.3.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-dav-ext-module-v3.0.0.tar.gz -C %{_builddir}
|
|
|
|
@ -161,47 +175,55 @@ tar -xpzf %{_sourcedir}/echo-nginx-module-v0.63.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/ngx_http_enhanced_memcached_module-v0.3.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-eval-module-2016.06.10.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/ngx_http_geoip2_module-3.4.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/headers-more-nginx-module-v0.37.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-jwt-module-v3.4.1.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/headers-more-nginx-module-v0.38.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/ngx_http_auth_radius_module-458af16e01533d52b842c74f242fff2340104385.tar.gz -C %{_builddir}
|
|
|
|
|
%patch -P20 -d %{_builddir}/ngx_http_auth_radius_module-458af16e01533d52b842c74f242fff2340104385 -p0
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-jwt-module-v3.4.2.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-keyval-0.3.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/chronos-v0.2-4.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-cjson-2.1.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-dumper-v0.1.1.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-ffi-zlib-v0.6.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/inspect.lua-v3.1.3.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-core-v0.1.28.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-core-v0.1.31.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-hmac-5f60e1a28b9fdd7939f0e1738171f0ca5fe22978.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-http-v0.17.2.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-jwt-v0.2.3.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-lrucache-v0.13.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-openidc-v1.7.6.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-openssl-1.4.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-session-v3.10.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-string-v0.15.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/luajit2-v2.1-20240626.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-nginx-module-v0.10.26.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/stream-lua-nginx-module-bea8a0c0de94cede71554f53818ac0267d675d63.tar.gz -C %{_builddir}
|
|
|
|
|
%patch0 -d %{_builddir}/luajit2-2.1-20240626 -p0
|
|
|
|
|
%patch1 -d %{_builddir}/luajit2-2.1-20240626 -p0
|
|
|
|
|
%patch2 -d %{_builddir}/lua-nginx-module-0.10.26 -p0
|
|
|
|
|
%patch3 -d %{_builddir}/stream-lua-nginx-module-bea8a0c0de94cede71554f53818ac0267d675d63 -p0
|
|
|
|
|
%patch18 -d %{_builddir}/lua-cjson-2.1.0 -p0
|
|
|
|
|
tar -xpzf %{_sourcedir}/ModSecurity-v3.0.12.tar.gz -C %{_builddir}
|
|
|
|
|
rmdir %{_builddir}/ModSecurity-3.0.12/others/libinjection
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-lrucache-v0.15.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-openidc-v1.8.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-openssl-1.5.1.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-session-v4.0.5.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-resty-string-v0.16.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/luajit2-v2.1-20250117.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/lua-nginx-module-v0.10.28.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/stream-lua-nginx-module-v0.0.16.tar.gz -C %{_builddir}
|
|
|
|
|
%patch -P0 -d %{_builddir}/luajit2-2.1-20250117 -p0
|
|
|
|
|
%patch -P1 -d %{_builddir}/luajit2-2.1-20250117 -p0
|
|
|
|
|
%patch -P2 -d %{_builddir}/lua-nginx-module-0.10.28 -p0
|
|
|
|
|
%patch -P3 -d %{_builddir}/stream-lua-nginx-module-0.0.16 -p0
|
|
|
|
|
%patch -P18 -d %{_builddir}/lua-cjson-2.1.0 -p0
|
|
|
|
|
tar -xpzf %{_sourcedir}/ModSecurity-v3.0.13.tar.gz -C %{_builddir}
|
|
|
|
|
rmdir %{_builddir}/ModSecurity-3.0.13/others/libinjection
|
|
|
|
|
tar -xpzf %{_sourcedir}/libinjection-b9fcaaf9e50e9492807b23ffcc6af46ee1f203b9.tar.gz -C %{_builddir}
|
|
|
|
|
%patch12 -d %{_builddir}/libinjection-b9fcaaf9e50e9492807b23ffcc6af46ee1f203b9 -p0
|
|
|
|
|
mv %{_builddir}/libinjection-b9fcaaf9e50e9492807b23ffcc6af46ee1f203b9 %{_builddir}/ModSecurity-3.0.12/others/libinjection
|
|
|
|
|
%patch -P12 -d %{_builddir}/libinjection-b9fcaaf9e50e9492807b23ffcc6af46ee1f203b9 -p0
|
|
|
|
|
mv %{_builddir}/libinjection-b9fcaaf9e50e9492807b23ffcc6af46ee1f203b9 %{_builddir}/ModSecurity-3.0.13/others/libinjection
|
|
|
|
|
rmdir %{_builddir}/ModSecurity-3.0.13/others/mbedtls
|
|
|
|
|
tar -xpzf %{_sourcedir}/mbedtls-v3.6.0.tar.gz -C %{_builddir}
|
|
|
|
|
mv %{_builddir}/mbedtls-3.6.0 %{_builddir}/ModSecurity-3.0.13/others/mbedtls
|
|
|
|
|
tar -xpzf %{_sourcedir}/ModSecurity-nginx-v1.0.3.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/ssdeep-release-2.14.1.tar.gz -C %{_builddir}
|
|
|
|
|
%patch10 -d %{_builddir}/ModSecurity-3.0.12 -p0
|
|
|
|
|
%patch11 -d %{_builddir}/ModSecurity-3.0.12 -p0
|
|
|
|
|
%patch -P10 -d %{_builddir}/ModSecurity-3.0.13 -p0
|
|
|
|
|
%patch -P11 -d %{_builddir}/ModSecurity-3.0.13 -p0
|
|
|
|
|
%patch -P19 -d %{_builddir}/ModSecurity-3.0.13 -p0
|
|
|
|
|
tar -xpzf %{_sourcedir}/ngx_devel_kit-v0.3.3.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/njs-0.8.5.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/njs-0.8.9.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/quickjs-6e2e68fd0896957f92eb6c242a2e048c1ef3cae0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/dd-opentracing-cpp-v1.3.7.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-opentracing-v0.35.3.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-opentracing-v0.38.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/opentracing-cpp-v1.6.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/zipkin-cpp-opentracing-966416e4d6aec23f572730aede6c087ccce6d194.tar.gz -C %{_builddir}
|
|
|
|
|
%patch8 -d %{_builddir}/dd-opentracing-cpp-1.3.7 -p0
|
|
|
|
|
%patch9 -d %{_builddir}/opentracing-cpp-1.6.0 -p0
|
|
|
|
|
%patch -P8 -d %{_builddir}/dd-opentracing-cpp-1.3.7 -p0
|
|
|
|
|
%patch -P9 -d %{_builddir}/opentracing-cpp-1.6.0 -p0
|
|
|
|
|
tar -xpzf %{_sourcedir}/abseil-cpp-20211102.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/c-ares-cares-1_27_0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/grpc-v1.46.7.tar.gz -C %{_builddir}
|
|
|
|
@ -210,12 +232,12 @@ tar -xpzf %{_sourcedir}/opentelemetry-cpp-v1.11.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/opentelemetry-proto-v1.0.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/protobuf-v3.19.5.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/re2-2024-03-01.tar.gz -C %{_builddir}
|
|
|
|
|
%patch14 -d %{_builddir}/abseil-cpp-20211102.0 -p0
|
|
|
|
|
%patch15 -d %{_builddir}/abseil-cpp-20211102.0 -p0
|
|
|
|
|
%patch -P14 -d %{_builddir}/abseil-cpp-20211102.0 -p0
|
|
|
|
|
%patch -P15 -d %{_builddir}/abseil-cpp-20211102.0 -p0
|
|
|
|
|
tar -xpzf %{_sourcedir}/ngx_postgres-1.0rc7.tar.gz -C %{_builddir}
|
|
|
|
|
%patch4 -d %{_builddir}/ngx_postgres-1.0rc7 -p0
|
|
|
|
|
%patch5 -d %{_builddir}/ngx_postgres-1.0rc7 -p0
|
|
|
|
|
%patch6 -d %{_builddir}/ngx_postgres-1.0rc7 -p0
|
|
|
|
|
%patch -P4 -d %{_builddir}/ngx_postgres-1.0rc7 -p0
|
|
|
|
|
%patch -P5 -d %{_builddir}/ngx_postgres-1.0rc7 -p0
|
|
|
|
|
%patch -P6 -d %{_builddir}/ngx_postgres-1.0rc7 -p0
|
|
|
|
|
tar -xpzf %{_sourcedir}/redis2-nginx-module-v0.15.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-rtmp-module-v1.2.2.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/set-misc-nginx-module-v0.33.tar.gz -C %{_builddir}
|
|
|
|
@ -225,10 +247,18 @@ tar -xpzf %{_sourcedir}/nginx-upload-module-2.3.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-vod-module-1.33.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-module-stream-sts-v0.1.1.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-module-sts-v0.1.1.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-module-vts-v0.2.2.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/nginx-module-vts-v0.2.3.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/wasm-micro-runtime-WAMR-1.3.2.tar.gz -C %{_builddir}
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
tar -xpJf %{_sourcedir}/wasmtime-v25.0.3-x86_64-linux-c-api.tar.xz -C %{_builddir}
|
|
|
|
|
%endif
|
|
|
|
|
%ifarch aarch64
|
|
|
|
|
tar -xpJf %{_sourcedir}/wasmtime-v25.0.3-aarch64-linux-c-api.tar.xz -C %{_builddir}
|
|
|
|
|
%endif
|
|
|
|
|
tar -xpzf %{_sourcedir}/angie-wasm-v0.2-beta2.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/mod_zip-1.3.0.tar.gz -C %{_builddir}
|
|
|
|
|
tar -xpzf %{_sourcedir}/zstd-nginx-module-f4ba115e0b0eaecde545e5f37db6aa18917d8f4b.tar.gz -C %{_builddir}
|
|
|
|
|
%patch16 -d %{_builddir}/zstd-nginx-module-f4ba115e0b0eaecde545e5f37db6aa18917d8f4b -p0
|
|
|
|
|
%patch -P16 -d %{_builddir}/zstd-nginx-module-f4ba115e0b0eaecde545e5f37db6aa18917d8f4b -p0
|
|
|
|
|
|
|
|
|
|
cp -Rp %{_builddir}/angie-%{version} %{_builddir}/angie-debug
|
|
|
|
|
|
|
|
|
@ -345,20 +375,20 @@ _build() {
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../nginx-auth-jwt-0.7.0 \
|
|
|
|
|
_build configure_add=--add-dynamic-module=../nginx-auth-jwt-0.9.0 \
|
|
|
|
|
objs_dir=module-auth-jwt
|
|
|
|
|
cp %{_sourcedir}/README-module-auth-jwt module-auth-jwt/README
|
|
|
|
|
cp ../nginx-auth-jwt-0.7.0/LICENSE module-auth-jwt/LICENSE
|
|
|
|
|
cp ../nginx-auth-jwt-0.9.0/LICENSE module-auth-jwt/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../nginx-auth-ldap-241200eac8e4acae74d353291bd27f79e5ca3dc4 \
|
|
|
|
|
objs_dir=module-auth-ldap
|
|
|
|
|
cp %{_sourcedir}/README-module-auth-ldap module-auth-ldap/README
|
|
|
|
|
cp ../nginx-auth-ldap-241200eac8e4acae74d353291bd27f79e5ca3dc4/LICENSE module-auth-ldap/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../spnego-http-auth-nginx-module-1.1.1 \
|
|
|
|
|
_build configure_add=--add-dynamic-module=../spnego-http-auth-nginx-module-1.1.2 \
|
|
|
|
|
objs_dir=module-auth-spnego
|
|
|
|
|
cp %{_sourcedir}/README-module-auth-spnego module-auth-spnego/README
|
|
|
|
|
cp ../spnego-http-auth-nginx-module-1.1.1/LICENSE module-auth-spnego/LICENSE
|
|
|
|
|
cp ../spnego-http-auth-nginx-module-1.1.2/LICENSE module-auth-spnego/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../ngx_brotli-1.0.0rc \
|
|
|
|
|
objs_dir=module-brotli
|
|
|
|
@ -400,19 +430,24 @@ _build configure_add=--add-dynamic-module=../ngx_http_geoip2_module-3.4 \
|
|
|
|
|
cp %{_sourcedir}/README-module-geoip2 module-geoip2/README
|
|
|
|
|
cp ../ngx_http_geoip2_module-3.4/LICENSE module-geoip2/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../headers-more-nginx-module-0.37 \
|
|
|
|
|
_build configure_add=--add-dynamic-module=../headers-more-nginx-module-0.38 \
|
|
|
|
|
objs_dir=module-headers-more
|
|
|
|
|
cp %{_sourcedir}/README-module-headers-more module-headers-more/README
|
|
|
|
|
cp ../headers-more-nginx-module-0.37/README.markdown module-headers-more/LICENSE
|
|
|
|
|
cp ../headers-more-nginx-module-0.38/README.markdown module-headers-more/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../ngx_http_auth_radius_module-458af16e01533d52b842c74f242fff2340104385 \
|
|
|
|
|
objs_dir=module-http-auth-radius
|
|
|
|
|
cp %{_sourcedir}/README-module-http-auth-radius module-http-auth-radius/README
|
|
|
|
|
cp ../ngx_http_auth_radius_module-458af16e01533d52b842c74f242fff2340104385/README.md module-http-auth-radius/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add=--with-http_image_filter_module=dynamic \
|
|
|
|
|
objs_dir=module-image-filter
|
|
|
|
|
cp %{_sourcedir}/README-module-image-filter module-image-filter/README
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../nginx-jwt-module-3.4.1 \
|
|
|
|
|
_build configure_add=--add-dynamic-module=../nginx-jwt-module-3.4.2 \
|
|
|
|
|
objs_dir=module-jwt
|
|
|
|
|
cp %{_sourcedir}/README-module-jwt module-jwt/README
|
|
|
|
|
cp ../nginx-jwt-module-3.4.1/LICENSE module-jwt/LICENSE
|
|
|
|
|
cp ../nginx-jwt-module-3.4.2/LICENSE module-jwt/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../nginx-keyval-0.3.0 \
|
|
|
|
|
objs_dir=module-keyval
|
|
|
|
@ -420,30 +455,32 @@ cp %{_sourcedir}/README-module-keyval module-keyval/README
|
|
|
|
|
cp ../nginx-keyval-0.3.0/LICENSE module-keyval/LICENSE
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
cd ../luajit2-2.1-20240626
|
|
|
|
|
cd ../luajit2-2.1-20250117
|
|
|
|
|
make %{?_smp_mflags} CFLAGS="$CFLAGS -fPIC" DESTDIR=$(pwd) install
|
|
|
|
|
)
|
|
|
|
|
_build configure_add="--add-dynamic-module=../lua-nginx-module-0.10.26
|
|
|
|
|
--add-dynamic-module=../stream-lua-nginx-module-bea8a0c0de94cede71554f53818ac0267d675d63
|
|
|
|
|
_build configure_add="--add-dynamic-module=../lua-nginx-module-0.10.28
|
|
|
|
|
--add-dynamic-module=../stream-lua-nginx-module-0.0.16
|
|
|
|
|
--add-dynamic-module=../ngx_devel_kit-0.3.3" \
|
|
|
|
|
configure_env="LUAJIT_INC=../luajit2-2.1-20240626/usr/include/luajit-2.1
|
|
|
|
|
LUAJIT_LIB=../luajit2-2.1-20240626/usr/lib" \
|
|
|
|
|
configure_env="LUAJIT_INC=../luajit2-2.1-20250117/usr/include/luajit-2.1
|
|
|
|
|
LUAJIT_LIB=../luajit2-2.1-20250117/usr/lib" \
|
|
|
|
|
objs_dir=module-lua
|
|
|
|
|
|
|
|
|
|
mkdir module-lua/lua-clibs
|
|
|
|
|
|
|
|
|
|
cc -O2 -fPIC -I../luajit2-2.1-20240626/src -c ../chronos-0.2-4/src/chronos.c \
|
|
|
|
|
cc -O2 -fPIC -I../luajit2-2.1-20250117/src -c ../chronos-0.2-4/src/chronos.c \
|
|
|
|
|
-o ../chronos-0.2-4/src/chronos.o
|
|
|
|
|
cc -shared -o module-lua/lua-clibs/chronos.so ../chronos-0.2-4/src/chronos.o -lrt
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-cjson-2.1.0 install \
|
|
|
|
|
LUA_CMODULE_DIR=$(pwd)/module-lua/lua-clibs LUA_INCLUDE_DIR=../luajit2-2.1-20240626/src
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-resty-core-0.1.28 install \
|
|
|
|
|
LUA_CMODULE_DIR=$(pwd)/module-lua/lua-clibs LUA_INCLUDE_DIR=../luajit2-2.1-20250117/src
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-resty-core-0.1.31 install \
|
|
|
|
|
DESTDIR=$(pwd)/module-lua/lua-libs LUA_LIB_DIR=
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-resty-lrucache-0.13 install \
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-resty-lrucache-0.15 install \
|
|
|
|
|
DESTDIR=$(pwd)/module-lua/lua-libs LUA_LIB_DIR=
|
|
|
|
|
cp ../lua-dumper-0.1.1/dumper.lua \
|
|
|
|
|
module-lua/lua-libs
|
|
|
|
|
cp ../lua-ffi-zlib-0.6/lib/ffi-zlib.lua \
|
|
|
|
|
module-lua/lua-libs
|
|
|
|
|
cp ../inspect.lua-3.1.3/inspect.lua \
|
|
|
|
|
module-lua/lua-libs
|
|
|
|
|
cp -Rp ../lua-resty-hmac-5f60e1a28b9fdd7939f0e1738171f0ca5fe22978/lib/resty/* \
|
|
|
|
@ -452,17 +489,17 @@ make %{?_smp_mflags} -C ../lua-resty-http-0.17.2 install \
|
|
|
|
|
DESTDIR=$(pwd)/module-lua/lua-libs LUA_LIB_DIR=
|
|
|
|
|
cp -Rp ../lua-resty-jwt-0.2.3/lib/resty/* \
|
|
|
|
|
module-lua/lua-libs/resty
|
|
|
|
|
cp -Rp ../lua-resty-openidc-1.7.6/lib/resty/* \
|
|
|
|
|
cp -Rp ../lua-resty-openidc-1.8.0/lib/resty/* \
|
|
|
|
|
module-lua/lua-libs/resty
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-resty-openssl-1.4.0 install \
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-resty-openssl-1.5.1 install \
|
|
|
|
|
DESTDIR=$(pwd)/module-lua/lua-libs LUA_LIB_DIR=
|
|
|
|
|
cp -Rp ../lua-resty-session-3.10/lib/resty/* \
|
|
|
|
|
cp -Rp ../lua-resty-session-4.0.5/lib/resty/* \
|
|
|
|
|
module-lua/lua-libs/resty
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-resty-string-0.15 install \
|
|
|
|
|
make %{?_smp_mflags} -C ../lua-resty-string-0.16 install \
|
|
|
|
|
DESTDIR=$(pwd)/module-lua/lua-libs LUA_LIB_DIR=
|
|
|
|
|
|
|
|
|
|
cp %{_sourcedir}/README-module-lua module-lua/README
|
|
|
|
|
cp ../lua-nginx-module-0.10.26/README.markdown module-lua/LICENSE
|
|
|
|
|
cp ../lua-nginx-module-0.10.28/README.markdown module-lua/LICENSE
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
cd ../ssdeep-release-2.14.1
|
|
|
|
@ -471,10 +508,10 @@ cp ../lua-nginx-module-0.10.26/README.markdown module-lua/LICENSE
|
|
|
|
|
--libdir=%{_builddir}/sandbox/lib \
|
|
|
|
|
--enable-shared=no \
|
|
|
|
|
--with-pic
|
|
|
|
|
make %{?_smp_mflags} && make install
|
|
|
|
|
make && make install
|
|
|
|
|
)
|
|
|
|
|
(
|
|
|
|
|
cd ../ModSecurity-3.0.12
|
|
|
|
|
cd ../ModSecurity-3.0.13
|
|
|
|
|
./build.sh
|
|
|
|
|
./configure --prefix=%{_builddir}/sandbox \
|
|
|
|
|
--libdir=%{_builddir}/sandbox/lib \
|
|
|
|
@ -486,7 +523,7 @@ cp ../lua-nginx-module-0.10.26/README.markdown module-lua/LICENSE
|
|
|
|
|
--with-pcre2 \
|
|
|
|
|
--with-pic \
|
|
|
|
|
--with-ssdeep=%{_builddir}/sandbox
|
|
|
|
|
make %{?_smp_mflags} && make install
|
|
|
|
|
make && make install
|
|
|
|
|
)
|
|
|
|
|
_build configure_add=--add-dynamic-module=%{_builddir}/ModSecurity-nginx-1.0.3 \
|
|
|
|
|
cc_opt="-I%{_builddir}/sandbox/include" \
|
|
|
|
@ -501,9 +538,9 @@ cp ../ModSecurity-nginx-1.0.3/LICENSE module-modsecurity/LICENSE
|
|
|
|
|
sed -E -e 's,\b(SecAuditLog)\b.*,\1 /var/log/angie/modsecurity/audit.log,' \
|
|
|
|
|
-e 's,\b(SecDebugLog)\b.*,\1 /var/log/angie/modsecurity/debug.log,' \
|
|
|
|
|
-e 's,\b(SecAuditLogStorageDir)\b.*,\1 /var/log/angie/modsecurity/concurrent,' \
|
|
|
|
|
../ModSecurity-3.0.12/modsecurity.conf-recommended > \
|
|
|
|
|
../ModSecurity-3.0.13/modsecurity.conf-recommended > \
|
|
|
|
|
module-modsecurity/modsecurity.conf
|
|
|
|
|
cp ../ModSecurity-3.0.12/unicode.mapping module-modsecurity/unicode.mapping
|
|
|
|
|
cp ../ModSecurity-3.0.13/unicode.mapping module-modsecurity/unicode.mapping
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../ngx_devel_kit-0.3.3 \
|
|
|
|
|
cc_opt="-DNDK_SET_VAR -DNDK_UPSTREAM_LIST" \
|
|
|
|
@ -511,17 +548,25 @@ _build configure_add=--add-dynamic-module=../ngx_devel_kit-0.3.3 \
|
|
|
|
|
cp %{_sourcedir}/README-module-ndk module-ndk/README
|
|
|
|
|
cp ../ngx_devel_kit-0.3.3/LICENSE module-ndk/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../njs-0.8.5/nginx \
|
|
|
|
|
(
|
|
|
|
|
cd ../quickjs-6e2e68fd0896957f92eb6c242a2e048c1ef3cae0
|
|
|
|
|
env CFLAGS="$CFLAGS -fPIC" make install PREFIX=%{_builddir}/sandbox
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../njs-0.8.9/nginx \
|
|
|
|
|
cc_opt="-I%{_builddir}/sandbox/include/quickjs" \
|
|
|
|
|
ld_opt="-L%{_builddir}/sandbox/lib/quickjs" \
|
|
|
|
|
objs_dir=module-njs
|
|
|
|
|
(
|
|
|
|
|
cd ../njs-0.8.5
|
|
|
|
|
cd ../njs-0.8.9
|
|
|
|
|
[ -f Makefile ] && make clean
|
|
|
|
|
./configure --ld-opt="$LDFLAGS"
|
|
|
|
|
./configure --cc-opt="-I%{_builddir}/sandbox/include/quickjs" \
|
|
|
|
|
--ld-opt="$LDFLAGS -L%{_builddir}/sandbox/lib/quickjs"
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
cp %{_sourcedir}/README-module-njs module-njs/README
|
|
|
|
|
cp ../njs-0.8.5/LICENSE module-njs/LICENSE
|
|
|
|
|
cp ../njs-0.8.9/LICENSE module-njs/LICENSE
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
cd ../opentracing-cpp-1.6.0
|
|
|
|
@ -563,13 +608,13 @@ cp ../njs-0.8.5/LICENSE module-njs/LICENSE
|
|
|
|
|
make -j2
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
_build configure_add=--add-dynamic-module=../nginx-opentracing-0.35.3/opentracing \
|
|
|
|
|
_build configure_add=--add-dynamic-module=../nginx-opentracing-0.38.0/opentracing \
|
|
|
|
|
cc_opt="-I%{_builddir}/sandbox/include" \
|
|
|
|
|
ld_opt="-L%{_builddir}/sandbox/lib" \
|
|
|
|
|
objs_dir=module-opentracing
|
|
|
|
|
|
|
|
|
|
cp %{_sourcedir}/README-module-opentracing module-opentracing/README
|
|
|
|
|
cp ../nginx-opentracing-0.35.3/LICENSE module-opentracing/LICENSE
|
|
|
|
|
cp ../nginx-opentracing-0.38.0/LICENSE module-opentracing/LICENSE
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
cd ../c-ares-cares-1_27_0
|
|
|
|
@ -736,10 +781,53 @@ cp ../nginx-vod-module-1.33/LICENSE module-vod/LICENSE
|
|
|
|
|
|
|
|
|
|
_build configure_add="--add-dynamic-module=../nginx-module-stream-sts-0.1.1
|
|
|
|
|
--add-dynamic-module=../nginx-module-sts-0.1.1
|
|
|
|
|
--add-dynamic-module=../nginx-module-vts-0.2.2" \
|
|
|
|
|
--add-dynamic-module=../nginx-module-vts-0.2.3" \
|
|
|
|
|
objs_dir=module-vts
|
|
|
|
|
cp %{_sourcedir}/README-module-vts module-vts/README
|
|
|
|
|
cp ../nginx-module-vts-0.2.2/LICENSE module-vts/LICENSE
|
|
|
|
|
cp ../nginx-module-vts-0.2.3/LICENSE module-vts/LICENSE
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
cd ../wasm-micro-runtime-WAMR-1.3.2
|
|
|
|
|
mkdir .build && cd .build
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_builddir}/sandbox ..
|
|
|
|
|
make -j2 install
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
cp -Rp ../wasmtime-v25.0.3-x86_64-linux-c-api/include/* \
|
|
|
|
|
%{_builddir}/sandbox/include
|
|
|
|
|
cp -Rp ../wasmtime-v25.0.3-x86_64-linux-c-api/lib/libwasmtime.a \
|
|
|
|
|
%{_builddir}/sandbox/lib
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch aarch64
|
|
|
|
|
cp -Rp ../wasmtime-v25.0.3-aarch64-linux-c-api/include/* \
|
|
|
|
|
%{_builddir}/sandbox/include
|
|
|
|
|
cp -Rp ../wasmtime-v25.0.3-aarch64-linux-c-api/lib/libwasmtime.a \
|
|
|
|
|
%{_builddir}/sandbox/lib
|
|
|
|
|
%endif
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
_build configure_add="--add-dynamic-module=../angie-wasm/ngx_wamr_module" \
|
|
|
|
|
cc_opt="-I%{_builddir}/sandbox/include" \
|
|
|
|
|
ld_opt="-L%{_builddir}/sandbox/lib -lvmlib -lm" \
|
|
|
|
|
objs_dir=module-wamr
|
|
|
|
|
|
|
|
|
|
cp %{_sourcedir}/README-module-wamr module-wamr/README
|
|
|
|
|
|
|
|
|
|
_build configure_add="--add-dynamic-module=../angie-wasm/ngx_wasmtime_module" \
|
|
|
|
|
cc_opt="-I%{_builddir}/sandbox/include" \
|
|
|
|
|
ld_opt="-L%{_builddir}/sandbox/lib -lwasmtime -lm" \
|
|
|
|
|
objs_dir=module-wasmtime
|
|
|
|
|
|
|
|
|
|
cp %{_sourcedir}/README-module-wasmtime module-wasmtime/README
|
|
|
|
|
|
|
|
|
|
_build configure_add="--add-dynamic-module=../angie-wasm/ngx_wasm_module
|
|
|
|
|
--add-dynamic-module=../angie-wasm/ngx_http_wasm_host_module" \
|
|
|
|
|
objs_dir=module-wasm
|
|
|
|
|
|
|
|
|
|
cp %{_sourcedir}/README-module-wasm module-wasm/README
|
|
|
|
|
|
|
|
|
|
_build configure_add=--with-http_xslt_module=dynamic \
|
|
|
|
|
objs_dir=module-xslt
|
|
|
|
@ -833,6 +921,9 @@ install -Dm 755 module-geoip2/ngx_stream_geoip2_module*.so \
|
|
|
|
|
install -Dm 755 module-headers-more/ngx_http_headers_more_filter_module*.so \
|
|
|
|
|
-t %{buildroot}%{_libdir}/angie/modules
|
|
|
|
|
|
|
|
|
|
install -Dm 755 module-http-auth-radius/ngx_http_auth_radius_module*.so \
|
|
|
|
|
-t %{buildroot}%{_libdir}/angie/modules
|
|
|
|
|
|
|
|
|
|
install -Dm 755 module-image-filter/ngx_http_image_filter_module*.so \
|
|
|
|
|
-t %{buildroot}%{_libdir}/angie/modules
|
|
|
|
|
|
|
|
|
@ -883,7 +974,7 @@ install -Dm 755 module-njs/ngx_http_js_module*.so \
|
|
|
|
|
install -Dm 755 module-njs/ngx_stream_js_module*.so \
|
|
|
|
|
-t %{buildroot}%{_libdir}/angie/modules
|
|
|
|
|
|
|
|
|
|
install -Dm 755 ../njs-0.8.5/build/njs \
|
|
|
|
|
install -Dm 755 ../njs-0.8.9/build/njs \
|
|
|
|
|
%{buildroot}%{_bindir}/njs
|
|
|
|
|
|
|
|
|
|
install -Dm 755 module-opentracing/ngx_http_opentracing_module*.so \
|
|
|
|
@ -935,11 +1026,18 @@ install -Dm 755 module-vts/ngx_*_traffic_status_module*.so \
|
|
|
|
|
|
|
|
|
|
install -dm 755 %{buildroot}%{_datadir}/angie-module-vts/stream
|
|
|
|
|
|
|
|
|
|
install -Dm 644 %{_builddir}/nginx-module-vts-0.2.2/share/*.html \
|
|
|
|
|
install -Dm 644 %{_builddir}/nginx-module-vts-0.2.3/share/*.html \
|
|
|
|
|
-t %{buildroot}%{_datadir}/angie-module-vts
|
|
|
|
|
install -Dm 644 %{_builddir}/nginx-module-sts-0.1.1/share/*.html \
|
|
|
|
|
-t %{buildroot}%{_datadir}/angie-module-vts/stream
|
|
|
|
|
|
|
|
|
|
install -Dm 755 module-wasm/ngx_*.so \
|
|
|
|
|
-t %{buildroot}%{_libdir}/angie/modules
|
|
|
|
|
install -Dm 755 module-wamr/ngx_wamr_module*.so \
|
|
|
|
|
-t %{buildroot}%{_libdir}/angie/modules
|
|
|
|
|
install -Dm 755 module-wasmtime/ngx_wasmtime_module*.so \
|
|
|
|
|
-t %{buildroot}%{_libdir}/angie/modules
|
|
|
|
|
|
|
|
|
|
install -Dm 755 module-xslt/ngx_http_xslt_filter_module*.so \
|
|
|
|
|
-t %{buildroot}%{_libdir}/angie/modules
|
|
|
|
|
|
|
|
|
@ -1024,7 +1122,7 @@ if [ $1 -eq 1 ]; then
|
|
|
|
|
Thanks for using Angie!
|
|
|
|
|
|
|
|
|
|
Please find the official documentation for Angie here:
|
|
|
|
|
* https://angie.software/en/
|
|
|
|
|
* https://en.angie.software/angie/docs/
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
EOM
|
|
|
|
@ -1442,6 +1540,37 @@ and reload angie:
|
|
|
|
|
Please refer to the modules documentation for further details:
|
|
|
|
|
https://github.com/openresty/headers-more-nginx-module/
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
|
fi
|
|
|
|
|
%package module-http-auth-radius
|
|
|
|
|
Summary: Angie http-auth-radius dynamic module
|
|
|
|
|
Requires: angie = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description module-http-auth-radius
|
|
|
|
|
Module adds support of authentication against RADIUS servers for Angie.
|
|
|
|
|
|
|
|
|
|
%files module-http-auth-radius
|
|
|
|
|
%{_libdir}/angie/modules/ngx_http_auth_radius_module.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_http_auth_radius_module-debug.so
|
|
|
|
|
|
|
|
|
|
%doc module-http-auth-radius/README
|
|
|
|
|
%license module-http-auth-radius/LICENSE
|
|
|
|
|
|
|
|
|
|
%post module-http-auth-radius
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
|
cat <<BANNER
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
The http-auth-radius dynamic module for Angie has been installed.
|
|
|
|
|
To enable this module, add the following to /etc/angie/angie.conf
|
|
|
|
|
and reload angie:
|
|
|
|
|
|
|
|
|
|
load_module modules/ngx_http_auth_radius_module.so;
|
|
|
|
|
|
|
|
|
|
Please refer to the module documentation for further details:
|
|
|
|
|
https://github.com/ten0s/ngx_http_auth_radius_module
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
|
fi
|
|
|
|
@ -1472,7 +1601,7 @@ and reload angie:
|
|
|
|
|
load_module modules/ngx_http_image_filter_module.so;
|
|
|
|
|
|
|
|
|
|
Please refer to the modules documentation for further details:
|
|
|
|
|
https://angie.software/http_image_filter/
|
|
|
|
|
https://en.angie.software/angie/docs/configuration/modules/http/http_image_filter/
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
@ -1734,9 +1863,8 @@ and reload angie:
|
|
|
|
|
|
|
|
|
|
Please refer to the njs documentation for further details:
|
|
|
|
|
https://github.com/nginx/njs
|
|
|
|
|
https://angie.software/js_reference/
|
|
|
|
|
https://angie.software/http_js/
|
|
|
|
|
https://angie.software/stream_js/
|
|
|
|
|
https://en.angie.software/angie/docs/configuration/modules/http/http_js/
|
|
|
|
|
https://en.angie.software/angie/docs/configuration/modules/stream/stream_js/
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
@ -1763,7 +1891,7 @@ if [ $1 -eq 1 ]; then
|
|
|
|
|
The njs CLI for Angie has been installed.
|
|
|
|
|
|
|
|
|
|
Please refer to the njs documentation for further details:
|
|
|
|
|
https://angie.software/js_reference/
|
|
|
|
|
https://nginx.org/en/docs/njs/cli.html
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
@ -1853,8 +1981,8 @@ Perl calls into SSI.
|
|
|
|
|
%files module-perl
|
|
|
|
|
%{_libdir}/angie/modules/ngx_http_perl_module.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_http_perl_module-debug.so
|
|
|
|
|
%{perl_vendorarch}/auto/nginx
|
|
|
|
|
%{perl_vendorarch}/nginx.pm
|
|
|
|
|
%{_libdir}/perl5/vendor_perl/auto/nginx
|
|
|
|
|
%{_libdir}/perl5/vendor_perl/nginx.pm
|
|
|
|
|
%{_mandir}/man3/nginx.3pm.gz
|
|
|
|
|
|
|
|
|
|
%doc module-perl/README
|
|
|
|
@ -1872,7 +2000,7 @@ and reload angie:
|
|
|
|
|
load_module modules/ngx_http_perl_module.so;
|
|
|
|
|
|
|
|
|
|
Please refer to the modules documentation for further details:
|
|
|
|
|
https://angie.software/http_perl/
|
|
|
|
|
https://en.angie.software/angie/docs/configuration/modules/http/http_perl/
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
@ -2170,6 +2298,115 @@ https://github.com/vozlt/nginx-module-vts
|
|
|
|
|
https://github.com/vozlt/nginx-module-stream-sts
|
|
|
|
|
https://github.com/vozlt/nginx-module-sts
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
|
fi
|
|
|
|
|
%package module-wamr
|
|
|
|
|
Summary: WAMR run-time for Angie Wasm dynamic module
|
|
|
|
|
Requires: angie = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description module-wamr
|
|
|
|
|
WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime with small footprint,
|
|
|
|
|
high performance and highly configurable features for applications cross from embedded, IoT,
|
|
|
|
|
edge to Trusted Execution Environment (TEE), smart contract, cloud native and so on.
|
|
|
|
|
|
|
|
|
|
%files module-wamr
|
|
|
|
|
%{_libdir}/angie/modules/ngx_wamr_module.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_wamr_module-debug.so
|
|
|
|
|
|
|
|
|
|
%doc module-wamr/README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%post module-wamr
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
|
cat <<BANNER
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
The WAMR run-time for Angie Wasm dynamic module has been installed.
|
|
|
|
|
To enable this module, add the following to /etc/angie/angie.conf
|
|
|
|
|
and reload angie:
|
|
|
|
|
|
|
|
|
|
load_module modules/ngx_wamr_module.so;
|
|
|
|
|
|
|
|
|
|
Please refer to the module documentation for further details:
|
|
|
|
|
https://github.com/bytecodealliance/wasm-micro-runtime
|
|
|
|
|
https://git.angie.software/web-server/angie-wasm
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%package module-wasmtime
|
|
|
|
|
Summary: Wasmtime run-time for Angie Wasm dynamic module
|
|
|
|
|
Requires: angie = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description module-wasmtime
|
|
|
|
|
Wasmtime is built on the optimizing Cranelift code generator to quickly generate high-quality machine
|
|
|
|
|
code either at runtime or ahead-of-time. Wasmtime is optimized for efficient instantiation,
|
|
|
|
|
low-overhead calls between the embedder and wasm, and scalability of concurrent instances.
|
|
|
|
|
|
|
|
|
|
%files module-wasmtime
|
|
|
|
|
%{_libdir}/angie/modules/ngx_wasmtime_module.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_wasmtime_module-debug.so
|
|
|
|
|
|
|
|
|
|
%doc module-wasmtime/README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%post module-wasmtime
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
|
cat <<BANNER
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
The Wasmtime run-time for Angie Wasm dynamic module has been installed.
|
|
|
|
|
To enable this module, add the following to /etc/angie/angie.conf
|
|
|
|
|
and reload angie:
|
|
|
|
|
|
|
|
|
|
load_module modules/ngx_wasmtime_module.so;
|
|
|
|
|
|
|
|
|
|
Please refer to the module documentation for further details:
|
|
|
|
|
https://github.com/bytecodealliance/wasmtime
|
|
|
|
|
https://git.angie.software/web-server/angie-wasm
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%package module-wasm
|
|
|
|
|
Summary: Angie Webasm dynamic module
|
|
|
|
|
Requires: angie = %{version}-%{release}
|
|
|
|
|
Requires: angie-module-wasmtime = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description module-wasm
|
|
|
|
|
Module allows to run Web Assembly Angie extensions in Angie
|
|
|
|
|
|
|
|
|
|
%files module-wasm
|
|
|
|
|
%{_libdir}/angie/modules/ngx_http_wasm_host_module.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_http_wasm_host_module-debug.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_wasm_core_module.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_wasm_core_module-debug.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_wasm_module.so
|
|
|
|
|
%{_libdir}/angie/modules/ngx_wasm_module-debug.so
|
|
|
|
|
|
|
|
|
|
%doc module-wasm/README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%post module-wasm
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
|
cat <<BANNER
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
The Webasm dynamic module for Angie has been installed.
|
|
|
|
|
To enable this module, add the following to /etc/angie/angie.conf
|
|
|
|
|
and reload angie:
|
|
|
|
|
|
|
|
|
|
load_module modules/ngx_wasm_module.so;
|
|
|
|
|
load_module modules/ngx_wasm_core_module.so;
|
|
|
|
|
load_module modules/ngx_http_wasm_host_module.so;
|
|
|
|
|
load_module modules/ngx_wasmtime_module.so;
|
|
|
|
|
|
|
|
|
|
Please refer to the module documentation for further details:
|
|
|
|
|
https://git.angie.software/web-server/angie-wasm
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
|
fi
|
|
|
|
@ -2200,7 +2437,7 @@ and reload angie:
|
|
|
|
|
load_module modules/ngx_http_xslt_filter_module.so;
|
|
|
|
|
|
|
|
|
|
Please refer to the modules documentation for further details:
|
|
|
|
|
https://angie.software/http_xslt/
|
|
|
|
|
https://en.angie.software/angie/docs/configuration/modules/http/http_xslt/
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
BANNER
|
|
|
|
@ -2272,6 +2509,36 @@ https://github.com/tokers/zstd-nginx-module
|
|
|
|
|
BANNER
|
|
|
|
|
fi
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Feb 13 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.8.1-2
|
|
|
|
|
- Fix ModSecurity detection
|
|
|
|
|
- Updated angie-module-auth-spnego to v1.1.2
|
|
|
|
|
- Updated angie-module-headers-more to v0.38
|
|
|
|
|
- Updated angie-module-lua to 0.10.28
|
|
|
|
|
- Updated angie-module-njs to 0.8.9
|
|
|
|
|
- Updated angie-module-vts to v0.2.3
|
|
|
|
|
- Updated angie-module-wasm to v0.2-beta2
|
|
|
|
|
|
|
|
|
|
* Tue Feb 11 2025 Eduard Basov <ebasov@msvsphere-os.ru> - 1.8.1-1
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Sat Dec 28 2024 Release Engineering Team <devops@tech.wbsrv.ru> - angie-1.8.1-1
|
|
|
|
|
- Release 1.8.1
|
|
|
|
|
- Updated angie-module-auth-jwt to 0.9.0
|
|
|
|
|
|
|
|
|
|
* Thu Dec 19 2024 Release Engineering Team <devops@tech.wbsrv.ru> - angie-1.8.0-1
|
|
|
|
|
- Release 1.8.0
|
|
|
|
|
- Added angie-module-http-auth-radius
|
|
|
|
|
- Updated angie-module-auth-jwt to 0.8.0
|
|
|
|
|
- Updated angie-module-jwt to v3.4.2
|
|
|
|
|
- Updated angie-module-njs to 0.8.8
|
|
|
|
|
- Updated angie-module-opentracing to v0.38.0
|
|
|
|
|
- Updated angie-module-wasm to v0.1-beta5
|
|
|
|
|
|
|
|
|
|
* Thu Sep 19 2024 Release Engineering Team <devops@tech.wbsrv.ru> - angie-1.7.0-1
|
|
|
|
|
- Release 1.7.0
|
|
|
|
|
- Updated angie-module-opentracing to 0.36.0
|
|
|
|
|
- Updated angie-module-lua to 0.10.27
|
|
|
|
|
|
|
|
|
|
* Sat Aug 31 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.6.2-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|