Bug 165333 - [update] www/nginx add webdav_ext module
Summary: [update] www/nginx add webdav_ext module
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey A. Osokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 19:00 UTC by Valery
Modified: 2012-02-23 09:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.10 KB, patch)
2012-02-20 19:00 UTC, Valery
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Valery 2012-02-20 19:00:24 UTC
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.

Fix: Patch attached.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-20 19:00:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Valery 2012-02-21 16:50:49 UTC
Sorry, patch is error (stupid github url's and revisions).
Correct patch see below:

--- nginx/Makefile      2012-02-20 19:24:50.000000000 +0400
+++ nginx_new/Makefile  2012-02-21 20:32:06.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 \
@@ -264,6 +265,16 @@
 CONFIGURE_ARGS+=--with-http_flv_module
 .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-g0e07a3e
+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_GEOIP_MODULE)
 CONFIGURE_ARGS+=--with-http_geoip_module
 LIB_DEPENDS+=  GeoIP.5:${PORTSDIR}/net/GeoIP
diff -u nginx/distinfo nginx_new/distinfo
--- nginx/distinfo      2012-02-20 19:24:51.000000000 +0400
+++ nginx_new/distinfo  2012-02-21 20:34:33.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-g0e07a3e.tar.gz) = a0d6fa256e354ce48c06e1f689d26ebb2f7b75f71ce682e34ae6c29331a7fbff
+SIZE (arut-nginx-dav-ext-module-v0.0.2-0-g0e07a3e.tar.gz) = 6065
Common subdirectories: nginx/files and nginx_new/files
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-02-23 09:30:24 UTC
osa         2012-02-23 09:30:11 UTC

  FreeBSD ports repository

  Modified files:
    www/nginx            Makefile distinfo 
    www/nginx-devel      Makefile distinfo 
  Log:
  Add two third-party modules:
  
  o) web_dav_extension, for support missing PROPFIND and OPTIONS commands;
  o) http_auth_digest, providing support for RFC 2617 Digest Authentication.
  
  PR:     165276, 165333
  
  Revision  Changes    Path
  1.434     +20 -0     ports/www/nginx-devel/Makefile
  1.379     +4 -0      ports/www/nginx-devel/distinfo
  1.309     +20 -0     ports/www/nginx/Makefile
  1.267     +4 -0      ports/www/nginx/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Sergey A. Osokin freebsd_committer freebsd_triage 2012-02-23 09:31:38 UTC
State Changed
From-To: open->closed

Committed with some modifications. 
Thanks for report!