SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
32
www/ap2-mod_wsgi/Makefile
Normal file
32
www/ap2-mod_wsgi/Makefile
Normal file
|
@ -0,0 +1,32 @@
|
|||
COMMENT= Python WSGI compliant interface module for Apache2
|
||||
|
||||
PKGNAME= ap2-mod_wsgi-${GH_TAGNAME}
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= www
|
||||
|
||||
GH_ACCOUNT= GrahamDumpleton
|
||||
GH_PROJECT= mod_wsgi
|
||||
GH_TAGNAME= 4.9.4
|
||||
|
||||
HOMEPAGE= https://modwsgi.readthedocs.io/
|
||||
|
||||
# Apache License 2.0
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += iconv intl m pthread ${MODPY_WANTLIB} util
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
LIB_DEPENDS= ${MODPY_LIB_DEPENDS}
|
||||
|
||||
RUN_DEPENDS= www/apache-httpd
|
||||
BUILD_DEPENDS= www/apache-httpd
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --with-apxs=${LOCALBASE}/sbin/apxs2 \
|
||||
--with-python=${MODPY_BIN}
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/ap2-mod_wsgi/distinfo
Normal file
2
www/ap2-mod_wsgi/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mod_wsgi-4.9.4.tar.gz) = 7pJqP9VnWJC5COvCPbH49/A9w0WSQavc811Gxo4b4ps=
|
||||
SIZE (mod_wsgi-4.9.4.tar.gz) = 706904
|
5
www/ap2-mod_wsgi/pkg/DESCR
Normal file
5
www/ap2-mod_wsgi/pkg/DESCR
Normal file
|
@ -0,0 +1,5 @@
|
|||
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.
|
2
www/ap2-mod_wsgi/pkg/PLIST
Normal file
2
www/ap2-mod_wsgi/pkg/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
|||
@so lib/apache2/mod_wsgi.so
|
||||
share/doc/pkg-readmes/${PKGSTEM}
|
9
www/ap2-mod_wsgi/pkg/README
Normal file
9
www/ap2-mod_wsgi/pkg/README
Normal file
|
@ -0,0 +1,9 @@
|
|||
+-----------------------------------------------------------------------
|
||||
| Running ${PKGSTEM} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
To enable the ap2-mod_wsgi module, the following line needs to be added
|
||||
to ${SYSCONFDIR}/apache2/httpd2.conf:
|
||||
LoadModule wsgi_module ${PREFIX}/lib/apache2/mod_wsgi.so
|
||||
|
||||
Then httpd2(8) must be restarted.
|
3
www/ap2-mod_wsgi/pkg/UNMESSAGE
Normal file
3
www/ap2-mod_wsgi/pkg/UNMESSAGE
Normal file
|
@ -0,0 +1,3 @@
|
|||
The following line needs to be removed from ${SYSCONFDIR}/apache2/httpd2.conf
|
||||
then httpd2(8) must be restarted:
|
||||
LoadModule wsgi_module ${PREFIX}/lib/apache2/mod_wsgi.so
|
Loading…
Add table
Add a link
Reference in a new issue