Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442610 - www-servers/nginx - Feature support request for dav-ext-module.
Summary: www-servers/nginx - Feature support request for dav-ext-module.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Benedikt Böhm (RETIRED)
URL: https://github.com/arut/nginx-dav-ext...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2012-11-10 16:04 UTC by Coacher
Modified: 2013-05-23 20:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nginx-1.2.0.ebuild with ext webdav module (nginx-1.2.0(with ext dav).ebuild,12.80 KB, text/plain)
2012-11-10 16:07 UTC, Coacher
Details
Proposed ebuild for nginx-1.2.5 (nginx-1.2.5.ebuild,14.32 KB, text/plain)
2012-11-26 19:55 UTC, Coacher
Details
Proposed ebuild for nginx-1.2.5 (nginx-1.2.5.ebuild,14.41 KB, text/plain)
2012-11-26 20:05 UTC, Coacher
Details
nginx-1.2.6-r1.ebuild patch for USE="nginx_modules_http_dav-ext" (dav.patch,2.20 KB, patch)
2013-04-05 21:44 UTC, Gordon Pettey
Details | Diff
nginx-1.2.6-r1.ebuild patch for USE="nginx_modules_http_dav_ext" (dav.patch,2.58 KB, patch)
2013-04-05 22:16 UTC, Gordon Pettey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2012-11-10 16:04:42 UTC
nginx's internal http_dav_module lacks of some important WebDAV commands: PROPFIND and OPTIONS. These two commands are used by almost every webdav client.
There is an external module (see bug's URL) which implements these missing commands. It is almost official as it is pointed directly from nginx's wiki (see [0]).

There already exists ebuild written for nginx-1.2.0 with this external module enabled. It can be found in heroxbd overlay. Please merge the changes from that ebuild in mainline as it completes nginx WebDAV support.

Reproducible: Always
Comment 1 Coacher 2012-11-10 16:05:32 UTC
[0]: http://wiki.nginx.org/HttpDavModule
Reference from nginx's wiki. Sorry, forgot to add in OP.
Comment 2 Coacher 2012-11-10 16:07:13 UTC
Created attachment 329118 [details]
nginx-1.2.0.ebuild with ext webdav module

Copied from heroxbd overlay as-is. All kudos go to the original uploader there.
Comment 3 Coacher 2012-11-14 01:42:50 UTC
I would like to mention that nginx_modules_http_dav_ext should also enable  nginx_modules_http_dav (names referring to the example ebuild provided). Not sure what is the correct way to do it so it would integrate nicely with the rest of the ebuild.
Comment 4 Coacher 2012-11-15 05:08:32 UTC
(In reply to comment #3)
> I would like to mention that nginx_modules_http_dav_ext should also enable 
> nginx_modules_http_dav (names referring to the example ebuild provided). Not
> sure what is the correct way to do it so it would integrate nicely with the
> rest of the ebuild.
Oh, REQUIRED_USE it is. Smth like:
nginx_modules_http_dav_ext? ( nginx_modules_http_dav )
Comment 5 Coacher 2012-11-26 19:55:37 UTC
Created attachment 330678 [details]
Proposed ebuild for nginx-1.2.5

Added proposed rebuild for nginx-1.2.5 with dav_ext support.
Comment 6 Coacher 2012-11-26 20:05:19 UTC
Created attachment 330680 [details]
Proposed ebuild for nginx-1.2.5

Forgot to add module's source download string in the previous file.
Comment 7 Gordon Pettey 2013-04-05 21:44:47 UTC
Created attachment 344562 [details, diff]
nginx-1.2.6-r1.ebuild patch for USE="nginx_modules_http_dav-ext"

Patch for in-tree 1.2.6-r1 ebuild. Built fine on amd64 and worked on a test site. Uses latest tarball from author's github repository.
Comment 8 Gordon Pettey 2013-04-05 22:16:19 UTC
Created attachment 344564 [details, diff]
nginx-1.2.6-r1.ebuild patch for USE="nginx_modules_http_dav_ext"

Added REQUIRED_USE, and changed to underscore USE name per apparent usage.
Comment 9 Coacher 2013-04-05 23:22:41 UTC
(In reply to comment #8)
> Created attachment 344564 [details, diff] [details, diff]
> nginx-1.2.6-r1.ebuild patch for USE="nginx_modules_http_dav_ext"
> 
> Added REQUIRED_USE, and changed to underscore USE name per apparent usage.

You also have incorrect version in ebuild and incorrect link to github repo.
Comment 10 Tiziano Müller gentoo-dev 2013-05-23 20:33:32 UTC
In nginx-1.4.1-r5, thanks!