Hello community, here is the log from the commit of package libwebsockets for openSUSE:Factory checked in at 2017-10-27 14:00:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libwebsockets (Old) and /work/SRC/openSUSE:Factory/.libwebsockets.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libwebsockets" Fri Oct 27 14:00:31 2017 rev:4 rq:535493 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libwebsockets/libwebsockets.changes 2017-10-17 01:53:29.967676296 +0200 +++ /work/SRC/openSUSE:Factory/.libwebsockets.new/libwebsockets.changes 2017-10-27 14:00:34.382396702 +0200 @@ -1,0 +2,33 @@ +Fri Oct 20 13:44:20 UTC 2017 - [email protected] + +- Update to version 2.4.0 + * HTTP/2 server support is now mature and usable! LWS_WITH_HTTP2=1 enables it. + Uses ALPN to serve HTTP/2, HTTP/1 and ws[s] connections all from the same + listen port seamlessly. (Requires ALPN-capable OpenSSL 1.1 or mbedTLS). + + * LWS_WITH_MBEDTLS=1 at CMake now builds and works against mbedTLS instead of + OpenSSL. Most things work identically, although on common targets where + OpenSSL has acceleration, mbedTLS is many times slower in operation. However + it is a lot smaller codewise. + + * Generic hash apis introduced that work the same on mbedTLS or OpenSSL backend + + * LWS_WITH_PEER_LIMITS tracks IPs across all vhosts and allows restrictions on + both the number of simultaneous connections and wsi in use for any single IP + + * lws_ring apis provide a generic single- or multi-tail ringbuffer... mirror + protocol now uses this. Features include ring elements may be sized to fit + structs in the ringbuffer, callback when no tail any longer needs an element + and it can be deleted, and zerocopy options to write new members directly + into the ringbuffer, and use the ringbuffer element by address too. + + * abstract ssh 2 server plugin included, with both plugin and standalone + demos provided. You can bind the plugin to a vhost and also serve full- + strength ssh from the vhost. IO from the ssh server is controlled by an + "ops" struct of callbacks for tx, rx, auth etc. + + * Many fixes, cleanups, source refactors and other improvements. +- rebase patch: + * libwebsockets-norpmtools.patch + +------------------------------------------------------------------- Old: ---- libwebsockets-2.3.0.tar.gz New: ---- libwebsockets-2.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwebsockets.spec ++++++ --- /var/tmp/diff_new_pack.ktJ3jU/_old 2017-10-27 14:00:36.742286387 +0200 +++ /var/tmp/diff_new_pack.ktJ3jU/_new 2017-10-27 14:00:36.742286387 +0200 @@ -16,9 +16,9 @@ # -%define sover 11 +%define sover 12 Name: libwebsockets -Version: 2.3.0 +Version: 2.4.0 Release: 0 Summary: A WebSockets library written in C # base64-decode.c and ssl-http2.c is under MIT license with FPC exception. @@ -68,7 +68,7 @@ %prep %setup -q -%patch0 +%patch0 -p1 %build %cmake \ @@ -84,6 +84,7 @@ %install %cmake_install rm -f %{buildroot}%{_libdir}/pkgconfig/libwebsockets_static.pc +rm -rf %{buildroot}%{_datadir}/libwebsockets-test-server/ %post -n libwebsockets%{sover} -p /sbin/ldconfig %postun -n libwebsockets%{sover} -p /sbin/ldconfig ++++++ libwebsockets-2.3.0.tar.gz -> libwebsockets-2.4.0.tar.gz ++++++ ++++ 110167 lines of diff (skipped) ++++++ libwebsockets-norpmtools.patch ++++++ --- /var/tmp/diff_new_pack.ktJ3jU/_old 2017-10-27 14:00:37.066271242 +0200 +++ /var/tmp/diff_new_pack.ktJ3jU/_new 2017-10-27 14:00:37.070271055 +0200 @@ -1,14 +1,14 @@ -Index: CMakeLists.txt -=================================================================== ---- CMakeLists.txt.orig -+++ CMakeLists.txt -@@ -1182,11 +1182,6 @@ set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SO +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c7eb7e9..d138392 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1909,11 +1909,6 @@ set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SOURCE_IGNORE_FILES) ".git" "build" "tgz" # Most people are more used to "make dist" compared to "make package_source" add_custom_target(dist COMMAND "${CMAKE_MAKE_PROGRAM}" package_source) -include(UseRPMTools) -if (RPMTools_FOUND) -- RPMTools_ADD_RPM_TARGETS(libwebsockets libwebsockets.spec) +- RPMTools_ADD_RPM_TARGETS(libwebsockets scripts/libwebsockets.spec) -endif() - message("---------------------------------------------------------------------")
