Update nginx to use new dynamic modules feature

Switch all extrnal modules to be dynamic modules, and update them to use the
latest versions.  Use separate subpackages for all dynamic modules, so you
can easily choose which nginx features you want without rebuilding nginx
with a specific combination of FLAVORs.

Switch all internal modules that can be built dynamically to use dynamic
modules.

Start building the image_filter, geoip, perl, and xlst modules as dynamic
modules.

This requires changes to your nginx configuration if you were previously
using a FLAVORed version of nginx, or using the mail or stream features.

OK robert@ (MAINTAINER)
positive feedback from william@ (MAINTAINER), landry@, sthen@
This commit is contained in:
jeremy 2016-11-04 22:13:43 +00:00
parent 3a3bb71f04
commit 29d8530bda
27 changed files with 201 additions and 189 deletions

View File

@ -1,20 +1,47 @@
# $OpenBSD: Makefile,v 1.101 2016/10/26 08:06:59 robert Exp $
# $OpenBSD: Makefile,v 1.102 2016/11/04 22:13:43 jeremy Exp $
BROKEN-arm= src/core/ngx_rwlock.c:116:2: error: \#error ngx_atomic_cmp_set() is not defined!
BROKEN-hppa= src/core/ngx_rwlock.c:116:2: error: \#error ngx_atomic_cmp_set() is not defined!
COMMENT= robust and small HTTP server and mail proxy server
COMMENT-main= robust and small HTTP server and mail proxy server
COMMENT-image_filter= nginx image filter module
COMMENT-geoip= nginx GeoIP module
COMMENT-xslt= nginx XSLT filter module
COMMENT-mailproxy= nginx mail proxy module
COMMENT-stream= nginx TCP/UDP proxy module
COMMENT-naxsi= nginx web application firewall module
COMMENT-lua= nginx lua scripting module
COMMENT-perl= nginx perl scripting module
COMMENT-passenger= nginx passenger (ruby/python/nodejs) integration module
VERSION= 1.10.2
DISTNAME= nginx-${VERSION}
CATEGORIES= www
PKGNAME-main= ${DISTNAME}
PKGNAME-image_filter= nginx-image_filter-${VERSION}
PKGNAME-geoip= nginx-geoip-${VERSION}
PKGNAME-xslt= nginx-xslt-${VERSION}
PKGNAME-mailproxy= nginx-mailproxy-${VERSION}
PKGNAME-stream= nginx-stream-${VERSION}
PKGNAME-naxsi= nginx-naxsi-${VERSION}
PKGNAME-lua= nginx-lua-${VERSION}
PKGNAME-perl= nginx-perl-${VERSION}
PKGNAME-passenger= nginx-passenger-${VERSION}
REVISION-main= 0
MASTER_SITES= http://nginx.org/download/
MASTER_SITES0= http://dropbox.eait.uq.edu.au/uqdgwynn/distfiles/
MASTER_SITES0= https://github.com/simpl/ngx_devel_kit/archive/
MASTER_SITES1= https://github.com/nbs-system/naxsi/archive/
MASTER_SITES2= http://nerd.hu/distfiles/
MASTER_SITES2= https://github.com/openresty/lua-nginx-module/archive/
MASTER_SITES3= https://raw.githubusercontent.com/rnagy/nginx_chroot_patch/master/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
ngx_devel_kit-v0.3.0.tar.gz{v0.3.0.tar.gz}:0 \
naxsi-0.55.1.tar.gz{0.55.1.tar.gz}:1 \
lua-nginx-module-v0.10.6.tar.gz{v0.10.6.tar.gz}:2
HOMEPAGE= http://nginx.org/
MAINTAINER= Robert Nagy <robert@openbsd.org>, \
@ -23,33 +50,65 @@ MAINTAINER= Robert Nagy <robert@openbsd.org>, \
# BSD-like
PERMIT_PACKAGE_CDROM= yes
WANTLIB= c crypto pcre ssl z
MULTI_PACKAGES = -main -image_filter -geoip -xslt -mailproxy -stream -naxsi -lua -perl -passenger
LIB_DEPENDS+= devel/pcre
WANTLIB-main= c z pcre ssl crypto
WANTLIB-mailproxy=
WANTLIB-stream=
WANTLIB-image_filter= gd
WANTLIB-geoip= GeoIP
WANTLIB-xslt= exslt xml2 xslt
WANTLIB-naxsi=
WANTLIB-lua= ${MODLUA_WANTLIB} m
WANTLIB-perl= c m perl
WANTLIB-passenger= m pthread stdc++
BUILD_DEPENDS+= ${MODRUBY_PKG_PREFIX}-passenger-*:www/ruby-passenger
LIB_DEPENDS-main= devel/pcre
LIB_DEPENDS-xslt= textproc/libxml \
textproc/libxslt
LIB_DEPENDS-image_filter=graphics/gd
LIB_DEPENDS-geoip= net/GeoIP
RUN_DEPENDS-mailproxy= www/nginx,-main=${VERSION}
RUN_DEPENDS-stream= www/nginx,-main=${VERSION}
RUN_DEPENDS-image_filter=www/nginx,-main=${VERSION}
RUN_DEPENDS-geoip= www/nginx,-main=${VERSION}
RUN_DEPENDS-xslt= www/nginx,-main=${VERSION}
RUN_DEPENDS-naxsi= www/nginx,-main=${VERSION}
RUN_DEPENDS-lua= www/nginx,-main=${VERSION}
RUN_DEPENDS-perl= www/nginx,-main=${VERSION}
RUN_DEPENDS-passenger= www/nginx,-main=${VERSION} \
ruby-passenger-*|ruby21-passenger-*|ruby22-passenger-*|ruby23-passenger-*:www/ruby-passenger
NGINX_DIR= /var/www
SUBST_VARS= NGINX_DIR
CFLAGS+= -Wall -Wpointer-arith
NGINX_MODULES_DIR= ${NGINX_DIR}/modules
FLAVORS= lua mailproxy naxsi passenger
FLAVOR?=
PREFIX-mailproxy= ${NGINX_MODULES_DIR}
PREFIX-stream= ${NGINX_MODULES_DIR}
PREFIX-image_filter= ${NGINX_MODULES_DIR}
PREFIX-geoip= ${NGINX_MODULES_DIR}
PREFIX-xslt= ${NGINX_MODULES_DIR}
PREFIX-lua= ${NGINX_MODULES_DIR}
PREFIX-passenger= ${NGINX_MODULES_DIR}
.if !${FLAVOR:Mpassenger}
CFLAGS+= -Werror
.endif
CFLAGS+= -Wall -Wpointer-arith \
-I "${LOCALBASE}/include/libxml2" \
-I "${LOCALBASE}/include" \
-L "${X11BASE}/lib"
FLAVOR_COMMA= ${FLAVOR_EXT:S/-/,/g}
SUBST_VARS+= FLAVOR_COMMA
MODULES+= lang/ruby lang/lua
MODRUBY_BUILDDEP= No
MODRUBY_RUNDEP= No
# must be first option on configure line ?
.if ${FLAVOR:Mnaxsi}
DISTFILES+= ${NAXSIDISTFILES}
CONFIGURE_ARGS= --add-module=${WRKSRC}/naxsi/naxsi_src/
.else
SUPDISTFILES+= ${NAXSIDISTFILES}
.endif
PATCHFILES+= nginx-${VERSION}-chroot.patch:3
PATCH_DIST_STRIP= -p1
CONFIGURE_STYLE= simple
CONFIGURE_ENV+= MODLUA_INCL_DIR=${MODLUA_INCL_DIR} \
MODLUA_LIB=${MODLUA_LIB}
CONFIGURE_ARGS+= --prefix=${NGINX_DIR} \
--conf-path=${SYSCONFDIR}/nginx/nginx.conf \
--sbin-path=${PREFIX}/sbin/nginx \
@ -64,70 +123,36 @@ CONFIGURE_ARGS+= --prefix=${NGINX_DIR} \
--http-uwsgi-temp-path=${NGINX_DIR}/cache/uwsgi_temp \
--user=www \
--group=www \
--with-http_image_filter_module=dynamic \
--with-http_geoip_module=dynamic \
--with-http_gzip_static_module \
--with-http_perl_module=dynamic \
--with-http_realip_module \
--with-http_slice_module \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-http_v2_module \
--with-mail \
--with-mail_ssl_module \
--with-http_xslt_module=dynamic \
--with-mail=dynamic \
--with-ipv6 \
--with-stream
--with-stream=dynamic \
--add-dynamic-module=${WRKSRC}/naxsi/naxsi_src/ \
--add-dynamic-module=${WRKSRC}/ngx_devel_kit \
--add-dynamic-module=${WRKSRC}/lua-nginx-module \
--add-dynamic-module=${LOCALBASE}/lib/phusion-passenger${GEM_BIN_SUFFIX}/src/nginx_module
.if !${FLAVOR:Mmailproxy}
CONFIGURE_ARGS+= --without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module
.endif
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
PATCHFILES+= nginx-${VERSION}-chroot.patch:3
PATCH_DIST_STRIP= -p1
LUAV= 0.9.20
LUADISTFILES+= ngx_devel_kit-0.2.19.tar.gz:0
LUADISTFILES+= lua-nginx-module-${LUAV}.tar.gz:2
SUBSTFILES= conf/nginx.conf
NAXSIDISTFILES+= naxsi-0.53-2.tar.gz{0.53-2.tar.gz}:1
.if ${FLAVOR:Mpassenger}
MODULES+= lang/ruby
MODRUBY_BUILDDEP= No
MODRUBY_RUNDEP= No
CONFIGURE_ARGS+= --add-module=${LOCALBASE}/lib/phusion-passenger${GEM_BIN_SUFFIX}/ext/nginx
BUILD_DEPENDS+= ${MODRUBY_PKG_PREFIX}-passenger-*:www/ruby-passenger
RUN_DEPENDS+= ruby-passenger-*|ruby21-passenger-*|ruby22-passenger-*|ruby23-passenger-*:www/ruby-passenger
WANTLIB+= m pthread stdc++
.endif
.if ${FLAVOR:Mlua}
CONFIGURE_ARGS+= --add-module=${WRKSRC}/ngx_devel_kit
CONFIGURE_ARGS+= --add-module=${WRKSRC}/lua-nginx-module
CONFIGURE_ENV+= MODLUA_INCL_DIR=${MODLUA_INCL_DIR} \
MODLUA_LIB=${MODLUA_LIB}
MODULES+= lang/lua
WANTLIB+= ${MODLUA_WANTLIB} m
PATCH_LIST= patch-* lua-*
SUBSTFILES+= lua-nginx-module/config
DISTFILES+= ${LUADISTFILES}
.else
SUPDISTFILES+= ${LUADISTFILES}
.endif
SUBSTFILES= conf/nginx.conf \
lua-nginx-module/config
NO_TEST= Yes
ALL_TARGET=
pre-patch:
.if ${FLAVOR:Mnaxsi}
cd ${WRKSRC} && \
mv ../naxsi-* naxsi
.endif
.if ${FLAVOR:Mlua}
cd ${WRKSRC} && \
mv ../ngx_devel_kit-* ngx_devel_kit && \
mv ../lua-nginx-module-${LUAV} lua-nginx-module
.endif
mv ../lua-nginx-module-* lua-nginx-module
pre-configure:
@cd ${WRKSRC} && ${SUBST_CMD} ${SUBSTFILES}
@ -140,7 +165,16 @@ do-install:
fastcgi_params scgi_params uwsgi_params
${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/share/nginx/
.endfor
${INSTALL_DATA} ${WRKSRC}/naxsi/naxsi_config/naxsi_core.rules \
${PREFIX}/share/nginx/
${INSTALL_DATA_DIR} ${PREFIX}/share/nginx/html/
${INSTALL_DATA} ${WRKSRC}/html/* ${PREFIX}/share/nginx/html/
${INSTALL_DATA_DIR} ${WRKINST}/var/www/modules/
${INSTALL_DATA} ${WRKSRC}/objs/*.so ${WRKINST}/var/www/modules/
${INSTALL_DATA_DIR} ${PREFIX}/libdata/perl5/site_perl/${ARCH}-openbsd/auto/
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
${PREFIX}/libdata/perl5/site_perl/${ARCH}-openbsd/
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \
${PREFIX}/libdata/perl5/site_perl/${ARCH}-openbsd/
.include <bsd.port.mk>

View File

@ -1,10 +1,10 @@
SHA256 (lua-nginx-module-0.9.20.tar.gz) = ZxYAHhOH4PZZECZge33suQZ6hYlqjOPeyUGH3U5nkBQ=
SHA256 (naxsi-0.53-2.tar.gz) = Pq3/HZGZW+rkG5JzOt4oCRwgdaJK43BY9NaqkLD0tmA=
SHA256 (lua-nginx-module-v0.10.6.tar.gz) = uYxPZIWJu/Piw9X9GGZOen74msCD6WyOmE+pGeenwHM=
SHA256 (naxsi-0.55.1.tar.gz) = Rd0N96awtqqcZOuMOajilNZZ2H+xjhks9Y8UAvPNsKg=
SHA256 (nginx-1.10.2-chroot.patch) = PJF/2hg+WkMNlTXBhipDffH/v+46fm4zNqHFy7O6hzw=
SHA256 (nginx-1.10.2.tar.gz) = EEWsSYejluL6XQAR2viYe2Et0vBRgbZ1B9poy+fXZcI=
SHA256 (ngx_devel_kit-0.2.19.tar.gz) = UB8pmr24G5kqmAvaGC5d5aSys+J1+/cu403XroTEtnk=
SIZE (lua-nginx-module-0.9.20.tar.gz) = 547564
SIZE (naxsi-0.53-2.tar.gz) = 165690
SHA256 (ngx_devel_kit-v0.3.0.tar.gz) = iOBamainQZBm9a51lm+x78QJutRSLRSYbaB0VUrmFhk=
SIZE (lua-nginx-module-v0.10.6.tar.gz) = 597217
SIZE (naxsi-0.55.1.tar.gz) = 185997
SIZE (nginx-1.10.2-chroot.patch) = 8196
SIZE (nginx-1.10.2.tar.gz) = 910812
SIZE (ngx_devel_kit-0.2.19.tar.gz) = 65029
SIZE (ngx_devel_kit-v0.3.0.tar.gz) = 66455

View File

@ -1,46 +0,0 @@
$OpenBSD: lua-lua-nginx-module_src_ngx_http_lua_socket_udp_c,v 1.1 2016/02/27 12:47:32 robert Exp $
--- lua-nginx-module/src/ngx_http_lua_socket_udp.c.orig Sun Dec 20 06:43:48 2015
+++ lua-nginx-module/src/ngx_http_lua_socket_udp.c Sat Feb 27 13:44:35 2016
@@ -54,7 +54,7 @@ static void ngx_http_lua_socket_udp_read_handler(ngx_h
ngx_http_lua_socket_udp_upstream_t *u);
static void ngx_http_lua_socket_udp_handle_success(ngx_http_request_t *r,
ngx_http_lua_socket_udp_upstream_t *u);
-static ngx_int_t ngx_http_lua_udp_connect(ngx_udp_connection_t *uc);
+static ngx_int_t ngx_http_lua_udp_connect(ngx_http_lua_udp_connection_t *uc);
static int ngx_http_lua_socket_udp_close(lua_State *L);
static ngx_int_t ngx_http_lua_socket_udp_resume(ngx_http_request_t *r);
static void ngx_http_lua_udp_resolve_cleanup(void *data);
@@ -169,10 +169,10 @@ ngx_http_lua_socket_udp_setpeername(lua_State *L)
ngx_url_t url;
ngx_int_t rc;
ngx_http_lua_loc_conf_t *llcf;
- ngx_udp_connection_t *uc;
int timeout;
ngx_http_lua_co_ctx_t *coctx;
+ ngx_http_lua_udp_connection_t *uc;
ngx_http_lua_socket_udp_upstream_t *u;
/*
@@ -640,11 +640,11 @@ ngx_http_lua_socket_resolve_retval_handler(ngx_http_re
{
ngx_http_lua_ctx_t *ctx;
ngx_http_lua_co_ctx_t *coctx;
- ngx_udp_connection_t *uc;
ngx_connection_t *c;
ngx_http_cleanup_t *cln;
ngx_http_upstream_resolved_t *ur;
ngx_int_t rc;
+ ngx_http_lua_udp_connection_t *uc;
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"lua udp socket resolve retval handler");
@@ -1346,7 +1346,7 @@ ngx_http_lua_socket_udp_handle_success(ngx_http_reques
static ngx_int_t
-ngx_http_lua_udp_connect(ngx_udp_connection_t *uc)
+ngx_http_lua_udp_connect(ngx_http_lua_udp_connection_t *uc)
{
int rc;
ngx_int_t event;

View File

@ -1,28 +0,0 @@
$OpenBSD: lua-lua-nginx-module_src_ngx_http_lua_socket_udp_h,v 1.1 2016/02/27 12:47:32 robert Exp $
--- lua-nginx-module/src/ngx_http_lua_socket_udp.h.orig Sun Dec 20 06:43:48 2015
+++ lua-nginx-module/src/ngx_http_lua_socket_udp.h Sat Feb 27 13:44:35 2016
@@ -24,6 +24,15 @@ typedef void (*ngx_http_lua_socket_udp_upstream_handle
ngx_http_request_t *r, ngx_http_lua_socket_udp_upstream_t *u);
+typedef struct {
+ ngx_connection_t *connection;
+ struct sockaddr *sockaddr;
+ socklen_t socklen;
+ ngx_str_t server;
+ ngx_log_t log;
+} ngx_http_lua_udp_connection_t;
+
+
struct ngx_http_lua_socket_udp_upstream_s {
ngx_http_lua_socket_udp_retval_handler prepare_retvals;
ngx_http_lua_socket_udp_upstream_handler_pt read_event_handler;
@@ -31,7 +40,7 @@ struct ngx_http_lua_socket_udp_upstream_s {
ngx_http_lua_loc_conf_t *conf;
ngx_http_cleanup_pt *cleanup;
ngx_http_request_t *request;
- ngx_udp_connection_t udp_connection;
+ ngx_http_lua_udp_connection_t udp_connection;
ngx_msec_t read_timeout;

View File

@ -1,13 +1,15 @@
$OpenBSD: patch-conf_nginx_conf,v 1.7 2014/08/26 19:43:59 robert Exp $
--- conf/nginx.conf.orig Tue Aug 5 13:13:06 2014
+++ conf/nginx.conf Sat Aug 23 13:24:52 2014
@@ -1,30 +1,33 @@
$OpenBSD: patch-conf_nginx_conf,v 1.8 2016/11/04 22:13:43 jeremy Exp $
--- conf/nginx.conf.orig Tue Oct 18 17:03:13 2016
+++ conf/nginx.conf Thu Nov 3 14:30:06 2016
@@ -1,30 +1,35 @@
+# Take note of http://wiki.nginx.org/Pitfalls
-#user nobody;
+#user www;
worker_processes 1;
+#load_module "modules/ngx_stream_module.so";
+
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
@ -39,7 +41,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.7 2014/08/26 19:43:59 robert Exp $
#tcp_nopush on;
#keepalive_timeout 0;
@@ -32,41 +35,49 @@ http {
@@ -32,41 +37,49 @@ http {
#gzip on;
@ -99,7 +101,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.7 2014/08/26 19:43:59 robert Exp $
# include fastcgi_params;
#}
@@ -85,33 +96,26 @@ http {
@@ -85,33 +98,26 @@ http {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;

View File

@ -1,31 +0,0 @@
This is the stable branch of nginx, as distributed by nginx.org.
nginx provides FastCGI and reverse HTTP proxying, with or without caching,
including simple load balancing and fault tolerance.
It has a modular architecture. Filters include gzipping, byte ranges,
chunked responses, and SSI. Multiple SSI inclusions within a single page
can be processed in parallel if they are handled by FastCGI or proxied
servers. SSL and TLS SNI are supported.
The mail proxy features user redirection to IMAP/POP3/SMTP backends
using an external HTTP authentication server, including SSL/STARTTLS
support and a range of authentication methods.
Available FLAVORs:
lua - This Nginx module embeds the Lua 5.1 interpreter or LuaJIT 2.0
into the nginx core and integrates the powerful Lua threads (aka Lua
coroutines) into the nginx event model by means of nginx subrequests.
mailproxy - enables the mail proxy features of nginx (specifically
the mail_pop3_module, the mail_imap_module, and the mail_smtp_module).
naxsi - This Nginx module embeds Naxsi into nginx core. Naxsi is
a high performance, low rules maintenance, Web Application Firewall module.
passenger - Phusion Passenger(R) a.k.a. mod_rails or mod_rack makes
deployment of Ruby web applications, such as those built on the revolutionary
Ruby on Rails web framework, a breeze. It follows the usual Ruby on Rails
conventions, such as "Don't-Repeat-Yourself".

View File

@ -0,0 +1,2 @@
The ngx_http_geoip_module module creates variables with values depending on
the client IP address, using the precompiled MaxMind databases.

View File

@ -0,0 +1,2 @@
The ngx_http_image_filter_module module is a filter that transforms images in
JPEG, GIF, PNG, and WebP formats.

5
www/nginx/pkg/DESCR-lua Normal file
View File

@ -0,0 +1,5 @@
The ngx_lua_module embeds the power of Lua into Nginx HTTP Servers.
Also includes ngx_devel_kit (NDK) The NDK is an Nginx module that is designed to
extend the core functionality of the excellent Nginx webserver in a way that can
be used as a basis of other Nginx modules.

View File

@ -0,0 +1,4 @@
The nginx mailproxy module enables the mail proxy features of nginx. It
allows for user redirection to IMAP/POP3/SMTP backends using an external
HTTP authentication server, including SSL/STARTTLS support and a range of
authentication methods.

9
www/nginx/pkg/DESCR-main Normal file
View File

@ -0,0 +1,9 @@
This is the stable branch of nginx, as distributed by nginx.org.
nginx provides FastCGI and reverse HTTP proxying, with or without caching,
including simple load balancing and fault tolerance.
It has a modular architecture. Filters include gzipping, byte ranges,
chunked responses, and SSI. Multiple SSI inclusions within a single page
can be processed in parallel if they are handled by FastCGI or proxied
servers. SSL and TLS SNI are supported.

15
www/nginx/pkg/DESCR-naxsi Normal file
View File

@ -0,0 +1,15 @@
NAXSI means Nginx Anti XSS & SQL Injection.
The nginx nasxi module, by default, reads a small subset of simple (and
readable) rules containing 99% of known patterns involved in website
vulnerabilities. For example, <, | or drop are not supposed to be part of a URI.
Being very simple, those patterns may match legitimate queries, it is the
Naxsi's administrator duty to add specific rules that will whitelist legitimate
behaviours. The administrator can either add whitelists manually by analyzing
nginx's error log, or (recommended) start the project with an intensive
auto-learning phase that will automatically generate whitelisting rules
regarding a website's behaviour.
In short, Naxsi behaves like a DROP-by-default firewall, the only task is to add
required ACCEPT rules for the target website to work properly.

View File

@ -0,0 +1,13 @@
This is the nginx module adding support for Phusion Passenger.
Phusion Passenger is a web server and application server, designed to be fast,
robust and lightweight. It takes a lot of complexity out of deploying web apps,
adds powerful enterprise-grade features that are useful in production, and makes
administration much easier and less complex. Phusion Passenger supports Ruby,
Python, Node.js and Meteor, and is being used by high-profile companies such as
Apple, Pixar, New York Times, AirBnB, Juniper etc as well as over 350.000
websites.
What makes it so fast and reliable is its C++ core, its zero-copy architecture,
its watchdog system and its hybrid evented, multi-threaded and multi-process
design.

2
www/nginx/pkg/DESCR-perl Normal file
View File

@ -0,0 +1,2 @@
The ngx_http_perl_module module is used to implement location and variable
handlers in Perl and insert Perl calls into SSI.

View File

@ -0,0 +1 @@
The nginx stream module includes support for proxying raw TCP/UDP traffic.

2
www/nginx/pkg/DESCR-xslt Normal file
View File

@ -0,0 +1,2 @@
The ngx_http_xslt_module is a filter that transforms XML responses using one
or more XSLT stylesheets.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-geoip,v 1.1 2016/11/04 22:13:43 jeremy Exp $
ngx_http_geoip_module.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-image_filter,v 1.1 2016/11/04 22:13:43 jeremy Exp $
ngx_http_image_filter_module.so

3
www/nginx/pkg/PLIST-lua Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-lua,v 1.1 2016/11/04 22:13:43 jeremy Exp $
ndk_http_module.so
ngx_http_lua_module.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-mailproxy,v 1.1 2016/11/04 22:13:43 jeremy Exp $
ngx_mail_module.so

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.16 2014/10/23 12:13:12 sthen Exp $
@pkgpath www/nginx/stable${FLAVOR_COMMA}
@pkgpath www/nginx/devel${FLAVOR_COMMA}
@comment $OpenBSD: PLIST-main,v 1.1 2016/11/04 22:13:43 jeremy Exp $
@pkgpath www/nginx/stable
@pkgpath www/nginx/devel
@pkgpath www/nginx
@man man/man8/nginx.8
@bin sbin/nginx
@mode 700

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-naxsi,v 1.1 2016/11/04 22:13:43 jeremy Exp $
share/nginx/naxsi_core.rules
@sample ${SYSCONFDIR}/nginx/naxsi_core.rules
@cwd /var/www/modules
ngx_http_naxsi_module.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-passenger,v 1.1 2016/11/04 22:13:43 jeremy Exp $
ngx_http_passenger_module.so

5
www/nginx/pkg/PLIST-perl Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-perl,v 1.1 2016/11/04 22:13:43 jeremy Exp $
libdata/perl5/site_perl/${ARCH}-openbsd/nginx.pm
libdata/perl5/site_perl/${ARCH}-openbsd/nginx.so
@cwd /var/www/modules
ngx_http_perl_module.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-stream,v 1.1 2016/11/04 22:13:43 jeremy Exp $
ngx_stream_module.so

2
www/nginx/pkg/PLIST-xslt Normal file
View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-xslt,v 1.1 2016/11/04 22:13:43 jeremy Exp $
ngx_http_xslt_filter_module.so

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.3 2014/09/09 13:48:28 sthen Exp $
$OpenBSD: README-main,v 1.1 2016/11/04 22:13:43 jeremy Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD