Page MenuHomeFreeBSD

D52139.id161702.diff
No OneTemporary

D52139.id161702.diff

diff --git a/MOVED b/MOVED
--- a/MOVED
+++ b/MOVED
@@ -4768,3 +4768,4 @@
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
diff --git a/UPDATING b/UPDATING
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,13 @@
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
--- 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
rename from www/mod_wsgi4/Makefile
rename to www/mod_wsgi/Makefile
--- 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 @@
LICENSE= APACHE20
-USES= apache cpe gettext python
+USES= apache cpe gettext python:3.8+
USE_PYTHON= flavors
CPE_VENDOR= modwsgi
@@ -18,18 +18,10 @@
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
--- /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
rename from www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in
rename to 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
--- /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
rename from www/mod_wsgi4/pkg-plist
rename to www/mod_wsgi/pkg-plist
diff --git a/www/mod_wsgi4/distinfo b/www/mod_wsgi4/distinfo
deleted file mode 100644
--- 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
--- 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
--- 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.

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 13, 6:06 PM (5 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36672475
Default Alt Text
D52139.id161702.diff (4 KB)

Event Timeline