Works! (Was: nginx with +dav and +davext variant doesn't work)

Gerben Wierda gerben.wierda at rna.nl
Fri Jan 10 17:14:50 UTC 2020


It took some time because I first had to solve my MacPorts/git issues, but now that I have (and created another attempt at a pull request for unbound) I could test this and I can report that it works.

Thank you!

Gerben

> On 6 Jan 2020, at 02:48, Marius Schamschula <lists at schamschula.com <mailto:lists at schamschula.com>> wrote:
> 
> Gerben,
> 
> We normally don’t livecheck module versions. The web-dav module has been updated twice.
> 
> I’ve updated the Portfile. Let me know if this fixes your issue.
> 
> I haven’t tested, as I personally don’t use web-dav on nginx (I do use it on Apache under FreeBSD).
> 
> In the future please open a ticket on trac.macports.org <http://trac.macports.org/> or, better yet, open a PR on GitHub.
> 
> Marius
> --
> Marius Schamschula
> 
> 
> 
> 
>> On Jan 5, 2020, at 4:23 PM, Gerben Wierda <gerben.wierda at rna.nl <mailto:gerben.wierda at rna.nl>> wrote:
>> 
>> Nobody?
>> 
>>> On 28 Dec 2019, at 14:57, Gerben Wierda <gerben.wierda at rna.nl <mailto:gerben.wierda at rna.nl>> wrote:
>>> 
>>> Hello nginx maintainers and davext contributor,
>>> 
>>> Thank you for maintaining the nginx port.
>>> 
>>> I’ve installed nginx with DAV and DAVEXT support:
>>> 
>>> bash-3.2# port installed nginx
>>> The following ports are currently installed:
>>>   nginx @1.17.6_0+dav+davext+fancyindex+flv+http2+mp4+secure_link+ssl+stream (active)
>>> 
>>> But when I add directives from davext, nginx throws up emergencies. 
>>> 
>>> 2019/12/28 14:31:48 [emerg] 9175#0: unknown directive "dav_ext_lock_zone" in /opt/local/etc/nginx/nginx.conf:39
>>> 
>>> or if I remove the dav_ext_lock_zone directive:
>>> 
>>> 2019/12/28 14:33:25 [emerg] 9186#0: invalid value "LOCK" in /opt/local/etc/nginx/servers/albus.rna.nl:30 <http://albus.rna.nl:30/>
>>> 
>>> nginx -V says:
>>> 
>>> configure arguments: --prefix=/opt/local --with-cc-opt='-I/opt/local/include -Os' --with-ld-opt='-L/opt/local/lib -Wl,-headerpad_max_install_names' --conf-path=/opt/local/etc/nginx/nginx.conf --error-log-path=/opt/local/var/log/nginx/error.log --http-log-path=/opt/local/var/log/nginx/access.log --pid-path=/opt/local/var/run/nginx/nginx.pid --lock-path=/opt/local/var/run/nginx/nginx.lock --http-client-body-temp-path=/opt/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/opt/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/opt/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/opt/local/var/run/nginx/uwsgi_temp --with-http_dav_module --with-http_dav_module --add-module=/opt/local/var/macports/build/_Users_sysbh_MacPortsDev_macports-ports_www_nginx/nginx/work/nginx-dav-ext-module-0.1.0 --with-http_flv_module --with-http_ssl_module --with-http_v2_module --with-http_mp4_module --with-http_secure_link_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --add-module=/opt/local/var/macports/build/_Users_sysbh_MacPortsDev_macports-ports_www_nginx/nginx/work/ngx-fancyindex-0.4.3
>>> 
>>> (The double --with-http_dav_module comes from +dav and +davext, same effect with just +davext)
>>> 
>>> But after a build, the directory /opt/local/var/macports/build/_Users_sysbh_MacPortsDev_macports-ports_www_nginx does not exist, let alone its contents. But the same is true for fancyindex and that directive is accepted.
>>> 
>>> I’m stumped. Why isn’t davext working?
>>> 
>>> Gerben Wierda
>>> Chess and the Art of Enterprise Architecture <http://enterprisechess.com/>
>>> Mastering ArchiMate <http://masteringarchimate.com/>
>>> Architecture for Real Enterprises <https://www.infoworld.com/blog/architecture-for-real-enterprises/> at InfoWorld
>>> On Slippery Ice <https://eapj.org/on-slippery-ice/> at EAPJ
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200110/542ed553/attachment.html>


More information about the macports-users mailing list