1
1
# Maintainer: ObserverOfTime <chronobserver@disroot.org>
2
2
3
3
pkgname=nginx-custom
4
- pkgver=1.25.0
4
+ pkgver=1.25.3
5
5
pkgrel=1
6
6
pkgdesc=' Lightweight HTTP server and IMAP/POP3 proxy server (custom build)'
7
7
arch=(x86_64)
8
8
url=' https://nginx.org'
9
9
license=(custom)
10
10
conflicts=(nginx)
11
11
provides=(" nginx=${pkgver% +* } " )
12
- depends=(pcre2 zlib libxcrypt liburing mimalloc)
12
+ depends=(libxcrypt liburing mimalloc pcre2 zlib )
13
13
makedepends=(git zstd)
14
+ optdependes=(
15
+ ' brotli: brotli module'
16
+ ' memcached: memc module'
17
+ ' redis: redis2 module'
18
+ )
14
19
backup=(etc/nginx/nginx.conf
15
20
etc/nginx/uwsgi_params
16
21
etc/nginx/mime.types
17
22
etc/nginx/default.vhost
18
23
etc/logrotate.d/nginx)
19
24
source=(nginx-${pkgver} .tar.gz::https://hg.nginx.org/nginx/archive/release-${pkgver} .tar.gz
20
- git+https://github.com/quictls/openssl#branch=openssl-3.0.10 +quic
25
+ git+https://github.com/quictls/openssl#branch=openssl-3.1.4 +quic
21
26
ngx_brotli::git+https://github.com/google/ngx_brotli
22
27
ngx_zstd::git+https://github.com/tokers/zstd-nginx-module
23
28
ngx_ct::git+https://github.com/grahamedgecombe/nginx-ct
@@ -32,9 +37,8 @@ source=(nginx-${pkgver}.tar.gz::https://hg.nginx.org/nginx/archive/release-${pkg
32
37
default.vhost
33
38
001-io-uring.patch
34
39
002-no-server-header.patch
35
- 003-dynamic-tls.patch
36
- 004-hpack-enc.patch)
37
- b2sums=(' d72941977e4061487b43a206bc7e3b2d9d84ac60c42f792d3adef9ca38139278f68fc2cce6feaf3334f137ff59ed0ea030d2081065ee043cda5edf1cc93cd6b9'
40
+ 003-dynamic-tls.patch)
41
+ b2sums=(' 613d5ac8acdc7eed02c22b5db66bfd03d76cf0fb8fcfbb80ba904a6b91d1a1f7a2f59cfad0dd3005ec6ba730ea8b7bdb9fc3f0ac9971ab6188118822947b3034'
38
42
' SKIP' ' SKIP' ' SKIP' ' SKIP' ' SKIP' ' SKIP' ' SKIP'
39
43
' e5b3af3eba36bac8c281d773cd90efb8de977a1241e246060661d5c1d436d537ff74b03d137a2bb4a7752339e98e9073ab803bc214a84906498f2383ecad07ff'
40
44
' 5aa8dab4d6517fc09a96f2ced5c85a67a44878da4c5cde1031a089609d3d32505d0cb45e6842a1502cc6f09e03eef08ee0ce6826b73bcfdd8087b0b695f0801c'
@@ -44,8 +48,7 @@ b2sums=('d72941977e4061487b43a206bc7e3b2d9d84ac60c42f792d3adef9ca38139278f68fc2c
44
48
' f1d39725a26859bd5a72256e301ce585fee7e6aeba75dcf52328697cb2dac4d7daaabda7f4f148a9401c10208412d4b6b350d73a89bde1e7c24802509e02d87a'
45
49
' fd58f913dd397ce7c5bc8af92d8946a48dc0686c7f4879d87b68ccf78950867c7c067060dcfc4f30daadeb81e494cc2bea6e3447637bf198de453daa97a7a533'
46
50
' ffe84842a3f5e9db9fef52d5437feb6c278cbb3d20c2d4b4a836feb0475335a0946a2418c53b38f31d428bba7755dbb5c8a5080d5ffdbe8ff1b388e97878c95e'
47
- ' 7f6364c416676af03f245b3ed978e51e0f62198941d1ee287ffec5a4607e53359172a2bfea29671b5e6ad490ea1ed9129900d6b205251e6a1cdad2887a4bb475'
48
- ' 20c22df12ad3983424d16668b0cd4d99364be3c1ae9894c3750917cd26ed99659cbbf1fc0d325397f8f88bef56192108b84f64a876c768ff02b595e19a7e3ab1' )
51
+ ' 0a3ce87ad3cb3e4d9e569438d0febeb6457abd4f9032191b08f38c84ba5a628a4182541f8573c92187b895ab127ee8ff35e94020455556a320d1f7e270d6e8b1' )
49
52
50
53
prepare () {
51
54
msg2 ' Updating brotli submodule'
@@ -61,9 +64,6 @@ prepare() {
61
64
62
65
msg2 ' Applying dynamic TLS records patch'
63
66
patch --no-backup-if-mismatch -Np1 -i ../003-dynamic-tls.patch
64
-
65
- msg2 ' Applying HPACK encoding patch'
66
- patch --no-backup-if-mismatch -Np1 -i ../004-hpack-enc.patch
67
67
}
68
68
69
69
build () {
@@ -98,7 +98,6 @@ build() {
98
98
--with-http_slice_module \
99
99
--with-http_ssl_module \
100
100
--with-http_v2_module \
101
- --with-http_v2_hpack_enc \
102
101
--with-http_v3_module \
103
102
--without-http_browser_module \
104
103
--without-http_empty_gif_module \
@@ -155,7 +154,7 @@ package() {
155
154
install -Dm644 docs/text/LICENSE " $pkgdir " /usr/share/licenses/${pkgname} /LICENSE
156
155
157
156
for f in objs/ngx_* _module.so; do
158
- install -Dm644 $f " $pkgdir " /var/lib/nginx/modules
157
+ install -Dm644 " $f " " $pkgdir " /var/lib/nginx/modules
159
158
done
160
159
161
160
for d in ftdetect ftplugin indent syntax; do
0 commit comments