BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.1.0_16.1.0_1--6.1.1
FreeBSD:14:quarterly6.1.0_16.1.1n/a-6.1.1
FreeBSD:15:latest6.1.0_16.1.1n/a--
FreeBSD:15:quarterly6.1.0_16.1.0_1n/an/an/a
FreeBSD:16:latest6.1.06.1.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
Run dependencies 23
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
FileSizeSHA256
mod_wsgi-6.1.1.tar.gz609760a42d11ba45d2050ab456a474d034e938605ca76386233ef404daa8b0388ca60e
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog 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)