FreeBSD Port: nginx-1.2.4,1
Rafael Henrique da Silva Faria
rafaelhfaria at fclar.unesp.br
Mon Apr 8 14:08:55 UTC 2013
Hi.
I'm trying to use Postgre authentication within Nginx for Basic Auth.
But the nginx port don't have a needed module: COOLKIT, from labs.frickle.com.
Without this module, I was unable to get the password from the authentication.
So, I changed the port to get this module, and could be very useful to have it in ports tree:
----
--- Makefile.old 2013-04-08 11:00:44.000000000 -0300
+++ Makefile 2013-04-08 10:59:47.000000000 -0300
@@ -47,6 +47,7 @@
MAIL_SSL \
WWW \
CACHE_PURGE \
+ COOLKIT \
CTPP2 \
ECHO \
HEADERS_MORE \
@@ -134,6 +135,7 @@
MAIL_SSL_DESC= Enable mail_ssl module
WWW_DESC= Enable html sample files
CACHE_PURGE_DESC= 3rd party cache_purge module
+COOLKIT_DESC= 3rd party coolkit module
CTPP2_DESC= 3rd party CT++ module
ECHO_DESC= 3rd party echo module
HEADERS_MORE_DESC= 3rd party headers_more module
@@ -328,6 +330,13 @@
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}
.endif
+.if ${PORT_OPTIONS:MCOOLKIT}
+NGINX_COOLKIT_VERSION= 1.0
+MASTER_SITES+= http://labs.frickle.com/files/:coolkit
+DISTFILES+= ngx_coolkit-${NGINX_COOLKIT_VERSION}.tar.gz:coolkit
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_coolkit-${NGINX_COOLKIT_VERSION}
+.endif
+
.if ${PORT_OPTIONS:MCTPP2}
LIB_DEPENDS+= ctpp2:${PORTSDIR}/textproc/ctpp2
NGINX_CTPP2_VERSION= 0.5
----
----
--- distinfo.old 2013-04-08 11:00:08.000000000 -0300
+++ distinfo 2013-04-08 10:59:37.000000000 -0300
@@ -14,6 +14,8 @@
SIZE (ngx_http_auth_request_module-0.2.tar.gz) = 6736
SHA256 (ngx_cache_purge-2.1.tar.gz) = 424005af0c04e59ffa65a65e446081d4f95ee76a801a7555e001c67810bcb3b9
SIZE (ngx_cache_purge-2.1.tar.gz) = 10535
+SHA256 (ngx_coolkit-1.0.tar.gz) = cbb57f4e02e669ebf3e80b0f502ed7d966483d69374826ac7b6673ed9cc039d5
+SIZE (ngx_coolkit-1.0.tar.gz) = 61952
SHA256 (ngx_ctpp2-0.5.tar.gz) = f8adfecc23e2c23af95df8549ef92fd52598b21506a9d9df2278b2605668d5a6
SIZE (ngx_ctpp2-0.5.tar.gz) = 19686
SHA256 (agentzh-echo-nginx-module-v0.42-0-gfb90d17.tar.gz) = 6d6e483ea51eaf51a3ec02fbfc45d356972e202d5dca71eb3b74af0129393759
----
Thank you for your time.
--
Rafael Henrique da Silva Faria
Grupo de Sistemas e Redes
Serviço Técnico de Informática
Faculdade de Ciências e Letras - Campus de Araraquara
UNESP - Universidade Estadual Paulista "JÚLIO DE MESQUITA FILHO"
More information about the freebsd-ports
mailing list