pkgsrc/www/py-uwsgi/Makefile
adam 5b6f09255e uWSGI 2.0.15
Maintenance release

Issues
Unfortunately there are still 2 unfixed long standing bugs in this release:
* suwsgi protocol behind nginx does not work reliably when a request body is sent by the client (https://github.com/unbit/uwsgi/issues/1490). As we cannot reproduce it in uWSGI itself, we will start checking in the nginx module too
* There are reports of the “holy” wsgi env allocator crashing on specific conditions, this release includes a bunch of workarounds but they could not be enough

Changes
* workaround for the holy allocator for avoiding crashes with newrelic (see Issues notes)
* avoid time overflow in request logs during (even minimal) clock skew
* fixed python logger with python3
* fixed catch-exceptions with python3
* backported “don’t clone $env->{‘psgix.io’} on ‘PSGI cancel’”
* added support for authentication in the redis logger
* added the spinningfifo action hook to the core
* fixed compilation with php 7.1
* correctly returns error code 22 in lazy_apps + master_mode
* fixed compilation for OpenSSL 1.1
* Add a –skip-atexit-teardown option to skip perl/python teardown
* fixed static file serving over https-socket
2017-04-08 12:04:27 +00:00

34 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2017/04/08 12:04:27 adam Exp $
DISTNAME= uwsgi-2.0.15
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= python www
MASTER_SITES= http://projects.unbit.it/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://projects.unbit.it/uwsgi
COMMENT= Feature-rich WSGI server
LICENSE= gnu-gpl-v2 # with linking exception
USE_LANGUAGES= c
USE_TOOLS+= pkg-config
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
EGG_NAME= ${DISTNAME:S/uwsgi/uWSGI/}
.include "options.mk"
INSTALL_ENV+= UWSGI_INCLUDES=${PREFIX}/include
INSTALL_ENV+= UWSGI_PROFILE_OVERRIDE="${UWSGI_DEBUG}${UWSGI_JSON}${UWSGI_PCRE}${UWSGI_SSL}${UWSGI_UUID}${UWSGI_XML}${UWSGI_YAML}"
INSTALLATION_DIRS+= share/examples/${PYPKGPREFIX}-uwsgi
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/uwsgi \
${DESTDIR}${PREFIX}/bin/uwsgi-${PYVERSSUFFIX}
${INSTALL_DATA} ${WRKSRC}/examples/* \
${DESTDIR}${PREFIX}/share/examples/${PYPKGPREFIX}-uwsgi
.include "../../lang/python/egg.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"