diff options
author | osa <osa@FreeBSD.org> | 2009-02-06 22:38:44 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2009-02-06 22:38:44 +0800 |
commit | c3e7adf1222d88f812c6655c78381385736dc6fe (patch) | |
tree | c0767a9591de4d2da78ebb1f701d97455f48e839 /www | |
parent | 0a151d8363ed440542d54984b1a31c294a50d662 (diff) | |
download | freebsd-ports-gnome-c3e7adf1222d88f812c6655c78381385736dc6fe.tar.gz freebsd-ports-gnome-c3e7adf1222d88f812c6655c78381385736dc6fe.tar.zst freebsd-ports-gnome-c3e7adf1222d88f812c6655c78381385736dc6fe.zip |
Merge support for accesskey module into stable version.
Do not bump PORTREVISION.
Spotted by: Andrey Belashkov <manager@capsida.net>
Diffstat (limited to 'www')
-rw-r--r-- | www/nginx/Makefile | 15 | ||||
-rw-r--r-- | www/nginx/distinfo | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile index a9dd9036ec42..4511925c41e5 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -11,6 +11,7 @@ CATEGORIES= www MASTER_SITES= http://sysoev.ru/nginx/ MASTER_SITES+= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= osa +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= osa@FreeBSD.org COMMENT= Robust and small WWW server @@ -18,6 +19,7 @@ COMMENT= Robust and small WWW server OPTIONS= DEBUG "Enable nginx debugging" off \ GOOGLE_PERFTOOLS "Enable google perftools module" off \ HTTP_MODULE "Enable HTTP module" on \ + HTTP_ACCESSKEY_MODULE "Enable http_accesskey module" off \ HTTP_ADDITION_MODULE "Enable http_addition module" off \ HTTP_DAV_MODULE "Enable http_webdav module" off \ HTTP_FLV_MODULE "Enable http_flv module" off \ @@ -76,6 +78,14 @@ CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-log-path=${NGINX_LOGDIR}/nginx-access.log +.if defined(WITH_HTTP_ACCESSKEY_MODULE) +NGINX_ACCESSKEY_MODULE_VERSION= 2.0.3 +MASTER_SITES+= ${MASTER_SITE_LOCAL}:accesskey +MASTER_SITE_SUBDIR= osa:accesskey +DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}.tar.gz:accesskey +CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION} +.endif + .if defined(WITH_HTTP_ADDITION_MODULE) CONFIGURE_ARGS+=--with-http_addition_module .endif @@ -157,6 +167,11 @@ post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!' \ ${WRKSRC}/conf/nginx.conf +.if defined(WITH_HTTP_ACCESSKEY_MODULE) + @${REINPLACE_CMD} \ + 's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \ + ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}/config +.endif do-build: @cd ${WRKSRC} && ${MAKE} diff --git a/www/nginx/distinfo b/www/nginx/distinfo index 8375e25c42df..e312a7a41725 100644 --- a/www/nginx/distinfo +++ b/www/nginx/distinfo @@ -1,3 +1,6 @@ MD5 (nginx-0.6.35.tar.gz) = 45c7a2d3d91f27f5af1b463f0ff46070 SHA256 (nginx-0.6.35.tar.gz) = 04dc19c75d8f96b4616a3a58a718e13f3847b6c6cc03a709b19a93e398823fb5 SIZE (nginx-0.6.35.tar.gz) = 524987 +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 |