Files
uwsgi/uwsgi-reproducible-jar-mtime.patch

18 lines
951 B
Diff
Raw Permalink Normal View History

Accepting request 1312395 from home:mcepl Required mainly for compatibility with Python 3.14. - Update to 2.0.31: - Fix build with gcc-15 (Arne de Bruijn) - Build improvements (Janos Guljas, Jonas Smedegaard) - Fix some user visible typos (Alexandre Rossi) - Fix gracefully_kill_them_all() for setups using fifo-based master graceful reload (Wynn Wilkes) - Fix compilation with PHP 8.5 (Remi Collet) - Update to 2.0.30: - Port to Python 3.14 beta 1 (Victor Stinner) - Fix atexit handler install with –lazy / –lazy-apps (Taegyun Kim) - Update to 2.0.29: - Fix integration tests not running (Alexandre Rossi) - Backport pypy plugin fixes (Alexandre Rossi) - Add support for rack 3 (Alexandre Rossi) - Fix compilation with gcc-15 (Alexandre Rossi) - Backport –max-request-delta from master (Jeremy Goulard) - Disable executable stack (Martin Liška) - Fix uwsgi_request_body_readline without new lines found (Juho Heikkinen) - Fix reload-os-env option (wszak) - Tidy python code (Curtis) - Python3 compat for examples and testing code (Thomas Goirand) - Remove upstreamed patches: - gcc15.patch - Readjusted patches: - plugins-gcc15.patch - python313.patch - uwsgi-1.9.11-systemd_logger-old_systemd.patch - uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch - uwsgi-1.9.17-plugin_build_path.patch - uwsgi-2.0.12-no-LD_RUN_PATH.patch - uwsgi-2.0.18-postgresql-config.patch - uwsgi-ld-noexecstack.patch - uwsgi-reproducible-jar-mtime.patch OBS-URL: https://build.opensuse.org/request/show/1312395 OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=145
2025-10-20 12:20:11 +00:00
---
plugins/jvm/uwsgiplugin.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: uwsgi-2.0.31/plugins/jvm/uwsgiplugin.py
===================================================================
--- uwsgi-2.0.31.orig/plugins/jvm/uwsgiplugin.py 2025-10-20 11:57:40.854044493 +0200
+++ uwsgi-2.0.31/plugins/jvm/uwsgiplugin.py 2025-10-20 12:14:00.175247620 +0200
@@ -77,7 +77,7 @@
def post_build(config):
if subprocess.call("javac %s/plugins/jvm/uwsgi.java" % os.getcwd(), shell=True) != 0:
os._exit(1)
- if subprocess.call("cd %s/plugins/jvm ; jar cvf uwsgi.jar *.class" % os.getcwd(), shell=True) != 0:
+ if subprocess.call("cd %s/plugins/jvm ; jar --date=\"$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)\" --create --verbose --file=uwsgi.jar *.class" % os.getcwd(), shell=True) != 0:
os._exit(1)
print("*** uwsgi.jar available in %s/plugins/jvm/uwsgi.jar ***" % os.getcwd())