summaryrefslogtreecommitdiff
path: root/www/nginx-devel
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2015-06-13 16:50:55 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2015-06-13 16:50:55 +0000
commit7d4f4da4319785ffb7d3bb33f6392c86d672f3fb (patch)
tree34e0cc7fa8d0e9682c68d92f74960c71c3a148c1 /www/nginx-devel
parent- Update to 0.413 (diff)
Add third-party small_light module, version 0.6.9.
PR: 185816
Notes
Notes: svn path=/head/; revision=389470
Diffstat (limited to 'www/nginx-devel')
-rw-r--r--www/nginx-devel/Makefile16
-rw-r--r--www/nginx-devel/distinfo2
2 files changed, 18 insertions, 0 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 14eeadf49109..00df99efb15a 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -100,6 +100,7 @@ OPTIONS_DEFINE= \
SET_MISC \
SFLOW \
SLOWFS_CACHE \
+ SMALL_LIGHT \
SRCACHE \
UDPLOG \
XRID_HEADER \
@@ -188,6 +189,7 @@ RTMP_DESC= 3rd party rtmp module
SET_MISC_DESC= 3rd party set_misc module
SFLOW_DESC= 3rd party sflow module
SLOWFS_CACHE_DESC= 3rd party slowfs_cache module
+SMALL_LIGHT_DESC= 3rd party small_light module
SRCACHE_DESC= 3rd party srcache module
UDPLOG_DESC= 3rd party udplog (syslog) module
XRID_HEADER_DESC= 3rd party x-rid header module
@@ -711,6 +713,17 @@ DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}
.endif
+.if ${PORT_OPTIONS:MSMALL_LIGHT}
+NGINX_SMALL_LIGHT_VERSION= 0.6.9
+LIB_DEPENDS+= libMagickCore-6.so:${PORTSDIR}/graphics/ImageMagick \
+ libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick \
+ libpcre.so:${PORTSDIR}/devel/pcre
+GH_ACCOUNT+= cubicdaiya:small_light
+GH_PROJECT+= ngx_small_light:small_light
+GH_TAGNAME+= v${NGINX_SMALL_LIGHT_VERSION}:small_light
+CONFIGURE_ARGS+=--add-module=${WRKSRC_small_light}
+.endif
+
.if ${PORT_OPTIONS:MSRCACHE}
NGINX_SRCACHE_VERSION= 0.29
GH_ACCOUNT+= openresty:srcache
@@ -922,6 +935,9 @@ pre-configure:
CC="${CC}" ./${CONFIGURE_SCRIPT} --enable-standalone-module && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} )
.endif
+.if ${PORT_OPTIONS:MSMALL_LIGHT}
+ ( cd ${WRKSRC_small_light} && ./setup )
+.endif
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index 2eb5c8669be1..832bfbbf80a6 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -90,6 +90,8 @@ SHA256 (arut-nginx-rtmp-module-v1.1.7_GH0.tar.gz) = 7922b0e3d5f3d9c4b275e4908cfb
SIZE (arut-nginx-rtmp-module-v1.1.7_GH0.tar.gz) = 519735
SHA256 (openresty-set-misc-nginx-module-v0.28_GH0.tar.gz) = cf06a976785446e0552beb1e11b8dff8a4973f7628935c4d2655812a03ceb60a
SIZE (openresty-set-misc-nginx-module-v0.28_GH0.tar.gz) = 35431
+SHA256 (cubicdaiya-ngx_small_light-v0.6.9_GH0.tar.gz) = 5d4e3d4fec3968ee57a5fa066118649e2b994b3f3a293896e62bf690b726b7fb
+SIZE (cubicdaiya-ngx_small_light-v0.6.9_GH0.tar.gz) = 51436
SHA256 (openresty-srcache-nginx-module-v0.29_GH0.tar.gz) = 3fa24ecc658864d5286df33914f73fc3b47e6dffcefd2abfa0c7f72ed158af20
SIZE (openresty-srcache-nginx-module-v0.29_GH0.tar.gz) = 58841
SHA256 (gabor-nginx-x-rid-header-0daa3cc_GH0.tar.gz) = de784142d867a35ecc5443fa347c2903af0935669cdf2eaa9274f5253aac2267