Files
uwsgi/uwsgi-2.0.12-no-LD_RUN_PATH.patch
James Oakley 3677e68551 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/package/show/server:http/uwsgi?expand=0&rev=145
2025-10-20 12:20:11 +00:00

73 lines
3.1 KiB
Diff

---
plugins/jvm/uwsgiplugin.py | 5 -----
plugins/php/uwsgiplugin.py | 1 -
plugins/python/uwsgiplugin.py | 2 --
plugins/rack/uwsgiplugin.py | 1 -
plugins/ruby19/uwsgiplugin.py | 1 -
5 files changed, 10 deletions(-)
Index: uwsgi-2.0.31/plugins/jvm/uwsgiplugin.py
===================================================================
--- uwsgi-2.0.31.orig/plugins/jvm/uwsgiplugin.py 2025-10-11 21:15:54.000000000 +0200
+++ uwsgi-2.0.31/plugins/jvm/uwsgiplugin.py 2025-10-20 11:57:40.854044493 +0200
@@ -74,11 +74,6 @@
GCC_LIST = ['jvm_plugin']
-if 'LD_RUN_PATH' in os.environ:
- os.environ['LD_RUN_PATH'] += ':' + JVM_LIBPATH[0][2:]
-else:
- os.environ['LD_RUN_PATH'] = JVM_LIBPATH[0][2:]
-
def post_build(config):
if subprocess.call("javac %s/plugins/jvm/uwsgi.java" % os.getcwd(), shell=True) != 0:
os._exit(1)
Index: uwsgi-2.0.31/plugins/php/uwsgiplugin.py
===================================================================
--- uwsgi-2.0.31.orig/plugins/php/uwsgiplugin.py 2025-10-11 21:15:54.000000000 +0200
+++ uwsgi-2.0.31/plugins/php/uwsgiplugin.py 2025-10-20 11:57:40.854223637 +0200
@@ -19,7 +19,6 @@
if ld_run_path:
LDFLAGS.append('-L%s' % ld_run_path)
- os.environ['LD_RUN_PATH'] = ld_run_path
# PHP8 and above does not add the version to the library
# name
Index: uwsgi-2.0.31/plugins/python/uwsgiplugin.py
===================================================================
--- uwsgi-2.0.31.orig/plugins/python/uwsgiplugin.py 2025-10-11 21:15:54.000000000 +0200
+++ uwsgi-2.0.31/plugins/python/uwsgiplugin.py 2025-10-20 11:57:40.854663640 +0200
@@ -95,8 +95,6 @@
LDFLAGS.append("-L%s" % libdir)
LDFLAGS.append("-Wl,-rpath,%s" % libdir)
- os.environ['LD_RUN_PATH'] = "%s" % libdir
-
LIBS.append('-lpython%s' % get_python_version())
else:
LIBS = []
Index: uwsgi-2.0.31/plugins/rack/uwsgiplugin.py
===================================================================
--- uwsgi-2.0.31.orig/plugins/rack/uwsgiplugin.py 2025-10-11 21:15:54.000000000 +0200
+++ uwsgi-2.0.31/plugins/rack/uwsgiplugin.py 2025-10-20 11:57:40.854923103 +0200
@@ -48,7 +48,6 @@
if has_shared == 'yes':
LDFLAGS.append('-L' + libpath )
- os.environ['LD_RUN_PATH'] = libpath
LIBS.append(os.popen(RUBYPATH + " -e \"require 'rbconfig';print '-l' + %s::CONFIG['RUBY_SO_NAME']\"" % rbconfig).read().rstrip())
else:
rubylibdir = os.popen(RUBYPATH + " -e \"require 'rbconfig';print RbConfig::CONFIG['rubylibdir']\"").read().rstrip()
Index: uwsgi-2.0.31/plugins/ruby19/uwsgiplugin.py
===================================================================
--- uwsgi-2.0.31.orig/plugins/ruby19/uwsgiplugin.py 2025-10-11 21:15:54.000000000 +0200
+++ uwsgi-2.0.31/plugins/ruby19/uwsgiplugin.py 2025-10-20 11:57:40.855183054 +0200
@@ -42,6 +42,5 @@
libpath = os.popen(RUBYPATH + " -e \"require 'rbconfig';print %s::CONFIG['libdir']\"" % rbconfig).read().rstrip()
LDFLAGS.append('-L' + libpath )
-os.environ['LD_RUN_PATH'] = libpath
LIBS = os.popen(RUBYPATH + " -e \"require 'rbconfig';print '-l' + %s::CONFIG['RUBY_SO_NAME']\"" % rbconfig).read().rstrip().split()