View | Details | Raw Unified | Return to bug 201023
Collapse All | Expand All

(-)mod_wsgi3/Makefile (-2 / +4 lines)
Lines 9-18 Link Here
9
MAINTAINER=	douglas@douglasthrift.net
9
MAINTAINER=	douglas@douglasthrift.net
10
COMMENT=	Python WSGI adapter module for Apache
10
COMMENT=	Python WSGI adapter module for Apache
11
11
12
DEPRECATED=	Not longer used in the ports tree
13
EXPIRATION_DATE=2015-07-21 
14
12
LICENSE=	APACHE20
15
LICENSE=	APACHE20
13
16
14
CONFLICTS_INSTALL=${PKGNAMEPREFIX}mod_wsgi2.* mod_wsgi2.* \
17
CONFLICTS_INSTALL=${PKGNAMEPREFIX}mod_wsgi4.* mod_wsgi4.*
15
		${PKGNAMEPREFIX}mod_wsgi-2.* mod_wsgi-2.*
16
18
17
PROJECTHOST=	modwsgi
19
PROJECTHOST=	modwsgi
18
20
(-)mod_wsgi3/pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
for hosting WSGI applications within Apache has a lower overhead than using
4
for hosting WSGI applications within Apache has a lower overhead than using
5
existing WSGI adapters for mod_python or CGI.
5
existing WSGI adapters for mod_python or CGI.
6
6
7
WWW: http://www.modwsgi.org/
7
WWW: https://github.com/GrahamDumpleton/mod_wsgi/
(-)mod_wsgi4/Makefile (+43 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	mod_wsgi
4
PORTVERSION=	4.4.13
5
CATEGORIES=	www python
6
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
7
PKGNAMESUFFIX=	4
8
9
MAINTAINER=	douglas@douglasthrift.net
10
COMMENT=	Python WSGI adapter module for Apache
11
12
LICENSE=	APACHE20
13
14
CONFLICTS_INSTALL=${PKGNAMEPREFIX}mod_wsgi3.* mod_wsgi3.*
15
16
PROJECTHOST=	modwsgi
17
18
USE_APACHE=	22+
19
USES=		python
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	GrahamDumpleton
22
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
25
26
SUB_FILES=	pkg-message ${APMOD_FILE}
27
APMOD_FILE=	270_${PORTNAME}.conf.sample
28
PLIST_SUB+=	APMOD_FILE=${APMOD_FILE}
29
30
31
pre-everything::
32
	@${ECHO_MSG} "======================= ATTENTION! ======================"
33
	@${ECHO_MSG}
34
	@${ECHO_MSG} "If you want to use daemon mode you will need to make sure"
35
	@${ECHO_MSG} "Apache and APR include thread support."
36
	@${ECHO_MSG}
37
	@${ECHO_MSG} "========================================================="
38
39
post-install:
40
	@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
41
	${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
42
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
43
.include <bsd.port.mk>
(-)mod_wsgi4/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (GrahamDumpleton-mod_wsgi-4.4.13_GH0.tar.gz) = e7a84e4af0da953070ab993268118791c7d3c7383d99e8b1c2e0ff88eb29c286
2
SIZE (GrahamDumpleton-mod_wsgi-4.4.13_GH0.tar.gz) = 631708
(-)mod_wsgi4/files/270_mod_wsgi.conf.sample.in (+9 lines)
Line 0 Link Here
1
## $FreeBSD$
2
## vim: set filetype=apache:
3
##
4
## module file for mod_wsgi
5
##
6
## PROVIDE: mod_wsgi
7
## REQUIRE:
8
9
#LoadModule wsgi_module        %%APACHEMODDIR%%/mod_wsgi.so
(-)mod_wsgi4/files/pkg-message.in (+8 lines)
Line 0 Link Here
1
============================================================================
2
3
If you want to use daemon mode you will need to make sure Apache and APR
4
include thread support.
5
6
For more information, see http://www.modwsgi.org/wiki/InstallationOnFreeBSD.
7
8
============================================================================
(-)mod_wsgi4/pkg-descr (+7 lines)
Line 0 Link Here
1
The mod_wsgi adapter is an Apache module that provides a WSGI compliant
2
interface for hosting Python based web applications within Apache. The
3
adapter is written completely in C code against the Apache C runtime and
4
for hosting WSGI applications within Apache has a lower overhead than using
5
existing WSGI adapters for mod_python or CGI.
6
7
WWW: https://github.com/GrahamDumpleton/mod_wsgi/
(-)mod_wsgi4/pkg-plist (+3 lines)
Line 0 Link Here
1
@sample %%APACHEETCDIR%%/modules.d/%%APMOD_FILE%%
2
%%APACHEMODDIR%%/%%AP_MODULE%%
3
@unexec echo "Don't forget to remove all mod_wsgi-related directives in your httpd.conf"

Return to bug 201023