mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
65404737e1
<ChangeLog> *) Change: removed $uri auto-append for "share" when loading configuration. *) Change: prefer system crypto policy instead of hardcoding a default. *) Feature: njs support with the basic syntax of JS template literals. *) Feature: support per-application cgroups on Linux. *) Feature: the $request_time variable contains the request processing time. *) Feature: "prefix" option in Python applications to set WSGI "SCRIPT_NAME" and ASGI root-path variables. *) Feature: compatibility with Python 3.11. *) Feature: compatibility with OpenSSL 3. *) Feature: compatibility with PHP 8.2. *) Feature: compatibility with Node.js 19.0. *) Feature: Ruby Rack v3 support. *) Bugfix: fix error in connection statistics when using proxy. *) Bugfix: fix HTTP cookie parsing when the value contains an equals sign. *) Bugfix: PHP directory URLs without a trailing '/' would give a 503 error (fixed with a 301 re-direct). *) Bugfix: missing error checks in the C API. *) Bugfix: report the regex status in configure summary. </ChangeLog>
38 lines
856 B
Makefile
38 lines
856 B
Makefile
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} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} php \
|
|
--lib-path=${LOCALBASE}/lib \
|
|
--module=${UNIT_MODNAME}
|
|
|
|
do-build:
|
|
cd ${CONFIGURE_WRKSRC} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
|
|
${MAKEFILE} ${MAKE_ARGS} ${UNIT_MODNAME}
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/
|
|
${INSTALL_LIB} ${WRKSRC}/build/${UNIT_MODNAME}.unit.so \
|
|
${STAGEDIR}${PREFIX}/libexec/unit/modules/
|
|
|
|
# Overwrite the target in the ${MASTERDIR}/Makefile
|
|
post-install:
|
|
@${DO_NADA}
|
|
|
|
.include "${MASTERDIR}/Makefile"
|