pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import a modular version of nginx



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Sun Mar 20 23:09:26 2022 +0100
Changeset:	50ba57325846adbcb87e977512aa459f8bed2e4d

Added Files:
	nginx-modular/DESCR
	nginx-modular/MESSAGE
	nginx-modular/Makefile
	nginx-modular/Makefile.common
	nginx-modular/PLIST
	nginx-modular/distinfo
	nginx-modular/files/nginx.sh
	nginx-modular/files/smf/manifest.xml
	nginx-modular/module.mk
	nginx-modular/options.mk
	nginx-modular/patches/patch-aa
	nginx-modular/patches/patch-ab
	nginx-modular/patches/patch-auto_cc_conf
	nginx-modular/patches/patch-src_event_modules_ngx__eventport__module.c
	nginx-modular/version.mk
	nginx-module-array-var/DESCR
	nginx-module-array-var/Makefile
	nginx-module-array-var/PLIST
	nginx-module-array-var/distinfo
	nginx-module-cache-purge/DESCR
	nginx-module-cache-purge/Makefile
	nginx-module-cache-purge/PLIST
	nginx-module-cache-purge/distinfo
	nginx-module-dav/DESCR
	nginx-module-dav/Makefile
	nginx-module-dav/PLIST
	nginx-module-dav/distinfo
	nginx-module-echo/DESCR
	nginx-module-echo/Makefile
	nginx-module-echo/PLIST
	nginx-module-echo/distinfo
	nginx-module-encrypted-session/DESCR
	nginx-module-encrypted-session/Makefile
	nginx-module-encrypted-session/PLIST
	nginx-module-encrypted-session/distinfo
	nginx-module-forminput/DESCR
	nginx-module-forminput/Makefile
	nginx-module-forminput/PLIST
	nginx-module-forminput/distinfo
	nginx-module-geoip2/DESCR
	nginx-module-geoip2/Makefile
	nginx-module-geoip2/PLIST
	nginx-module-geoip2/distinfo
	nginx-module-headers-more/DESCR
	nginx-module-headers-more/Makefile
	nginx-module-headers-more/PLIST
	nginx-module-headers-more/distinfo
	nginx-module-lua/DESCR
	nginx-module-lua/Makefile
	nginx-module-lua/PLIST
	nginx-module-lua/distinfo
	nginx-module-naxsi/DESCR
	nginx-module-naxsi/Makefile
	nginx-module-naxsi/PLIST
	nginx-module-naxsi/distinfo
	nginx-module-nchan/DESCR
	nginx-module-nchan/Makefile
	nginx-module-nchan/PLIST
	nginx-module-nchan/distinfo
	nginx-module-njs/DESCR
	nginx-module-njs/Makefile
	nginx-module-njs/PLIST
	nginx-module-njs/distinfo
	nginx-module-push/DESCR
	nginx-module-push/Makefile
	nginx-module-push/PLIST
	nginx-module-push/distinfo
	nginx-module-rtmp/DESCR
	nginx-module-rtmp/Makefile
	nginx-module-rtmp/PLIST
	nginx-module-rtmp/distinfo
	nginx-module-set-misc/DESCR
	nginx-module-set-misc/Makefile
	nginx-module-set-misc/PLIST
	nginx-module-set-misc/distinfo

Log Message:
Import a modular version of nginx

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=50ba57325846adbcb87e977512aa459f8bed2e4d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nginx-modular/DESCR                                |  20 ++++
 nginx-modular/MESSAGE                              |   9 ++
 nginx-modular/Makefile                             |  61 ++++++++++
 nginx-modular/Makefile.common                      |  90 +++++++++++++++
 nginx-modular/PLIST                                |  20 ++++
 nginx-modular/distinfo                             |  12 ++
 nginx-modular/files/nginx.sh                       |  33 ++++++
 nginx-modular/files/smf/manifest.xml               |  34 ++++++
 nginx-modular/module.mk                            |  73 ++++++++++++
 nginx-modular/options.mk                           | 124 +++++++++++++++++++++
 nginx-modular/patches/patch-aa                     |  93 ++++++++++++++++
 nginx-modular/patches/patch-ab                     |  16 +++
 nginx-modular/patches/patch-auto_cc_conf           |  15 +++
 ...atch-src_event_modules_ngx__eventport__module.c |  25 +++++
 nginx-modular/version.mk                           |   6 +
 nginx-module-array-var/DESCR                       |   8 ++
 nginx-module-array-var/Makefile                    |  12 ++
 nginx-module-array-var/PLIST                       |   2 +
 nginx-module-array-var/distinfo                    |  15 +++
 nginx-module-cache-purge/DESCR                     |   8 ++
 nginx-module-cache-purge/Makefile                  |  11 ++
 nginx-module-cache-purge/PLIST                     |   2 +
 nginx-module-cache-purge/distinfo                  |  15 +++
 nginx-module-dav/DESCR                             |   8 ++
 nginx-module-dav/Makefile                          |  20 ++++
 nginx-module-dav/PLIST                             |   2 +
 nginx-module-dav/distinfo                          |  15 +++
 nginx-module-echo/DESCR                            |   8 ++
 nginx-module-echo/Makefile                         |  11 ++
 nginx-module-echo/PLIST                            |   2 +
 nginx-module-echo/distinfo                         |  15 +++
 nginx-module-encrypted-session/DESCR               |   8 ++
 nginx-module-encrypted-session/Makefile            |  11 ++
 nginx-module-encrypted-session/PLIST               |   2 +
 nginx-module-encrypted-session/distinfo            |  15 +++
 nginx-module-forminput/DESCR                       |   8 ++
 nginx-module-forminput/Makefile                    |  11 ++
 nginx-module-forminput/PLIST                       |   2 +
 nginx-module-forminput/distinfo                    |  15 +++
 nginx-module-geoip2/DESCR                          |   8 ++
 nginx-module-geoip2/Makefile                       |  12 ++
 nginx-module-geoip2/PLIST                          |   3 +
 nginx-module-geoip2/distinfo                       |  15 +++
 nginx-module-headers-more/DESCR                    |   8 ++
 nginx-module-headers-more/Makefile                 |  11 ++
 nginx-module-headers-more/PLIST                    |   2 +
 nginx-module-headers-more/distinfo                 |  15 +++
 nginx-module-lua/DESCR                             |   8 ++
 nginx-module-lua/Makefile                          |  15 +++
 nginx-module-lua/PLIST                             |   2 +
 nginx-module-lua/distinfo                          |  15 +++
 nginx-module-naxsi/DESCR                           |   8 ++
 nginx-module-naxsi/Makefile                        |  13 +++
 nginx-module-naxsi/PLIST                           |   3 +
 nginx-module-naxsi/distinfo                        |  15 +++
 nginx-module-nchan/DESCR                           |   8 ++
 nginx-module-nchan/Makefile                        |  10 ++
 nginx-module-nchan/PLIST                           |   2 +
 nginx-module-nchan/distinfo                        |  15 +++
 nginx-module-njs/DESCR                             |   8 ++
 nginx-module-njs/Makefile                          |  12 ++
 nginx-module-njs/PLIST                             |   3 +
 nginx-module-njs/distinfo                          |  15 +++
 nginx-module-push/DESCR                            |   8 ++
 nginx-module-push/Makefile                         |  12 ++
 nginx-module-push/PLIST                            |   2 +
 nginx-module-push/distinfo                         |  15 +++
 nginx-module-rtmp/DESCR                            |   8 ++
 nginx-module-rtmp/Makefile                         |  11 ++
 nginx-module-rtmp/PLIST                            |   2 +
 nginx-module-rtmp/distinfo                         |  15 +++
 nginx-module-set-misc/DESCR                        |   8 ++
 nginx-module-set-misc/Makefile                     |  11 ++
 nginx-module-set-misc/PLIST                        |   2 +
 nginx-module-set-misc/distinfo                     |  15 +++
 75 files changed, 1192 insertions(+)

