Date: Sat, 16 Nov 2019 19:59:51 +0000 (UTC) From: "Sergey A. Osokin" <osa@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517774 - in head/www/nginx-devel: . files Message-ID: <201911161959.xAGJxpWf095382@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: osa Date: Sat Nov 16 19:59:51 2019 New Revision: 517774 URL: https://svnweb.freebsd.org/changeset/ports/517774 Log: Add support for FreeBSD accept filters. Bump PORTREVISION. PR: 238739 Modified: head/www/nginx-devel/Makefile head/www/nginx-devel/files/nginx.in Modified: head/www/nginx-devel/Makefile ============================================================================== --- head/www/nginx-devel/Makefile Sat Nov 16 19:45:08 2019 (r517773) +++ head/www/nginx-devel/Makefile Sat Nov 16 19:59:51 2019 (r517774) @@ -3,7 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.17.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MASTER_SITES= https://nginx.org/download/ \ LOCAL/osa Modified: head/www/nginx-devel/files/nginx.in ============================================================================== --- head/www/nginx-devel/files/nginx.in Sat Nov 16 19:45:08 2019 (r517773) +++ head/www/nginx-devel/files/nginx.in Sat Nov 16 19:59:51 2019 (r517774) @@ -21,6 +21,9 @@ # Extra flags passed to start command. # nginxlimits_args (str): Default to "-e -U %%WWWOWN%%" # Arguments of pre-start limits run. +# nginx_http_accept_enable (bool): Set to "NO" by default. +# Set to yes to check for accf_http kernel module +# on start-up and load if not loaded. . /etc/rc.subr @@ -44,6 +47,7 @@ extra_commands="reload configtest upgrade gracefulstop [ -z "$nginx_enable" ] && nginx_enable="NO" [ -z "$nginxlimits_enable" ] && nginxlimits_enable="NO" [ -z "$nginxlimits_args" ] && nginxlimits_args="-e -U %%WWWOWN%%" +[ -z "$nginx_http_accept_enable" ] && nginx_http_accept_enable="NO" load_rc_config $name @@ -123,6 +127,11 @@ nginx_upgrade() nginx_precmd() { + if checkyesno nginx_http_accept_enable + then + required_modules="$required_modules accf_http accf_data" + fi + nginx_checkconfig if checkyesno nginxlimits_enable
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911161959.xAGJxpWf095382>