Hello!
On Fri, Jul 29, 2016 at 7:24 AM, CJ Ess wrote:
> Looking at the specs for the Redhat packages (thanks for those btw!) I
> notice that openresty is linked with the latest zlib whereas
> openresty-openssl links with the system zlib which on redhat can be very
> dated. Maybe there should be an openresty-zlib package which both can link
> to?
>
Nice catch. Indeed, we should prepare an openresty-zlib library and
make openresty-ssl link to that instead.
> Slightly related - when I built my openresty packages (for my employer's
> use) I left zlib and pcre as dynamic libs in case a lua or a lua module
> needed to access the lib, it looks like you opted to link them statically.
> Any thoughts on why that choice? Why not statically link openssl also?
>
Just because I didn't have enough time. The plan is to separate out
small packages like openresty-luajit, openresty-pcre, and
openresty-zlib.
Will you be interested in creating a GitHub pull request for these
changes? I'd be more than happy to review and apply :) Please see
https://github.com/openresty/openresty-packaging
Regards,
-agentzh