1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/www/unit-python/Makefile
Sergey A. Osokin 26c67ff019 www/unit: update from 1.23.0 to 1.24.0.
Update distinfo file for www/unit-java.
Also, remove needless "3.6+" flag for python dependency because
www/unit supports all python versions.

<ChangeLog>

*) Change: PHP added to the default MIME type list.

*) Feature: arbitrary configuration of TLS connections via OpenSSL
   commands.

*) Feature: the ability to limit static file serving by MIME types.

*) Feature: support for chrooting, rejecting symlinks, and rejecting
   mount point traversal on a per-request basis when serving static
   files.

*) Feature: a loader for automatically overriding the "http" and
   "websocket" modules in Node.js.

*) Feature: multiple "targets" in Python applications.

*) Feature: compatibility with Ruby 3.0.

*) Bugfix: the router process could crash while closing a TLS
   connection.

*) Bugfix: a segmentation fault might have occurred in the PHP module if
   fastcgi_finish_request() was used with the "auto_globals_jit" option
   enabled.

</ChangeLog>
2021-05-27 11:38:20 -04:00

38 lines
833 B
Makefile

# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
PKGNAMESUFFIX= -${UNIT_MODNAME}
UNIT_MODNAME= python${PYTHON_SUFFIX}
COMMENT= Python module for NGINX Unit
USES= python gettext-runtime
USE_PYTHON= flavors
PLIST_FILES= libexec/unit/modules/${UNIT_MODNAME}.unit.so
RUN_DEPENDS= unitd:www/unit
USE_RC_SUBR?= # reset to empty
MASTERDIR= ${.CURDIR}/../unit
post-configure:
cd ${CONFIGURE_WRKSRC} && \
${CONFIGURE_CMD} python --module=${UNIT_MODNAME} \
--config=${PYTHON_CMD}-config
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/
# Overwrite the target in the ${MASTERDIR}/Makefile
post-install:
@${DO_NADA}
.include "${MASTERDIR}/Makefile"