2 Commits

4 changed files with 31 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6fd33527b410a37ebc91bb64ca51bdabab12b076bc99d153d7c5dd405e4bdf90
size 15618186

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87f99ad32803ed325fceac5327aae1f5c1b417d54ee61ad36cffc8df5f5ab276
size 15620674

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Apr 24 19:51:28 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 4.3.5:
* netlink: when binding the per-context socket, let the kernel
choose the unicast address.
* async dns: allow up to 8 x 128-char CNAMEs from 4
* multiple code correctness fixes, including memory safety fixes
- fix Leap build: rename -evlib-uv to -evlib_uv
-------------------------------------------------------------------
Mon Feb 26 04:19:54 UTC 2024 - Joshua Smith <jsmithfpv@gmail.com>

View File

@@ -2,6 +2,7 @@
# spec file for package libwebsockets
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +19,7 @@
%define sover 19
Name: libwebsockets
Version: 4.3.3
Version: 4.3.5
Release: 0
Summary: A WebSockets library written in C
# base64-decode.c and ssl-http2.c is under MIT license with FPC exception.
@@ -28,12 +29,13 @@ License: MIT
Group: Development/Libraries/C and C++
URL: https://libwebsockets.org
Source: https://github.com/warmcat/libwebsockets/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: zlib-devel
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libssl)
BuildRequires: pkgconfig(libuv)
BuildRequires: pkgconfig(zlib)
%description
Libwebsockets covers some features for people making embedded
@@ -42,7 +44,7 @@ HTTP/WebSocket servers or clients.
%package -n %{name}%{sover}
Summary: A WebSockets library written in C
Group: Development/Libraries/C and C++
Requires: %{name}-evlib-uv = %{version}
Requires: %{name}-evlib_uv = %{version}
%description -n %{name}%{sover}
Libwebsockets covers some features for people making embedded
@@ -57,19 +59,20 @@ HTTP/WebSocket servers or clients.
lost password, etc.)
* SSL PFS support
%package evlib-uv
%package evlib_uv
Summary: Shared library for evlib_uv plugin
Group: Development/Libraries/C and C++
Requires(pre): %{name}%{sover} = %{version}
Provides: %{name}-evlib-uv = %{version}
Obsoletes: %{name}-evlib-uv < %{version}
%description evlib-uv
%description evlib_uv
This package contains the shared library for evlib_uv plugin.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name}%{sover} = %{version}
Requires: openssl-devel
%description devel
This subpackage contains libraries and header files for developing
@@ -82,29 +85,31 @@ applications that want to make use of the WebSockets library.
%cmake \
-DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_WITHOUT_BUILTIN_GETIFADDRS=ON \
-DLWS_USE_BUNDLED_ZLIB=OFF \
-DLWS_WITHOUT_BUILTIN_SHA1=ON \
-DLWS_WITH_STATIC=OFF \
-DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_WITH_LIBUV=ON
%make_build
%cmake_build
%install
%cmake_install
rm %{buildroot}%{_libdir}/pkgconfig/libwebsockets_static.pc
%post -n libwebsockets%{sover} -p /sbin/ldconfig
%postun -n libwebsockets%{sover} -p /sbin/ldconfig
%check
%ctest
%ldconfig_scriptlets -n libwebsockets%{sover}
%files -n libwebsockets%{sover}
%license LICENSE
%{_libdir}/libwebsockets.so.%{sover}
%files evlib-uv
%files evlib_uv
%license LICENSE
%{_libdir}/libwebsockets-evlib_uv.so
%files devel
%license LICENSE
%doc README.* changelog
%{_includedir}/*
%{_libdir}/libwebsockets.so