Bug 174423 - [PATCH] www/nginx: Add module
Summary: [PATCH] www/nginx: Add module
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey A. Osokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 22:50 UTC by kimor79
Modified: 2013-02-19 17:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.33 KB, patch)
2012-12-13 22:50 UTC, kimor79
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kimor79 2012-12-13 22:50:00 UTC
This adds the Wandenberg push_stream module to nginx (as an option).

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-13 22:50:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-19 17:37:12 UTC
Author: osa
Date: Tue Feb 19 17:36:55 2013
New Revision: 312593
URL: http://svnweb.freebsd.org/changeset/ports/312593

Log:
  Add third-party http_push_stream module.
  
  PR:	174423

Modified:
  head/www/nginx-devel/Makefile
  head/www/nginx-devel/distinfo
  head/www/nginx/Makefile
  head/www/nginx/distinfo

Modified: head/www/nginx-devel/Makefile
==============================================================================
--- head/www/nginx-devel/Makefile	Tue Feb 19 17:31:34 2013	(r312592)
+++ head/www/nginx-devel/Makefile	Tue Feb 19 17:36:55 2013	(r312593)
@@ -63,6 +63,7 @@ OPTIONS_DEFINE=	\
 	HTTP_MOGILEFS \
 	HTTP_NOTICE \
 	HTTP_PUSH \
+	HTTP_PUSH_STREAM \
 	HTTP_REDIS \
 	HTTP_RESPONSE \
 	HTTP_SUBS_FILTER \
@@ -150,6 +151,7 @@ HTTP_MOGILEFS_DESC=		3rd party mogilefs 
 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
@@ -445,6 +447,15 @@ DISTFILES+=	nginx_http_push_module-${NGI
 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

Modified: head/www/nginx-devel/distinfo
==============================================================================
--- head/www/nginx-devel/distinfo	Tue Feb 19 17:31:34 2013	(r312592)
+++ head/www/nginx-devel/distinfo	Tue Feb 19 17:36:55 2013	(r312593)
@@ -34,6 +34,8 @@ SHA256 (kr-nginx-notice-0-g3c95966.tar.g
 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

Modified: head/www/nginx/Makefile
==============================================================================
--- head/www/nginx/Makefile	Tue Feb 19 17:31:34 2013	(r312592)
+++ head/www/nginx/Makefile	Tue Feb 19 17:36:55 2013	(r312593)
@@ -63,6 +63,7 @@ OPTIONS_DEFINE=	\
 	HTTP_MOGILEFS \
 	HTTP_NOTICE \
 	HTTP_PUSH \
+	HTTP_PUSH_STREAM \
 	HTTP_REDIS \
 	HTTP_RESPONSE \
 	HTTP_SUBS_FILTER \
@@ -150,6 +151,7 @@ HTTP_MOGILEFS_DESC=		3rd party mogilefs 
 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
@@ -449,6 +451,15 @@ DISTFILES+=	nginx_http_push_module-${NGI
 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

Modified: head/www/nginx/distinfo
==============================================================================
--- head/www/nginx/distinfo	Tue Feb 19 17:31:34 2013	(r312592)
+++ head/www/nginx/distinfo	Tue Feb 19 17:36:55 2013	(r312593)
@@ -36,6 +36,8 @@ SHA256 (kr-nginx-notice-0-g3c95966.tar.g
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Sergey A. Osokin freebsd_committer freebsd_triage 2013-02-19 17:37:52 UTC
State Changed
From-To: open->closed

Committed, thanks!