File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 22 name : nginx-stable
33 # STABLE VERSIONS MUST USE EVEN MINOR VERSIONS (e.g., 1.26.x, 1.28.x)
44 version : " 1.28.0"
5- epoch : 10
5+ epoch : 11
66 description : HTTP and reverse proxy server (stable version)
77 copyright :
88 - license : BSD-2-Clause
@@ -268,6 +268,16 @@ subpackages:
268268 mkdir -p ${{targets.subpkgdir}}/etc/nginx/stream.d
269269 install -m644 -D stream.conf ${{targets.subpkgdir}}/etc/nginx/stream.d/
270270 ;;
271+ mail)
272+ # Mail module doesn't generate a separate .so file when compiled with --with-mail=dynamic
273+ # The module.so handling above will fail silently, so we need to handle this
274+ # by checking if the file exists before trying to move it
275+ if [ ! -f "${{targets.destdir}}/usr/lib/nginx/modules/ngx_mail_module.so" ]; then
276+ echo "WARNING: Mail module .so file not found, checking nginx binary for embedded mail module"
277+ # If mail is embedded in the main binary, we still create the config but skip the .so
278+ ls -la ${{targets.destdir}}/usr/lib/nginx/modules/ || true
279+ fi
280+ ;;
271281 esac
272282 test :
273283 pipeline :
You can’t perform that action at this time.
0 commit comments