aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2009-04-07 18:14:16 +0800
committerosa <osa@FreeBSD.org>2009-04-07 18:14:16 +0800
commitab0a0ce751e3f3af3880eaddceba29f978d662e6 (patch)
tree5cd656242fe1de441c0c4fa2b2af0c824b2fb1fa /www
parenta3aa17ae9d07f12d87858da628576fe5c3edad0a (diff)
downloadfreebsd-ports-gnome-ab0a0ce751e3f3af3880eaddceba29f978d662e6.tar.gz
freebsd-ports-gnome-ab0a0ce751e3f3af3880eaddceba29f978d662e6.tar.zst
freebsd-ports-gnome-ab0a0ce751e3f3af3880eaddceba29f978d662e6.zip
Merge support for third-party upstream fair module from www/nginx-devel.
Do not bump PORTREVISION. Requested by: Gergely CZUCZY <gergely.czuczy@harmless.hu>
Diffstat (limited to 'www')
-rw-r--r--www/nginx/Makefile9
-rw-r--r--www/nginx/distinfo3
2 files changed, 12 insertions, 0 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index b84d4ced7fa4..a9056724d61e 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -30,6 +30,7 @@ OPTIONS= DEBUG "Enable nginx debugging" off \
HTTP_SSL_MODULE "Enable http_ssl module" off \
HTTP_STATUS_MODULE "Enable http_stub_status module" on \
HTTP_SUB_MODULE "Enable http_sub module" off \
+ HTTP_UPSTREAM_FAIR "Enable upstream fair module" off \
MAIL_MODULE "Enable IMAP4/POP3/SMTP proxy module" off \
MAIL_IMAP_MODULE "Enable IMAP4 proxy module" off \
MAIL_POP3_MODULE "Enable POP3 proxy module" off \
@@ -128,6 +129,14 @@ CONFIGURE_ARGS+=--with-http_stub_status_module
CONFIGURE_ARGS+=--with-http_sub_module
.endif
+.if defined(WITH_HTTP_UPSTREAM_FAIR)
+NGINX_UPSTREAM_FAIR_VERSION= 20081012
+MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:upstreamfair/}
+MASTER_SITE_SUBDIR+= osa/:upstreamfair
+DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}
+.endif
+
.if defined(WITHOUT_HTTP_REWRITE_MODULE) || defined(WITHOUT_PCRE)
PKGNAMESUFFIX+= -nopcre
CONFIGURE_ARGS+=--without-http_rewrite_module \
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 44d4a03d902a..682076baaa2b 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -4,3 +4,6 @@ SIZE (nginx-0.6.36.tar.gz) = 528425
MD5 (nginx-accesskey-2.0.3.tar.gz) = 9b5304346d5139b1841f5baa01ab0cbe
SHA256 (nginx-accesskey-2.0.3.tar.gz) = d9e94321e78a02de16c57f3e048fd31059fd8116ed03d6de7180f435c52502b1
SIZE (nginx-accesskey-2.0.3.tar.gz) = 2632
+MD5 (nginx_upstream_fair-20081012.tar.gz) = 1f7b4f3e47c32f89afac59fa60381dc4
+SHA256 (nginx_upstream_fair-20081012.tar.gz) = 4c2bd957168008e5b2397fad49824ca70f3685cf884e8d1be45d56c8e3bbe88c
+SIZE (nginx_upstream_fair-20081012.tar.gz) = 10021