From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 13 22:50:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DED53DD8 for ; Thu, 13 Dec 2012 22:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B2C1C8FC1A for ; Thu, 13 Dec 2012 22:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBDMo0ei094327 for ; Thu, 13 Dec 2012 22:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBDMo0bd094326; Thu, 13 Dec 2012 22:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 13 Dec 2012 22:50:00 GMT Resent-Message-Id: <201212132250.qBDMo0bd094326@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kimo Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 617B6DD4 for ; Thu, 13 Dec 2012 22:49:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 300CD8FC19 for ; Thu, 13 Dec 2012 22:49:53 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBDMnrr5040110 for ; Thu, 13 Dec 2012 22:49:53 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qBDMnrX2040109; Thu, 13 Dec 2012 22:49:53 GMT (envelope-from nobody) Message-Id: <201212132249.qBDMnrX2040109@red.freebsd.org> Date: Thu, 13 Dec 2012 22:49:53 GMT From: Kimo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174423: [PATCH] www/nginx: Add module X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2012 22:50:00 -0000 >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: