freebsd-ports/devel/libunit/Makefile
Sergey A. Osokin 6684134299 */*unit*: update NGINX Unit: 1.29.1 -> 1.30.0
<ChangeLog>

*) Change: remove Unix domain listen sockets upon reconfiguration.

*) Feature: basic URI rewrite support.

*) Feature: NJS loadable modules support.

*) Feature: per-application logging.

*) Feature: conditional logging of route selection.

*) Feature: support the keys API on the request objects in NJS.

*) Feature: default values for 'make install' pathnames such as prefix;
   this allows to './configure && make && sudo make install'.

*) Feature: "server_version" setting to omit the version token from
   "Server" header field.

*) Bugfix: request header field values could be corrupted in some cases;
   the bug had appeared in 1.29.0.

*) Bugfix: PHP error handling (added missing 403 and 404 errors).

*) Bugfix: Perl applications crash on second responder call.

</ChangeLog>
2023-05-12 10:36:16 -04:00

46 lines
1 KiB
Makefile

PORTNAME= libunit
PORTVERSION= ${UNIT_VERSION}
MASTER_SITES?= https://unit.nginx.org/download/
DISTNAME= unit-${PORTVERSION}
DISTINFO_FILE= ${.CURDIR}/../../www/unit/distinfo
MAINTAINER= osa@FreeBSD.org
COMMENT= Development kit for dynamic web application server
WWW= https://unit.nginx.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
CATEGORIES= devel www
USES+= compiler:c11 cpe
CPE_VENDOR= nginx
CPE_PRODUCT= unit
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--ld-opt="-L${LOCALBASE}/lib" \
--no-regex
PLIST_FILES+= include/nxt_auto_config.h \
include/nxt_unit_field.h \
include/nxt_unit_request.h \
include/nxt_unit_response.h \
include/nxt_unit_sptr.h \
include/nxt_unit_typedefs.h \
include/nxt_unit_websocket.h \
include/nxt_unit.h \
include/nxt_version.h \
include/nxt_websocket_header.h \
lib/libunit.a
do-build:
@cd ${WRKSRC} && ${MAKE} build/lib/libunit.a
do-install:
${MAKE} -C ${WRKSRC} libunit-install DESTDIR=${STAGEDIR}
.include "../../www/unit/version.mk"
.include <bsd.port.mk>