1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add third-party dynamic_upstream module, version 0.1.0.

This commit is contained in:
Sergey A. Osokin 2015-06-13 18:48:49 +00:00
parent 2f4bb2667a
commit dfb79292f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389478
2 changed files with 17 additions and 0 deletions

View File

@ -83,6 +83,7 @@ OPTIONS_DEFINE= \
HTTP_ZIP \
ARRAYVAR \
DRIZZLE \
DYNAMIC_UPSTREAM \
ENCRYPTSESSION \
FORMINPUT \
GRIDFS \
@ -173,6 +174,7 @@ HTTP_UPSTREAM_STICKY_DESC= 3rd party upstream sticky module
HTTP_ZIP_DESC= 3rd party http_zip module
ARRAYVAR_DESC= 3rd party array_var module
DRIZZLE_DESC= 3rd party drizzlie module
DYNAMIC_UPSTREAM_DESC= 3rd party dynamic_upstream module
ENCRYPTSESSION_DESC= 3rd party encrypted_session module
FORMINPUT_DESC= 3rd party form_input module
GRIDFS_DESC= 3rd party gridfs module
@ -563,6 +565,14 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config \
${PATCHDIR}/extra-patch-ngx_http_drizzle_util.c
.endif
.if ${PORT_OPTIONS:MDYNAMIC_UPSTREAM}
NGINX_DYNAMIC_UPSTREAM_VERSION= 0.1.0
GH_ACCOUNT+= cubicdaiya:dyn_upstream
GH_PROJECT+= ngx_dynamic_upstream:dyn_upstream
GH_TAGNAME+= v${NGINX_DYNAMIC_UPSTREAM_VERSION}:dyn_upstream
CONFIGURE_ARGS+=--add-module=${WRKSRC_dyn_upstream}
.endif
.if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MSET_MISC}
NGINX_DEVEL_KIT_VERSION= 0.2.19
GH_ACCOUNT+= simpl:devel_kit
@ -903,6 +913,11 @@ post-patch:
's!%%PREFIX%%!${LOCALBASE}!g' \
${WRKSRC_drizzle}/config
.endif
.if ${PORT_OPTIONS:MDYNAMIC_UPSTREAM}
@${REINPLACE_CMD} \
's!ngx_ngx_slab_alloc!ngx_slab_alloc!g' \
${WRKSRC_dyn_upstream}/src/ngx_inet_slab.c
.endif
# Respect CFLAGS by remove needless --std=c99 flag
.if ${PORT_OPTIONS:MGRIDFS}
@${REINPLACE_CMD} \

View File

@ -66,6 +66,8 @@ SHA256 (masterzen-nginx-upload-progress-module-v0.9.0_GH0.tar.gz) = 93e29b9b437a
SIZE (masterzen-nginx-upload-progress-module-v0.9.0_GH0.tar.gz) = 16990
SHA256 (openresty-drizzle-nginx-module-v0.1.8_GH0.tar.gz) = 5aa5a66568bb25af459d37547d14fc7867c970e4f90299895e1fad2cf20751a8
SIZE (openresty-drizzle-nginx-module-v0.1.8_GH0.tar.gz) = 58891
SHA256 (cubicdaiya-ngx_dynamic_upstream-v0.1.0_GH0.tar.gz) = 287c342c98d6f87667deca3ed673dc6de564f1716c9d604197d8c1b0344e0fa5
SIZE (cubicdaiya-ngx_dynamic_upstream-v0.1.0_GH0.tar.gz) = 10804
SHA256 (simpl-ngx_devel_kit-v0.2.19_GH0.tar.gz) = 501f299abdb81b992a980bda182e5de5a4b2b3e275fbf72ee34dd7ae84c4b679
SIZE (simpl-ngx_devel_kit-v0.2.19_GH0.tar.gz) = 65029
SHA256 (openresty-encrypted-session-nginx-module-v0.03_GH0.tar.gz) = 4d0da617b3122b145dd46ec8618c6248db79c992704b23ed78e01bddf14173d3