ports/165276: [update] www/nginx add auth-digest module
Jaime Bozza
jbozza at geocomm.com
Sat Feb 18 19:50:05 UTC 2012
>Number: 165276
>Category: ports
>Synopsis: [update] www/nginx add auth-digest module
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 18 19:50:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jaime Bozza
>Release: 9.0-STABLE
>Organization:
>Environment:
FreeBSD hera.mindsites.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Feb 10 15:31:26 CST 2012 root at newtest:/usr/obj/usr/src/sys/HERA amd64
>Description:
Add the 3rd party module auth-digest.
>How-To-Repeat:
>Fix:
Patch attached
Patch attached with submission follows:
diff -ur nginx.orig/Makefile nginx/Makefile
--- nginx.orig/Makefile 2012-02-14 06:45:33.000000000 -0600
+++ nginx/Makefile 2012-02-18 13:06:17.000000000 -0600
@@ -54,6 +54,7 @@
HEADERS_MORE_MODULE "3rd party headers_more module" off \
HTTP_ACCEPT_LANGUAGE "3rd party accept_language module" off \
HTTP_ACCESSKEY_MODULE "3rd party http_accesskey module" off \
+ HTTP_AUTH_DIGEST_MODULE "3rd party http_authdigest module" off \
HTTP_AUTH_PAM_MODULE "3rd party http_auth_pam module" off \
HTTP_AUTH_REQ_MODULE "3rd party http_auth_request module" off \
HTTP_EVAL_MODULE "3rd party eval module" off \
@@ -189,6 +190,14 @@
CONFIGURE_ARGS+=--with-http_addition_module
.endif
+.if defined(WITH_HTTP_AUTH_DIGEST_MODULE)
+GIT_AUTH_DIGEST_MODULE_VERSION= bd1c86a
+FETCH_ARGS= -pRr
+MASTER_SITES+= https://github.com/samizdatco/nginx-http-auth-digest/tarball/master/:auth_digest
+DISTFILES+= samizdatco-nginx-http-auth-digest-${GIT_AUTH_DIGEST_MODULE_VERSION}.tar.gz:auth_digest
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/samizdatco-nginx-http-auth-digest-${GIT_AUTH_DIGEST_MODULE_VERSION}
+.endif
+
.if defined(WITH_HTTP_AUTH_PAM_MODULE)
NGINX_AUTH_PAM_MODULE_VERSION= 1.2
MASTER_SITES+= http://web.iti.upv.es/~sto/nginx/:auth_pam
diff -ur nginx.orig/distinfo nginx/distinfo
--- nginx.orig/distinfo 2012-02-06 11:50:45.000000000 -0600
+++ nginx/distinfo 2012-02-13 15:18:08.000000000 -0600
@@ -4,6 +4,8 @@
SIZE (giom-nginx_accept_language_module-02262ce.tar.gz) = 3398
SHA256 (nginx-accesskey-2.0.3.tar.gz) = d9e94321e78a02de16c57f3e048fd31059fd8116ed03d6de7180f435c52502b1
SIZE (nginx-accesskey-2.0.3.tar.gz) = 2632
+SHA256 (samizdatco-nginx-http-auth-digest-bd1c86a.tar.gz) = e223f55fd97e56425e232d8698e024707d1b2ed3714eff7d91a4d1ca76b4cbee
+SIZE (samizdatco-nginx-http-auth-digest-bd1c86a.tar.gz) = 14454
SHA256 (ngx_http_auth_pam_module-1.2.tar.gz) = 5a85970ba61a99f55a26d2536a11d512b39bbd622f5737d25a9a8c10db81efa9
SIZE (ngx_http_auth_pam_module-1.2.tar.gz) = 5424
SHA256 (ngx_http_auth_request_module-0.2.tar.gz) = eea5d0ec02bba93d0b204a034230cc61462b60497cbac6f581d7e008a9262ba4
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list