1
0

33 Commits

Author SHA256 Message Date
0fc081160d Accepting request 1320129 from Apache:Modules
- Don't enable the module by default. Instead, include instructions in the
  description, consistent with other comparable modules, such as
  apache2-mod_fcgid, apache2-mod_jk and apache2-mod_mono.  If a reverse
  dependency of this module requires it, that package may execute
  `a2enmod wsgi`. (forwarded request 1318897 from wfrisch)

OBS-URL: https://build.opensuse.org/request/show/1320129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=39
2025-11-26 17:50:01 +00:00
b741d4e6cb - Don't enable the module by default. Instead, include instructions in the
description, consistent with other comparable modules, such as
  apache2-mod_fcgid, apache2-mod_jk and apache2-mod_mono.  If a reverse
  dependency of this module requires it, that package may execute
  `a2enmod wsgi`.

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_wsgi?expand=0&rev=85
2025-11-26 09:01:24 +00:00
3dac2dd974 Accepting request 1256210 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/1256210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=38
2025-03-26 20:22:10 +00:00
47deca1fd0 - Update to 5.0.2 includes changes from 5.0.1:
* Eliminate noise in logs under Python 3.13 when Python garbage collection
    decides to delay destruction of objects until a second phase, resulting in
    the wsgi.errors log object being accessed after the request had been
    completed and the log object marked as invalid. This resulted due to changes
    in garbage collection behaviour in Python 3.13.
  * Internally, when using Python 3.8 or newer, the PyConfig API will now be
    used due to deprecation and future removal of older C API alternatives.
    This was required to support Python 3.13.
  * Fix issue which could result in process crashing when values were supplied
    for user/password/realm of HTTP basic authentication which weren’t
    compliant with UTF-8 encoding format.
  * Fix memory leak in check_password() authentication hook handler.
  * Change use of deprecated thread.setDaemon to thread.daemon.

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_wsgi?expand=0&rev=83
2025-03-26 12:30:53 +00:00
3509105fad Accepting request 1181894 from Apache:Modules
- drop unmaintained apache-rex usage

OBS-URL: https://build.opensuse.org/request/show/1181894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=37
2024-06-20 14:48:41 +00:00
d50d2826ea Accepting request 1162342 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/1162342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=36
2024-03-27 19:42:13 +00:00
3fdf019796 Accepting request 1119593 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/1119593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=35
2023-10-23 21:40:56 +00:00
e7eb188443 Accepting request 1119173 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/1119173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=34
2023-10-20 21:18:36 +00:00
7ea939dc30 Accepting request 1037608 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/1037608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=33
2022-11-24 11:23:34 +00:00
0cbb56c2ae Accepting request 984653 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/984653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=32
2022-06-23 08:25:09 +00:00
c987270067 Accepting request 922933 from Apache:Modules
- Add missing bug reference to allow inclusion in SLE-15:SP4.
- use /usr/sbin/apxs for build, not -prefork
- Update to version 4.7.1:
  + Use Python 3 style print.
  + Mostly changes around distribtion from PyPi, where mod_wsgi is
    completented by a mod_wsgi-standalone with an own apache
    instance.
- Drop the python2 based package (py2 is EOL): Move the content of
  the former apache2-mod_wsgi-python3 package into apache-mod_wsgi.
  Provide/Obsolete the old -python3 package for ease of upgrade.
