[Midnightbsd-cvs] mports [22393] trunk/www: upgrade wsgi

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 18 12:18:42 EDT 2017


Revision: 22393
          http://svnweb.midnightbsd.org/mports/?rev=22393
Author:   laffer1
Date:     2017-03-18 12:18:42 -0400 (Sat, 18 Mar 2017)
Log Message:
-----------
upgrade wsgi

Modified Paths:
--------------
    trunk/www/Makefile

Added Paths:
-----------
    trunk/www/mod_wsgi4/
    trunk/www/mod_wsgi4/Makefile
    trunk/www/mod_wsgi4/distinfo
    trunk/www/mod_wsgi4/files/
    trunk/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in
    trunk/www/mod_wsgi4/files/pkg-message.in
    trunk/www/mod_wsgi4/pkg-descr
    trunk/www/mod_wsgi4/pkg-plist

Removed Paths:
-------------
    trunk/www/mod_wsgi3/

Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile	2017-03-18 16:15:08 UTC (rev 22392)
+++ trunk/www/Makefile	2017-03-18 16:18:42 UTC (rev 22393)
@@ -44,7 +44,7 @@
 SUBDIR += mod_php56
 SUBDIR += mod_php70
 SUBDIR += mod_python33
-SUBDIR += mod_wsgi3
+SUBDIR += mod_wsgi4
 SUBDIR += moinmoin
 SUBDIR += nanoblogger
 SUBDIR += neon

Added: trunk/www/mod_wsgi4/Makefile
===================================================================
--- trunk/www/mod_wsgi4/Makefile	                        (rev 0)
+++ trunk/www/mod_wsgi4/Makefile	2017-03-18 16:18:42 UTC (rev 22393)
@@ -0,0 +1,40 @@
+# $MidnightBSD$
+# $FreeBSD: head/www/mod_wsgi4/Makefile 432447 2017-01-25 16:32:15Z sunpoet $
+
+PORTNAME=	mod_wsgi
+PORTVERSION=	4.5.14
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMESUFFIX=	4
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Python WSGI adapter module for Apache
+
+LICENSE=	apache2
+
+CONFLICTS_INSTALL=${PKGNAMEPREFIX}mod_wsgi3.* mod_wsgi3.*
+
+USE_APACHE=	24
+USES=		gettext python
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
+
+SUB_FILES=	pkg-message ${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
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
+
+.include <bsd.port.mk>


Property changes on: trunk/www/mod_wsgi4/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/mod_wsgi4/distinfo
===================================================================
--- trunk/www/mod_wsgi4/distinfo	                        (rev 0)
+++ trunk/www/mod_wsgi4/distinfo	2017-03-18 16:18:42 UTC (rev 22393)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1485353542
+SHA256 (mod_wsgi-4.5.14.tar.gz) = 8e6d0ccdea6872b71da2ba0fe5d46ca38a6219becc521dcdc4516992c9fe3247
+SIZE (mod_wsgi-4.5.14.tar.gz) = 1839073


Property changes on: trunk/www/mod_wsgi4/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in
===================================================================
--- trunk/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in	                        (rev 0)
+++ trunk/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in	2017-03-18 16:18:42 UTC (rev 22393)
@@ -0,0 +1,9 @@
+## $FreeBSD$
+## vim: set filetype=apache:
+##
+## module file for mod_wsgi
+##
+## PROVIDE: mod_wsgi
+## REQUIRE:
+
+#LoadModule wsgi_module        %%APACHEMODDIR%%/mod_wsgi.so


Property changes on: trunk/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/mod_wsgi4/files/pkg-message.in
===================================================================
--- trunk/www/mod_wsgi4/files/pkg-message.in	                        (rev 0)
+++ trunk/www/mod_wsgi4/files/pkg-message.in	2017-03-18 16:18:42 UTC (rev 22393)
@@ -0,0 +1,8 @@
+============================================================================
+
+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/wiki/InstallationOnFreeBSD.
+
+============================================================================


Property changes on: trunk/www/mod_wsgi4/files/pkg-message.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/mod_wsgi4/pkg-descr
===================================================================
--- trunk/www/mod_wsgi4/pkg-descr	                        (rev 0)
+++ trunk/www/mod_wsgi4/pkg-descr	2017-03-18 16:18:42 UTC (rev 22393)
@@ -0,0 +1,7 @@
+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.
+
+WWW: http://www.modwsgi.org/


Property changes on: trunk/www/mod_wsgi4/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/mod_wsgi4/pkg-plist
===================================================================
--- trunk/www/mod_wsgi4/pkg-plist	                        (rev 0)
+++ trunk/www/mod_wsgi4/pkg-plist	2017-03-18 16:18:42 UTC (rev 22393)
@@ -0,0 +1,3 @@
+ at sample %%APACHEETCDIR%%/modules.d/%%APMOD_FILE%%
+%%APACHEMODDIR%%/%%AP_MODULE%%
+ at postunexec echo "Don't forget to remove all mod_wsgi-related directives in your httpd.conf"


Property changes on: trunk/www/mod_wsgi4/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list