SHA256
1
0
forked from pool/uwsgi

Compare commits

...

138 Commits

Author SHA256 Message Date
Ana Guerrero
118feb4be3 Accepting request 1228503 from server:http
OBS-URL: https://build.opensuse.org/request/show/1228503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=58
2024-12-06 13:25:11 +00:00
James Oakley
3b161bb751 Use SOURCE_DATE_EPOCH for reproducible jar mtime
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=135
2024-12-05 11:41:02 +00:00
Ana Guerrero
d83f644360 Accepting request 1221602 from server:http
OBS-URL: https://build.opensuse.org/request/show/1221602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=57
2024-11-06 15:49:19 +00:00
James Oakley
f9602c68f3 OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=133 2024-11-05 20:02:26 +00:00
Ana Guerrero
71ff945e8f Accepting request 1220532 from server:http
OBS-URL: https://build.opensuse.org/request/show/1220532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=56
2024-11-05 14:40:29 +00:00
James Oakley
63517e8ca6 - update to 2.0.28 (bsc#1222332, CVE-2024-24795):
* Bit more friendly log messages
  * Add more integration tests
  * Fix static library not found install error on conda
  * pyuwsgi: avoid interleaving pywsgi threadstate
  * Fix gracefully_kill_them_all with running requests
  * Fix –catch-exceptions causing a segfault in Python 3.5+
  * plugins/php: Add support for uwsgi.disconnect() function
  * plugins/python: use PyOS_*Fork stable API functions on 3.7+
  * core/uwsgi: set enable threads by default
  * plugins/python: fix compilation with Python 3.13
  * use pipe in gracefully_kill() to stop worker loop
  * port pypy plugin to python3
  * add some integrations tests
  * apache2/mod_proxy_uwsgi: let httpd handle CL/TE for
    non-http handlers CVE-2024-24795
  * remove race-condition over termination of uWSGI process
    when using need-app and lazy-apps (Hanan .T)
  * fix 32-bit compilation with GCC14 (Rosen Penev)
  * uwsgiconfig: get compiler version with -dumpfullversion
  * Fix uwsgi_regexp_match() with pcre2
- drop uwsgi-93d07ec38b31.patch (upstream)

  * Use parenthesis in print() statement
  * Fixed bug with WSGI responses returning
  * Reverted EPOLLEXCLUSIVE patch, requires more investigation
    * fixed alarm backlog
- Don't build v8 plugin for PowerPC
    * logpipe: Don't setsid() twice (credits: INADA Naoki)
  * This release starts the 'hardening' cycle for uWSGI 2.0 (scheduled for the

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=131
2024-11-04 10:41:22 +00:00
Dominique Leuenberger
f06f47cf0e Accepting request 1194296 from server:http
- Added a backport of uwsgi-93d07ec38b31.patch to fix a type
  incompatibility problem to enable build with GCC 14.

If the request is OK, please forward it to Factory soon too so that we
can switch the default compiler.  Thanks! (forwarded request 1189638 from jamborm)

OBS-URL: https://build.opensuse.org/request/show/1194296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=55
2024-08-17 10:40:56 +00:00
Ana Guerrero
193ef343ff Accepting request 1173928 from server:http
OBS-URL: https://build.opensuse.org/request/show/1173928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=54
2024-05-15 19:25:58 +00:00
James Oakley
f41829b753 Accepting request 1173910 from home:pgajdos
- version update to 2.0.25.1
  * fixed build with gcc14
  2.0.25.1
  * Fix build when pcre is not found and is optional (umut)
  2.0.25
  * Update glusterfs io callback function signature for 6.0 (Ralf Ertzinger)
  * Fix default values in help for min-worker-lifetime & legion-skew-tolerance (Thomas Riccardi)
  * Fix build regression with gcc < 5 (Riccardo Magliocchetti)
  * Add support for building against prcre2. This changes the regexp internal data structures (Alexandre Rossi)
  * Allow the valgrind generator script to run with a different python version (Wynn Wilkes)
  * Fix a potential error with not releasing the gil in uwsgi_python_rpc (Wynn Wilkes)
  * Rework threading cancellation handling. This can fix issues with threading, missing atexit callbacks and whatnot. (Inada Naoki)
- modified patches
  % uwsgi-1.9.17-plugin_build_path.patch (refreshed)
- deleted patches
  - uwsgi-2.0.24-update-glusterfs-io-callback-signature.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/1173910
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=127
2024-05-14 08:56:40 +00:00
James Oakley
1876eeca45 - Update to 2.0.24
* properly init cache for purge_lru (Alexandre Rossi)
  * fix linking with php8 (Remi Collet)
  * remove unused variables to fix compilation (László Károlyi)
  * fix function parameter type to avoid overflow in harakiri (Shai Bentov)
  * fix socket queue stats for ipv6 (Riccardo Magliocchetti)
  * fixup -Wformat-signedness warnings (Riccardo Magliocchetti)
  * Avoid strncpy from null in pyloader (Ben Kallus)
  * add clang to compile test matrix in ci (Riccardo Magliocchetti)

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=126
2024-03-15 18:04:10 +00:00
Ana Guerrero
ce68a5fb54 Accepting request 1148345 from server:http
OBS-URL: https://build.opensuse.org/request/show/1148345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=53
2024-02-22 19:55:19 +00:00
James Oakley
2e321b1cfc Accepting request 1148213 from home:dimstar:rpm4.20:u
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1148213
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=124
2024-02-20 21:02:53 +00:00
Dominique Leuenberger
16c535e0f1 Accepting request 1137351 from server:http
OBS-URL: https://build.opensuse.org/request/show/1137351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=52
2024-01-07 20:38:54 +00:00
James Oakley
5d9ba36d79 Accepting request 1137313 from home:bnavigator:branches:devel:languages:python
- Update to 2.0.23
  * Add support for Python 3.12 (Ralf Ertzinger)
  * plugins/php: ini_entries is read-only since PHP 8.3 (Remi
    Collet)
  * Silence glibc warnings against pthread robust mutex functions
    (Riccardo Magliocchetti)
  * Fixup jvm library path detection (Riccardo Magliocchetti)
  * Use sysconfig if distutils is not available (Steve Kowalik,
    Terence D. Honles, Riccardo Magliocchetti)

OBS-URL: https://build.opensuse.org/request/show/1137313
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=122
2024-01-07 12:58:41 +00:00
Ana Guerrero
a5fc0ad877 Accepting request 1118573 from server:http
OBS-URL: https://build.opensuse.org/request/show/1118573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=51
2023-10-19 20:47:20 +00:00
James Oakley
98604910c2 Accepting request 1118554 from home:dimstar:Factory
- Update to version 2.0.22:
  + apache2/mod_proxy_uwsgi: stricter backend HTTP response
    parsing/validation (CVE-2023-27522).
  + plugins/rack: fix compilation with ruby 3.1.
  + plugins/php: fix build with PHP >= 8.2.
- Drop uwsgi-php82-php_module_startup-signature.patch: fixed
  upstream.

OBS-URL: https://build.opensuse.org/request/show/1118554
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=120
2023-10-18 11:43:38 +00:00
Dominique Leuenberger
6075796c52 Accepting request 1096427 from server:http
OBS-URL: https://build.opensuse.org/request/show/1096427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=50
2023-07-05 13:30:43 +00:00
James Oakley
92ee433898 Accepting request 1096423 from home:gladiac:mailman
- Use sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1096423
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=118
2023-07-02 19:06:13 +00:00
Dominique Leuenberger
8c650ba3a7 Accepting request 1085068 from server:http
OBS-URL: https://build.opensuse.org/request/show/1085068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=49
2023-05-06 20:08:41 +00:00
James Oakley
a3dc14c43d Accepting request 1085034 from home:pgajdos
- added patches
  fix https://github.com/unbit/uwsgi/commit/509a0fdd12870d0bf5b4c1ef7d1f7f
  + uwsgi-php82-php_module_startup-signature.patch

OBS-URL: https://build.opensuse.org/request/show/1085034
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=116
2023-05-05 12:09:08 +00:00
Dominique Leuenberger
3112740966 Accepting request 1056813 from server:http
OBS-URL: https://build.opensuse.org/request/show/1056813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=48
2023-01-08 20:25:12 +00:00
James Oakley
217d8618ea Accepting request 1056693 from home:dirkmueller:Factory
- update to 2.0.21:
  * Python 3.10 support
  * Python 3.11 support
  * add tests for worker deadlocks
  * fix memory corruption in uwsgi_cache
  * Fix segfault from GEVENT_SWITCH
  * Support php 8.1
  * Use parenthesis in print() statement 
- switch to pkgconfig(zlib) so that alternative providers can be
  used

OBS-URL: https://build.opensuse.org/request/show/1056693
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=114
2023-01-07 18:41:26 +00:00
James Oakley
6e7928265a Accepting request 1043055 from home:pgajdos:php8
- fixing uwsgi-php[78] package description
- rpmlint: removing obsolete specfile condition for python which is included in python-rpm-macros

OBS-URL: https://build.opensuse.org/request/show/1043055
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=113
2023-01-04 09:59:22 +00:00
Dominique Leuenberger
8c143e048b Accepting request 1043622 from server:http
OBS-URL: https://build.opensuse.org/request/show/1043622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=47
2022-12-19 13:07:54 +00:00
James Oakley
a6713f2083 Accepting request 1043177 from home:dirkmueller:Factory
- switch to pkgconfig(zlib) so that alternative providers can be
  used

OBS-URL: https://build.opensuse.org/request/show/1043177
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=111
2022-12-18 15:11:45 +00:00
Dominique Leuenberger
5bf82f0912 Accepting request 1042908 from server:http
OBS-URL: https://build.opensuse.org/request/show/1042908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=46
2022-12-15 18:24:17 +00:00
Dominique Leuenberger
b4ead4cfd4 Accepting request 1035821 from home:pgajdos:php8
- php8 is supported already

OBS-URL: https://build.opensuse.org/request/show/1035821
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=109
2022-12-14 12:02:00 +00:00
Dominique Leuenberger
a500fcd826 Accepting request 992613 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/992613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=45
2022-08-05 17:50:07 +00:00
5f66efe68f Accepting request 986883 from home:bnavigator:branches:server:http
- Build python plugins for all flavors on Tumbleweed
  * reason: so that we can pin mailman to Python 3.9

OBS-URL: https://build.opensuse.org/request/show/986883
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=107
2022-08-03 15:32:54 +00:00
Dominique Leuenberger
7784634c99 Accepting request 978261 from server:http
OBS-URL: https://build.opensuse.org/request/show/978261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=44
2022-05-22 18:26:22 +00:00
James Oakley
f258c4021f Accepting request 978246 from home:marxin:branches:server:http
- Add uwsgi-ld-noexecstack.patch in order to fix gh#unbit/uwsgi#2436.

OBS-URL: https://build.opensuse.org/request/show/978246
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=105
2022-05-20 10:37:39 +00:00
Dominique Leuenberger
4641477c7f Accepting request 935966 from server:http
OBS-URL: https://build.opensuse.org/request/show/935966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=43
2021-12-08 21:08:33 +00:00
James Oakley
b86cc08904 Accepting request 935797 from home:stroeder:network
- update 2.0.20:
  * Switch default python for build to python3 (Riccardo Magliocchetti)
  * Add support for PHP 8 (Riccardo Magliocchetti)
  * Drop support for PHP < 7 as it is EOL since end of 2018 (Riccardo Magliocchetti)
  * Fix segfaults when using –wsgi-env-behavior=holy (Antonio Cuni)
  * Replace uwsgi.h system includes in core and proto dirs for Bazel (Serge Bazanski)
  * gevent: fix compilation with clang11 (László Károlyi)
  * Fix Python 3.9 deprecations warnings (Riccardo Magliocchetti)
  * Add trove classifier for Python 3.9 (Adrian)
  * Fix message in Log SIGINT/SIGTERM triggered kill_them_all (Delena Malan)
  * Support 7 in weekedays as an alias for sunday to match crontab behaviour (Riccardo Magliocchetti)
  * Document http-timeout default of 60 seconds (Etienne H)
  * Add option to override python sys.executable using py-executable config
  * Allow specifying an iteration to uwsgi::add_rb_timer (Luciano Rocha)
  * Allow to compile with Python versions with minor version with 2+ digits (Cyrille Pontvieux)
  * Take into account new naming for LIBPL since python 3.6 (ilrico)
  * Added missing HTTP status codes messages (James Brown)
  * Official support for Python 3.10

OBS-URL: https://build.opensuse.org/request/show/935797
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=104
2021-12-06 10:31:37 +00:00
Dominique Leuenberger
d11679662b Accepting request 923712 from server:http
OBS-URL: https://build.opensuse.org/request/show/923712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=42
2021-10-12 19:48:06 +00:00
James Oakley
e356e4e38c Accepting request 923649 from home:pgajdos
- greenlet and gevent plugins require uwsgi-python3 instead of
  uwsgi-python

OBS-URL: https://build.opensuse.org/request/show/923649
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=103
2021-10-07 11:54:24 +00:00
James Oakley
0a2d49f97a Accepting request 922332 from home:pgajdos
- do not require python2, drop python plugin [bsc#1191174]

OBS-URL: https://build.opensuse.org/request/show/922332
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=102
2021-09-30 12:59:18 +00:00
Dominique Leuenberger
7c15127544 Accepting request 855752 from server:http
OBS-URL: https://build.opensuse.org/request/show/855752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=41
2020-12-14 17:10:17 +00:00
James Oakley
fb230be943 Accepting request 854990 from home:Andreas_Schwab:Factory
- Fix logic handling v8 plugin

OBS-URL: https://build.opensuse.org/request/show/854990
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=100
2020-12-14 12:41:57 +00:00
Dominique Leuenberger
b952b01d37 Accepting request 852895 from server:http
OBS-URL: https://build.opensuse.org/request/show/852895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=40
2020-12-03 17:43:22 +00:00
James Oakley
91b981b27f Accepting request 852360 from home:pgajdos
- use system apache rpm macros

OBS-URL: https://build.opensuse.org/request/show/852360
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=98
2020-12-03 11:57:44 +00:00
Dominique Leuenberger
e31aa3185f Accepting request 851302 from server:http
OBS-URL: https://build.opensuse.org/request/show/851302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=39
2020-11-29 11:29:30 +00:00
James Oakley
73387cd7dc Accepting request 851152 from home:dirkmueller:branches:server:http
- update 2.0.19.1:
  * Reverted CGI chunked encoding support
  * Fixed bug with WSGI responses returning 
  * Update travis to xenial (Terence D. Honles)
  * Fix segfault in logsocket plugin (Riccardo Magliocchetti, #2010)
  * Backport Coverity fixes from master (Riccardo Magliocchetti)
  * Fix Python 3.7 warnings (Orivej Desh)
  * Fix uwsgi.workers() leak in Python plugin (Arne Welzel, #2056)
  * Backport redislog plugin 32-bit build fixes (Riccardo Magliocchetti, #1828)
  * Fix stack overflow in core/rpc (Nicola Martino)
  * Fix build with spaces in the path (Arne Welzel, #1939)
  * Add missing initialization for zend_file_handle in php plugin (Arne Welzel)
  * Build Python 3.7 and 3.8 plugins in CI (Arne Welzel)
  * Add Trove classifiers for Python 3.7 and 3.8 (Hugo)
  * Graceful shutdown for vassals (Sponsored by guppyltd.com)
  * Improve yaml parsing with libyaml (Arne Welzel, #2097)
  * Add smart-daemon2 option to notify daemon of master reloading (Eduardo Felipe Castegnaro)
  * Do not chroot multiple times when root (Arne Welzel)
  * Support io.BytesIO with wsgi.file_wrapper (Arne Welzel, #1126)
  * Add websocket continuation frames support (Timi, #1350)
  * Fix compilation with gevent 1.5.0 (Vytautas Liuolia)
  * Fix PSGI plugin build with gcc 10 (Jorge Gallegos)
  * Get rid of paste.script dependency in pypy/python plugins (Thomas De Schampheleire)
  * Improve performance for santitizing file descriptors with cgi plugin (Natanael Copa, #2053)
  * Fix offload-threads with honour-range (Liss Tarnell)
  * Fix logging packet size length overflow (Pawel Marokwsi)
  * Fix possible deadlock in install (Jacob Tolar)
  * Fix parsing of http port for ipv6 (Cyril Baÿ)
  * Fix impossibility of determining the end of the chunked stream with psgi plugin (ols)
  * Fix parsing of http-socket port for ipv6 (Daniel Holth)

OBS-URL: https://build.opensuse.org/request/show/851152
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=96
2020-11-27 11:44:18 +00:00
Dominique Leuenberger
eda0cf2b7f Accepting request 835305 from server:http
OBS-URL: https://build.opensuse.org/request/show/835305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=38
2020-09-21 15:24:19 +00:00
James Oakley
9bf3b4fa80 Accepting request 833568 from home:gladiac:apps
- Add systemd tmpfile.d config to create /run/uwsgi
- Use %license for the LICENSE

OBS-URL: https://build.opensuse.org/request/show/833568
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=94
2020-09-17 21:55:48 +00:00
Dominique Leuenberger
eefeb2511c Accepting request 827643 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/827643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=37
2020-08-19 16:53:51 +00:00
James Oakley
7fa703eb79 - Fix duplicate uperl in psgi plugin with wth gcc 10 (uwsgi-2.0.18-psgi-fix-duplicate-uperl.patch)
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=92
2020-08-11 12:47:11 +00:00
James Oakley
9e6d870f86 - Fix duplicate uperl in psgi plugin with wth gcc 10
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=91
2020-06-08 18:14:08 +00:00
Yuchen Lin
51e7339733 Accepting request 808462 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/808462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=36
2020-05-26 15:21:15 +00:00
James Oakley
45e8fb8ffa - Fix greenlet dependency for Python 3
- Use explicit Python macros

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=89
2020-05-16 18:18:18 +00:00
Dominique Leuenberger
ae149cebd0 Accepting request 783177 from server:http
OBS-URL: https://build.opensuse.org/request/show/783177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=35
2020-03-10 09:39:16 +00:00
Marguerite Su
0534eecca2 Accepting request 782999 from home:pgajdos
- disable geoip plugin [bsc#1156199]

OBS-URL: https://build.opensuse.org/request/show/782999
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=87
2020-03-10 08:10:28 +00:00
Dominique Leuenberger
dbbc5e4c87 Accepting request 758530 from server:http
OBS-URL: https://build.opensuse.org/request/show/758530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=34
2019-12-21 11:34:04 +00:00
James Oakley
d153f99930 Accepting request 758275 from home:dimstar:Factory
Allow systemd-mini

OBS-URL: https://build.opensuse.org/request/show/758275
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=85
2019-12-20 14:23:30 +00:00
Dominique Leuenberger
38e272d0c3 Accepting request 701159 from server:http
OBS-URL: https://build.opensuse.org/request/show/701159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=33
2019-05-07 21:18:56 +00:00
Marguerite Su
0cc4fb8d07 Accepting request 699518 from home:lachs0r:branches:server:http
- Fix systemd kill signal (uwsgi does not die on SIGTERM)
- Add reload command to systemd service

OBS-URL: https://build.opensuse.org/request/show/699518
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=83
2019-05-07 03:03:41 +00:00
Dominique Leuenberger
e1c42d7cf6 Accepting request 697293 from server:http
- Add patch uwsgi-2.0.18-postgresql-config.patch to use pkg-config
  instead of pg_config as it was removed in postgres11-devel

OBS-URL: https://build.opensuse.org/request/show/697293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=32
2019-04-30 10:58:39 +00:00
James Oakley
9dd0313f52 - Add patch uwsgi-2.0.18-postgresql-config.patch to use pkg-config
instead of pg_config as it was removed in postgres11-devel

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=81
2019-04-24 00:37:51 +00:00
James Oakley
9c383c6f57 - Use pkg-config instead of pg_config as it was removed in postgres11-devel
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=80
2019-03-16 00:52:40 +00:00
Dominique Leuenberger
fbbe57fa28 Accepting request 673027 from server:http
OBS-URL: https://build.opensuse.org/request/show/673027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=31
2019-02-11 20:25:24 +00:00
James Oakley
e55adcfca5 Accepting request 673024 from home:stroeder:branches:server:http
update to upstream release 2.0.18

OBS-URL: https://build.opensuse.org/request/show/673024
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=78
2019-02-09 16:41:56 +00:00
Dominique Leuenberger
0c76159c33 Accepting request 627484 from server:http
OBS-URL: https://build.opensuse.org/request/show/627484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=30
2018-08-06 09:54:22 +00:00
Marguerite Su
e2d7a9181f Accepting request 627187 from home:stroeder:branches:server:http
- update to upstream release 2.0.17.1

OBS-URL: https://build.opensuse.org/request/show/627187
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=76
2018-08-05 05:53:46 +00:00
Dominique Leuenberger
ceee1fa853 Accepting request 626481 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/626481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=29
2018-07-31 14:03:07 +00:00
James Oakley
3bb80fb281 - Work around missing include dir in glusterfs pkg-config
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=74
2018-07-23 13:34:43 +00:00
Dominique Leuenberger
778baa036d Accepting request 621112 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/621112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=28
2018-07-06 08:48:01 +00:00
James Oakley
8fb17bc2a8 - Don't create a /run directory for Apache on startup. It fails if Apache is
not installed and sockets are defined per-application anyway (bnc#1082002)
- Fix broken build dependency on Leap 15

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=72
2018-05-31 01:08:03 +00:00
Marguerite Su
99c9d2a876 Accepting request 600381 from home:stroeder:branches:server:http
- Require Apache 2.4.33 for Leap 15 and Tumbleweed
  because otherwise mod_proxy_uwsgi is not available (bsc#1090695)

OBS-URL: https://build.opensuse.org/request/show/600381
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=71
2018-04-28 03:18:38 +00:00
Dominique Leuenberger
541ac596cb Accepting request 597800 from server:http
- Handle aarch64 arch (forwarded request 597792 from Guillaume_G)

OBS-URL: https://build.opensuse.org/request/show/597800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=27
2018-04-19 13:31:57 +00:00
James Oakley
0a2ba66b40 Accepting request 597792 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Handle aarch64 arch

OBS-URL: https://build.opensuse.org/request/show/597792
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=69
2018-04-18 13:55:45 +00:00
Dominique Leuenberger
a5a6b33b48 Accepting request 597249 from server:http
- Disable apache2-mod_proxy_uwsgi on Leap 15 since upstream Apache includes
  the module now
- Update to 2.0.17:
  * The Emperor throttling subsystem does not make use anymore of blocking
    functions, like usleep(), this should fix stats serving and should improve
    vassals startup time
  * [Security/PHP] enforce DOCUMENT_ROOT check when using --php-docroot to
    avoid directory traversal (Marios Nicolaides)
  * added --shutdown-sockets to improve graceful shutdowns (Andrew Wason)

OBS-URL: https://build.opensuse.org/request/show/597249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=26
2018-04-17 09:19:23 +00:00
James Oakley
297f41ef5b - Disable apache2-mod_proxy_uwsgi on Leap 15 since upstream Apache includes
the module now

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=67
2018-04-16 23:50:18 +00:00
James Oakley
df3c1a7f84 - Update to 2.0.17:
* The Emperor throttling subsystem does not make use anymore of blocking
    functions, like usleep(), this should fix stats serving and should improve
    vassals startup time
  * [Security/PHP] enforce DOCUMENT_ROOT check when using --php-docroot to
    avoid directory traversal (Marios Nicolaides)
  * added --shutdown-sockets to improve graceful shutdowns (Andrew Wason)

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=66
2018-04-16 14:13:38 +00:00
Dominique Leuenberger
9b68107c50 Accepting request 580881 from server:http
- Update License tag to SPDX 3 version:
  Apache-2.0 AND GPL-2.0-only WITH GCC-exception-2.0.
- removed obsolete reproducible.patch
- Update to 2.0.16:
  * [CVE-2018-6758] Stack-based buffer overflow in
    core/utils.c:uwsgi_expand_path()
  * Backported early_post_jail plugin hook (Bjørnar Ness)
  * Fixed ipv6 suupport for http-socket (James Brown)
  * Enable execinfo on DragonFly BSD (Aaron LI)
  * Fix inet_ntop buffer size (Orivej Desh)
  * Add worker running time metrics (Serge/yasek)
  * Backported safe-pidfile, safe-pidfile2 (Nate Coraor)
  * Stop using libxml2 by default on osx
  * Fixed uwsgi_kvlist_parse signature
  * Backport http range fixes from master (Curtis Maloney, Sokolov Yura)
  * relicensed mod_proxy_uwsgi to Apache 2.0
  * logging: Add ${millis} support to json encode
  * plugins/router_xmldir: fixup invalid locale check (Riccardo Magliocchetti)
  * Add ssl-verify-depth flag to set the max Client CA chain length (Paul Tagliamonte)
  * Allow to override build date (Bernhard M. Wiedemann)
  * Python 3 plugin: improved thread names handling (Jyrki Muukkonen, Mark Meyer)
  * Added uwsgi_resolve_ip for redis host (ahmbas)
  * plugins/gevent: Fix signal handlers (Maslov Alexander)
  * Write x509 DER to the uwsgi buffer (Paul Tagliamonte)
  * plugin/http: Fix compilation (Melvyn Sopacua)
  * Fixed emperor throttling system (Jeremy Hiatt)
  * Fix application loading without Plack after excluding “.” from @INC in new Perl versions (Anton Petrusevich)
  * Fix MULE MSG QUEUE IS FULL message hint (Eugene Tataurov)
  * Build System: support k_minor has a _xxx suffix (TOGO Li)
  * Fixed drop-after-* options (Robert DeRose)
  * Add mule_send_msg success indicator (Josh Tiras)
  * Properly check item size in uwsgi_queue_push (Josh Tiras)
  * FastRouter / HTTP Router can now have a ‘fallback’ key configured
  * HTTP Router now supports post-buffer, just like FastRouter
  * Fix handling of env in embedded dict in Python plugin (could cause segfaults in single thread mode)
  * Add support for Brotli (.br) with –static-gzip
  * Back-ported HTTP/1.1 support (–http11-socket) from 2.1

OBS-URL: https://build.opensuse.org/request/show/580881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=25
2018-03-01 11:07:39 +00:00
Marguerite Su
ba2668de58 Accepting request 580605 from home:iznogood:branches:server:http
- Update License tag to SPDX 3 version:
  Apache-2.0 AND GPL-2.0-only WITH GCC-exception-2.0.

OBS-URL: https://build.opensuse.org/request/show/580605
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=64
2018-02-28 09:07:54 +00:00
Marguerite Su
054ea267dd OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=63 2018-02-26 02:32:57 +00:00
Marguerite Su
5f085e72ae Accepting request 577895 from home:stroeder:branches:server:http
- Update to 2.0.16:
  * [CVE-2018-6758] Stack-based buffer overflow in
    core/utils.c:uwsgi_expand_path()
[..]

OBS-URL: https://build.opensuse.org/request/show/577895
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=62
2018-02-24 04:59:44 +00:00
Dominique Leuenberger
41cd677aa8 Accepting request 555662 from server:http
- fix a leaf problem found by repo-checker
  * uwsgi-python3 can't be install because it requires python-base = 3.6
    which should be python3-base
- creating /run/uwsgi for sockets via systemd service now
- Update to 2.0.15: [2017-03-30]
  * workaround for the holy allocator for avoiding crashes with newrelic (see
    Issues notes)
  * avoid time overflow in request logs during (even minimal) clock skew
  * fixed python logger with python3
  * fixed catch-exceptions with python3
  * backported “don’t clone $env->{‘psgix.io’} on ‘PSGI cancel’”
  * added support for authentication in the redis logger
  * added the spinningfifo action hook to the core
  * fixed compilation with php 7.1 (Дамјан Георгиевски)
  * correctly returns error code 22 in lazy_apps + master_mode
  * fixed compilation for OpenSSL 1.1 (Riccardo Magliocchetti)
  * Add a –skip-atexit-teardown option to skip perl/python teardown (Ævar
    Arnfjörð Bjarmason)
  * fixed static file serving over https-socket
- building now php7 plugin via php7-embed package for Factory/Tumbleweed
- removing uwsgi-1.9.13-emperor_pg-Wformat.patch
- Trim filler wording from description.

OBS-URL: https://build.opensuse.org/request/show/555662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=24
2017-12-14 09:55:16 +00:00
Marguerite Su
4f2ea478cf OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=60 2017-12-10 12:35:45 +00:00
Marguerite Su
0f2d2f5d9e Accepting request 555610 from home:MargueriteSu:branches:server:http
- fix a leaf problem found by repo-checker
  * uwsgi-python3 can't be install because it requires python-base = 3.6
    which should be python3-base

OBS-URL: https://build.opensuse.org/request/show/555610
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=59
2017-12-10 04:55:10 +00:00
Marguerite Su
9e1ee6db2b Accepting request 540177 from home:uebelhacker:branches:server:http
incorporated the jengelh descriptions as well. Sorry, for re-submitting, found a bug. Tested on Tumbleweed x86_64 with the php7 plugin.

- creating /run/uwsgi for sockets via systemd service now
- Update to 2.0.15: [2017-03-30]
  * workaround for the holy allocator for avoiding crashes with newrelic (see
    Issues notes)
  * avoid time overflow in request logs during (even minimal) clock skew
  * fixed python logger with python3
  * fixed catch-exceptions with python3
  * backported “don’t clone $env->{‘psgix.io’} on ‘PSGI cancel’”
  * added support for authentication in the redis logger
  * added the spinningfifo action hook to the core
  * fixed compilation with php 7.1 (Дамјан Георгиевски)
  * correctly returns error code 22 in lazy_apps + master_mode
  * fixed compilation for OpenSSL 1.1 (Riccardo Magliocchetti)
  * Add a –skip-atexit-teardown option to skip perl/python teardown (Ævar
    Arnfjörð Bjarmason)
  * fixed static file serving over https-socket
- building now php7 plugin via php7-embed package for Factory/Tumbleweed
- removing uwsgi-1.9.13-emperor_pg-Wformat.patch
- Trim filler wording from description.

OBS-URL: https://build.opensuse.org/request/show/540177
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=58
2017-11-11 09:59:31 +00:00
Yuchen Lin
ba8a42b02a Accepting request 514493 from server:http
1

OBS-URL: https://build.opensuse.org/request/show/514493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=23
2017-08-10 12:05:19 +00:00
Marguerite Su
00694cc96e Accepting request 505991 from home:bmwiedemann:branches:server:http
- Add reproducible.patch to override build date to make build more reproducible
- sort list of plugins

OBS-URL: https://build.opensuse.org/request/show/505991
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=56
2017-08-04 00:57:52 +00:00
Dominique Leuenberger
39bd4ecbed Accepting request 445069 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/445069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=22
2016-12-10 17:29:50 +00:00
712791217d Accepting request 433459 from home:buschmann23:Cutelyst
update to version 2.0.14

OBS-URL: https://build.opensuse.org/request/show/433459
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=54
2016-12-02 11:20:59 +00:00
Dominique Leuenberger
0a272f3e12 Accepting request 433255 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/433255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=21
2016-10-10 14:20:18 +00:00
James Oakley
f7c33a38c6 - Don't fail build on deprecated declarations
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=52
2016-09-28 02:02:17 +00:00
Dominique Leuenberger
be66252c5a Accepting request 400826 from server:http
1

OBS-URL: https://build.opensuse.org/request/show/400826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=20
2016-06-10 22:01:14 +00:00
Marguerite Su
559dadd010 Accepting request 400793 from home:buschmann23:Cutelyst
Update to version 2.0.13.1

OBS-URL: https://build.opensuse.org/request/show/400793
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=50
2016-06-09 14:43:49 +00:00
Dominique Leuenberger
d8f873a4d0 Accepting request 396901 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/396901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=19
2016-05-23 14:39:08 +00:00
James Oakley
b707965278 - Update to 2.0.13:
*  Fix compilation with GCC 6
  *  Remote rpc fixes (Darvame)
  *  Musl support! (Natanael Copa, Matt Dainty, Riccardo Magliocchetti)
  *  Create the spooler directory if it does not exist (Alexandre Bonnetain)
  *  Fix compilation on big endian linux (Riccardo Magliocchetti)
  *  A ton of cache fixes (Darvame)
  *  Make it easier to compile plugins on a different directory (Jakub
     Jirutka)
  *  Add wheel package machinery (Matt Robenolt)
  *  Use EPOLLEXCLUSIVE for reading, helps with the thundering herd problem
     (on linux 4.5+) (INADA Naoki)
  *  Fix apache 2.4 integration with unix sockets (Alexandre Rossi)
  *  Add HTTP/2 support to apache 2 proxy (Michael Fladischer, OGAWA Hirofumi)
  *  Fix apache mod proxy compilation with apache 2.4.20 (Mathieu Arnold)
  *  Default to clang as default compiler on MacOS X (Riccardo Magliocchetti)
  *  Added --cgi-close-stdin-on-eof (Roberto De Ioris)

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=48
2016-05-13 01:45:56 +00:00
Dominique Leuenberger
918375205b Accepting request 359446 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/359446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=18
2016-02-17 09:26:05 +00:00
e30f0955fe Accepting request 352464 from home:buschmann23:Cutelyst
Updated to uWSGI 2.0.12

OBS-URL: https://build.opensuse.org/request/show/352464
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=46
2016-02-08 11:22:47 +00:00
Dominique Leuenberger
4aaee3011a Accepting request 343731 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/343731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=17
2015-11-12 18:40:59 +00:00
ef2e5915a4 Accepting request 333952 from home:jimfunk:branches:server:http
OBS-URL: https://build.opensuse.org/request/show/333952
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=44
2015-11-03 22:37:01 +00:00
Dominique Leuenberger
08d738a8a5 Accepting request 323279 from server:http
1

OBS-URL: https://build.opensuse.org/request/show/323279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=16
2015-08-19 07:29:25 +00:00
James Oakley
c8d0d7460c Accepting request 322068 from home:k0da:branches:server:http
- Don't build v8 plugin for PowerPC

OBS-URL: https://build.opensuse.org/request/show/322068
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=42
2015-08-15 16:49:01 +00:00
Stephan Kulow
15d57369fa Accepting request 316052 from server:http
1

OBS-URL: https://build.opensuse.org/request/show/316052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=15
2015-07-14 15:44:17 +00:00
James Oakley
0cc2a6a692 Accepting request 315080 from home:jimfunk:branches:server:http
OBS-URL: https://build.opensuse.org/request/show/315080
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=40
2015-07-11 22:28:57 +00:00
Stephan Kulow
1615756266 Accepting request 254520 from server:http
1

OBS-URL: https://build.opensuse.org/request/show/254520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=14
2014-10-08 20:13:50 +00:00
James Oakley
ba1347d940 Accepting request 254470 from home:elvigia:branches:server:http
- Use lua-devel only, current versions support lua 5.2

OBS-URL: https://build.opensuse.org/request/show/254470
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=38
2014-10-07 14:36:05 +00:00
Stephan Kulow
bf5d93345e Accepting request 241518 from server:http
OBS-URL: https://build.opensuse.org/request/show/241518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=12
2014-07-22 04:58:03 +00:00
James Oakley
43bec9926c Don't make rclink on < 12.3 since /usr/sbin/service doesn't exist
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=37
2014-07-01 19:19:21 +00:00
James Oakley
954ac816cb - Update to 2.0.6:
* Bugfixes
    * fixed a memory leak with subscription system
    * fixed shortcut for ssl-socket
    * fixed apache2 mod_proxy_uwsgi (it is now considered stable with all mpm
      engines)
    * fixed SCRIPT_NAME and PATH_TRANSLATED generation in php plugin (thanks
      Matthijs Kooijman)
    * remove the old FIFO socket from the event queue when recreating it
      (thanks Marko Tiikkaja)
  * New features
    * The new Rados plugins. The rados plugin has been improved and
      stabilized, and now it is considered usable in production.
    * --if-hostname. This is a configuration logic for including options only
      when the specified hostname matches
    * Apache2 mod_proxy_uwsgi stabilization. After literally years of bug
      reports, and corrupted data, the mod_proxy_uwsgi is now stable, and on
      modern apache2 releases it supports unix sockets too
    * uwsgi[rsize] routing var. This routing var (meaningful only in the
      'final' chain) exposes the response size of the request
    * the callint scheme. This scheme allows you to generate blob from
      functions exposed by your uWSGI instance
    * --fastrouter-fallback-on-no-key. The corerouters fallback procedure
      requires a valid key (domain name) has been requested. This option
      forces the various routers to trigger the fallback procedure even if a
      key has not been found
    * php 5.5 opcode caching via --php-sapi-name
    * Improved chain-reloading. Thanks to Marko Tiikkaja the chain reloading
      procedure correctly works in cheaper modes and it is more verbose
    * added 'chdir' keyval to --attach-daemon2. You can now set where attached

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=36
2014-07-01 19:08:50 +00:00
Stephan Kulow
3631a572bc Accepting request 229115 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/229115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=11
2014-04-09 11:17:40 +00:00
James Oakley
8b0a055d1c - Update to 2.0.3:
* Bugfixes
    * fixed spooler 'at' key usage
    * fixed a memory and fd leak with on-demand Emperor sockets
    * on __APPLE__ use LOG_NOTICE for syslog plugin
    * fixed mongrel2 support
    * hack for avoiding libmongoclient to crash on broken cursor
    * log alarm is now a uwsgi_log_verbose() wrapper
    * fixed tuntap router memory corruption
    * Set ECDHE curve independently from DHE parameters (Hynek Schlawack)
    * do not wait for a whole Emperor cycle before checking for each waitpid
    * fix a regression with caller() not indicating the starting *.psgi program
      (Ævar Arnfjörð Bjarmason)
  * New features
    * The Emperor now responds to two new signals:
      * SIGWINCH: force an emperor rescan of vassals
      * SIGURG: cleanup the Emperor states (for now it only clears its blacklist)
    * --build-plugin. Building plugins on-the-fly from git repositories
    * uwsgi.add_var(key, value). You can now set request variables directly
      from your app, for better integration with the internal routing
      subsystem
    * 'disableheaders' routing action. This new action disables the sending of
      response headers, independently by the current request state
    * Smarter Emperor on bad conditions. Now the Emperor completely destroys
      internal vassal-related structures when it is impossible to correctly
      kill a broken vassal (both for inconsistent Emperor state or for
      internal system problems)
- Update to 2.0.2:

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=34
2014-03-29 17:45:16 +00:00
Stephan Kulow
c58bb13771 Accepting request 228041 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/228041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=10
2014-03-28 15:29:12 +00:00
James Oakley
0430051761 Fix version in dsc
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=32
2014-03-16 18:24:35 +00:00
James Oakley
200ee43667 - Update to 2.0.1:
* Bugfixes
    * fixed python3 support on older compilers/libc
    * allow starting in spooler-only mode
    * fixed cache bitmap support and added test suite (credits: Danila Shtan)
    * fixed ftime log var
    * added async remote signal management
    * fixed end-for and end-if
    * fixed loop in internal-routing response chain
    * fixed pypy execute_source usage
    * logpipe: Don't setsid() twice (credits: INADA Naoki) 
  * New features and improvements
    * CGI plugin
      * The plugin has been improved to support streaming
      * The long-awaited async support is finally ready
    * PSGI loading improvements
      * The PSGI loader now tries to use Plack::Util::load_psgi() function
        instead of simple eval

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=31
2014-03-16 18:18:14 +00:00
Stephan Kulow
c2379bd489 Accepting request 224299 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/224299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=9
2014-03-04 12:59:52 +00:00
James Oakley
59ab4cd69b - Update to 2.0.1
- Add a Debian build

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=29
2014-02-21 20:03:09 +00:00
Stephan Kulow
17dd8ba0c4 Accepting request 204764 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/204764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=8
2013-12-19 06:21:56 +00:00
James Oakley
f11b066a3b - Update to 1.9.19:
* This release starts the 'hardening' cycle for uWSGI 2.0 (scheduled for the 
    end of december 2013). The metrics subsystem was the last piece missing
    and this version (after 1 year of analysis) finally includes it. During
    the following 2 months we will start deprecating features or plugins that
    got no-interest, are known to be broken or are simply superseed by more
    modern/advanced ones.
  * Bugfixes
    * completely skip cgroups initialization when non-root
    * tons of post-static_analysis fixes by Riccardo Magliocchetti
    * fixed the greenlet plugin reference counting
    * avoid kevent storm for stats pusher thread
    * fixed rbtimers math
    * both 'cache' and 'file' routers got a 'no_content_length' key option to
      avoid setting the Content-Length header
    * the PyPy plugin automatically enables threads/GIL
    * manage dot_segments in HTTP parser
    * improved srand() usage
  * New features
    * The Metrics subsystem. This was the last piece missing before uWSGI 2.0.
      The Metrics subsystem allows you to store "numbers" related to
      monitoring, graphing and quality checks and exports them in various ways
    * The Tornado loop engine. While working on nodejs integration we realized
      that contrary to what we used to believe, Tornado (an asynchronous,
      callback based module for python) is usable in uWSGI.
    * The 'puwsgi' protocol. A "persistent" (keep-alive) version of the
      'uwsgi' parser has been added named 'puwsgi' (persistent uwsgi).
    * --vassal-set. You can tell the Emperor to pass specific options to every
      vassal using the --set facility
    * The 'template' transformation. This is a transformation allowing you to

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=27
2013-11-10 20:22:24 +00:00
James Oakley
214573125c - Added apache2-mod_proxy_uwsgi and apache2-mod_uwsgi sub packages
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=26
2013-11-08 20:15:53 +00:00
James Oakley
e6a223498f - Update to 1.9.18.2:
* check for NULL dictionary values in python3 autoreloader
  * fixed fastrouter realloc() bug
  * fixed stdin and embedded configuration
  * fixed vassal's strict mode
  * fixed UUID randomization when libuuid is not used
  * added --iprint (immediate print) option
- Changes from 1.9.18:
  * License change. This version of uWSGI is the first of the 1.9 tree using
    GPL2 + linking exception instead of plain GPL2
  * Bugfixes
    * fixed uwsgi native protocol support on big endian machines
    * fixed jvm build system for arm (Jorge Gallegos)
    * fixed a memleak spotted by cppcheck in zlib management
    * chdir() at every emperor glob iteration
    * correctly honour --force-cwd
    * fixed ia64/Linux compilation (Jonas Smedegaard/Riccardo Magliocchetti)
    * fixed ruby rvm paths parsing order
    * added waitpid() after daemon’s SIGTERM (Łukasz Mierzwa)
    * fixed pid numbering after --idle (Łukasz Mierzwa)
    * fixed/improved cheaper memory limits (Łukasz Mierzwa)
    * correctly close inherited sockets in gateways
    * fix checks for MAP_FAILED in mmap() (instead of NULL)
    * fixed FastCGI non-blocking body read() (patch by Arkaitz Jimenez)
    * fixed attach.py script
    * avoid crashing on non-conformant PSGI response headers
    * run the python autoreloader even in non-apps mode when non-lazy
  * New Features
    * https://uwsgi-docs.readthedocs.org/en/latest/Changelog-1.9.18.html
    * Minimal build profiles

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=25
2013-10-17 21:55:17 +00:00
Stephan Kulow
c1f6c15667 Accepting request 200440 from server:http
Emergency release fixing issues with 1.9.17

OBS-URL: https://build.opensuse.org/request/show/200440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=7
2013-09-26 09:53:04 +00:00
James Oakley
6c239f6ae5 - Update to 1.9.17.1:
* Emergency release fixing two bugs:
    * fixed inheriting of file descriptor 0 (this breaks fastcgi on dreamhost,
      and uwsgi on unbit.it)
    * fixed router_http REQUEST_URI rewrite (double free)

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=23
2013-09-24 16:58:56 +00:00
James Oakley
743d6b063c Fix gluster conditional
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=22
2013-09-24 00:32:12 +00:00
James Oakley
e49114bf94 Fix another issue with gluster conditional
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=21
2013-09-24 00:18:35 +00:00
James Oakley
5cef53271a Fix accidental change in last revision
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=20
2013-09-24 00:15:45 +00:00
James Oakley
7e23e79c8f Gluster not supported in < 12.3
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=19
2013-09-23 23:48:27 +00:00
James Oakley
d2f8ca2668 - Disable v8 on unsupported architectures, and on distributions with newer
versions of v8, as it seems that upstream is not maintaining it
- Update to 1.9.17
  * Bugfixes
    * the pty client is now blocking (safer approach)
    * removed strtok() usage (substituted by a new uwsgi api function on top
      of strtok_r())
    * fixed --pty-exec (Credits: C Anthony Risinger)
    * listen_queue/somaxconn linux check is now done even for UNIX sockets
  * New features
    * https://uwsgi-docs.readthedocs.org/en/latest/Changelog-1.9.17.html
    * The Master FIFO: a new management way in addition to UNIX signals
    * A new hook, named asap has been added. It will be run soon after the
      options are parsed
    * The TCC (libtcc) plugin: TCC is an embeddable c compiler. It includes a
      shared library (libtcc) you can use to compile strings of c code on the
      fly. The libtcc uWSGI plugins allows compiling strings of c to process
      symbols. Currently the "tcc" hook engine has been implemented:
    * The forkptyrouter gateway: While work on Linux containers/namespaces
      continues to improve we have added this special router/gateway allowing
      dynamic allocation of pseodoterminals in uWSGI instances. To access the
      sockets created by the forkptyrouter you can use the --pty-connect
      option exposed by the pty plugin.
    * added a new magic var for ANSI escaping. It allows you to define ANSI
      sequences in your logs
    * Routable log encoders: You can now attach log encoders to specific log
      routes
    * --vassals-include: This is like --vassal-inherit but the parsing will be
      "immediate" (so you can use placeholders)
    * The Emperor heartbeat system is now mercyless. The old approach for the

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=18
2013-09-23 23:42:48 +00:00
James Oakley
9a1e158466 Accepting request 199867 from home:k0da:ppc
- enable v8 conditionally (enables build for powerpc and s390)

OBS-URL: https://build.opensuse.org/request/show/199867
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=17
2013-09-20 17:58:22 +00:00
95f8787140 - add libperl_requires
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=16
2013-09-05 16:43:19 +00:00
Stephan Kulow
eb45720163 Accepting request 184129 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=5
2013-07-24 13:31:44 +00:00
James Oakley
f5d0e3e896 - Add -Wformat to emperor_pg CFLAGS since pg-config --cflags returns
-Wformat-security and gcc complains about it's exclusion

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=14
2013-07-16 20:42:44 +00:00
James Oakley
eb3bc3b3a5 - Update to 1.9.13
* Bugfixes
   * Fixed a corner case bug when response offloading is enabled, but no
     request plugin is loaded
   * Fixed harakiri routing when multiple rules are in place (return NEXT
     instead of CONTINUE)
   * Fixed curl crashing master on slow dns responses (Łukasz Mierzwa)
   * Removed PTRACE check in uwsgi.h (it is no more needed since uWSGI 1.0)
   * Fixed -print-sym
   * Added a newline in -cflags
   * Improved python3 detection and compilation
   * Fixed Coro::AnyEvent loop engine (John Berthels)
   * Rack api functions are now static
   * Better fastcgi handling of big uploads
   * Improved GCC usage on Darwin for Python non-apple builds
   * Fixed XCLIENT usage in rawrouter
   * Use the clang preprocessor instead of hardcoded 'cpp' when CC=clang is
     used
   * Set 16bit options to 65535 when higher values are requested
   * Fixed virtualhosting (it is now compatible with 1.4 configurations)
 * New features
   * https://uwsgi-docs.readthedocs.org/en/latest/Changelog-1.9.13.html
   * PyPy performance and features improvents
   * Chunked input api
   * Toward better third-party plugins management: the -dot-h option
   * setmethod, seturi and setpathinfo routing action
   * UWSGI_INCLUDES
   * Improved set_user_harakiri api function
   * -add-cache-item [cache ]KEY=VALUE
   * the router_xmldir plugin

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=13
2013-07-16 20:15:04 +00:00
Stephan Kulow
1c4b41109d Accepting request 178039 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/178039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=4
2013-06-13 20:48:37 +00:00
James Oakley
9228307da5 Ensure that only Ruby 1.9 is used
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=11
2013-05-31 21:38:50 +00:00
James Oakley
04b934c86b Fix Ruby req. It should always be ruby19
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=10
2013-05-31 21:22:27 +00:00
James Oakley
aa5d89f76e Still need systemd for macros on 12.1
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=9
2013-05-31 21:18:47 +00:00
James Oakley
3dc4e554b1 Don't replace /etc/uwsgi/uwsgi.ini on updates
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=8
2013-05-31 21:14:59 +00:00
James Oakley
b22531006b Fix requirements and remove unsupported plugins on openSUSE <= 12.1
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=7
2013-05-31 21:12:58 +00:00
James Oakley
2c6855f163 - Fix path to uwsgi binary in service file
- Install uwsgi.ini
- Fix signed/unsigned comparison in emperor_amqp

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=6
2013-05-31 20:55:51 +00:00
James Oakley
e860c3d253 - Deprecated init script and sysconfig file in favor of systemd service and a
default configuration file /etc/uwsgi/uwsgi.ini
- Update README to describe important changes
- Removed separate packages for plugins that have no uncommon requirements
- Update to 1.9.11
  * Fixed Python 3 stdout/stderr buffering
  * Fixed mule messages (@mulefunc is now reliable)
  * Fixed SCRIPT_NAME handling in dynamic mode
  * Fixed X-Sendfile with gzip static mode
  * Fixed cache item maximum size with custom block size
  * Fixed cache path handling
  * Added the new high-performance PyPy plugin
  * You can now avoid overlapping crons using --unique-cron. The uWSGI master
    will track death of a single task, and until its death the same cron will
    not be triggered
  * A key/value variant of the --cron option is now available
  * When using the cron2 option you are allowed to set a harakiri timeout for a
    cron task. Just add harakiri=n to the options
  * Added support for GNU Hurd
  * A new offload engine named "memory" allows to offload memory transfers. The
    cache router automatically supports it. To enable it just add
    --offload-threads <n>
  * An example websocket chat using Redis has been added to the repository
  * You can now define a routing table to be executed as soon as you set the
    HTTP status code in your plugin
  * Generally the wsgi.file_wrapper callable expects a file-like object. PEP
    333/3333 reports a special pattern when the object is not a file (call
    read() until the object is consumed). uWSGI now supports this pattern (even
    if in a hacky way)
  * When using --http-keepalive you can now hold the connection open even if

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=5
2013-05-31 18:42:21 +00:00
Stephan Kulow
228ab15eb6 Accepting request 135583 from server:http
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/135583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=2
2012-09-25 09:08:15 +00:00
James Oakley
726b3bcb7b - Install uwsgidecorators module for Python plugin
- Create sysconfig file for adding uwsgi options

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=3
2012-09-12 01:15:59 +00:00
Stephan Kulow
ec165171f5 Accepting request 133532 from server:http
Web application container server that speaks it's own uwsgi protocol in addition to HTTP. Mainly used in conjunction with Nginx and Python, but supports other servers and languages as well.

OBS-URL: https://build.opensuse.org/request/show/133532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=1
2012-09-11 15:17:51 +00:00
Ismail Dönmez
a5f0e22c8a Accepting request 133409 from home:jimfunk
Web application container server that speaks it's own uwsgi protocol in addition to HTTP. Mainly used in conjunction with Nginx and Python, but supports other servers and languages as well.

OBS-URL: https://build.opensuse.org/request/show/133409
OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=1
2012-09-10 10:57:08 +00:00
7 changed files with 177 additions and 39 deletions

99
python313.patch Normal file
View File

@ -0,0 +1,99 @@
From 699dc20f8204ee18812951600b0221156d217530 Mon Sep 17 00:00:00 2001
From: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Date: Sun, 21 Jul 2024 16:32:31 +0200
Subject: [PATCH] plugins/python: handle cframe removal from CPython thread
state
Use current_frame instead
---
plugins/python/python_plugin.c | 16 ++++++++++++++++
plugins/python/uwsgi_python.h | 12 ++++++++++++
2 files changed, 28 insertions(+)
Index: uwsgi-2.0.28/plugins/python/python_plugin.c
===================================================================
--- uwsgi-2.0.28.orig/plugins/python/python_plugin.c
+++ uwsgi-2.0.28/plugins/python/python_plugin.c
@@ -1615,7 +1615,11 @@ void uwsgi_python_suspend(struct wsgi_re
#elif defined UWSGI_PY312
up.current_c_recursion_remaining[wsgi_req->async_id] = tstate->c_recursion_remaining;
up.current_py_recursion_remaining[wsgi_req->async_id] = tstate->py_recursion_remaining;
+#ifdef UWSGI_PY313
+ up.current_frame[wsgi_req->async_id] = tstate->current_frame;
+#else
up.current_frame[wsgi_req->async_id] = tstate->cframe;
+#endif
#elif defined UWSGI_PY311
up.current_recursion_remaining[wsgi_req->async_id] = tstate->recursion_remaining;
up.current_frame[wsgi_req->async_id] = tstate->cframe;
@@ -1632,7 +1636,11 @@ void uwsgi_python_suspend(struct wsgi_re
#elif defined UWSGI_PY312
up.current_main_c_recursion_remaining = tstate->c_recursion_remaining;
up.current_main_py_recursion_remaining = tstate->py_recursion_remaining;
+#ifdef UWSGI_PY313
+ up.current_main_frame = tstate->current_frame;
+#else
up.current_main_frame = tstate->cframe;
+#endif
#elif defined UWSGI_PY311
up.current_main_recursion_remaining = tstate->recursion_remaining;
up.current_main_frame = tstate->cframe;
@@ -1876,7 +1884,11 @@ void uwsgi_python_resume(struct wsgi_req
#elif defined UWSGI_PY312
tstate->c_recursion_remaining = up.current_c_recursion_remaining[wsgi_req->async_id];
tstate->py_recursion_remaining = up.current_py_recursion_remaining[wsgi_req->async_id];
+#ifdef UWSGI_PY313
+ tstate->current_frame = up.current_frame[wsgi_req->async_id];
+#else
tstate->cframe = up.current_frame[wsgi_req->async_id];
+#endif
#elif defined UWSGI_PY311
tstate->recursion_remaining = up.current_recursion_remaining[wsgi_req->async_id];
tstate->cframe = up.current_frame[wsgi_req->async_id];
@@ -1893,7 +1905,11 @@ void uwsgi_python_resume(struct wsgi_req
#elif defined UWSGI_PY312
tstate->c_recursion_remaining = up.current_main_c_recursion_remaining;
tstate->py_recursion_remaining = up.current_main_py_recursion_remaining;
+#ifdef UWSGI_PY313
+ tstate->current_frame = up.current_main_frame;
+#else
tstate->cframe = up.current_main_frame;
+#endif
#elif defined UWSGI_PY311
tstate->recursion_remaining = up.current_main_recursion_remaining;
tstate->cframe = up.current_main_frame;
Index: uwsgi-2.0.28/plugins/python/uwsgi_python.h
===================================================================
--- uwsgi-2.0.28.orig/plugins/python/uwsgi_python.h
+++ uwsgi-2.0.28/plugins/python/uwsgi_python.h
@@ -29,6 +29,10 @@
# define UWSGI_PY313
#endif
+#if (PY_VERSION_HEX >= 0x030d0000)
+# define UWSGI_PY313
+#endif
+
#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 7
#define HAS_NOT_PyMemoryView_FromBuffer
#endif
@@ -183,11 +187,19 @@ struct uwsgi_python {
#elif defined UWSGI_PY312
int *current_c_recursion_remaining;
int *current_py_recursion_remaining;
+#ifdef UWSGI_PY313
+ struct _PyInterpreterFrame **current_frame;
+#else
_PyCFrame **current_frame;
+#endif
int current_main_c_recursion_remaining;
int current_main_py_recursion_remaining;
+#ifdef UWSGI_PY313
+ struct _PyInterpreterFrame *current_main_frame;
+#else
_PyCFrame *current_main_frame;
+#endif
#elif defined UWSGI_PY311
int *current_recursion_remaining;
_PyCFrame **current_frame;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1e4a401f71d29e49d4762223412c32a42594c415f9d72d0f759680e5b8f4cf9
size 811635

3
uwsgi-2.0.28.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bb0762c5becb0414352cca664957206df4d6847e9a1c472e87708dc2cdad610
size 815887

View File

@ -1,23 +0,0 @@
From 93d07ec38b319c2fba7c71d3fd0d5acc2882d65a Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Tue, 14 May 2024 21:08:14 -0700
Subject: [PATCH] fix 32-bit compilation with GCC14
Wrong pointer type is used.
---
core/regexp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/regexp.c b/core/regexp.c
index 74bb77751..2b59f16fb 100644
--- a/core/regexp.c
+++ b/core/regexp.c
@@ -23,7 +23,7 @@ int uwsgi_regexp_build(char *re, uwsgi_pcre ** pattern) {
#ifdef UWSGI_PCRE2
int errnbr;
- long unsigned int erroff;
+ size_t erroff;
*pattern = pcre2_compile((const unsigned char *) re, PCRE2_ZERO_TERMINATED, 0, &errnbr, &erroff, NULL);
#else

View File

@ -0,0 +1,11 @@
--- uwsgi-2.0.25.1/plugins/jvm/uwsgiplugin.py 2024-09-26 21:40:38.319789843 +0200
+++ uwsgi-2.0.25.1/plugins/jvm/uwsgiplugin.py 2024-09-26 21:43:21.557662471 +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())

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Thu Dec 5 07:06:07 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* uwsgi-reproducible-jar-mtime.patch
+ Use SOURCE_DATE_EPOCH for reproducible jar mtime
+ Applied if building with Java >= 17
-------------------------------------------------------------------
Tue Nov 5 14:58:48 UTC 2024 - Markéta Machová <mmachova@suse.com>
- add python313.patch to support the newest CPython
-------------------------------------------------------------------
Tue Oct 29 17:46:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.0.28 (bsc#1222332, CVE-2024-24795):
* Bit more friendly log messages
* Add more integration tests
* Fix static library not found install error on conda
* pyuwsgi: avoid interleaving pywsgi threadstate
* Fix gracefully_kill_them_all with running requests
* Fix catch-exceptions causing a segfault in Python 3.5+
* plugins/php: Add support for uwsgi.disconnect() function
* plugins/python: use PyOS_*Fork stable API functions on 3.7+
* core/uwsgi: set enable threads by default
* plugins/python: fix compilation with Python 3.13
* use pipe in gracefully_kill() to stop worker loop
* port pypy plugin to python3
* add some integrations tests
* apache2/mod_proxy_uwsgi: let httpd handle CL/TE for
non-http handlers CVE-2024-24795
* remove race-condition over termination of uWSGI process
when using need-app and lazy-apps (Hanan .T)
* fix 32-bit compilation with GCC14 (Rosen Penev)
* uwsgiconfig: get compiler version with -dumpfullversion
* Fix uwsgi_regexp_match() with pcre2
- drop uwsgi-93d07ec38b31.patch (upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 25 16:31:34 UTC 2024 - Martin Jambor <mjambor@suse.com> Thu Jul 25 16:31:34 UTC 2024 - Martin Jambor <mjambor@suse.com>

View File

@ -29,8 +29,7 @@
%endif %endif
Name: uwsgi Name: uwsgi
Version: 2.0.25.1 Version: 2.0.28
Release: 0 Release: 0
Summary: Application Container Server for Networked/Clustered Web Applications Summary: Application Container Server for Networked/Clustered Web Applications
License: Apache-2.0 AND GPL-2.0-only WITH GCC-exception-2.0 License: Apache-2.0 AND GPL-2.0-only WITH GCC-exception-2.0
@ -58,8 +57,10 @@ Patch3: uwsgi-1.9.11-systemd_logger-old_systemd.patch
Patch4: uwsgi-2.0.18-postgresql-config.patch Patch4: uwsgi-2.0.18-postgresql-config.patch
# PATCH-FIX-UPSTREAM uwsgi-ld-noexecstack.patch - Do not create executable stack # PATCH-FIX-UPSTREAM uwsgi-ld-noexecstack.patch - Do not create executable stack
Patch5: uwsgi-ld-noexecstack.patch Patch5: uwsgi-ld-noexecstack.patch
# PATCH-FIX-UPSTREAM uwsgi-93d07ec38b31.patch - Fix build with GCC 14 on 32bit platforms # PATCH-FIX-UPSTREAM python313.patch - plugins/python: handle cframe removal from CPython thread state https://github.com/unbit/uwsgi/commit/699dc20f8204ee18812951600b0221156d217530
Patch6: uwsgi-93d07ec38b31.patch Patch6: python313.patch
# PATCH-FIX-OPENSUSE
Patch100: uwsgi-reproducible-jar-mtime.patch
BuildRequires: apache-rpm-macros BuildRequires: apache-rpm-macros
%if 0%{suse_version} < 1500 %if 0%{suse_version} < 1500
BuildRequires: apache2-devel BuildRequires: apache2-devel
@ -443,7 +444,18 @@ This package contains support for PHP version 7.
%endif %endif
%prep %prep
%autosetup -p1 -n uwsgi-%{version} %setup -n uwsgi-%{version}
%patch -P 0 -p1
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 6 -p1
# The "--date" option was added into jar in OpenJDK 17
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
%patch -P 100 -p1
%endif
# Generate a config that builds all plugins except for examples and stuff we # Generate a config that builds all plugins except for examples and stuff we
# can't satisfy the requirements for or are just broken # can't satisfy the requirements for or are just broken