- Add Python-native build so Python metadata and wrapper is present
  (bsc#1189467).
- add %apache_rex_deps
- version update to 4.6.8
  * If no system mime types file can be found, fall back to ``/dev/null``
    so that Apache can still at least start up.
  * Fix compilation failures when using Python 3.8.
  * The Apache request ID is accessible in request events as ``request_id``.
  * The per request data dictionary accessible using ``mod_wsgi.request_data()``
    is now also accessible in events as ``request_data``.
  * When the queue timeout was triggered for requests sent to daemon mode
    processes, the error response wasn't being flushed out correctly resulting
    in the connection still being held up to the time of the socket timeout.
- test with %apache_rex_check
- update to 4.6.5:
  * When running mod_wsgi-express and serving up static files
  from the document root, and the WSGI application was mounted
  at a sub URL using --mount-point, the static files in the
  document root outside of the mount point for the WSGI
  application would no longer be accessible.
  * If no system mime types file can be found, fall
  back to /dev/null so that Apache can still at least
  start up.
  * Now possible to use mod_wsgi-express in an a zipapp
  created using shiv. This entailed a special workaround
  to detect when shiv was used, so that the unpacked
  site-packages directory could be added to the Python
  module search path for mod_wsgi-express.
- update to 4.6.4:
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.19.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.20.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.21.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.22.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.23.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.24.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.0.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.1.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.2.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.3.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.4.html
- Fix description (bsc#1084882)
- update to 4.5.18 see full changes bugfix and new features here:
  http://modwsgi.readthedocs.io/en/latest/release-notes
- specleanup
- update to 4.5.2
  * Upstream release notes:
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.2.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.1.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.0.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.4.23.html
- minimized delta between spec files
- use the #/ trick for the source url
- update to 4.4.22
 * Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.22.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.21.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.20.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.19.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.18.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.17.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.16.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.15.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.14.html
- update to 4.4.13
  * Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.13.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.12.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.11.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.10.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.9.html
- test module with %apache_test_module_load
- update to 4.4.8
  * Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.7.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.8.html
- seperate package for python3 to fix module loading errors
- conflict with mod_wsgi-python3
- Build subpackage with mod_wsgi_python3 (bsc#939717)
- Requries: %{apache_suse_maintenance_mmn}
  This will pull this module to the update (in released distribution) 
  when apache maintainer thinks it is good (due api/abi changes).
- Fix build failure on SLE 12 (Apache 2.4.10)
  + add wsgi_fixVersionCheck.patch
  + build failed due to improper version check
- Update to version 4.4.6
  - Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.6.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.5.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.4.html
    .....
  - As of version 4.2.7 mod_wsgi is effected by
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758035
    
- call spec-cleaner
- use apache rpm macros 
- change URL to new location
- provide short module name
- Update to version 4.2.5
  - remove mod_wsgi-3.4-connsbh.patch - included in upstream version
  - remove mod_wsgi-setuid-patch.diff - included in upstream version
  - No longer support the use of mod_python in conjunction with 
    mod_wsgi
  - Adding a lot of new configuration option
  - fix off-by-one error in setgroups (bnc#883229)
- fix Local privilege escalation (bnc#878550)
  CVE-2014-0240
- Fix module name sent to a2enmod/a2dismod and fix/cleanup
  post/postun scripts.
- Add patch "mod_wsgi-3.4-connsbh.patch" to fix segmentation faults
  with apache 2.4 (https://bugzilla.redhat.com/show_bug.cgi?id=831701)
- Update to version 3.4:
  + New support for Apache 2.4
  + Support for Python 3.2
  + Is now guaranteed that mod_ssl access handler is run before
    that for mod_wsgi so that any per request variables setup by
    mod_ssl are available in the mod_wsgi access handler as
    implemented by WSGIAccessScript directive.
  + Added 'python-home' option to WSGIDaemonProcess.
  + Added 'lang' and 'locale' options to WSGIDaemonProcess.
  + Split combined WWW-Authenticate header returned from daemon
    process back into separate headers.
- Introduce build compatibility with apache 2.4: apxs2 was moved
  from %{_sbindir} to %{_bindir}
- Require apache2, a module makes little sense without
- add post/postun section
  * enable module after install (a2enmod)
  * disable module after deinstall (a2enmod -d)
- fix License as required by http://spdx.org/licenses/
  * Apache-2.0
- fix build for CentOS/RHEL
- spec-cleanup
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
- update to 3.3:
  http://code.google.com/p/modwsgi/wiki/ChangesInVersion0303
- update to 2.5:
  http://code.google.com/p/modwsgi/wiki/ChangesInVersion0205
- minor spec file fixes (use %configure, -j%jobs)
- update to 2.3. Changelog:
  http://code.google.com/p/modwsgi/wiki/ChangesInVersion0202
  http://code.google.com/p/modwsgi/wiki/ChangesInVersion0203
- update to 2.1. Changelog:
  http://code.google.com/p/modwsgi/wiki/ChangesInVersion0201
- initial package (version 1.3) (forwarded request 922567 from mcepl)

OBS-URL: https://build.opensuse.org/request/show/922933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=31
2021-10-04 16:40:26 +00:00
1c57967487 Accepting request 851860 from Apache:Modules
- use /usr/sbin/apxs for build, not -prefork

OBS-URL: https://build.opensuse.org/request/show/851860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=30
2020-12-01 13:22:46 +00:00
2fce4014eb Accepting request 805091 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/805091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=29
2020-05-13 20:56:15 +00:00
57c9ff3cb3 Accepting request 794038 from Apache:Modules
- Add Python-native build so Python metadata and wrapper is present (forwarded request 792780 from Pharaoh_Atem)

OBS-URL: https://build.opensuse.org/request/show/794038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=28
2020-04-15 17:55:05 +00:00
41b8254145 Accepting request 775139 from Apache:Modules
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/775139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=27
2020-02-18 12:30:05 +00:00
2011ee32b3 Accepting request 754581 from Apache:Modules
- version update to 4.6.8
  * If no system mime types file can be found, fall back to ``/dev/null``
    so that Apache can still at least start up.
  * Fix compilation failures when using Python 3.8.
  * The Apache request ID is accessible in request events as ``request_id``.
  * The per request data dictionary accessible using ``mod_wsgi.request_data()``
    is now also accessible in events as ``request_data``.
  * When the queue timeout was triggered for requests sent to daemon mode
    processes, the error response wasn't being flushed out correctly resulting
    in the connection still being held up to the time of the socket timeout.

- test with %apache_rex_check

- version update to 4.6.8
  * If no system mime types file can be found, fall back to ``/dev/null``
    so that Apache can still at least start up.
  * Fix compilation failures when using Python 3.8.
  * The Apache request ID is accessible in request events as ``request_id``.
  * The per request data dictionary accessible using ``mod_wsgi.request_data()``
    is now also accessible in events as ``request_data``.
  * When the queue timeout was triggered for requests sent to daemon mode
    processes, the error response wasn't being flushed out correctly resulting
    in the connection still being held up to the time of the socket timeout.

- test with %apache_rex_check (forwarded request 753968 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/754581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=26
2019-12-09 20:34:22 +00:00
3a173e4fd0 Accepting request 687923 from Apache:Modules
- update to 4.6.4:
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.19.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.20.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.21.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.22.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.23.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.24.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.0.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.1.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.2.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.3.html
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.4.html

- update to 4.6.5:
  * When running mod_wsgi-express and serving up static files
  from the document root, and the WSGI application was mounted
  at a sub URL using --mount-point, the static files in the
  document root outside of the mount point for the WSGI
  application would no longer be accessible.
  * If no system mime types file can be found, fall
  back to /dev/null so that Apache can still at least
  start up.
  * Now possible to use mod_wsgi-express in an a zipapp
  created using shiv. This entailed a special workaround
  to detect when shiv was used, so that the unpacked
  site-packages directory could be added to the Python
  module search path for mod_wsgi-express.

- update to 4.6.4:
  * see http://modwsgi.readthedocs.io/en/develop/release-notes/version-4.5.19.html

OBS-URL: https://build.opensuse.org/request/show/687923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=25
2019-03-24 14:01:41 +00:00
5e8d83537d Accepting request 588917 from Apache:Modules
- Fix description (bsc#1084882)

- Fix description (bsc#1084882) (forwarded request 588637 from tbechtold)

OBS-URL: https://build.opensuse.org/request/show/588917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=24
2018-03-20 21:01:04 +00:00
1af128dea4 Accepting request 527458 from Apache:Modules
1

OBS-URL: https://build.opensuse.org/request/show/527458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=23
2017-09-20 15:13:45 +00:00
b1c7bd2ac6 Accepting request 400260 from Apache:Modules
- update to 4.5.2
  * Upstream release notes:
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.2.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.1.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.0.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.4.23.html
- minimized delta between spec files
- use the #/ trick for the source url

- update to 4.5.2
  * Upstream release notes:
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.2.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.1.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.5.0.html
    + http://modwsgi.readthedocs.io/en/latest/release-notes/version-4.4.23.html
- minimized delta between spec files
- use the #/ trick for the source url

OBS-URL: https://build.opensuse.org/request/show/400260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=22
2016-06-07 21:49:51 +00:00
063e19cfd3 Accepting request 362621 from Apache:Modules
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/362621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=21
2016-03-07 12:23:44 +00:00
Stephan Kulow
534829cd3d Accepting request 334369 from Apache:Modules
- update to 4.4.13
  * Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.13.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.12.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.11.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.10.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.9.html

- test module with %apache_test_module_load

  * Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.7.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.8.html
- conflict with mod_wsgi-python3
- update to 4.4.13
  * Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.13.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.12.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.11.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.10.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.9.html

- test module with %apache_test_module_load

OBS-URL: https://build.opensuse.org/request/show/334369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=20
2015-09-30 03:53:05 +00:00
Stephan Kulow
2859139dce Accepting request 323282 from Apache:Modules
- update to 4.4.8
  * Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.7.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.8.html
- seperate package for python3 to fix module loading errors
- conflict with mod_wsgi-python3


- update to 4.4.8
- seperate package for python3 to fix module loading errors
- conflict with mod_wsgi

- Build subpackage with mod_wsgi_python3 (bsc#939717)

- Requries: %{apache_suse_maintenance_mmn}
  This will pull this module to the update (in released distribution) 
  when apache maintainer thinks it is good (due api/abi changes).

- Fix build failure on SLE 12 (Apache 2.4.10)
  + add wsgi_fixVersionCheck.patch
  + build failed due to improper version check

- Update to version 4.4.6
  - Upstream release notes:
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.6.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.5.html
    + http://modwsgi.readthedocs.org/en/latest/release-notes/version-4.4.4.html
    .....
  - As of version 4.2.7 mod_wsgi is effected by
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758035

OBS-URL: https://build.opensuse.org/request/show/323282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=19
2015-08-28 06:26:03 +00:00
d924d98de1 Accepting request 320941 from Apache:Modules
- Build subpackage with mod_wsgi_python3 (bsc#939717)

OBS-URL: https://build.opensuse.org/request/show/320941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=18
2015-08-06 22:24:54 +00:00
Stephan Kulow
96539185da Accepting request 317180 from Apache:Modules
1

OBS-URL: https://build.opensuse.org/request/show/317180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=17
2015-07-20 09:20:57 +00:00
f960861ff5 Accepting request 283685 from Apache:Modules
1

OBS-URL: https://build.opensuse.org/request/show/283685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=16
2015-02-03 10:40:10 +00:00
c53ff45685 Accepting request 260856 from Apache:Modules
1

OBS-URL: https://build.opensuse.org/request/show/260856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=15
2014-11-11 23:22:01 +00:00
Stephan Kulow
f180b9960b Accepting request 240300 from Apache:Modules
- change URL to new location

- provide short module name

- Update to version 4.2.5
  - remove mod_wsgi-3.4-connsbh.patch - included in upstream version
  - remove mod_wsgi-setuid-patch.diff - included in upstream version
  - No longer support the use of mod_python in conjunction with 
    mod_wsgi
  - Adding a lot of new configuration option
  - fix off-by-one error in setgroups (bnc#883229)

- fix Local privilege escalation (bnc#878550)
  CVE-2014-0240

OBS-URL: https://build.opensuse.org/request/show/240300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=13
2014-07-12 15:14:54 +00:00
Stephan Kulow
43ad616cd9 Accepting request 231962 from Apache:Modules
- Fix module name sent to a2enmod/a2dismod and fix/cleanup
  post/postun scripts. (forwarded request 231955 from adaugherity)

OBS-URL: https://build.opensuse.org/request/show/231962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=12
2014-05-02 11:54:08 +00:00
Stephan Kulow
d7e87349dd Accepting request 215240 from Apache:Modules
Fix from agraf for rh#831701 (forwarded request 213689 from BenniBrunner)

OBS-URL: https://build.opensuse.org/request/show/215240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=11
2014-01-27 14:15:14 +00:00
Stephan Kulow
7fb95c159a Accepting request 150555 from Apache:Modules
- Update to version 3.4:
  + New support for Apache 2.4
  + Support for Python 3.2
  + Is now guaranteed that mod_ssl access handler is run before
    that for mod_wsgi so that any per request variables setup by
    mod_ssl are available in the mod_wsgi access handler as
    implemented by WSGIAccessScript directive.
  + Added 'python-home' option to WSGIDaemonProcess.
  + Added 'lang' and 'locale' options to WSGIDaemonProcess.
  + Split combined WWW-Authenticate header returned from daemon
    process back into separate headers.
- Introduce build compatibility with apache 2.4: apxs2 was moved
  from %{_sbindir} to %{_bindir} (forwarded request 150441 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/150555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=9
2013-01-31 15:25:01 +00:00
Ismail Dönmez
f97930f1c5 Accepting request 144285 from Apache:Modules
- Require apache2, a module makes little sense without (forwarded request 141534 from saschpe)

OBS-URL: https://build.opensuse.org/request/show/144285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=7
2012-12-07 13:06:02 +00:00
Stephan Kulow
c2359b0757 Accepting request 97033 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/97033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_wsgi?expand=0&rev=5
2011-12-21 08:59:07 +00:00
4 changed files with 34 additions and 12 deletions

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Thu Nov 20 15:26:15 UTC 2025 - Wolfgang Frisch <wolfgang.frisch@suse.com>
- Don't enable the module by default. Instead, include instructions in the
description, consistent with other comparable modules, such as
apache2-mod_fcgid, apache2-mod_jk and apache2-mod_mono. If a reverse
dependency of this module requires it, that package may execute
`a2enmod wsgi`.
-------------------------------------------------------------------
Wed Mar 19 17:47:41 UTC 2025 - Lucas Mulling <lucas.mulling@suse.com>
- Update to 5.0.2 includes changes from 5.0.1:
* Eliminate noise in logs under Python 3.13 when Python garbage collection
decides to delay destruction of objects until a second phase, resulting in
the wsgi.errors log object being accessed after the request had been
completed and the log object marked as invalid. This resulted due to changes
in garbage collection behaviour in Python 3.13.
* Internally, when using Python 3.8 or newer, the PyConfig API will now be
used due to deprecation and future removal of older C API alternatives.
This was required to support Python 3.13.
* Fix issue which could result in process crashing when values were supplied
for user/password/realm of HTTP basic authentication which werent
compliant with UTF-8 encoding format.
* Fix memory leak in check_password() authentication hook handler.
* Change use of deprecated thread.setDaemon to thread.daemon.
-------------------------------------------------------------------
Thu Jun 20 09:30:18 UTC 2024 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package apache2-mod_wsgi
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@ BuildRequires: httpd
BuildRequires: httpd-devel
%endif
Name: apache2-mod_wsgi
Version: 5.0.0
Version: 5.0.2
Release: 0
Summary: A WSGI interface for Python3 web applications in Apache
License: Apache-2.0
@@ -57,6 +57,8 @@ adapter is written completely in C code against the Apache C runtime and
for hosting WSGI applications within Apache has a lower overhead than using
existing WSGI adapters for mod_python or CGI.
To load the module into Apache, run the command "a2enmod wsgi" as root.
%prep
%autosetup -n %{modname}-%{version}
@@ -85,13 +87,6 @@ if [ "$1" = "0" ]; then
fi
%endif
%if 0%{?suse_version}
%posttrans
if ! %{_sbindir}/a2enmod -q wsgi; then
%{_sbindir}/a2enmod wsgi
fi
%endif
%files
%defattr(-,root,root)
%doc LICENSE README.rst docs/release-notes

View File

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

BIN
mod_wsgi-5.0.2.tar.gz LFS Normal file

Binary file not shown.