From b79da435db192419fcc814eee65c0b601778b39c Mon Sep 17 00:00:00 2001 From: osa Date: Thu, 7 Jun 2012 01:09:44 +0000 Subject: Add third-party slow module, v.0.9.6, http://code.google.com/p/nginx-sflow-module/. Do not bump PORTREVISION because this module is disabled by default. --- www/nginx-devel/Makefile | 10 ++++++++++ www/nginx-devel/distinfo | 2 ++ www/nginx-devel/files/extra-patch-ngx_http_sflow_config.c | 10 ++++++++++ www/nginx/Makefile | 10 ++++++++++ www/nginx/distinfo | 2 ++ www/nginx/files/extra-patch-ngx_http_sflow_config.c | 10 ++++++++++ 6 files changed, 44 insertions(+) create mode 100644 www/nginx-devel/files/extra-patch-ngx_http_sflow_config.c create mode 100644 www/nginx/files/extra-patch-ngx_http_sflow_config.c (limited to 'www') diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 7d0d9a71fc5f..7fbc4b117377 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -91,6 +91,7 @@ OPTIONS_DEFINE= \ REDIS2 \ RTMP \ SET_MISC \ + SFLOW \ SLOWFS_CACHE \ SRCACHE \ SUPERVISORD \ @@ -174,6 +175,7 @@ RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module 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 SRCACHE_DESC= 3rd party srcache module SUPERVISORD_DESC= 3rd party supervisord module @@ -680,6 +682,14 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-set-misc-nginx-module-${GIT_SET_M EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-agentzh-set-misc-nginx-module::config .endif +.if ${PORT_OPTIONS:MSFLOW} +NGINX_SFLOW_VERSION= 0.9.6 +MASTER_SITES+= http://nginx-sflow-module.googlecode.com/files/:sflow +DISTFILES+= nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow +CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION} +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c +.endif + .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.8 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index 4c70f7025f7d..d9ce5e089e4a 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -82,6 +82,8 @@ SHA256 (arut-rtmp-nginx-module-v0.1.5-0-gd216f3d.tar.gz) = 3ae7fa0f72d0576e4e959 SIZE (arut-rtmp-nginx-module-v0.1.5-0-gd216f3d.tar.gz) = 942171 SHA256 (agentzh-set-misc-nginx-module-v0.22rc8-0-g658c235.tar.gz) = 7ade6dc6d18b5ab3c2e21a4a1139359e351525ac03f34e2508e5704f157024bd SIZE (agentzh-set-misc-nginx-module-v0.22rc8-0-g658c235.tar.gz) = 37053 +SHA256 (nginx-sflow-module-0.9.6.tar.gz) = 5e80d1f8e5ba0963445d8245e09de0cf289936ae9feecb11c5e3a77d021f1ad0 +SIZE (nginx-sflow-module-0.9.6.tar.gz) = 27758 SHA256 (ngx_slowfs_cache-1.8.tar.gz) = 3ab8aa47912a3f7a07cda0a4fbf6d2e870b9c9cbf5477014ac109001cdcb3644 SIZE (ngx_slowfs_cache-1.8.tar.gz) = 11408 SHA256 (agentzh-srcache-nginx-module-v0.13rc8-0-g5237f26.tar.gz) = 2cb76adb4cf20079b44cf951f6a7fa480265878d65a6def2ae4dc5deb17ed686 diff --git a/www/nginx-devel/files/extra-patch-ngx_http_sflow_config.c b/www/nginx-devel/files/extra-patch-ngx_http_sflow_config.c new file mode 100644 index 000000000000..f67a6f25eb58 --- /dev/null +++ b/www/nginx-devel/files/extra-patch-ngx_http_sflow_config.c @@ -0,0 +1,10 @@ +--- ../nginx-sflow-module-0.9.6/ngx_http_sflow_config.c.orig 2012-06-07 04:52:57.000000000 +0400 ++++ ../nginx-sflow-module-0.9.6/ngx_http_sflow_config.c 2012-06-07 04:59:18.000000000 +0400 +@@ -26,7 +26,6 @@ + ngx_log_error(NGX_LOG_ERR, log, 0, "getaddrinfo() failed: %s", gai_strerror(err)); + switch(err) { + case EAI_NONAME: break; +- case EAI_NODATA: break; + case EAI_AGAIN: break; // loop and try again? + default: ngx_log_error(NGX_LOG_ERR, log, 0, "getaddrinfo() error: %s", gai_strerror(err)); break; + } diff --git a/www/nginx/Makefile b/www/nginx/Makefile index 631a692d891e..d81bb535aaec 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -91,6 +91,7 @@ OPTIONS_DEFINE= \ REDIS2 \ RTMP \ SET_MISC \ + SFLOW \ SLOWFS_CACHE \ SRCACHE \ SUPERVISORD \ @@ -174,6 +175,7 @@ RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module 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 SRCACHE_DESC= 3rd party srcache module SUPERVISORD_DESC= 3rd party supervisord module @@ -678,6 +680,14 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-set-misc-nginx-module-${GIT_SET_M EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-agentzh-set-misc-nginx-module::config .endif +.if ${PORT_OPTIONS:MSFLOW} +NGINX_SFLOW_VERSION= 0.9.6 +MASTER_SITES+= http://nginx-sflow-module.googlecode.com/files/:sflow +DISTFILES+= nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow +CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION} +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c +.endif + .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.8 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache diff --git a/www/nginx/distinfo b/www/nginx/distinfo index b9304a10d0e8..ab0d28af560b 100644 --- a/www/nginx/distinfo +++ b/www/nginx/distinfo @@ -82,6 +82,8 @@ SHA256 (arut-rtmp-nginx-module-v0.1.5-0-gd216f3d.tar.gz) = 3ae7fa0f72d0576e4e959 SIZE (arut-rtmp-nginx-module-v0.1.5-0-gd216f3d.tar.gz) = 942171 SHA256 (agentzh-set-misc-nginx-module-v0.22rc8-0-g658c235.tar.gz) = 7ade6dc6d18b5ab3c2e21a4a1139359e351525ac03f34e2508e5704f157024bd SIZE (agentzh-set-misc-nginx-module-v0.22rc8-0-g658c235.tar.gz) = 37053 +SHA256 (nginx-sflow-module-0.9.6.tar.gz) = 5e80d1f8e5ba0963445d8245e09de0cf289936ae9feecb11c5e3a77d021f1ad0 +SIZE (nginx-sflow-module-0.9.6.tar.gz) = 27758 SHA256 (ngx_slowfs_cache-1.8.tar.gz) = 3ab8aa47912a3f7a07cda0a4fbf6d2e870b9c9cbf5477014ac109001cdcb3644 SIZE (ngx_slowfs_cache-1.8.tar.gz) = 11408 SHA256 (agentzh-srcache-nginx-module-v0.13rc8-0-g5237f26.tar.gz) = 2cb76adb4cf20079b44cf951f6a7fa480265878d65a6def2ae4dc5deb17ed686 diff --git a/www/nginx/files/extra-patch-ngx_http_sflow_config.c b/www/nginx/files/extra-patch-ngx_http_sflow_config.c new file mode 100644 index 000000000000..f67a6f25eb58 --- /dev/null +++ b/www/nginx/files/extra-patch-ngx_http_sflow_config.c @@ -0,0 +1,10 @@ +--- ../nginx-sflow-module-0.9.6/ngx_http_sflow_config.c.orig 2012-06-07 04:52:57.000000000 +0400 ++++ ../nginx-sflow-module-0.9.6/ngx_http_sflow_config.c 2012-06-07 04:59:18.000000000 +0400 +@@ -26,7 +26,6 @@ + ngx_log_error(NGX_LOG_ERR, log, 0, "getaddrinfo() failed: %s", gai_strerror(err)); + switch(err) { + case EAI_NONAME: break; +- case EAI_NODATA: break; + case EAI_AGAIN: break; // loop and try again? + default: ngx_log_error(NGX_LOG_ERR, log, 0, "getaddrinfo() error: %s", gai_strerror(err)); break; + } -- cgit 941'>databases/postgresql-jdbc
Commit message (Expand)AuthorAgeFilesLines
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* Updating to 8.3.603girgen2008-02-274-11/+14
* Update to 8.2.505girgen2007-06-252-5/+5
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Fix pkg-listgirgen2007-01-112-1/+2
* Update to 8.2.504. See changelog atgirgen2006-12-273-33/+4
* Update to 8.1-407girgen2006-05-242-4/+4
* Remove USE_REINPLACE from all categories starting with Dedwin2006-05-051-1/+0
* eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-3/+3
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-1/+1
* Honor EXAMPLESDIR and JAVAJARDIR.girgen2005-11-103-9/+7
* Update to 8.1.404girgen2005-11-102-3/+4
* Update to 8.0.311.girgen2005-04-122-3/+3
* Update JDBC support to version 8.0 (build 310).girgen2005-02-116-29/+80
* In order to address a potential security hole recently identified withgirgen2005-02-031-1/+1
* Bump portrevisiongirgen2005-01-311-1/+1
* Split the postgresql ports into a server and a client part.girgen2005-01-314-58/+13
* Add myself as committer, and use my @FreeBSD.org address.girgen2004-12-061-1/+1
* Fix patching error.linimon2004-09-031-5/+5
* Upgrade to 7.4.3.vanilla2004-06-291-1/+1
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-1/+1
* Use PAX macro.trevor2004-01-221-1/+1
* Introduce the world to PostgreSQL 7.4! By and large this release isseanc2003-12-042-19/+15
* Use new depends scheme for postgresql slave ports:osa2003-09-042-27/+34
* Port devel/jakarta-ant was renamed to devel/apache-ant.znerd2003-07-231-1/+1
* postgresql slave ports, reduce unnecessary portrevision bumpsdaichi2003-06-191-0/+1
* Update to 7.3.3.nork2003-06-021-1/+0
* Fix for ports/47866, ports/48610 & ports/46768.znerd2003-03-282-0/+12
* Clear moonlight beckons.ade2003-03-072-1/+1
* Update PostgreSQL JDBC for 7.3.1.seanc2003-01-052-19/+14