Skip to content

Commit 4389a56

Browse files
authored
Merge pull request #2 from surfly/fedora40
Upgrade nginx to 1.26.1 for Fedora 40
2 parents bd27dde + a6b636e commit 4389a56

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rpms
1+
rpms/*.rpm

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fedora:39
1+
FROM fedora:40
22

33
RUN dnf install rpm-build dnf-utils tree -y
44

Containerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM fedora:39
1+
FROM fedora:40
22

33
RUN dnf install rpm-build dnf-utils tree -y

nginx.spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
%global lua_resty_core_version 0.1.28
1010
%global lua_resty_lrucache_version 0.13
1111
%global ngx_devel_kit_version 0.3.3
12-
%global luajit2_version 2.1-20240314
12+
%global luajit2_version 2.1-20240626
1313
%global ngx_http_redis_version 0.4.1-cmm
1414
%global headers_more_version 0.37
1515
%global modsecurity_nginx_version 1.0.3
@@ -19,7 +19,7 @@
1919

2020
Name: nginx-lua-waf
2121
Summary: High performance web server nginx with lua and modsecurity plugins
22-
Version: 1.25.4
22+
Version: 1.26.1
2323
Release: 1%{?dist}
2424
Conflicts: nginx nginx-mimetypes nginx-core luajit
2525

@@ -75,6 +75,7 @@ cp -r %{buildroot}/../luajit/* /
7575
export LUAJIT_LIB=/usr/lib
7676
export LUAJIT_INC=/usr/include/luajit-2.1
7777
export DESTDIR=%{buildroot}
78+
export CFLAGS="-std=gnu89"
7879
nginx_ldopts="$RPM_LD_FLAGS -Wl,-E"
7980
./configure \
8081
--prefix=%{_datadir}/nginx \

rpms/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)