Date: Mon, 20 Feb 2012 18:52:45 GMT From: Valery <erezium@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/165333: [update] www/nginx add webdav_ext module Message-ID: <201202201852.q1KIqjS9081687@red.freebsd.org> Resent-Message-ID: <201202201900.q1KJ0O0B038751@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 165333 >Category: ports >Synopsis: [update] www/nginx add webdav_ext 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: Mon Feb 20 19:00:24 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Valery >Release: 9.0-STABLE >Organization: Valery >Environment: FreeBSD malina.xxx.xxx 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Feb 1 15:47:38 MSK 2012 root@malina.xxx.xxx:/usr/obj/usr/src/sys/XXX-amd64 amd64 >Description: Add the 3rd party module for webdav, dav_ext. This module add NGINX WebDAV missing methods support (PROPFIND & OPTIONS). See https://github.com/arut/nginx-dav-ext-module. >How-To-Repeat: >Fix: Patch attached. Patch attached with submission follows: diff -u nginx/Makefile nginx_new/Makefile --- nginx/Makefile 2012-02-20 19:24:50.000000000 +0400 +++ nginx_new/Makefile 2012-02-20 22:33:00.000000000 +0400 @@ -29,6 +29,7 @@ HTTP_ADDITION_MODULE "Enable http_addition module" off \ HTTP_CACHE_MODULE "Enable http_cache module" on \ HTTP_DAV_MODULE "Enable http_webdav module" off \ + HTTP_DAV_EXT_MODULE "3rd party webdav ext module (PROPFIND & OPTIONS methods, use libexpat)" off \ HTTP_FLV_MODULE "Enable http_flv module" off \ HTTP_GEOIP_MODULE "Enable http_geoip module" off \ HTTP_GZIP_STATIC_MODULE "Enable http_gzip_static module" off \ @@ -301,6 +302,16 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c .endif +.if defined(WITH_HTTP_DAV_EXT_MODULE) +LIB_DEPENDS+= expat:${PORTSDIR}/textproc/expat2 +NGINX_HTTP_DAV_EXT_MODULE_VERSION= 0.0.2 +GIT_HTTP_DAV_EXT_MODULE_VERSION= 0-g10eb71d +FETCH_ARGS= -pRr +MASTER_SITES+= https://github.com/arut/nginx-dav-ext-module/tarball/v${NGINX_HTTP_DAV_EXT_MODULE_VERSION}/:nginx_dav_ext +DISTFILES+= arut-nginx-dav-ext-module-v${NGINX_HTTP_DAV_EXT_MODULE_VERSION}-${GIT_HTTP_DAV_EXT_MODULE_VERSION}.tar.gz:nginx_dav_ext +CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-dav-ext-module-${GIT_HTTP_DAV_EXT_MODULE_VERSION:S/^0-g//} +.endif + .if defined(WITH_HTTP_NOTICE_MODULE) MASTER_SITES+= http://xph.us/dist/nginx-notice/:notice2 DISTFILES+= nginx-notice-2.tar.gz:notice2 diff -u nginx/distinfo nginx_new/distinfo --- nginx/distinfo 2012-02-20 19:24:51.000000000 +0400 +++ nginx_new/distinfo 2012-02-20 22:30:36.000000000 +0400 @@ -94,3 +94,5 @@ SIZE (calio-form-input-nginx-module-v0.07rc5-0-gd41681d.tar.gz) = 11048 SHA256 (calio-iconv-nginx-module-v0.10rc5-0-g4e71946.tar.gz) = 5a733a45ac418b70ccc272dc9fa99b257c83e2db2282e26dea790223d80c5f8e SIZE (calio-iconv-nginx-module-v0.10rc5-0-g4e71946.tar.gz) = 11912 +SHA256 (arut-nginx-dav-ext-module-v0.0.2-0-g10eb71d.tar.gz) = 871c8ade895e188eb2e667ac4fffba4fa52269565b774a3fdc9bbc54d1f7e447 +SIZE (arut-nginx-dav-ext-module-v0.0.2-0-g10eb71d.tar.gz) = 6056 Common subdirectories: nginx/files and nginx_new/files >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202201852.q1KIqjS9081687>