diff options
author | adam <adam@pkgsrc.org> | 2018-03-24 08:25:30 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-03-24 08:25:30 +0000 |
commit | 3d966ecae2e9b013f5fc03499953a224bcc43b05 (patch) | |
tree | 08657ddb9213a1ea03eb30e3b041234a3df21245 /www/py-scgi/Makefile | |
parent | 5868049e2e8eae2978d5146ab300978ead30bf04 (diff) | |
download | pkgsrc-3d966ecae2e9b013f5fc03499953a224bcc43b05.tar.gz |
py-scgi: updated to 1.15
1.15:
Improve comments.
Close unwanted file descriptors.
In scgi_server.py, spawn_child() is called at startup to start the
first child and also from delegate_request() when more children are
needed. In the latter case, the parameter 'conn' is passed to
spawn_child() so that the newly-created child knows to close the
file descriptor it has inherited but doesn't need.
The bug is that in the latter case the new child also inherits
various other file descriptors which are not similarly closed,
namely the Unix sockets to its elder siblings, and the TCP listener
socket.
Improve Apache 2 mod_scgi error messages.
If the connection is aborted while sending the response, log an
error but don't generate an internal server error. This can happen
if the client closes the connection before the entire response has
been read. There's nothing the server can do about it.
When an error occurs while reading the response headers, don't
log an error since ap_scan_script_header_err_brigade() has already
done so.
Diffstat (limited to 'www/py-scgi/Makefile')
-rw-r--r-- | www/py-scgi/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/www/py-scgi/Makefile b/www/py-scgi/Makefile index 58fc16f564e..1f88622d6b3 100644 --- a/www/py-scgi/Makefile +++ b/www/py-scgi/Makefile @@ -1,7 +1,12 @@ -# $NetBSD: Makefile,v 1.13 2017/01/01 14:44:05 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2018/03/24 08:25:30 adam Exp $ +DISTNAME= scgi-1.15 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= www python +MASTER_SITES= http://python.ca/scgi/releases/ +MAINTAINER= manu@NetBSD.org +HOMEPAGE= http://python.ca/scgi/ COMMENT= Simple Common Gateway Interface LICENSE= cnri-license @@ -9,6 +14,7 @@ DEPENDS+= ${PYPKGPREFIX}-quixote-[0-9]*:../../devel/py-quixote PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-quixote -.include "../../lang/python/distutils.mk" +CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -.include "../../www/py-scgi/Makefile.common" +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" |