Bug 2311301 - libwebsockets runtime plugins incorrectly packaged in libwebsockets-devel package
Summary: libwebsockets runtime plugins incorrectly packaged in libwebsockets-devel pac...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: libwebsockets
Version: epel9
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-10 20:18 UTC by larrygriblets
Modified: 2024-10-08 18:37 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description larrygriblets 2024-09-10 20:18:24 UTC
Problem Description:  

Versions of libwebsockets  4.1 and above now support compiling with the event library support isolated into separate plugins.  

It appears that the libwebsockets in EPEL 9 was compiled with this plugin option enabled however the resulting plugins were unfortunately packaged in libwebsockets-devel package instead of something like libwebsockets-plugins.  Those event library plugins are runtime plugins.  Users should not be required to install a "devel" package that includes development files like headers and developer documentation etc just to get the runtime plugins on their production server.

The solution could be to package the plugins in the same RPM package as libwebsockets or in a plugin subpackage.  Refer to the following libwebsockets project link for more information regarding building and packaging the event libraries: https://libwebsockets.org/lws-api-doc-main/html/md_READMEs_README_event_libs.html

The affected files that are currently in the libwebsockets-devel package and should be moved to a runtime libwebsockets subpackage are  :  

/usr/lib64/libwebsockets-evlib_ev.so
/usr/lib64/libwebsockets-evlib_uv.so

Note also that the above libwebsockets project link actually lists four plugin files not just the above two :  

libwebsockets-evlib_glib.so
libwebsockets-evlib_event.so
libwebsockets-evlib_uv.so
libwebsockets-evlib_ev.so

Comment 1 Fabian Affolter 2024-09-18 22:21:34 UTC
This was fixed in libwebsockets-4.3.2-2. But this was never made available for EPEL9.

Comment 2 larrygriblets 2024-10-08 18:37:58 UTC
When could this fix be included in EPEL9 ?


Note You need to log in before you can comment on or make changes to this bug.