www/mod_wsgi4: Move to www/mod_wsgi, and upgrade port to 5.0.2

PR:		288402
Approved by:	jrm (mentor), douglas@douglasthrift.net (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D52139
This commit is contained in:
Michael Osipov 2025-08-24 19:48:17 +02:00
parent 5ab0af3da6
commit fe18c1474b
11 changed files with 17 additions and 31 deletions

1
MOVED
View File

@ -4768,3 +4768,4 @@ www/node18||2025-09-03|Has expired: Node.js 18.* has reached its EoL on 2025-04-
devel/rubygem-hashie4|devel/rubygem-hashie|2025-09-07|Remove obsoleted port. Use devel/rubygem-hashie instead
print/rubygem-afm0|print/rubygem-afm|2025-09-07|Remove obsoleted port. Use print/rubygem-afm instead
www/rubygem-jwt29|www/rubygem-jwt|2025-09-07|Remove obsoleted port. Use www/rubygem-jwt instead
www/mod_wsgi4|www/mod_wsgi|2025-09-08|Was tied to only major version 4, now upgraded to 5

View File

@ -5,6 +5,13 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20250908:
AFFECTS: users of www/mod_wsgi4
AUTHOR: michaelo@FreeBSD.org
This port has been renamed to www/mod_wsgi to be able to upgrade to
version 5.
20250828:
AFFECTS: users of databases/mongodb70, databases/mongodb80
AUTHOR: ronald@FreeBSD.org

View File

@ -450,7 +450,7 @@
SUBDIR += mod_umask
SUBDIR += mod_webauth
SUBDIR += mod_webkit
SUBDIR += mod_wsgi4
SUBDIR += mod_wsgi
SUBDIR += mod_xsendfile
SUBDIR += mohawk
SUBDIR += moin2

View File

@ -1,5 +1,5 @@
PORTNAME= mod_wsgi
DISTVERSION= 4.9.4
DISTVERSION= 5.0.2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}
@ -10,7 +10,7 @@ WWW= https://www.modwsgi.org/
LICENSE= APACHE20
USES= apache cpe gettext python
USES= apache cpe gettext python:3.8+
USE_PYTHON= flavors
CPE_VENDOR= modwsgi
@ -18,18 +18,10 @@ CPE_VENDOR= modwsgi
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
SUB_FILES= pkg-message ${APMOD_FILE}
SUB_FILES= ${APMOD_FILE}
APMOD_FILE= 270_${PORTNAME}.conf.sample
PLIST_SUB+= APMOD_FILE=${APMOD_FILE}
pre-everything::
@${ECHO_MSG} "======================= ATTENTION! ======================"
@${ECHO_MSG}
@${ECHO_MSG} "If you want to use daemon mode you will need to make sure"
@${ECHO_MSG} "Apache and APR include thread support."
@${ECHO_MSG}
@${ECHO_MSG} "========================================================="
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d

3
www/mod_wsgi/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1756060194
SHA256 (mod_wsgi-5.0.2.tar.gz) = 6fe5557c3ef25c184c2c994905fe52be1c06ae5c46235ecafe558e84789e2159
SIZE (mod_wsgi-5.0.2.tar.gz) = 498627

2
www/mod_wsgi/pkg-descr Normal file
View File

@ -0,0 +1,2 @@
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.

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1737724307
SHA256 (mod_wsgi-4.9.4.tar.gz) = 8e762662ea5b01afc386bbcfbaa079748eb6203ab1d6d3a3dac9237f5666cfc9
SIZE (mod_wsgi-4.9.4.tar.gz) = 497531

View File

@ -1,11 +0,0 @@
[
{ type: install
message: <<EOM
If you want to use daemon mode you will need to make sure Apache and APR
include thread support.
For more information, see :
http://www.modwsgi.org/en/latest/user-guides/quick-configuration-guide.html
EOM
}
]

View File

@ -1,5 +0,0 @@
The mod_wsgi adapter is an Apache module that provides a WSGI compliant
interface for hosting Python based web applications within Apache. The
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.