Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libredfish for openSUSE:Factory checked in at 2024-02-22 20:56:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libredfish (Old) and /work/SRC/openSUSE:Factory/.libredfish.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libredfish" Thu Feb 22 20:56:22 2024 rev:4 rq:1148759 version:1.3.7.2+git.64ca9b4 Changes: -------- --- /work/SRC/openSUSE:Factory/libredfish/libredfish.changes 2024-02-15 21:02:28.528368948 +0100 +++ /work/SRC/openSUSE:Factory/.libredfish.new.1706/libredfish.changes 2024-02-22 20:56:23.262509263 +0100 @@ -1,0 +2,5 @@ +Wed Feb 21 10:26:45 UTC 2024 - Thomas Renninger <[email protected]> + +- Build against latest OpenSSL library (jsc#1219881) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libredfish.spec ++++++ --- /var/tmp/diff_new_pack.gOL2a4/_old 2024-02-22 20:56:24.042537692 +0100 +++ /var/tmp/diff_new_pack.gOL2a4/_new 2024-02-22 20:56:24.042537692 +0100 @@ -36,8 +36,8 @@ BuildRequires: libcurl-devel BuildRequires: libczmq4 BuildRequires: libjansson-devel -BuildRequires: libopenssl-1_1-devel -BuildRequires: libopenssl1_1 +BuildRequires: libopenssl-devel +BuildRequires: libopenssl3 BuildRequires: readline-devel Requires: readline ++++++ libredfish-1.3.7.2+git.64ca9b4.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libredfish-1.3.7.2+git.64ca9b4/CMakeLists.txt~ new/libredfish-1.3.7.2+git.64ca9b4/CMakeLists.txt~ --- old/libredfish-1.3.7.2+git.64ca9b4/CMakeLists.txt~ 2023-10-27 14:30:06.000000000 +0200 +++ new/libredfish-1.3.7.2+git.64ca9b4/CMakeLists.txt~ 1970-01-01 01:00:00.000000000 +0100 @@ -1,137 +0,0 @@ -cmake_minimum_required(VERSION 2.6) -project(libredfish) - -set(LIBREDFISH_VERSION_MAJOR 1) -if(DEFINED ENV{TRAVIS_TAG}) - set(LIBREDFISH_VERSION_STRING $ENV{TRAVIS_TAG}) -elseif(DEFINED ENV{VERSION}) - set(LIBREDFISH_VERSION_STRING $ENV{VERSION}) -else() - set(LIBREDFISH_VERSION_STRING "1.99.0") -endif() - -set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) -set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib) -set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib) - -if(NOT DEFINED INCLUDE_INSTALL_DIR) - set(INCLUDE_INSTALL_DIR include) -endif() -if(NOT DEFINED CMAKE_INSTALL_BINDIR) - set(CMAKE_INSTALL_BINDIR bin) -endif() -if(NOT DEFINED CMAKE_INSTALL_LIBDIR) - set(CMAKE_INSTALL_LIBDIR lib) -endif() - -set(CMAKE_C_FLAGS "-D_DEBUG") - -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}") - -include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include) - -set(REDFISH_HDR_PUBLIC_RED - ${CMAKE_CURRENT_SOURCE_DIR}/include/redfish.h - ${CMAKE_CURRENT_SOURCE_DIR}/include/redfishEvent.h - ${CMAKE_CURRENT_SOURCE_DIR}/include/redfishPayload.h - ${CMAKE_CURRENT_SOURCE_DIR}/include/redfishRawAsync.h - ${CMAKE_CURRENT_SOURCE_DIR}/include/redfishService.h - ${CMAKE_CURRENT_SOURCE_DIR}/include/redpath.h) - -set(REDFISH_HDR_PUBLIC_ENTITIES - ${CMAKE_CURRENT_SOURCE_DIR}/include/entities/chassis.h - ${CMAKE_CURRENT_SOURCE_DIR}/include/entities/resource.h) - -file(GLOB REDFISH_SRC src/*.c src/entities/*.c) - -source_group("Library Sources" FILES ${REDFISH_SRC}) - -find_package(CURL REQUIRED) -find_package(Jansson REQUIRED) -find_package(CZMQ) -find_package(OpenSSL) -find_package(Readline) - -include_directories(${CURL_INCLUDE_DIR}) -include_directories(${JANSSON_INCLUDE_DIRS}) - -add_library(redfish SHARED ${REDFISH_SRC} ${REDFISH_HDR_PRIVATE}) -if (UNIX) - set_target_properties(redfish PROPERTIES VERSION ${LIBREDFISH_VERSION_STRING} SOVERSION ${LIBREDFISH_VERSION_MAJOR}) -endif (UNIX) -if(VCPKG_TOOLCHAIN STREQUAL "ON") - if(CMAKE_BUILD_TYPE MATCHES "^Debug$") - target_link_libraries(redfish jansson_d libcurl) - else() - target_link_libraries(redfish jansson libcurl) - endif() -else() - target_link_libraries(redfish jansson curl) -endif() -if(CZMQ_FOUND) - target_link_libraries(redfish czmq) -else() - add_definitions( -DNO_CZMQ ) -endif() - -if(OPENSSL_FOUND) - add_definitions(-DHAVE_OPENSSL) - target_link_libraries(redfish ${OPENSSL_SSL_LIBRARY}) -endif() - - -add_executable(redfishtest "${CMAKE_CURRENT_SOURCE_DIR}/examples/test.c") -target_link_libraries(redfishtest redfish) - -add_executable(redfishtestasync "${CMAKE_CURRENT_SOURCE_DIR}/examples/testAsync.c") -target_link_libraries(redfishtestasync redfish) - -add_executable(redfishcli "${CMAKE_CURRENT_SOURCE_DIR}/examples/cli.c") -target_link_libraries(redfishcli redfish jansson) -if(READLINE_FOUND) - add_definitions(-DHAVE_READLINE) - target_link_libraries(redfishcli ${Readline_LIBRARY}) -endif() - -add_executable(destorytest "${CMAKE_CURRENT_SOURCE_DIR}/examples/destroy.c") -target_link_libraries(destorytest redfish) - -if(CZMQ_FOUND) - add_executable(redfishevent "${CMAKE_CURRENT_SOURCE_DIR}/httpd/cgi.c") - target_link_libraries(redfishevent czmq) -endif() - -install(TARGETS redfishtest redfish - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") -install(FILES ${REDFISH_HDR_PUBLIC_RED} DESTINATION "${INCLUDE_INSTALL_DIR}") -install(FILES ${REDFISH_HDR_PUBLIC_ENTITIES} DESTINATION "${INCLUDE_INSTALL_DIR}/entities") - -ENABLE_TESTING() - -if(CMAKE_COMPILER_IS_GNUCC) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wformat=2 -ggdb3 -O2") - if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 6.0) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wnull-dereference") - endif() - if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 7.0) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wduplicated-cond -Wduplicated-branches -Wlogical-op") - endif() -elseif(CMAKE_C_COMPILER_ID MATCHES Clang) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wformat=2 -ggdb3") -elseif(MSVC) - if(VCPKG_TOOLCHAIN STREQUAL "ON") - if(CMAKE_BUILD_TYPE MATCHES "^Debug$") - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /LIBPATH:${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LIBPATH:${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib") - else() - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /LIBPATH:${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LIBPATH:${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib") - endif() - else() - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /LIBPATH:.. /LIBPATH:../curl/lib") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LIBPATH:.. /LIBPATH:../curl/lib") - endif() -endif() - -configure_file(libredfish.pc.in libredfish.pc @ONLY)
