[Libwebsockets] DLWS_WITH_DISTRO_RECOMMENDED and Fedora

Andy Green andy at warmcat.com
Sat Feb 9 22:02:13 CET 2019



On February 9, 2019 6:55:00 AM PST, Per Bothner <per at bothner.com> wrote:
>This is mostly an FYI:
>https://bugzilla.redhat.com/show_bug.cgi?id=1668129
>
>I don't know the right approach.  I can see why a distribution would
>not want
>"test servers and clients and a whole bunch of things".

I don't really see what he means.

if(LWS_WITH_DISTRO_RECOMMENDED)
set(LWS_WITH_HTTP2 1)
set(LWS_WITH_LWSWS 1)
set(LWS_WITH_CGI 1)
set(LWS_IPV6 1)
set(LWS_WITH_ZIP_FOPS 1)
set(LWS_WITH_SOCKS5 1)
set(LWS_WITH_RANGES 1)
set(LWS_WITH_ACME 1)
set(LWS_WITH_SERVER_STATUS 1)
set(LWS_WITH_LIBUV 1)
set(LWS_WITH_LIBEV 1)
# libev + libevent cannot coexist at build-time
set(LWS_WITH_LIBEVENT 0)
set(LWS_WITHOUT_EXTENSIONS 0)
set(LWS_ROLE_DBUS 1)
set(LWS_WITH_FTS 1)
set(LWS_WITH_THREADPOOL 1)
set(LWS_UNIX_SOCK 1)
set(LWS_WITH_HTTP_PROXY 1)
set(LWS_WITH_DISKCACHE 1)
set(LWS_WITH_LWSAC 1)
set(LWS_WITH_LEJP_CONF 1)
set(LWS_WITH_PLUGINS 1)
set(LWS_ROLE_RAW_PROXY 1)
set(LWS_WITH_GENCRYPTO 1)
set(LWS_WITH_JOSE 1)
endif()

Afaik that only produces lwsws and the plugins additionally.  Considering what lwsws is, producing those for packaging sounds reasonable.

The 50+ minimal examples are built only if LWS_WITH_MINIMAL_EXAMPLES is set in cmake.  So eg the fulltext search and threadpool, lwsac, crypto and JOSE examples are neither built nor packaged by DISTRO_RECOMMENDED.

-Andy


More information about the Libwebsockets mailing list