aboutsummaryrefslogtreecommitdiff
path: root/www/nginx-devel
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2011-12-12 19:46:36 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2011-12-12 19:46:36 +0000
commit89cd36ea3e2a7c9f0c245725d90e42c7e99d4bfa (patch)
tree5d3d46da1a8ce1a92df77c6dadf07299382f2b25 /www/nginx-devel
parentd116a4ddc09711d8d2983385d096679d3f500c92 (diff)
downloadports-89cd36ea3e2a7c9f0c245725d90e42c7e99d4bfa.tar.gz
ports-89cd36ea3e2a7c9f0c245725d90e42c7e99d4bfa.zip
Notes
Diffstat (limited to 'www/nginx-devel')
-rw-r--r--www/nginx-devel/Makefile3
-rw-r--r--www/nginx-devel/distinfo4
-rw-r--r--www/nginx-devel/files/extra-patch-src:core:ngx_regex.c26
3 files changed, 30 insertions, 3 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 9424cd71c024..676ea798bdd8 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nginx
-PORTVERSION= 1.1.9
+PORTVERSION= 1.1.11
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
@@ -340,6 +340,7 @@ MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:subs_filter/}
MASTER_SITE_SUBDIR+= osa/:subs_filter
DISTFILES+= ngx_http_subs_filter_module-${NGINX_HTTP_SUBS_FILTER_MODULE_VERSION}.tar.gz:subs_filter
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_subs_filter_module-${NGINX_HTTP_SUBS_FILTER_MODULE_VERSION}
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src:core:ngx_regex.c
.endif
.if defined(WITH_HTTP_SECURE_LINK_MODULE)
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index e3f6c3329749..e6becb4e73cc 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -1,5 +1,5 @@
-SHA256 (nginx-1.1.9.tar.gz) = d3c87524563e1b85860888686a6cb6d3421861aac686d3d8daf1cfe48bee6d35
-SIZE (nginx-1.1.9.tar.gz) = 701459
+SHA256 (nginx-1.1.11.tar.gz) = 0350274c7b072293f98166a44597e7dddd2c249a1be6bfbeafd97868f49b01a1
+SIZE (nginx-1.1.11.tar.gz) = 704239
SHA256 (giom-nginx_accept_language_module-02262ce.tar.gz) = 3191f4caa70d9a8942c4f10b6abaaa96af451991d4b5e1e3d7b991376b00bf0c
SIZE (giom-nginx_accept_language_module-02262ce.tar.gz) = 3398
SHA256 (nginx-accesskey-2.0.3.tar.gz) = d9e94321e78a02de16c57f3e048fd31059fd8116ed03d6de7180f435c52502b1
diff --git a/www/nginx-devel/files/extra-patch-src:core:ngx_regex.c b/www/nginx-devel/files/extra-patch-src:core:ngx_regex.c
new file mode 100644
index 000000000000..fd54148d9ae8
--- /dev/null
+++ b/www/nginx-devel/files/extra-patch-src:core:ngx_regex.c
@@ -0,0 +1,26 @@
+--- src/core/ngx_regex.c 2011-12-06 19:49:40.000000000 +0400
++++ src/core/ngx_regex.c 2009-11-17 13:24:45.000000000 +0300
+@@ -137,6 +137,23 @@
+
+
+ ngx_int_t
++ngx_regex_capture_count(ngx_regex_t *re)
++{
++ int rc, n;
++
++ n = 0;
++
++ rc = pcre_fullinfo(re, NULL, PCRE_INFO_CAPTURECOUNT, &n);
++
++ if (rc < 0) {
++ return (ngx_int_t) rc;
++ }
++
++ return (ngx_int_t) n;
++}
++
++
++ngx_int_t
+ ngx_regex_exec_array(ngx_array_t *a, ngx_str_t *s, ngx_log_t *log)
+ {
+ ngx_int_t n;