www/mod_wsgi 6.1.1 FreeBSD
Python WSGI adapter module for Apache
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
6228cc78a9- License
- APACHE20
- Categories
- www, python
- Package size
- 118.8 KiB, 338.7 KiB installed
Description
The mod_wsgi package provides an Apache module that implements a WSGI-compliant interface for hosting Python based web applications on top of the Apache web server.
Install
Binary package:
pkg install ap24-py312-mod_wsgi
From the ports tree:
cd /usr/ports/www/mod_wsgi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ap24-py312-mod_wsgi>0:www/mod_wsgi
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 6.1.0_1 | 6.1.0_1 | - | - | 6.1.1 |
| FreeBSD:14:quarterly | 6.1.0_1 | 6.1.1 | n/a | - | 6.1.1 |
| FreeBSD:15:latest | 6.1.0_1 | 6.1.1 | n/a | - | - |
| FreeBSD:15:quarterly | 6.1.0_1 | 6.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 6.1.0 | 6.1.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 27
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- databases/gdbm
- devel/apr1
- devel/autoconf
- devel/autoconf-switch
- devel/automake
- devel/gettext-runtime
- devel/jansson
- devel/libffi
- devel/libunistring
- devel/m4
- devel/pcre2
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/perl5.42
- lang/python312
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- textproc/libxml2
- www/apache24
- www/libnghttp2
Run dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- databases/gdbm
- devel/apr1
- devel/gettext-runtime
- devel/jansson
- devel/libffi
- devel/libunistring
- devel/pcre2
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/perl5.42
- lang/python312
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- textproc/libxml2
- www/apache24
- www/libnghttp2
Required by 1
Configuration
No options to configure.
- USES
- apache autoreconf cpe python
- Service scripts
- none
Files
pkg-plist 3
- @sample %%APACHEETCDIR%%/modules.d/
- %%APACHEMODDIR%%/
- @postunexec echo "Don't forget to remove all mod_wsgi-related directives in your httpd.conf"
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mod_wsgi-6.1.1.tar.gz | 609760 | a42d11ba45d2050ab456a474d034e938605ca76386233ef404daa8b0388ca60e |
Master sites 1
- PYPI
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
6228cc78a9 |
Michael Osipov | www/mod_wsgi: Update to 6.1.1 PR: 299391
Approved by: [email protected] (maintainer)
MFH: 2026Q4
Security: GHSA-q67r-wxfm-97hj |
|
0d01e25f76 |
Michael Osipov | www/mod_wsgi: fix Python library linking Always pass Python's LIBDIR to the linker instead of assuming that Apache's
LIBDIR is also a default linker search path.
Link mod_wsgi only against the shared libpython library. Do not append
Python's LIBS and SYSLIBS, which are intended for linking Python itself
or for static embedding. With NLS-enabled Python, those flags promote
libintl to a direct dependency of mod_wsgi and cause an unnecessary
gettext-runtime dependency.
This results in the intended dependency chain:
mod_wsgi.so -> libpython${PYTHON_VERSION}.so.1.0 -> libintl.so.8
rather than making libintl a direct dependency of mod_wsgi.
PR: 298985
Approved by: portmgr (blanket)
MFH: 2026Q4 |
|
30c1b81f50 |
Michael Osipov | www/mod_wsgi: Update to 6.1.0 mod_wsgi has been upgraded to major version 6 with several potentially
breaking changes. Read the release notes very carefully:
https://modwsgi.readthedocs.io/en/latest/release-notes.html
PR: 298961
Approved by: [email protected] (maintainer) |