Date: Thu, 13 Dec 2012 22:49:53 GMT From: Kimo <kimor79@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/174423: [PATCH] www/nginx: Add module Message-ID: <201212132249.qBDMnrX2040109@red.freebsd.org> Resent-Message-ID: <201212132250.qBDMo0bd094326@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174423 >Category: ports >Synopsis: [PATCH] www/nginx: Add module >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 13 22:50:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Kimo >Release: 9.0-RELEASE >Organization: >Environment: >Description: This adds the Wandenberg push_stream module to nginx (as an option). >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/nginx/Makefile b/www/nginx/Makefile index f64eee6..b796de2 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -64,6 +64,7 @@ OPTIONS_DEFINE= \ HTTP_MOGILEFS \ HTTP_NOTICE \ HTTP_PUSH \ + HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_SUBS_FILTER \ @@ -149,6 +150,7 @@ HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_MP4_H264_DESC= 3rd party mp4/h264 module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module +HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_SUBS_FILTER_DESC= 3rd party subs filter module @@ -431,6 +433,15 @@ DISTFILES+= nginx_http_push_module-${NGINX_PUSH_VERSION}.tar.gz:push CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_http_push_module-${NGINX_PUSH_VERSION} .endif +.if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} +NGINX_PUSH_STREAM_VERSION= 0.3.4 +GIT_PUSH_STREAM_VERSION= 0-g28d9df7 +FETCH_ARGS= -pRr +MASTER_SITES+= https://github.com/wandenberg/nginx-push-stream-module/tarball/${NGINX_PUSH_STREAM_VERSION}/:pushstream +DISTFILES+= wandenberg-nginx-push-stream-module-${NGINX_PUSH_STREAM_VERSION}-${GIT_PUSH_STREAM_VERSION}.tar.gz:pushstream +CONFIGURE_ARGS+=--add-module=${WRKDIR}/wandenberg-nginx-push-stream-module-${GIT_PUSH_STREAM_VERSION:S/^0-g//} +.endif + .if ${PORT_OPTIONS:MHTTP_RANDOM_INDEX} CONFIGURE_ARGS+=--with-http_random_index_module .endif diff --git a/www/nginx/distinfo b/www/nginx/distinfo index 6b31937..2f9c2b3 100644 --- a/www/nginx/distinfo +++ b/www/nginx/distinfo @@ -32,6 +32,8 @@ SHA256 (kr-nginx-notice-0-g3c95966.tar.gz) = bb0b8c603b2df206aeb13100fb60c1328aa SIZE (kr-nginx-notice-0-g3c95966.tar.gz) = 3348 SHA256 (nginx_http_push_module-0.692.tar.gz) = 64868708071aa21dbc4c7a07d149dd6ec9108fb7eaf2aad5ad069406151f17fe SIZE (nginx_http_push_module-0.692.tar.gz) = 29119 +SHA256 (wandenberg-nginx-push-stream-module-0.3.4-0-g28d9df7.tar.gz) = 2edd95d0e03292cfd9f294ea788c563e4b06fbe8db67eec20307dd0c4577361b +SIZE (wandenberg-nginx-push-stream-module-0.3.4-0-g28d9df7.tar.gz) = 154415 SHA256 (ngx_http_redis-0.3.6.tar.gz) = 9e5d8c0f1317a6910710c94d27f9aca4968c48ee1de271e5034525a1e9b6c70e SIZE (ngx_http_redis-0.3.6.tar.gz) = 12099 SHA256 (ngx_http_response-0.3.tar.gz) = 0835584029f053051c624adbe33a826ab0205c9d85a02af6019e6b57607e9045 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212132249.qBDMnrX2040109>