I wanted to enable the 3d party lua module for nginx, build nginx then fails to build because of the size mismatch. The output when running "postmaster www/nginx": Attempting to fetch https://github.com/chaoslawful/lua-nginx-module/tarball/v0.9.4/chaoslawful-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz fetch: https://github.com/chaoslawful/lua-nginx-module/tarball/v0.9.4/chaoslawful-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz: size mismatch: expected 470252, actual 470182 => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/chaoslawful-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/chaoslawful-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz: File unavailable (e.g., file not found, no access) When accessing the github URL directly, it will download it as "openresty-lua-nginx-module-v0.9.4-0-g6169a19.tar.gz", not sure if that matters? I've tried to change the expected size in the "distinfo" file, but then the build process complains about a checksum mismatch. I changed the checksum in the "distinfo" file to match that of the downloaded file. This is turn gave me: "sed: /usr/ports/www/nginx/work/chaoslawful-lua-nginx-module-6169a19/src/ngx_http_lua_socket_tcp.c: No such file or directory" The extracted tar.gz was extracted to "openresty-lua-nginx-module-v0.9.4-0-g6169a19" instead of "chaoslawful-lua-nginx-module-6169a19". I renamed the extracted folder, issued another make, resulting in another fail. Patching for nginx-1.6.0,2 ===> Applying FreeBSD patches for nginx-1.6.0,2 2 out of 3 hunks failed--saving rejects to conf/nginx.conf.rej => Patch patch-conf-nginx.conf failed to apply cleanly. *** Error code 1 And that's where I gave up. How-To-Repeat: make config -> enable "3rd party lua module" -> make -> fail
Responsible Changed From-To: freebsd-ports-bugs->osa Over to maintainer (via the GNATS Auto Assign Tool)
Third-party lua module has been upgraded to 0.9.15 version.