[PATCH] www/nginx-devel update (Was: nginx mogilefs module 1.0.1)

Sergey A. Osokin osa at macomnet.ru
Thu Apr 16 17:15:35 MSD 2009


Добрый день.

On Thu, Apr 16, 2009 at 11:50:54AM +0100, Valery Kholodkov wrote:
> 
> Написал модуль для раздачи файлов nginx-ом из MogileFS. 

Добавление поддержки модуля для www/nginx-devel в портах FreeBSD.
Поскольку порты заморожены - патч в список рассылки.

Спасибо.

Index: ports/www/nginx-devel/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/nginx-devel/Makefile,v
retrieving revision 1.200
diff -u -r1.200 Makefile
--- ports/www/nginx-devel/Makefile	13 Apr 2009 06:49:31 -0000	1.200
+++ ports/www/nginx-devel/Makefile	16 Apr 2009 13:11:39 -0000
@@ -27,6 +27,7 @@
 		HTTP_FANCYINDEX_MODULE "Enable http_fancyindex module" off \
 		HTTP_FLV_MODULE "Enable http_flv module" off \
 		HTTP_GZIP_STATIC_MODULE "Enable http_gzip_static module" off \
+		HTTP_MOGILEFS_MODULE "Enable mogilefs module" off \
 		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 \
@@ -132,6 +133,13 @@
 CONFIGURE_ARGS+=--with-http_gzip_static_module
 .endif
 
+.if defined(WITH_HTTP_MOGILEFS_MODULE)
+NGINX_MOGILEFS_MODULE_VERSION=	1.0.1
+MASTER_SITES+=	http://grid.net.ru/nginx/download/:mogilefs
+DISTFILES+=	nginx_mogilefs_module-${NGINX_MOGILEFS_MODULE_VERSION}.tar.gz:mogilefs
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_MODULE_VERSION}
+.endif
+
 .if defined(WITH_HTTP_PERL_MODULE)
 CATEGORIES+=	perl5
 CONFIGURE_ARGS+=--with-http_perl_module
Index: ports/www/nginx-devel/distinfo
===================================================================
RCS file: /home/pcvs/ports/www/nginx-devel/distinfo,v
retrieving revision 1.180
diff -u -r1.180 distinfo
--- ports/www/nginx-devel/distinfo	13 Apr 2009 06:49:31 -0000	1.180
+++ ports/www/nginx-devel/distinfo	16 Apr 2009 13:11:39 -0000
@@ -7,6 +7,9 @@
 MD5 (nginx-fancyindex-0.1_beta5.tar.bz2) = ac371c8c03e7235f1e8e8c187a5a93cb
 SHA256 (nginx-fancyindex-0.1_beta5.tar.bz2) = 155c0fac05a7f6c013b5cc368926d71d5da73e4e5a9f2506b2e5114eee8680a2
 SIZE (nginx-fancyindex-0.1_beta5.tar.bz2) = 12211
+MD5 (nginx_mogilefs_module-1.0.1.tar.gz) = c45947ec9aebe83398d4c9604e843023
+SHA256 (nginx_mogilefs_module-1.0.1.tar.gz) = f862d48e50683a808bb8e305474d1b9800800bd0ea64ebcc258a4c7f3ecd9bfb
+SIZE (nginx_mogilefs_module-1.0.1.tar.gz) = 6834
 MD5 (ngx_http_response-0.3.tar.gz) = 178a8f13a41388ef50b3726fa9fede50
 SHA256 (ngx_http_response-0.3.tar.gz) = 0835584029f053051c624adbe33a826ab0205c9d85a02af6019e6b57607e9045
 SIZE (ngx_http_response-0.3.tar.gz) = 2244


-- 
Sergey A. Osokin
osa at MAcomnet.ru





More information about the nginx-ru mailing list