Files
ports/www/unit-ruby/Makefile
T
Sergey A. Osokin 76fc7aecda Update from 1.21.0 to 1.22.0.
<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>
2021-02-04 18:40:15 +00:00

34 lines
712 B
Makefile

# Created by: Sergey Osokin <osa@FreeBSD.org>
# $FreeBSD$
PKGNAMESUFFIX= -${UNIT_MODNAME}
UNIT_MODNAME= ruby${RUBY_VER}
COMMENT= Ruby module for NGINX Unit
RUN_DEPENDS= rackup:www/rubygem-rack \
unitd:www/unit
PLIST_FILES= libexec/unit/modules/${UNIT_MODNAME}.unit.so
USE_RUBY= yes
USE_RC_SUBR?= # reset to empty
MASTERDIR= ${.CURDIR}/../unit
post-configure:
cd ${CONFIGURE_WRKSRC} && \
${CONFIGURE_CMD} ruby --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"