ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] add module 2 www/ngin x-devel port (Was: Анонс модуля)



Добрый день.
Патч на текущую версию порта www/nginx-devel.

On Fri, Oct 17, 2008 at 08:15:42PM +0400, Kirill A. Korinskiy wrote:
> Написал модуль выдачи заглушек, с поддержкой переменных.
> Брать отсюда: http://catap.ru/blog/2008/10/17/nginx-prosto-otvet/
> Может кому пригодиться для всяких прототипов и тестов.

Index: ports/www/nginx-devel/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/nginx-devel/Makefile,v
retrieving revision 1.164
diff -u -r1.164 Makefile
--- ports/www/nginx-devel/Makefile      21 Oct 2008 06:08:58 -0000      1.164
+++ ports/www/nginx-devel/Makefile      21 Oct 2008 11:21:44 -0000
@@ -26,6 +26,7 @@
                HTTP_PERL_MODULE "Enable http_perl module" off                 HTTP_RANDOM_INDEX_MODULE "Enable http_random_index module" off                 HTTP_REALIP_MODULE "Enable http_realip module" off +               HTTP_RESPONSE_MODULE "Enable http_response module" off                 HTTP_REWRITE_MODULE "Enable http_rewrite module" on                 HTTP_SECURE_LINK_MODULE "Enable http_secure_link module" off                 HTTP_SSL_MODULE "Enable http_ssl module" off @@ -112,6 +113,13 @@
 CONFIGURE_ARGS+=--with-http_realip_module
 .endif
 
+.if defined(WITH_HTTP_RESPONSE_MODULE)
+PATCH_SITES+=  http://catap.ru/patches/nginx/:response
+PATCHFILES+=   ngx_http_response_module.dpatch:response
+PATCH_DIST_STRIP=      -p1
+CONFIGURE_ARGS+=--with-http_response_module
+.endif
+
 .if defined(WITH_HTTP_SECURE_LINK_MODULE)
 CONFIGURE_ARGS+=--with-http_secure_link_module
 .endif
Index: ports/www/nginx-devel/distinfo
===================================================================
RCS file: /home/pcvs/ports/www/nginx-devel/distinfo,v
retrieving revision 1.149
diff -u -r1.149 distinfo
--- ports/www/nginx-devel/distinfo      21 Oct 2008 06:08:59 -0000      1.149
+++ ports/www/nginx-devel/distinfo      21 Oct 2008 11:21:44 -0000
@@ -4,3 +4,6 @@
 MD5 (nginx_upload_module-2.0.7.tar.gz) = d6c03a1cf954cda8af9cc8834337d51c
 SHA256 (nginx_upload_module-2.0.7.tar.gz) = 
19869b4078bedfb70bd71543bf14a517eecf1dfcaa2bd48dd1804ac421056e0c
 SIZE (nginx_upload_module-2.0.7.tar.gz) = 17378
+MD5 (ngx_http_response_module.dpatch) = 8318de2ce589985cd96be9a039bb9dca
+SHA256 (ngx_http_response_module.dpatch) = 
863130eaa7232d9dd9f4f34ff2ed8fff57d1b1cfe3bbe6b5b4b5656c137b37a6
+SIZE (ngx_http_response_module.dpatch) = 9794

-- 
Sergey A. Osokin
osa@xxxxxxxxxxx



 




Copyright © Lexa Software, 1996-2009.