diff --git a/0001-add-secure-compile-option-in-Makefile.patch b/0001-add-secure-compile-option-in-Makefile.patch index e6de4e857ce69d275e282dc6080c2e3789219580..5c93313b65e1d6ce6d1a32abadc63f666b42f5b0 100644 --- a/0001-add-secure-compile-option-in-Makefile.patch +++ b/0001-add-secure-compile-option-in-Makefile.patch @@ -1,14 +1,13 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index c62d7f9..b046e90 100644 +index f3d3433..2b9ffec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -344,6 +344,8 @@ set(LWS_LIBRARY_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH}) +@@ -353,6 +353,7 @@ set(LWS_LIBRARY_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH}) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/") - +set(CMAKE_C_FLAGS "-Wl,-z,now ${CMAKE_C_FLAGS}") -+ + message(STATUS "CMAKE_TOOLCHAIN_FILE='${CMAKE_TOOLCHAIN_FILE}'") - if(WIN32) diff --git a/libwebsockets-4.0.1.tar.gz b/libwebsockets-4.0.20.tar.gz similarity index 70% rename from libwebsockets-4.0.1.tar.gz rename to libwebsockets-4.0.20.tar.gz index 1c7e2e4616617bf9e02f9b64f6fd88295f0c19f7..df256e230b8a143d04c529c77e07deeb4dd547c8 100644 Binary files a/libwebsockets-4.0.1.tar.gz and b/libwebsockets-4.0.20.tar.gz differ diff --git a/libwebsockets.spec b/libwebsockets.spec index 252177058414788ba18144a63b1b7aae2bf70e5c..337ec02ff21dee6b71b69088895f7d2a561aeae1 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -1,5 +1,5 @@ Name: libwebsockets -Version: 4.0.1 +Version: 4.0.20 Release: 1 Summary: A lightweight C library for Websockets License: LGPLv2 and Public Domain and BSD and MIT and zlib @@ -70,7 +70,7 @@ cd build cd build %make_install -cp -a %{_libdir}/libwebsockets.so.12* %{buildroot}%{_libdir} +cp -a %{_libdir}/libwebsockets.so.16* %{buildroot}%{_libdir} %delete_la_and_a find %{buildroot} -name '*.cmake' -exec rm -f {} ';' @@ -98,6 +98,12 @@ find %{buildroot} -name '*_static.pc' -exec rm -f {} ';' %doc changelog README.md READMEs/ %changelog +* Wed Jul 29 2020 - 4.0.20-1 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:update to 4.0.20 + * Tue Jun 9 2020 zhujunhao - 4.0.1-1 - Type:requirement - ID:NA