forked from Lainports/freebsd-ports
<ChangeLog> *) Feature: the ServerRequest and ServerResponse objects of Node.js module are now compliant with Stream API. *) Feature: support for specifying multiple directories in the "path" option of Python apps. *) Bugfix: a memory leak occurred in the router process when serving files larger than 128K; the bug had appeared in 1.13.0. *) Bugfix: apps could stop processing new requests under high load; the bug had appeared in 1.19.0. *) Bugfix: app processes could terminate unexpectedly under high load; the bug had appeared in 1.19.0. *) Bugfix: invalid HTTP responses were generated for some unusual status codes. *) Bugfix: the PHP_AUTH_USER, PHP_AUTH_PW, and PHP_AUTH_DIGEST server variables were missing in the PHP module. *) Bugfix: the router process could crash with multithreaded apps under high load. *) Bugfix: Ruby apps with multithreading configured could crash on start under load. *) Bugfix: mount points weren't unmounted when the "mount" namespace isolation was used; the bug had appeared in 1.21.0. *) Bugfix: the router process could crash while removing or reconfiguring an app that used WebSocket. *) Bugfix: a memory leak occurring in the router process when removing or reconfiguring an application; the bug had appeared in 1.19.0. </ChangeLog>
33 lines
732 B
Makefile
33 lines
732 B
Makefile
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
|
|
|
UNIT_MODNAME= php${PHP_VER}
|
|
|
|
COMMENT= PHP module for NGINX Unit
|
|
|
|
PLIST_FILES= libexec/unit/modules/${UNIT_MODNAME}.unit.so
|
|
|
|
RUN_DEPENDS= unitd:www/unit
|
|
|
|
USES= php:build,embed,flavors
|
|
|
|
USE_RC_SUBR= # reset to empty
|
|
|
|
MASTERDIR= ${.CURDIR}/../unit
|
|
|
|
post-configure:
|
|
cd ${CONFIGURE_WRKSRC} && \
|
|
${CONFIGURE_CMD} php --lib-path=${LOCALBASE}/lib \
|
|
--module=${UNIT_MODNAME}
|
|
|
|
do-build:
|
|
cd ${CONFIGURE_WRKSRC} && ${MAKE} ${UNIT_MODNAME}
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/
|
|
${INSTALL_LIB} ${WRKSRC}/build/${UNIT_MODNAME}.unit.so \
|
|
${STAGEDIR}${PREFIX}/libexec/unit/modules/
|
|
|
|
.include "${MASTERDIR}/Makefile"
|