diffs:
diff --git a/nginx-modular/DESCR b/nginx-modular/DESCR
new file mode 100644
index 0000000000..9b4c22585f
--- /dev/null
+++ b/nginx-modular/DESCR
@@ -0,0 +1,20 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+Nginx is one of a handful of servers written to address the C10K problem.
+Unlike traditional servers, Nginx doesn't rely on threads to handle requests.
+Instead it uses a much more scalable event-driven (asynchronous) architecture.
+This architecture uses small, but more importantly, predictable amounts of
+memory under load.
+Even if you don't expect to handle thousands of simultaneous requests, you can
+still benefit from Nginx's high-performance and small memory footprint.
+Nginx scales in all directions: from the smallest VPS all the way up to
+clusters of servers.
+
+Nginx powers several high-visibility sites, such as Netflix, Hulu, Pinterest,
+CloudFlare, Airbnb, WordPress.com, GitHub, SoundCloud, Zynga, Eventbrite,
+Zappos, Media Temple, Heroku, RightScale, Engine Yard and NetDNA.
diff --git a/nginx-modular/MESSAGE b/nginx-modular/MESSAGE
new file mode 100644
index 0000000000..2ed0070b44
--- /dev/null
+++ b/nginx-modular/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.3 2020/09/18 09:15:56 kim Exp $
+
+Consider adding something like following lines to /etc/newsyslog.conf:
+
+${NGINX_LOGDIR}/access.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 ZB ${NGINX_PIDDIR}/nginx.pid SIGUSR1
+${NGINX_LOGDIR}/error.log  ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 ZB ${NGINX_PIDDIR}/nginx.pid SIGUSR1
+
+===========================================================================
diff --git a/nginx-modular/Makefile b/nginx-modular/Makefile
new file mode 100644
index 0000000000..a378a2baa1
--- /dev/null
+++ b/nginx-modular/Makefile
@@ -0,0 +1,61 @@
+# $NetBSD$
+
+.include "../../wip/nginx-modular/version.mk"
+
+PKGNAME=	nginx-modular-${NGINX_VERSION}
+DISTNAME=	nginx-${NGINX_VERSION}
+CATEGORIES=	www
+MASTER_SITES=	http://nginx.org/download/
+DISTFILES=	${DEFAULT_DISTFILES}
+
+MAINTAINER=	osa%NetBSD.org@localhost
+HOMEPAGE=	https://nginx.org/
+COMMENT=	Lightweight HTTP server and mail proxy server
+LICENSE=	2-clause-bsd
+
+.include "../../wip/nginx-modular/Makefile.common"
+
+PKG_USERS_VARS+=	NGINX_USER
+PKG_GROUPS_VARS+=	NGINX_GROUP
+PKG_GROUPS=		${NGINX_GROUP}
+PKG_USERS=		${NGINX_USER}:${NGINX_GROUP}
+
+PKG_GECOS.${NGINX_USER}=	NGINX server user
+PKG_HOME.${NGINX_USER}=		${NGINX_DATADIR}
+PKG_SHELL.${NGINX_USER}=	${NOLOGIN}
+
+.include "options.mk"
+
+EGFILES+=		fastcgi.conf fastcgi_params koi-utf koi-win \
+			mime.types nginx.conf win-utf
+
+RCD_SCRIPTS=		nginx
+
+INSTALLATION_DIRS+=	${PKGMANDIR}/man8 sbin share/examples/nginx/conf \
+			share/examples/nginx/html
+MAKE_DIRS+=		${NGINX_PIDDIR}
+OWN_DIRS=		${NGINX_LOGDIR}
+OWN_DIRS_PERMS+=	${NGINX_DATADIR} ${NGINX_USER} ${NGINX_GROUP} 0700
+
+BUILD_TARGET=		build
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${DESTDIR}${PREFIX}/sbin/nginx
+.for file in ${EGFILES}
+	${INSTALL_DATA} ${WRKSRC}/conf/${file} ${DESTDIR}${EGDIR}/conf/${file}
+.endfor
+	${INSTALL_DATA} ${WRKSRC}/html/50x.html ${DESTDIR}${EGDIR}/html/50x.html
+	${INSTALL_DATA} ${WRKSRC}/html/index.html ${DESTDIR}${EGDIR}/html/index.html
+	${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+.if !empty(PKG_OPTIONS:Mperl)
+	${INSTALL_LIB_DIR} ${DESTDIR}${PERL5_INSTALLVENDORARCH}/auto/nginx
+	${INSTALL_LIB} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.${SOEXT} \
+		${DESTDIR}${PERL5_INSTALLVENDORARCH}/auto/nginx
+	${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
+		${DESTDIR}${PERL5_INSTALLVENDORARCH}
+.endif
+	${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/libexec/nginx
+	(cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \
+		-exec ${INSTALL_PROGRAM} {} ${DESTDIR}${PREFIX}/libexec/nginx \;)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-modular/Makefile.common b/nginx-modular/Makefile.common
new file mode 100644
index 0000000000..cb0d42202c
--- /dev/null
+++ b/nginx-modular/Makefile.common
@@ -0,0 +1,90 @@
+# $NetBSD$
+
+.include "../../mk/bsd.prefs.mk"
+
+NGINX_USER?=		nginx
+NGINX_GROUP?=		nginx
+NGINX_DATADIR?=		${VARBASE}/db/nginx
+NGINX_LOGDIR?=		${VARBASE}/log/nginx
+NGINX_PIDDIR?=		${VARBASE}/run
+
+BUILD_DEFS+=		NGINX_DATADIR NGINX_LOGDIR NGINX_PIDDIR VARBASE
+
+USE_PKGLOCALEDIR=	yes
+HAS_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--user=${NGINX_USER}
+CONFIGURE_ARGS+=	--group=${NGINX_GROUP}
+CONFIGURE_ARGS+=	--with-ld-opt=-L${PREFIX}/lib\ -Wl,-R${PREFIX}/lib
+CONFIGURE_ARGS+=	--prefix=${PREFIX}
+CONFIGURE_ARGS+=	--sbin-path=${PREFIX}/sbin
+CONFIGURE_ARGS+=	--conf-path=${PKG_SYSCONFDIR}/nginx.conf
+CONFIGURE_ARGS+=	--pid-path=${NGINX_PIDDIR}/nginx.pid
+CONFIGURE_ARGS+=	--lock-path=${NGINX_DATADIR}/nginx.lock
+CONFIGURE_ARGS+=	--error-log-path=${NGINX_LOGDIR}/error.log
+CONFIGURE_ARGS+=	--http-log-path=${NGINX_LOGDIR}/access.log
+CONFIGURE_ARGS+=	--http-client-body-temp-path=${NGINX_DATADIR}/client_body_temp
+CONFIGURE_ARGS+=	--http-proxy-temp-path=${NGINX_DATADIR}/proxy_temp
+CONFIGURE_ARGS+=	--http-fastcgi-temp-path=${NGINX_DATADIR}/fstcgi_temp
+CONFIGURE_ARGS+=	--http-scgi-temp-path=${NGINX_DATADIR}/scgi_temp
+
+PKG_SYSCONFSUBDIR=	nginx
+
+EGDIR=			${PREFIX}/share/examples/nginx
+
+.for file in ${EGFILES}
+CONF_FILES+=	${EGDIR}/conf/${file} ${PKG_SYSCONFDIR}/${file}
+.endfor
+
+SUBST_CLASSES+=		paths
+SUBST_STAGE.paths=	pre-configure
+SUBST_FILES.paths=	conf/nginx.conf
+SUBST_SED.paths=	-e 's,%%PKG_SYSCONFDIR%%,${PKG_SYSCONFDIR},g'
+SUBST_SED.paths+=	-e 's,%%NGINX_LOGDIR%%,${NGINX_LOGDIR},g'
+SUBST_SED.paths+=	-e 's,%%NGINX_PIDDIR%%,${NGINX_PIDDIR},g'
+SUBST_SED.paths+=	-e 's,%%NGINX_USER%%,${NGINX_USER},g'
+SUBST_SED.paths+=	-e 's,%%NGINX_GROUP%%,${NGINX_GROUP},g'
+
+MESSAGE_SUBST+=		NGINX_LOGDIR=${NGINX_LOGDIR}
+MESSAGE_SUBST+=		NGINX_PIDDIR=${NGINX_PIDDIR}
+MESSAGE_SUBST+=		NGINX_USER=${NGINX_USER}
+MESSAGE_SUBST+=		NGINX_GROUP=${NGINX_GROUP}
+
+.if ${OPSYS} == "Darwin"
+SOEXT=		bundle
+.else
+SOEXT=		so
+.endif
+PLIST_SUBST+=	SOEXT=${SOEXT}
+
+#do-install:
+#.if !empty(PKG_OPTIONS:Mnaxsi)
+#	${INSTALL_DATA} ${WRKDIR}/${NAXSI_DISTNAME}/naxsi_config/naxsi_core.rules ${DESTDIR}${EGDIR}/conf
+#.endif
+#	(cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \
+#		-exec ${INSTALL_PROGRAM} {} ${DESTDIR}${PREFIX}/libexec/nginx \;)
+
+# default modules
+CONFIGURE_ARGS+=	--modules-path=${PREFIX}/libexec/nginx
+CONFIGURE_ARGS+=	--with-stream_ssl_preread_module
+
+# NDK must be added once and before 3rd party modules needing it
+NDK_VERSION=		0.3.1
+NDK_DISTNAME=		ngx_devel_kit-${NDK_VERSION}
+NDK_DISTFILE=		${NDK_DISTNAME}.tar.gz
+SITES.${NDK_DISTFILE}=	-${MASTER_SITE_GITHUB:=simpl/ngx_devel_kit/archive/}v${NDK_VERSION}.tar.gz
+DISTFILES+=		${NDK_DISTFILE}
+
+FIRST_DSO_EXTMODS+=	ndk
+
+DSO_BASEMODS+=		mail
+DSO_BASEMODS+=		stream
+
+.for mod in ${DSO_BASEMODS}
+CONFIGURE_ARGS+=	--with-${mod}=dynamic
+.endfor
+
+.for mod in ${FIRST_DSO_EXTMODS}
+CONFIGURE_ARGS+=	--add-dynamic-module=../${${mod:tu}_DISTNAME}${${mod:tu}_SUBDIR}
+.endfor
+
+.include "../../devel/zlib/buildlink3.mk"
diff --git a/nginx-modular/PLIST b/nginx-modular/PLIST
new file mode 100644
index 0000000000..a83d2976a8
--- /dev/null
+++ b/nginx-modular/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.14 2022/03/14 02:49:09 osa Exp $
+libexec/nginx/ngx_mail_module.so
+libexec/nginx/ndk_http_module.so
+${PLIST.imagefilter}libexec/nginx/ngx_http_image_filter_module.so
+${PLIST.perl}libexec/nginx/ngx_http_perl_module.so
+libexec/nginx/ngx_stream_module.so
+${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/auto/nginx/nginx.${SOEXT}
+${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/nginx.pm
+man/man8/nginx.8
+sbin/nginx
+share/examples/nginx/conf/fastcgi.conf
+share/examples/nginx/conf/fastcgi_params
+share/examples/nginx/conf/koi-utf
+share/examples/nginx/conf/koi-win
+share/examples/nginx/conf/mime.types
+share/examples/nginx/conf/nginx.conf
+${PLIST.uwsgi}share/examples/nginx/conf/uwsgi_params
+share/examples/nginx/conf/win-utf
+share/examples/nginx/html/50x.html
+share/examples/nginx/html/index.html
diff --git a/nginx-modular/distinfo b/nginx-modular/distinfo
new file mode 100644
index 0000000000..99b9507aed
--- /dev/null
+++ b/nginx-modular/distinfo
@@ -0,0 +1,12 @@
+$NetBSD: distinfo,v 1.93 2022/03/10 03:40:30 osa Exp $
+
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-modular/files/nginx.sh b/nginx-modular/files/nginx.sh
new file mode 100644
index 0000000000..3a3f4de808
--- /dev/null
+++ b/nginx-modular/files/nginx.sh
@@ -0,0 +1,33 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: nginx.sh,v 1.4 2021/11/08 01:02:01 khorben Exp $
+#
+# PROVIDE: nginx
+# REQUIRE: DAEMON
+#
+# You will need to set some variables in @SYSCONFBASE@/rc.conf to start nginx:
+#
+# nginx=YES
+
+$_rc_subr_loaded . @SYSCONFBASE@/rc.subr
+
+name="nginx"
+rcvar=${name}
+command="@PREFIX@/sbin/${name}"
+required_files="@PKG_SYSCONFDIR@/${name}.conf"
+pidfile="@VARBASE@/run/${name}.pid"
+start_precmd="ulimit -n 2048"
+extra_commands="configtest reload"
+configtest_cmd="nginx_configtest"
+
+nginx_configtest()
+{
+	if [ ! -f ${required_files} ]; then
+		warn "${required_files} does not exist."
+		return 1;
+	fi
+	${command} -t -c ${required_files}
+}
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/nginx-modular/files/smf/manifest.xml b/nginx-modular/files/smf/manifest.xml
new file mode 100644
index 0000000000..a3ea8eced5
--- /dev/null
+++ b/nginx-modular/files/smf/manifest.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<service_bundle type="manifest" name="export">
+  <service name="@SMF_PREFIX@/@SMF_NAME@" type="service" version="1">
+    <create_default_instance enabled="false" />
+    <single_instance />
+    <dependency name='network' grouping='require_all' restart_on='error' type='service'>
+      <service_fmri value='svc:/milestone/network:default' />
+    </dependency>
+    <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
+      <service_fmri value='svc:/system/filesystem/local:default' />
+    </dependency>
+    <method_context>
+      <method_environment>
+        <envvar name="LD_PRELOAD_32" value="/usr/lib/extendedFILE.so.1" />
+      </method_environment>
+    </method_context>
+    <exec_method type="method" name="start" exec="@PREFIX@/sbin/nginx -c %{config_file}" timeout_seconds="60" />
+    <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
+    <exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="60" />
+    <property_group name="startd" type="framework">
+      <propval name="duration" type="astring" value="contract" />
+      <propval name="ignore_error" type="astring" value="core,signal" />
+    </property_group>
+    <property_group name="application" type="application">
+      <propval name="config_file" type="astring" value="@PKG_SYSCONFDIR@/nginx.conf" />
+    </property_group>
+    <template>
+      <common_name>
+        <loctext xml:lang="C">Nginx HTTP daemon</loctext>
+      </common_name>
+    </template>
+  </service>
+</service_bundle>
diff --git a/nginx-modular/module.mk b/nginx-modular/module.mk
new file mode 100644
index 0000000000..38e3b3e0f8
--- /dev/null
+++ b/nginx-modular/module.mk
@@ -0,0 +1,73 @@
+# $NetBSD$
+#
+# used by wip/nginx-module-cache-purge/Makefile
+# used by wip/nginx-module-dav/Makefile
+# used by wip/nginx-module-echo/Makefile
+# used by wip/nginx-module-encrypted-session/Makefile
+# used by wip/nginx-module-form-input/Makefile
+# used by wip/nginx-module-geoip2/Makefile
+# used by wip/nginx-module-headers-more/Makefile
+# used by wip/nginx-module-lua/Makefile
+# used by wip/nginx-module-naxsi/Makefile
+# used by wip/nginx-module-nchan/Makefile
+# used by wip/nginx-module-njs/Makefile
+# used by wip/nginx-module-rtmp/Makefile
+# used by wip/nginx-module-set-misc/Makefile
+
+PKGNAME?=	nginx-module-${NGINX_MODULE}-${DISTNAME:C/^.*-//}
+CATEGORIES?=	www
+DISTFILES=	${DEFAULT_DISTFILES}
+
+MAINTAINER?=	pkgsrc-users%NetBSD.org@localhost
+COMMENT?=	${NGINX_MODULE} module for the nginx HTTP server
+
+#handle the pcre option
+PKG_OPTIONS_VAR=	PKG_OPTIONS.nginx
+PKG_SUPPORTED_OPTIONS+=	pcre
+PKG_SUGGESTED_OPTIONS=	pcre
+.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mpcre)
+.include "../../devel/pcre/buildlink3.mk"
+SUBST_CLASSES+=		fix-pcre
+SUBST_STAGE.fix-pcre=	pre-configure
+SUBST_FILES.fix-pcre=	auto/lib/pcre/conf
+SUBST_SED.fix-pcre=	-e 's,/usr/pkg,${BUILDLINK_PREFIX.pcre},g'
+SUBST_NOOP_OK.fix-pcre=	yes
+.else
+CONFIGURE_ARGS+=	--without-pcre
+CONFIGURE_ARGS+=	--without-http_rewrite_module
+.endif
+
+PATCHDIR=	../../wip/nginx-modular/patches
+
+WRKSRC=		${WRKDIR}/nginx-${NGINX_VERSION}
+
+.include "../../wip/nginx-modular/version.mk"
+
+DEPENDS+=	nginx-modular>=${NGINX_VERSION}:../../wip/nginx-modular
+
+NGINX_DISTFILE=		nginx-${NGINX_VERSION}.tar.gz
+DISTFILES+=		${NGINX_DISTFILE}
+SITES.${NGINX_DISTFILE}=http://nginx.org/download/
+
+.include "../../wip/nginx-modular/Makefile.common"
+
+BUILD_TARGET=		modules
+
+INSTALLATION_DIRS+=	libexec/nginx
+
+NGINX_MODULE?=		${DISTNAME:C/-[^-]*$//}
+NGINX_MODULE_SUBDIR?=	/
+
+CONFIGURE_ARGS+=	--add-dynamic-module=../${DISTNAME}${NGINX_MODULE_SUBDIR}
+
+do-install:
+.for mod in ${NGINX_HTTP_MODULES}
+	${INSTALL_PROGRAM} ${WRKSRC}/objs/ngx_http_${mod}_module.so ${DESTDIR}${PREFIX}/libexec/nginx
+.endfor
+.for mod in ${NGINX_STREAM_MODULES}
+	${INSTALL_PROGRAM} ${WRKSRC}/objs/ngx_stream_${mod}_module.so ${DESTDIR}${PREFIX}/libexec/nginx
+.endfor
+.for mod in ${NGINX_OTHER_MODULES}
+	${INSTALL_PROGRAM} ${WRKSRC}/objs/ngx_${mod}_module.so ${DESTDIR}${PREFIX}/libexec/nginx
+.endfor
diff --git a/nginx-modular/options.mk b/nginx-modular/options.mk
new file mode 100644
index 0000000000..970a822710
--- /dev/null
+++ b/nginx-modular/options.mk
@@ -0,0 +1,124 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.nginx
+PKG_SUPPORTED_OPTIONS=	auth-request debug flv geoip gtools gzip http2
+PKG_SUPPORTED_OPTIONS+=	image-filter memcache pcre perl realip
+PKG_SUPPORTED_OPTIONS+=	secure-link slice ssl status sub uwsgi
+PKG_SUGGESTED_OPTIONS=	pcre ssl
+
+PKG_OPTIONS_LEGACY_OPTS+=	v2:http2
+
+PLIST_VARS+=		imagefilter perl uwsgi
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=	--with-debug
+.endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+.include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=	--with-mail_ssl_module
+CONFIGURE_ARGS+=	--with-http_ssl_module
+SUBST_CLASSES+=		fix-ssl
+SUBST_STAGE.fix-ssl=	pre-configure
+SUBST_FILES.fix-ssl=	auto/lib/openssl/conf
+SUBST_SED.fix-ssl=	-e 's,/usr/pkg,${BUILDLINK_PREFIX.openssl},g'
+SUBST_NOOP_OK.fix-ssl=	yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mpcre)
+.include "../../devel/pcre/buildlink3.mk"
+SUBST_CLASSES+=		fix-pcre
+SUBST_STAGE.fix-pcre=	pre-configure
+SUBST_FILES.fix-pcre=	auto/lib/pcre/conf
+SUBST_SED.fix-pcre=	-e 's,/usr/pkg,${BUILDLINK_PREFIX.pcre},g'
+SUBST_NOOP_OK.fix-pcre=	yes
+.else
+CONFIGURE_ARGS+=	--without-pcre
+CONFIGURE_ARGS+=	--without-http_rewrite_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mflv)
+CONFIGURE_ARGS+=	--with-http_flv_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mgeoip)
+.include "../../net/GeoIP/buildlink3.mk"
+CONFIGURE_ARGS+=	--with-http_geoip_module
+SUBST_CLASSES+=		fix-geo
+SUBST_STAGE.fix-geo=	pre-configure
+SUBST_FILES.fix-geo=	auto/lib/geoip/conf
+SUBST_SED.fix-geo=	-e 's,/usr/pkg,${BUILDLINK_PREFIX.GeoIP},g'
+SUBST_NOOP_OK.fix-geo=	yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mhttp2)
+CONFIGURE_ARGS+=	--with-http_v2_module
+.endif
+
+.if !empty(PKG_OPTIONS:Msub)
+CONFIGURE_ARGS+=	--with-http_sub_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtools)
+CONFIGURE_ARGS+=	--with-google_perftools_module
+.include "../../devel/gperftools/buildlink3.mk"
+.endif
+
+.if empty(PKG_OPTIONS:Mmemcache)
+CONFIGURE_ARGS+=	--without-http_memcached_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mrealip)
+CONFIGURE_ARGS+=	--with-http_realip_module
+.endif
+
+.if !empty(PKG_OPTIONS:Muwsgi)
+EGFILES+=		uwsgi_params
+PLIST.uwsgi=		yes
+CONFIGURE_ARGS+=	--http-uwsgi-temp-path=${NGINX_DATADIR}/uwsgi_temp
+.else
+CONFIGURE_ARGS+=	--without-http_uwsgi_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mimage-filter)
+.include "../../graphics/gd/buildlink3.mk"
+SUBST_CLASSES+=		fix-gd
+SUBST_STAGE.fix-gd=	pre-configure
+SUBST_FILES.fix-gd=	auto/lib/libgd/conf
+SUBST_SED.fix-gd=	-e 's,/usr/pkg,${BUILDLINK_PREFIX.gd},g'
+SUBST_NOOP_OK.fix-gd=	yes
+PLIST.imagefilter=	yes
+
+DSO_BASEMODS+=		http_image_filter_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mslice)
+CONFIGURE_ARGS+=	--with-http_slice_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mstatus)
+CONFIGURE_ARGS+=	--with-http_stub_status_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mperl)
+CONFIGURE_ARGS+=	--with-perl=${PERL5:Q}
+INSTALLATION_DIRS+=	${PERL5_INSTALLVENDORARCH}/auto/nginx
+PLIST.perl=		yes
+.include "../../lang/perl5/dirs.mk"
+.include "../../lang/perl5/buildlink3.mk"
+DSO_BASEMODS+=		http_perl_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mgzip)
+CONFIGURE_ARGS+=	--with-http_gzip_static_module
+.endif
+
+.if !empty(PKG_OPTIONS:Mauth-request)
+CONFIGURE_ARGS+=	--with-http_auth_request_module
+.endif
+
+.if !empty(PKG_OPTIONS:Msecure-link)
+CONFIGURE_ARGS+=	--with-http_secure_link_module
+.endif
diff --git a/nginx-modular/patches/patch-aa b/nginx-modular/patches/patch-aa
new file mode 100644
index 0000000000..11f40fc358
--- /dev/null
+++ b/nginx-modular/patches/patch-aa
@@ -0,0 +1,93 @@
+$NetBSD: patch-aa,v 1.4 2014/04/27 11:05:45 rodent Exp $
+
+This patch provides config file adapted to pkgsrc settings.
+
+--- conf/nginx.conf.orig	2014-04-24 12:52:24.000000000 +0000
++++ conf/nginx.conf
+@@ -1,28 +1,29 @@
+ 
+-#user  nobody;
++user   %%NGINX_USER%%  %%NGINX_GROUP%%;
+ worker_processes  1;
+ 
+-#error_log  logs/error.log;
+-#error_log  logs/error.log  notice;
+-#error_log  logs/error.log  info;
+-
+-#pid        logs/nginx.pid;
++#error_log  %%NGINX_LOGDIR%%/error.log;
++#error_log  %%NGINX_LOGDIR%%/error.log  notice;
++#error_log  %%NGINX_LOGDIR%%/error.log  info;
+ 
++#pid        %%NGINX_PIDDIR%%/nginx.pid;
+ 
+ events {
++    # After increasing this value You probably should increase limit
++    # of file descriptors (for example in start_precmd in startup script)
+     worker_connections  1024;
+ }
+ 
+ 
+ http {
+-    include       mime.types;
++    include       %%PKG_SYSCONFDIR%%/mime.types;
+     default_type  application/octet-stream;
+ 
+     #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
+     #                  '$status $body_bytes_sent "$http_referer" '
+     #                  '"$http_user_agent" "$http_x_forwarded_for"';
+ 
+-    #access_log  logs/access.log  main;
++    #access_log  %%NGINX_LOGDIR%%/access.log  main;
+ 
+     sendfile        on;
+     #tcp_nopush     on;
+@@ -38,10 +39,10 @@ http {
+ 
+         #charset koi8-r;
+ 
+-        #access_log  logs/host.access.log  main;
++        #access_log  %%NGINX_LOGDIR%%/host.access.log  main;
+ 
+         location / {
+-            root   html;
++            root   share/examples/nginx/html;
+             index  index.html index.htm;
+         }
+ 
+@@ -51,7 +52,7 @@ http {
+         #
+         error_page   500 502 503 504  /50x.html;
+         location = /50x.html {
+-            root   html;
++            root   share/examples/nginx/html;
+         }
+ 
+         # proxy the PHP scripts to Apache listening on 127.0.0.1:80
+@@ -67,7 +68,7 @@ http {
+         #    fastcgi_pass   127.0.0.1:9000;
+         #    fastcgi_index  index.php;
+         #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
+-        #    include        fastcgi_params;
++        #    include        %%PKG_SYSCONFDIR%%/fastcgi_params;
+         #}
+ 
+         # deny access to .htaccess files, if Apache's document root
+@@ -87,7 +88,7 @@ http {
+     #    server_name  somename  alias  another.alias;
+ 
+     #    location / {
+-    #        root   html;
++    #        root   share/examples/nginx/html;
+     #        index  index.html index.htm;
+     #    }
+     #}
+@@ -109,7 +110,7 @@ http {
+     #    ssl_prefer_server_ciphers  on;
+ 
+     #    location / {
+-    #        root   html;
++    #        root   share/examples/nginx/html;
+     #        index  index.html index.htm;
+     #    }
+     #}
diff --git a/nginx-modular/patches/patch-ab b/nginx-modular/patches/patch-ab
new file mode 100644
index 0000000000..0b4ce2d2dc
--- /dev/null
+++ b/nginx-modular/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.3 2016/06/15 14:49:11 fhajny Exp $
+
+Workaround for /bin/sh bug on NetBSD
+
+--- auto/install.orig	2016-05-31 13:47:01.000000000 +0000
++++ auto/install
+@@ -148,9 +148,6 @@ install:	build $NGX_INSTALL_PERL_MODULES
+ 		|| cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PATH'
+ 	cp conf/nginx.conf '\$(DESTDIR)$NGX_CONF_PREFIX/nginx.conf.default'
+ 
+-	test -d '\$(DESTDIR)`dirname "$NGX_PID_PATH"`' \\
+-		|| mkdir -p '\$(DESTDIR)`dirname "$NGX_PID_PATH"`'
+-
+ 	test -d '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`' \\
+ 		|| mkdir -p '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`'
+ 
diff --git a/nginx-modular/patches/patch-auto_cc_conf b/nginx-modular/patches/patch-auto_cc_conf
new file mode 100644
index 0000000000..23d947dcfa
--- /dev/null
+++ b/nginx-modular/patches/patch-auto_cc_conf
@@ -0,0 +1,15 @@
+$NetBSD: patch-auto_cc_conf,v 1.1 2017/11/16 21:10:56 khorben Exp $
+
+Add support for LDFLAGS
+
+--- auto/cc/conf.orig	2017-07-11 13:24:06.000000000 +0000
++++ auto/cc/conf
+@@ -3,7 +3,7 @@
+ # Copyright (C) Nginx, Inc.
+ 
+ 
+-LINK="\$(CC)"
++LINK="\$(CC) \$(LDFLAGS)"
+ 
+ MAIN_LINK=
+ MODULE_LINK="-shared"
diff --git a/nginx-modular/patches/patch-src_event_modules_ngx__eventport__module.c b/nginx-modular/patches/patch-src_event_modules_ngx__eventport__module.c
new file mode 100644
index 0000000000..2293ab5d92
--- /dev/null
+++ b/nginx-modular/patches/patch-src_event_modules_ngx__eventport__module.c
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_event_modules_ngx__eventport__module.c,v 1.1 2017/02/14 10:10:55 fhajny Exp $
+
+Fix a situation where Nginx can stop servicing events when port_getn() returns a timeout.
+
+https://github.com/joyent/nginx/commit/bdd0c625236bc25799bd6f81dcf5d774928e8cb0
+
+--- src/event/modules/ngx_eventport_module.c.orig	2017-01-24 14:02:19.000000000 +0000
++++ src/event/modules/ngx_eventport_module.c
+@@ -468,6 +468,16 @@ ngx_eventport_process_events(ngx_cycle_t
+         ngx_time_update();
+     }
+ 
++    /*
++     * There's a long standing condition with event ports that port_getn() may
++     * return ETIME even when events are available. This would happen if we have
++     * specified a timeout to port_getn() without reaching the number of
++     * requested events.
++     */
++    if (n == -1 && err == ETIME && events > 0) {
++	    n = 0;
++    }
++
+     if (n == -1) {
+         if (err == ETIME) {
+             if (timer != NGX_TIMER_INFINITE) {
diff --git a/nginx-modular/version.mk b/nginx-modular/version.mk
new file mode 100644
index 0000000000..71d9a7ea21
--- /dev/null
+++ b/nginx-modular/version.mk
@@ -0,0 +1,6 @@
+# $NetBSD$
+#
+# used by wip/nginx-modular/Makefile
+# used by wip/nginx-modular/module.mk
+
+NGINX_VERSION=	1.20.2
diff --git a/nginx-module-array-var/DESCR b/nginx-module-array-var/DESCR
new file mode 100644
index 0000000000..37da2df38f
--- /dev/null
+++ b/nginx-module-array-var/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the array-var module for Nginx.
diff --git a/nginx-module-array-var/Makefile b/nginx-module-array-var/Makefile
new file mode 100644
index 0000000000..a904bf7b7e
--- /dev/null
+++ b/nginx-module-array-var/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+DISTNAME=	array-var-nginx-module-0.05
+MASTER_SITE=	${MASTER_SITE_GITHUB:=openresty/array-var-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		array-var
+NGINX_MODULE_NAME=	arrayvar
+NGINX_HTTP_MODULES+=	array_var
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-array-var/PLIST b/nginx-module-array-var/PLIST
new file mode 100644
index 0000000000..3dbbb11574
--- /dev/null
+++ b/nginx-module-array-var/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_array_var_module.so
diff --git a/nginx-module-array-var/distinfo b/nginx-module-array-var/distinfo
new file mode 100644
index 0000000000..04c33c54ba
--- /dev/null
+++ b/nginx-module-array-var/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (array-var-nginx-module-0.05.tar.gz) = 2f9af1e0eb209b7c20aa58cd8ec2afb1eb1cc122c5f4ea169e34131c463c1c26
+SHA512 (array-var-nginx-module-0.05.tar.gz) = 7c9fa9b76bc7cd2473ceae6d5ffb8de26993be9293ea967908d6c4550e086affa7016df4c936fb0b79f1142dc0aa1a5f2058d417e6433b5a3497a45d7e866e84
+Size (array-var-nginx-module-0.05.tar.gz) = 11280 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-cache-purge/DESCR b/nginx-module-cache-purge/DESCR
new file mode 100644
index 0000000000..4c02150b7f
--- /dev/null
+++ b/nginx-module-cache-purge/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the cache purge module for Nginx.
diff --git a/nginx-module-cache-purge/Makefile b/nginx-module-cache-purge/Makefile
new file mode 100644
index 0000000000..ece5452aec
--- /dev/null
+++ b/nginx-module-cache-purge/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+DISTNAME=	ngx_cache_purge-2.5.1
+MASTER_SITE=	${MASTER_SITE_GITHUB:=nginx-modules/ngx_cache_purge}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		cprg
+NGINX_HTTP_MODULES+=	cache_purge
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-cache-purge/PLIST b/nginx-module-cache-purge/PLIST
new file mode 100644
index 0000000000..d484e4ff38
--- /dev/null
+++ b/nginx-module-cache-purge/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_cache_purge_module.so
diff --git a/nginx-module-cache-purge/distinfo b/nginx-module-cache-purge/distinfo
new file mode 100644
index 0000000000..e676e85eac
--- /dev/null
+++ b/nginx-module-cache-purge/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_cache_purge-2.5.1.tar.gz) = f89badfa0dbc3c338129291d7c56f978d6db0348d5aaa0d723000881ae9b7b8d
+SHA512 (ngx_cache_purge-2.5.1.tar.gz) = 3ad37b4a251fb85a9a384f87fea5ca640166e3d7173c6ed9a857b191ae5f2e93819483b5d423fcafe8a10239b571677b342cc2d2d5d62315816f1316d7d5bb76
+Size (ngx_cache_purge-2.5.1.tar.gz) = 16614 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-dav/DESCR b/nginx-module-dav/DESCR
new file mode 100644
index 0000000000..5e5f6088e9
--- /dev/null
+++ b/nginx-module-dav/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the DAV module for Nginx.
diff --git a/nginx-module-dav/Makefile b/nginx-module-dav/Makefile
new file mode 100644
index 0000000000..ae25e8d4d6
--- /dev/null
+++ b/nginx-module-dav/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	nginx-dav-ext-module-3.0.0
+MASTER_SITE=	${MASTER_SITE_GITHUB:=openresty/array-var-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		dav
+NGINX_HTTP_MODULES+=	dav_ext
+
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+
+SUBST_CLASSES+=		fix-xslt
+SUBST_STAGE.fix-xslt=	pre-configure
+SUBST_FILES.fix-xslt=	auto/lib/libxslt/conf
+SUBST_SED.fix-xslt=	-e 's,/usr/pkg,${BUILDLINK_PREFIX.libxslt},g'
+SUBST_NOOP_OK.fix-xslt=	yes
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-dav/PLIST b/nginx-module-dav/PLIST
new file mode 100644
index 0000000000..4ec2c23f9d
--- /dev/null
+++ b/nginx-module-dav/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_dav_ext_module.so
diff --git a/nginx-module-dav/distinfo b/nginx-module-dav/distinfo
new file mode 100644
index 0000000000..9e40b2b482
--- /dev/null
+++ b/nginx-module-dav/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (nginx-dav-ext-module-3.0.0.tar.gz) = 8e823ffd605d4fca00eb3ca92a0954ca35fb178397e0b990fea7d47580ee582f
+SHA512 (nginx-dav-ext-module-3.0.0.tar.gz) = d0193ba90f1ef46c4e470630c4394bdf99d94fd2e3bd8be6cb2ba1655ec59944b1269025f032b79dc2c6dad366e54389ef6a6da2ddeb91d535a4027f2162fbde
+Size (nginx-dav-ext-module-3.0.0.tar.gz) = 14558 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-echo/DESCR b/nginx-module-echo/DESCR
new file mode 100644
index 0000000000..9a9f913c20
--- /dev/null
+++ b/nginx-module-echo/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the echo module for Nginx.
diff --git a/nginx-module-echo/Makefile b/nginx-module-echo/Makefile
new file mode 100644
index 0000000000..3874ab7671
--- /dev/null
+++ b/nginx-module-echo/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+DISTNAME=	echo-nginx-module-0.62
+MASTER_SITE=	${MASTER_SITE_GITHUB:=openresty/echo-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		echo
+NGINX_HTTP_MODULES+=	echo
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-echo/PLIST b/nginx-module-echo/PLIST
new file mode 100644
index 0000000000..432f38972c
--- /dev/null
+++ b/nginx-module-echo/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_echo_module.so
diff --git a/nginx-module-echo/distinfo b/nginx-module-echo/distinfo
new file mode 100644
index 0000000000..5a88142de7
--- /dev/null
+++ b/nginx-module-echo/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (echo-nginx-module-0.62.tar.gz) = 8dc4bfc7e905f35b12cd432dca98067b03fd6f2cffd36ffe93158738ab5d32dc
+SHA512 (echo-nginx-module-0.62.tar.gz) = 240896b1c559a71ca6ca87136d8535edd25b1d65ebb80d46080ad41c09ed1cec9737828f9efe260782294d660cea66cf402f4e75bba3fed26f3a94de0ae2f89b
+Size (echo-nginx-module-0.62.tar.gz) = 53329 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-encrypted-session/DESCR b/nginx-module-encrypted-session/DESCR
new file mode 100644
index 0000000000..a4cdc44299
--- /dev/null
+++ b/nginx-module-encrypted-session/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the encrypted-session module for Nginx.
diff --git a/nginx-module-encrypted-session/Makefile b/nginx-module-encrypted-session/Makefile
new file mode 100644
index 0000000000..ee816c606b
--- /dev/null
+++ b/nginx-module-encrypted-session/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+DISTNAME=	encrypted-session-nginx-module-0.09
+MASTER_SITE=	${MASTER_SITE_GITHUB:=openresty/encrypted-session-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=	encrypted-session
+NGINX_HTTP_MODULES+=	encrypted_session
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-encrypted-session/PLIST b/nginx-module-encrypted-session/PLIST
new file mode 100644
index 0000000000..5a7f3b84c2
--- /dev/null
+++ b/nginx-module-encrypted-session/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_encrypted_session_module.so
diff --git a/nginx-module-encrypted-session/distinfo b/nginx-module-encrypted-session/distinfo
new file mode 100644
index 0000000000..bcd45cece5
--- /dev/null
+++ b/nginx-module-encrypted-session/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (encrypted-session-nginx-module-0.09.tar.gz) = 696be087d7aa0144d212f2753423489677e78ba3bb97dbfeb30cadbe08cd7b0a
+SHA512 (encrypted-session-nginx-module-0.09.tar.gz) = 399ce2690e85ee27802e8031954a1a3aa3fdc9246e17323a72a298d235931a8dbebdcb121ac8788e074872df0ef5b5a8a3d512b17fbe860b38f696ce42de3655
+Size (encrypted-session-nginx-module-0.09.tar.gz) = 11847 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-forminput/DESCR b/nginx-module-forminput/DESCR
new file mode 100644
index 0000000000..7040d9533b
--- /dev/null
+++ b/nginx-module-forminput/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the form-input module for Nginx.
diff --git a/nginx-module-forminput/Makefile b/nginx-module-forminput/Makefile
new file mode 100644
index 0000000000..411d350ed6
--- /dev/null
+++ b/nginx-module-forminput/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+DISTNAME=	form-input-nginx-module-0.12
+MASTER_SITE=	${MASTER_SITE_GITHUB:=calio/form-input-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		form-input
+NGINX_HTTP_MODULES+=	form_input
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-forminput/PLIST b/nginx-module-forminput/PLIST
new file mode 100644
index 0000000000..db9308a606
--- /dev/null
+++ b/nginx-module-forminput/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_form_input_module.so
diff --git a/nginx-module-forminput/distinfo b/nginx-module-forminput/distinfo
new file mode 100644
index 0000000000..a4016097b1
--- /dev/null
+++ b/nginx-module-forminput/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (form-input-nginx-module-0.12.tar.gz) = b08fc95c3e15bfdc0846e2d1e8157171954f353bd301f4ac4aca56113620e91d
+SHA512 (form-input-nginx-module-0.12.tar.gz) = 1c5c5ab74156cac09da44a2dcdd84f7c03c9919a23a847e63613e00e3781ecd73d5ad12446174b4fdef9d064257a31570a8dbcccc00d8266f7048e3dcde0362e
+Size (form-input-nginx-module-0.12.tar.gz) = 11090 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-geoip2/DESCR b/nginx-module-geoip2/DESCR
new file mode 100644
index 0000000000..22953d68b9
--- /dev/null
+++ b/nginx-module-geoip2/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the geoip2 module for Nginx.
diff --git a/nginx-module-geoip2/Makefile b/nginx-module-geoip2/Makefile
new file mode 100644
index 0000000000..e545f7fa97
--- /dev/null
+++ b/nginx-module-geoip2/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+DISTNAME=	ngx_http_geoip2_module-3.3
+MASTER_SITE=	${MASTER_SITE_GITHUB:=leev/ngx_http_geoip2_module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		geoip2
+NGINX_HTTP_MODULES+=	geoip2
+NGINX_STREAM_MODULES+=	geoip2
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-geoip2/PLIST b/nginx-module-geoip2/PLIST
new file mode 100644
index 0000000000..3dbdff6540
--- /dev/null
+++ b/nginx-module-geoip2/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_geoip2_module.so
+libexec/nginx/ngx_stream_geoip2_module.so
diff --git a/nginx-module-geoip2/distinfo b/nginx-module-geoip2/distinfo
new file mode 100644
index 0000000000..2e18115131
--- /dev/null
+++ b/nginx-module-geoip2/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+BLAKE2s (ngx_http_geoip2_module-3.3.tar.gz) = cfa0bbf88d6b5f21129fc9f653d30516d782ca474a68159d367017b96e05b330
+SHA512 (ngx_http_geoip2_module-3.3.tar.gz) = 06963b598c54e22d75ce837fb222f5aa6c9494c29e558ff46f1205d7159fc305414bfac4ed3288c836dcbf7628d92f26458e1992d34fc2f4b73275a32847bdc0
+Size (ngx_http_geoip2_module-3.3.tar.gz) = 8509 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-headers-more/DESCR b/nginx-module-headers-more/DESCR
new file mode 100644
index 0000000000..589cb3650d
--- /dev/null
+++ b/nginx-module-headers-more/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the headers-more module for Nginx.
diff --git a/nginx-module-headers-more/Makefile b/nginx-module-headers-more/Makefile
new file mode 100644
index 0000000000..2e1eb5833b
--- /dev/null
+++ b/nginx-module-headers-more/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+DISTNAME=	headers-more-nginx-module-0.33
+MASTER_SITE=	${MASTER_SITE_GITHUB:=openresty/headers-more-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		headers-more
+NGINX_HTTP_MODULES+=	headers_more_filter
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-headers-more/PLIST b/nginx-module-headers-more/PLIST
new file mode 100644
index 0000000000..4e0daa895a
--- /dev/null
+++ b/nginx-module-headers-more/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_headers_more_filter_module.so
diff --git a/nginx-module-headers-more/distinfo b/nginx-module-headers-more/distinfo
new file mode 100644
index 0000000000..54b2bdee7a
--- /dev/null
+++ b/nginx-module-headers-more/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (headers-more-nginx-module-0.33.tar.gz) = f5eeb6e12026236b9d4ab78866e33d5a81ed5f86344641407ce3a4f8b3310afd
+SHA512 (headers-more-nginx-module-0.33.tar.gz) = 13165b1b8d4be281b8bd2404fa48d456013d560bace094c81da08a35dc6a4f025a809a3ae3a42be6bbf67abbcbe41e0730aba06f905220f3baeb01e1192a7d37
+Size (headers-more-nginx-module-0.33.tar.gz) = 28130 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-lua/DESCR b/nginx-module-lua/DESCR
new file mode 100644
index 0000000000..3253d332be
--- /dev/null
+++ b/nginx-module-lua/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the lua module for Nginx.
diff --git a/nginx-module-lua/Makefile b/nginx-module-lua/Makefile
new file mode 100644
index 0000000000..30a3b7f642
--- /dev/null
+++ b/nginx-module-lua/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+DISTNAME=	lua-nginx-module-0.10.20
+MASTER_SITE=	${MASTER_SITE_GITHUB:=openresty/lua-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		lua
+NGINX_HTTP_MODULES+=	lua
+
+.include "../../lang/LuaJIT2/buildlink3.mk"
+CONFIGURE_ENV+=		LUAJIT_LIB=${PREFIX}/lib
+CONFIGURE_ENV+=		LUAJIT_INC=${PREFIX}/include/luajit-2.0
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-lua/PLIST b/nginx-module-lua/PLIST
new file mode 100644
index 0000000000..391ad974a6
--- /dev/null
+++ b/nginx-module-lua/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_lua_module.so
diff --git a/nginx-module-lua/distinfo b/nginx-module-lua/distinfo
new file mode 100644
index 0000000000..cf5165349e
--- /dev/null
+++ b/nginx-module-lua/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (lua-nginx-module-0.10.20.tar.gz) = fc165f5b7495dc54ecbf43666fa6feda733c0c0776d816353bec6f8458ec03f6
+SHA512 (lua-nginx-module-0.10.20.tar.gz) = f11154d82ed9e15fc156971318f8e81fd873ec887370921c58da777061caf00dfb51b2eca3afba3b82d2330f285508f9885649a993c6091e1283f9d2179d10af
+Size (lua-nginx-module-0.10.20.tar.gz) = 668516 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-naxsi/DESCR b/nginx-module-naxsi/DESCR
new file mode 100644
index 0000000000..37da2df38f
--- /dev/null
+++ b/nginx-module-naxsi/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the array-var module for Nginx.
diff --git a/nginx-module-naxsi/Makefile b/nginx-module-naxsi/Makefile
new file mode 100644
index 0000000000..1fcedd05f7
--- /dev/null
+++ b/nginx-module-naxsi/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+DISTNAME=	naxsi-1.3
+MASTER_SITE=	${MASTER_SITE_GITHUB:=nbs-system/naxsi}
+LICENSE=	2-clause-bsd
+
+CONF_FILES+=	${EGDIR}/conf/naxsi_core.rules ${PKG_SYSCONFDIR}/naxsi_core.rules
+
+NGINX_HTTP_MODULES+=	naxsi
+NGINX_MODULE_SUBDIR=	/naxsi_src
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-naxsi/PLIST b/nginx-module-naxsi/PLIST
new file mode 100644
index 0000000000..f668e1ba9b
--- /dev/null
+++ b/nginx-module-naxsi/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_naxsi_module.so
+share/examples/nginx/conf/naxsi_core.rules
diff --git a/nginx-module-naxsi/distinfo b/nginx-module-naxsi/distinfo
new file mode 100644
index 0000000000..cf7aff075e
--- /dev/null
+++ b/nginx-module-naxsi/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (naxsi-1.3.tar.gz) = d3c819d8fbd2a896c56138f028b92fa4b26a51168ff24334f76e3d1d07626927
+SHA512 (naxsi-1.3.tar.gz) = d7aac69b5eceeb1b0db4741201159ade1e0e7f6f7c3e8c4afa2f8959c6c00c3b5285d5185747c2fb0b1400efda02e96799836315e7e492bb4a059b14acb2142d
+Size (naxsi-1.3.tar.gz) = 235626 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-nchan/DESCR b/nginx-module-nchan/DESCR
new file mode 100644
index 0000000000..74a4486e6a
--- /dev/null
+++ b/nginx-module-nchan/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the nchan module for Nginx.
diff --git a/nginx-module-nchan/Makefile b/nginx-module-nchan/Makefile
new file mode 100644
index 0000000000..a36257dd23
--- /dev/null
+++ b/nginx-module-nchan/Makefile
@@ -0,0 +1,10 @@
+# $NetBSD$
+
+DISTNAME=	nchan-1.2.12
+MASTER_SITE=	${MASTER_SITE_GITHUB:=slact/nchan}
+LICENSE=	2-clause-bsd
+
+NGINX_OTHER_MODULES+=	nchan
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-nchan/PLIST b/nginx-module-nchan/PLIST
new file mode 100644
index 0000000000..13ef47bd32
--- /dev/null
+++ b/nginx-module-nchan/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_nchan_module.so
diff --git a/nginx-module-nchan/distinfo b/nginx-module-nchan/distinfo
new file mode 100644
index 0000000000..1d0d73cc3c
--- /dev/null
+++ b/nginx-module-nchan/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (nchan-1.2.12.tar.gz) = 1505dd8fa8562643e0b7cfb1c34e12c6044bd604eced52eb6d968ebca9b39d75
+SHA512 (nchan-1.2.12.tar.gz) = 1378ecf7499603319f432a8ea4693f0bc7a18713cd02b7ed9eecd8dfa76b54dcef475b7b028ddfd2750dcb01e2ac73f8605a96950398fbea31ffa8b22fcacfc0
+Size (nchan-1.2.12.tar.gz) = 716150 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-njs/DESCR b/nginx-module-njs/DESCR
new file mode 100644
index 0000000000..e6870a9f5b
--- /dev/null
+++ b/nginx-module-njs/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the njs modules for Nginx.
diff --git a/nginx-module-njs/Makefile b/nginx-module-njs/Makefile
new file mode 100644
index 0000000000..7a342abe80
--- /dev/null
+++ b/nginx-module-njs/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+DISTNAME=	njs-0.7.2
+MASTER_SITE=	${MASTER_SITE_GITHUB:=nginx/njs}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE_SUBDIR=	/nginx
+NGINX_HTTP_MODULES+=	js
+NGINX_STREAM_MODULES+=	js
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-njs/PLIST b/nginx-module-njs/PLIST
new file mode 100644
index 0000000000..8f3b83a735
--- /dev/null
+++ b/nginx-module-njs/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_js_module.so
+libexec/nginx/ngx_stream_js_module.so
diff --git a/nginx-module-njs/distinfo b/nginx-module-njs/distinfo
new file mode 100644
index 0000000000..1551b9f6fa
--- /dev/null
+++ b/nginx-module-njs/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+BLAKE2s (njs-0.7.2.tar.gz) = 6aa7f4d62a9012badde72236cd4d2d8c32a3ea7842b582a7211a4dc836835af1
+SHA512 (njs-0.7.2.tar.gz) = 7ff9c8f4e8cf1a3aeb0f2ed9f37e2b3f4966812966d1aca17dae8b454dd7fa725ccdc631b7dc1f3434f588e589f4cd419b9e087f3c745cd6ca092a683c92d82f
+Size (njs-0.7.2.tar.gz) = 584483 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-push/DESCR b/nginx-module-push/DESCR
new file mode 100644
index 0000000000..37da2df38f
--- /dev/null
+++ b/nginx-module-push/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the array-var module for Nginx.
diff --git a/nginx-module-push/Makefile b/nginx-module-push/Makefile
new file mode 100644
index 0000000000..a904bf7b7e
--- /dev/null
+++ b/nginx-module-push/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+DISTNAME=	array-var-nginx-module-0.05
+MASTER_SITE=	${MASTER_SITE_GITHUB:=openresty/array-var-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		array-var
+NGINX_MODULE_NAME=	arrayvar
+NGINX_HTTP_MODULES+=	array_var
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-push/PLIST b/nginx-module-push/PLIST
new file mode 100644
index 0000000000..3dbbb11574
--- /dev/null
+++ b/nginx-module-push/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_array_var_module.so
diff --git a/nginx-module-push/distinfo b/nginx-module-push/distinfo
new file mode 100644
index 0000000000..04c33c54ba
--- /dev/null
+++ b/nginx-module-push/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (array-var-nginx-module-0.05.tar.gz) = 2f9af1e0eb209b7c20aa58cd8ec2afb1eb1cc122c5f4ea169e34131c463c1c26
+SHA512 (array-var-nginx-module-0.05.tar.gz) = 7c9fa9b76bc7cd2473ceae6d5ffb8de26993be9293ea967908d6c4550e086affa7016df4c936fb0b79f1142dc0aa1a5f2058d417e6433b5a3497a45d7e866e84
+Size (array-var-nginx-module-0.05.tar.gz) = 11280 bytes
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-rtmp/DESCR b/nginx-module-rtmp/DESCR
new file mode 100644
index 0000000000..80854ea279
--- /dev/null
+++ b/nginx-module-rtmp/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the rtmp module for Nginx.
diff --git a/nginx-module-rtmp/Makefile b/nginx-module-rtmp/Makefile
new file mode 100644
index 0000000000..7b6587e25b
--- /dev/null
+++ b/nginx-module-rtmp/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+DISTNAME=	nginx-rtmp-module-1.2.2
+MASTER_SITE=	${MASTER_SITE_GITHUB:=arut/nginx-rtmp-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		rtmp
+NGINX_OTHER_MODULES+=	rtmp
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-rtmp/PLIST b/nginx-module-rtmp/PLIST
new file mode 100644
index 0000000000..3e13695a6b
--- /dev/null
+++ b/nginx-module-rtmp/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_rtmp_module.so
diff --git a/nginx-module-rtmp/distinfo b/nginx-module-rtmp/distinfo
new file mode 100644
index 0000000000..23e247274b
--- /dev/null
+++ b/nginx-module-rtmp/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (nginx-rtmp-module-1.2.2.tar.gz) = 5de03b71bb16b4129f1a2a99446f65ef6eeb3fd48bfc925e94fc27e99da3c069
+SHA512 (nginx-rtmp-module-1.2.2.tar.gz) = 3f8c803221854c4b1a06aadc6313fbfec74bd7179c0ee51d4365b26ffa8875881a6e1e48f777a9c9efbb9170ab7478a82920d5448a2c2df485503d37bb03ab81
+Size (nginx-rtmp-module-1.2.2.tar.gz) = 519934 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/nginx-module-set-misc/DESCR b/nginx-module-set-misc/DESCR
new file mode 100644
index 0000000000..2722e86be5
--- /dev/null
+++ b/nginx-module-set-misc/DESCR
@@ -0,0 +1,8 @@
+Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP
+server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev
+started development of Nginx in 2002, with the first public release in 2004.
+Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains.
+Nginx is known for its high performance, stability, rich feature set, simple
+configuration, and low resource consumption.
+
+This package contains the set-misc module for Nginx.
diff --git a/nginx-module-set-misc/Makefile b/nginx-module-set-misc/Makefile
new file mode 100644
index 0000000000..0ece6e7bae
--- /dev/null
+++ b/nginx-module-set-misc/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+DISTNAME=	set-misc-nginx-module-0.33
+MASTER_SITE=	${MASTER_SITE_GITHUB:=openresty/set-misc-nginx-module}
+LICENSE=	2-clause-bsd
+
+NGINX_MODULE=		set-misc
+NGINX_HTTP_MODULES+=	set_misc
+
+.include "../../wip/nginx-modular/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nginx-module-set-misc/PLIST b/nginx-module-set-misc/PLIST
new file mode 100644
index 0000000000..c5152abc5a
--- /dev/null
+++ b/nginx-module-set-misc/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nginx/ngx_http_set_misc_module.so
diff --git a/nginx-module-set-misc/distinfo b/nginx-module-set-misc/distinfo
new file mode 100644
index 0000000000..800304ba1d
--- /dev/null
+++ b/nginx-module-set-misc/distinfo
@@ -0,0 +1,15 @@
+$NetBSD$
+
+BLAKE2s (nginx-1.20.2.tar.gz) = 6b437b200e57db3988bd6737740c11833e5091e3b84eef1fbd95168a4f5914b2
+SHA512 (nginx-1.20.2.tar.gz) = 8b65e881ea4ac6162cbf32e5e95cf47a6d5418819f8763ca4a781cffa38187dd7886d4bc195d000a7046111a27121ff25800f8645405174995247e6738b4279a
+Size (nginx-1.20.2.tar.gz) = 1062124 bytes
+BLAKE2s (ngx_devel_kit-0.3.1.tar.gz) = e059ff3e7706eb444be721b28cc9989568c842db5ffcca7985203ed3368509f4
+SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
+Size (ngx_devel_kit-0.3.1.tar.gz) = 66542 bytes
+BLAKE2s (set-misc-nginx-module-0.33.tar.gz) = 306eb7a96ce5650c7e97a91e9cdba48d154d10cf6445d31193ffab889054d893
+SHA512 (set-misc-nginx-module-0.33.tar.gz) = 1ff4c947538a5bd5f9d6adcd87b37f2702f5cc90e3342bc08359cbe8f290b705a3a2daa3dedfb1df3ce4bc19478c8fcac07081c4a53a804fc2862d50078278dc
+Size (set-misc-nginx-module-0.33.tar.gz) = 30084 bytes
+SHA1 (patch-aa) = c280ea8114163b7a2ca3770a08177c0b35290345
+SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
+SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2


Home | Main Index | Thread Index | Old Index