diff options
| author | Michael Osipov <michaelo@FreeBSD.org> | 2025-08-24 17:48:17 +0000 |
|---|---|---|
| committer | Michael Osipov <michaelo@FreeBSD.org> | 2025-09-08 08:26:23 +0000 |
| commit | fe18c1474b8b4c39defd8a85387543fcb018f418 (patch) | |
| tree | 4eb7816ab2834c82d1e3ba65f9d787c3e1f70bf9 | |
| parent | 5ab0af3da67ddecfad1d8c8ce6378b27a2de3319 (diff) | |
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
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | UPDATING | 7 | ||||
| -rw-r--r-- | www/Makefile | 2 | ||||
| -rw-r--r-- | www/mod_wsgi/Makefile (renamed from www/mod_wsgi4/Makefile) | 14 | ||||
| -rw-r--r-- | www/mod_wsgi/distinfo | 3 | ||||
| -rw-r--r-- | www/mod_wsgi/files/270_mod_wsgi.conf.sample.in (renamed from www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in) | 0 | ||||
| -rw-r--r-- | www/mod_wsgi/pkg-descr | 2 | ||||
| -rw-r--r-- | www/mod_wsgi/pkg-plist (renamed from www/mod_wsgi4/pkg-plist) | 0 | ||||
| -rw-r--r-- | www/mod_wsgi4/distinfo | 3 | ||||
| -rw-r--r-- | www/mod_wsgi4/files/pkg-message.in | 11 | ||||
| -rw-r--r-- | www/mod_wsgi4/pkg-descr | 5 |
11 files changed, 17 insertions, 31 deletions
@@ -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 @@ -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 diff --git a/www/Makefile b/www/Makefile index 22ad4e9fce72..e98161e86e8f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/mod_wsgi4/Makefile b/www/mod_wsgi/Makefile index bea57e108537..4e2f1f7af825 100644 --- a/www/mod_wsgi4/Makefile +++ b/www/mod_wsgi/Makefile @@ -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 diff --git a/www/mod_wsgi/distinfo b/www/mod_wsgi/distinfo new file mode 100644 index 000000000000..4c19d21d8e9b --- /dev/null +++ b/www/mod_wsgi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1756060194 +SHA256 (mod_wsgi-5.0.2.tar.gz) = 6fe5557c3ef25c184c2c994905fe52be1c06ae5c46235ecafe558e84789e2159 +SIZE (mod_wsgi-5.0.2.tar.gz) = 498627 diff --git a/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in b/www/mod_wsgi/files/270_mod_wsgi.conf.sample.in index 0177f0a7f668..0177f0a7f668 100644 --- a/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in +++ b/www/mod_wsgi/files/270_mod_wsgi.conf.sample.in diff --git a/www/mod_wsgi/pkg-descr b/www/mod_wsgi/pkg-descr new file mode 100644 index 000000000000..9ff8186a24d3 --- /dev/null +++ b/www/mod_wsgi/pkg-descr @@ -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. diff --git a/www/mod_wsgi4/pkg-plist b/www/mod_wsgi/pkg-plist index c2e491134ebe..c2e491134ebe 100644 --- a/www/mod_wsgi4/pkg-plist +++ b/www/mod_wsgi/pkg-plist diff --git a/www/mod_wsgi4/distinfo b/www/mod_wsgi4/distinfo deleted file mode 100644 index 0bc7200fd6d2..000000000000 --- a/www/mod_wsgi4/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1737724307 -SHA256 (mod_wsgi-4.9.4.tar.gz) = 8e762662ea5b01afc386bbcfbaa079748eb6203ab1d6d3a3dac9237f5666cfc9 -SIZE (mod_wsgi-4.9.4.tar.gz) = 497531 diff --git a/www/mod_wsgi4/files/pkg-message.in b/www/mod_wsgi4/files/pkg-message.in deleted file mode 100644 index e6e2be1c1723..000000000000 --- a/www/mod_wsgi4/files/pkg-message.in +++ /dev/null @@ -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 -} -] diff --git a/www/mod_wsgi4/pkg-descr b/www/mod_wsgi4/pkg-descr deleted file mode 100644 index f0087038e1da..000000000000 --- a/www/mod_wsgi4/pkg-descr +++ /dev/null @@ -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. |
