Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libupnp for openSUSE:Factory checked 
in at 2022-11-20 19:46:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libupnp (Old)
 and      /work/SRC/openSUSE:Factory/.libupnp.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libupnp"

Sun Nov 20 19:46:54 2022 rev:32 rq:1036748 version:1.14.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/libupnp/libupnp.changes  2022-10-10 
18:43:36.538745507 +0200
+++ /work/SRC/openSUSE:Factory/.libupnp.new.1597/libupnp.changes        
2022-11-20 19:46:55.433206569 +0100
@@ -1,0 +2,6 @@
+Sat Nov 19 02:42:39 UTC 2022 - Jan Engelhardt <[email protected]>
+
+- Update to release 1.14.15
+  * Fix for some CMake missing files in the autotools distro
+
+-------------------------------------------------------------------

Old:
----
  libupnp-1.14.14.tar.bz2

New:
----
  libupnp-1.14.15.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libupnp.spec ++++++
--- /var/tmp/diff_new_pack.gMYLSi/_old  2022-11-20 19:46:55.921209389 +0100
+++ /var/tmp/diff_new_pack.gMYLSi/_new  2022-11-20 19:46:55.925209413 +0100
@@ -20,7 +20,7 @@
 %define pnpver 17
 %define ixmlver 11
 Name:           libupnp
-Version:        1.14.14
+Version:        1.14.15
 Release:        0
 Summary:        An implementation of Universal Plug and Play (UPnP)
 License:        BSD-3-Clause

++++++ libupnp-1.14.14.tar.bz2 -> libupnp-1.14.15.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/CMakeLists.txt 
new/libupnp-1.14.15/CMakeLists.txt
--- old/libupnp-1.14.14/CMakeLists.txt  2022-08-03 16:14:24.000000000 +0200
+++ new/libupnp-1.14.15/CMakeLists.txt  2022-10-08 18:21:11.000000000 +0200
@@ -315,3 +315,11 @@
                add_subdirectory (gtest)
        endif()
 endif()
+
+if(FUZZER)
+       if (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
+               message(FATAL_ERROR "Compiling with clang is required for 
libFuzzer")
+       endif()
+       add_subdirectory(fuzzer)
+
+endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/ChangeLog 
new/libupnp-1.14.15/ChangeLog
--- old/libupnp-1.14.14/ChangeLog       2022-10-05 19:12:09.000000000 +0200
+++ new/libupnp-1.14.15/ChangeLog       2022-11-19 03:18:45.000000000 +0100
@@ -9,6 +9,14 @@
         Aborted.
 
 *******************************************************************************
+Version 1.14.15
+*******************************************************************************
+
+2022-11-18 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
+
+        Fix for missing CMake files in the autotools distro.
+
+*******************************************************************************
 Version 1.14.14
 *******************************************************************************
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/Makefile.am 
new/libupnp-1.14.15/Makefile.am
--- old/libupnp-1.14.14/Makefile.am     2022-08-03 16:14:24.000000000 +0200
+++ new/libupnp-1.14.15/Makefile.am     2022-11-19 02:51:58.000000000 +0100
@@ -16,6 +16,10 @@
 EXTRA_DIST = \
        CMakeLists.txt \
        cmake/CmDaB.cmake \
+       cmake/autoheader.cmake \
+       cmake/options.cmake \
+       cmake/post-test.cmake \
+       cmake/test-functions.cmake \
        IXML.cmake.in \
        UPNP.cmake.in \
        ixml/CMakeLists.txt \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/Makefile.in 
new/libupnp-1.14.15/Makefile.in
--- old/libupnp-1.14.14/Makefile.in     2022-08-04 18:15:50.000000000 +0200
+++ new/libupnp-1.14.15/Makefile.in     2022-11-19 03:24:18.000000000 +0100
@@ -397,6 +397,10 @@
 EXTRA_DIST = \
        CMakeLists.txt \
        cmake/CmDaB.cmake \
+       cmake/autoheader.cmake \
+       cmake/options.cmake \
+       cmake/post-test.cmake \
+       cmake/test-functions.cmake \
        IXML.cmake.in \
        UPNP.cmake.in \
        ixml/CMakeLists.txt \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/README.md 
new/libupnp-1.14.15/README.md
--- old/libupnp-1.14.14/README.md       2022-10-05 19:27:09.000000000 +0200
+++ new/libupnp-1.14.15/README.md       2022-11-19 03:21:29.000000000 +0100
@@ -102,7 +102,8 @@
 | -------------- | ---------- | ---------------------------------------- |
 | 1.18.0         | TBA ?      | [Portable UPnP SDK][Portable UPnP SDK]   |
 | 1.16.0         | aborted    | [Portable UPnP SDK][Portable UPnP SDK]   |
-| 1.14.15        | TBA        | [Portable UPnP SDK][Portable UPnP SDK]   |
+| 1.14.16        | TBA        | [Portable UPnP SDK][Portable UPnP SDK]   |
+| 1.14.15        | 2022-11-18 | [Portable UPnP SDK][Portable UPnP SDK]   |
 | 1.14.14        | 2022-10-05 | [Portable UPnP SDK][Portable UPnP SDK]   |
 | 1.14.13        | 2022-08-03 | [Portable UPnP SDK][Portable UPnP SDK]   |
 | 1.14.12        | 2021-09-26 | [Portable UPnP SDK][Portable UPnP SDK]   |
@@ -385,23 +386,7 @@
 
 ### 10.6. Windows Build
 
-In order to build libupnp under Windows the pthreads-w32 package is required. 
You can download a self-extracting ZIP file from the following location:
-
-<ftp://sources.redhat.com/pub/pthreads-win32/pthreads-w32-2-7-0-release.exe>
-
-or possibly newer versions if available.
-
-- Execute the self-extracting archive and copy the Pre-build.2 folder to the 
top level source folder.
-- Rename Pre-build.2 to pthreads.
-- Open the provided workspace build\libupnp.dsw with Visual C++ 6.0 and select 
Build->Build libupnp.dll (F7)
-- In the build directory there are also VC8, VC9 and VC10 folders containing 
solution files for Visual Studio 2005/2008/2010 respectively.
-
-If you use newer versions to build libupnp, eg Visual Studio 2003 or later, 
then you need to rebuild the pthreads package so it uses the same VC runtime as 
libupnp to prevent cross boundary runtime problems (see 
<http://msdn.microsoft.com/en-us/library/ms235460%28v=VS.100%29.aspx>). Just 
replace the files in the Pre-build.2 folder (renamed to pthreads as mentioned 
above) with the newly build versions. If you also use a newer version of 
pthreads-win32 then you should also replace the header files in that directory 
structure (obviously).
-
-For building a static library instead of a DLL and for using the static 
pthreads-w32 library following switches need to be defined additionally:
-
-UPNP_STATIC_LIB - for creating a statically linkable UPnP-library
-PTW32_STATIC_LIB - for using the static pthreads32 library
+See the section `CMake Build`
 
 ### 10.7. CMake Build
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/cmake/autoheader.cmake 
new/libupnp-1.14.15/cmake/autoheader.cmake
--- old/libupnp-1.14.14/cmake/autoheader.cmake  1970-01-01 01:00:00.000000000 
+0100
+++ new/libupnp-1.14.15/cmake/autoheader.cmake  2022-08-03 16:14:24.000000000 
+0200
@@ -0,0 +1,78 @@
+if (NOT PUPNP_VERSION_STRING)
+       file (GLOB_RECURSE MACROFILES
+               ${CMAKE_CURRENT_SOURCE_DIR}/
+               *.m4
+       )
+
+       list (APPEND MACROFILES ${CMAKE_CURRENT_SOURCE_DIR}/configure.ac)
+       list (APPEND WRITTEN_VARS DEBUG)
+       list (APPEND WRITTEN_VARS NDEBUG)
+
+       foreach (MACROFILE ${MACROFILES})
+               file (STRINGS ${MACROFILE} configure)
+               file (REMOVE ${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm)
+
+               foreach (line ${configure})
+                       string (REGEX REPLACE "\\]" "" line ${line})
+                       string (REGEX REPLACE "\\[" "" line ${line})
+                       string (REGEX REPLACE ";" "" line ${line})
+                       string (REGEX REPLACE "[ \t\r\n] *" " " line ${line})
+
+                       if (line MATCHES "AC_INIT.* 
([0-9]*\\.[0-9]*\\.[0-9]*).*")
+                               message (STATUS "Setting package-version to 
${CMAKE_MATCH_1}")
+                               set (PUPNP_VERSION_STRING ${CMAKE_MATCH_1} 
CACHE STRING "Version of the whole package" FORCE)
+                       elseif (line MATCHES "[. \t]*AC_DEFINE_UNQUOTED 
*\\(([^,]*), *([^,]*), *([^\\)]*)")
+                               set (SAVED_MATCH ${CMAKE_MATCH_1})
+
+                               if ("${CMAKE_MATCH_1}" IN_LIST WRITTEN_VARS)
+                                       continue()
+                               endif()
+
+                               string (SUBSTRING ${CMAKE_MATCH_2} 0 1 
FIRSTCHAR)
+                               string (STRIP ${CMAKE_MATCH_3} ${CMAKE_MATCH_3})
+                               file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "/* ${CMAKE_MATCH_3} */\n")
+
+                               if (FIRSTCHAR STREQUAL "\"")
+                                       file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "#cmakedefine ${CMAKE_MATCH_1} 
\"\$\{${CMAKE_MATCH_1}\}\"\n\n")
+                               else()
+                                       if (${CMAKE_MATCH_1} MATCHES VERSION 
AND NOT ${${CMAKE_MATCH_1}})
+                                               file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "#cmakedefine01 ${SAVED_MATCH}\n\n")
+                                       else()
+                                               file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "#cmakedefine ${SAVED_MATCH} 
\$\{${SAVED_MATCH}\}\n\n")
+
+                                               if (SAVED_MATCH STREQUAL 
"UPNP_VERSION_MINOR" OR SAVED_MATCH STREQUAL "UPNP_VERSION_PATCH")
+                                                       file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "#ifndef ${SAVED_MATCH}\n")
+                                                       file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "#       define ${SAVED_MATCH} 0\n")
+                                                       file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "#endif\n\n")
+                                               endif()
+                                       endif()
+                               endif()
+
+                               list (APPEND WRITTEN_VARS ${SAVED_MATCH})
+                       elseif (line MATCHES "[. \t]*AC_DEFINE *\\(([^,]*), 
*([^,]*), *([^\\)]*)")
+                               if ("${CMAKE_MATCH_1}" IN_LIST WRITTEN_VARS)
+                                       continue()
+                               endif()
+
+                               string (STRIP ${CMAKE_MATCH_3} ${CMAKE_MATCH_3})
+                               file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "/* ${CMAKE_MATCH_3} */\n")
+                               file (APPEND 
${CMAKE_CURRENT_BINARY_DIR}/autoconfig.h.cm "#cmakedefine ${CMAKE_MATCH_1} 
1\n\n")
+                               list (APPEND WRITTEN_VARS ${CMAKE_MATCH_1})
+                       elseif (line MATCHES "^AC_SUBST.*LT_VERSION_IXML, 
([0-9]*):([0-9]*):([0-9]*).*")
+                               math (EXPR IXML_MAJ "${CMAKE_MATCH_1} - 
${CMAKE_MATCH_3}")
+                               set (IXML_VERSION_MAJOR ${IXML_MAJ} CACHE 
STRING "Major version of ixml" FORCE)
+                               set (IXML_VERSION_MINOR ${CMAKE_MATCH_3} CACHE 
STRING "Minor version of ixml" FORCE)
+                               set (IXML_VERSION_PATCH ${CMAKE_MATCH_2} CACHE 
STRING "Patch version of ixml" FORCE)
+                               set (IXML_VERSION_STRING 
${IXML_MAJ}.${CMAKE_MATCH_3}.${CMAKE_MATCH_2} CACHE STRING "Version of libixml" 
FORCE)
+                               message (STATUS "Setting ixml-soversion to 
${IXML_VERSION_STRING}")
+                       elseif (line MATCHES "^AC_SUBST.*LT_VERSION_UPNP, 
([0-9]*):([0-9]*):([0-9]*).*")
+                               math (EXPR UPNP_MAJ "${CMAKE_MATCH_1} - 
${CMAKE_MATCH_3}")
+                               set (UPNP_VERSION_MAJOR ${UPNP_MAJ} CACHE 
STRING "Major version of upnp" FORCE)
+                               set (UPNP_VERSION_MINOR ${CMAKE_MATCH_3} CACHE 
STRING "Minor version of upnp" FORCE)
+                               set (UPNP_VERSION_PATCH ${CMAKE_MATCH_2} CACHE 
STRING "Patch version of upnp" FORCE)
+                               set (UPNP_VERSION_STRING 
${UPNP_MAJ}.${CMAKE_MATCH_3}.${CMAKE_MATCH_2} CACHE STRING "Version of libupnp" 
FORCE)
+                               message (STATUS "Setting upnp-soversion to 
${UPNP_VERSION_STRING}")
+                       endif()
+               endforeach()
+       endforeach()
+endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/cmake/options.cmake 
new/libupnp-1.14.15/cmake/options.cmake
--- old/libupnp-1.14.14/cmake/options.cmake     1970-01-01 01:00:00.000000000 
+0100
+++ new/libupnp-1.14.15/cmake/options.cmake     2022-08-03 16:14:24.000000000 
+0200
@@ -0,0 +1,41 @@
+function (UPNP_deprecated_option old_name new_name description default)
+       if (DEFINED ${old_name})
+               message (DEPRECATION "${old_name} is a deprecated option and 
will be ignored after 1.14.x + 2. Use ${new_name} instead")
+               set (default ${${old_name}})
+       endif()
+
+       option (${new_name} ${description} ${default})
+endfunction()
+
+option (BUILD_TESTING "Run Tests after compile" ON)
+UPNP_deprecated_option (scriptsupport  IXML_ENABLE_SCRIPT_SUPPORT "script 
support for IXML document tree, see ixml.h" ON)
+option (UPNP_BUILD_SHARED "Build shared libraries" ON)
+option (UPNP_BUILD_STATIC "Build static libraries" ON)
+UPNP_deprecated_option (samples UPNP_BUILD_SAMPLES "compilation of 
upnp/sample/ code" ON)
+UPNP_deprecated_option (blocking_tcp_connections 
UPNP_ENABLE_BLOCKING_TCP_CONNECTIONS "blocking TCP connections" OFF)
+UPNP_deprecated_option (client UPNP_ENABLE_CLIENT_API "control point code 
(client)" ON)
+UPNP_deprecated_option (device UPNP_ENABLE_DEVICE_API "device specific code 
(implies --disable-webserver if disabled)" ON)
+UPNP_deprecated_option (gena UPNP_ENABLE_GENA "GENA part" ON)
+UPNP_deprecated_option (tools UPNP_ENABLE_HELPER_API_TOOLS "helper APIs in 
upnptools.h" ON)
+UPNP_deprecated_option (ipv6 UPNP_ENABLE_IPV6 "ipv6 support" ON)
+UPNP_deprecated_option (optssdp UPNP_ENABLE_OPTIONAL_SSDP_HEADERS "optional 
SSDP headers support" ON)
+UPNP_deprecated_option (open_ssl UPNP_ENABLE_OPEN_SSL "open-ssl support" OFF)
+UPNP_deprecated_option (soap UPNP_ENABLE_SOAP "SOAP part" ON)
+UPNP_deprecated_option (ssdp UPNP_ENABLE_SSDP "SSDP part" ON)
+UPNP_deprecated_option (unspecified_server UPNP_ENABLE_UNSPECIFIED_SERVER 
"unspecified SERVER header" OFF)
+UPNP_deprecated_option (webserver UPNP_ENABLE_WEBSERVER "integrated web 
server" ${UPNP_ENABLE_DEVICE_API})
+UPNP_deprecated_option (reuseaddr UPNP_MINISERVER_REUSEADDR "Bind the 
miniserver socket with SO_REUSEADDR to allow clean restarts" ON)
+
+if (UPNP_ENABLE_WEBSERVER AND NOT UPNP_ENABLE_DEVICE_API)
+       message (FATAL_ERROR "The webserver does not work without the 
device-api code")
+endif()
+
+set (IXML_HAVE_SCRIPTSUPPORT ${IXML_ENABLE_SCRIPT_SUPPORT}) #see ixml.h
+set (UPNP_HAVE_CLIENT ${UPNP_ENABLE_CLIENT_API}) #see upnpconfig.h
+set (UPNP_HAVE_DEVICE ${UPNP_ENABLE_DEVICE_API}) #see upnpconfig.h
+set (UPNP_HAVE_GENA ${UPNP_ENABLE_GENA}) #see upnpconfig.h
+set (UPNP_HAVE_OPTSSDP ${UPNP_ENABLE_OPTIONAL_SSDP_HEADERS}) #see upnpconfig.h
+set (UPNP_HAVE_SOAP ${UPNP_ENABLE_SOAP}) #see upnpconfig.h
+set (UPNP_HAVE_SSDP ${UPNP_ENABLE_SSDP}) #see upnpconfig.h
+set (UPNP_HAVE_TOOLS ${UPNP_ENABLE_HELPER_API_TOOLS}) #see upnpconfig.h
+set (UPNP_HAVE_WEBSERVER ${UPNP_ENABLE_WEBSERVER}) #see upnpconfig.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/cmake/post-test.cmake 
new/libupnp-1.14.15/cmake/post-test.cmake
--- old/libupnp-1.14.14/cmake/post-test.cmake   1970-01-01 01:00:00.000000000 
+0100
+++ new/libupnp-1.14.15/cmake/post-test.cmake   2022-08-03 16:14:24.000000000 
+0200
@@ -0,0 +1,4 @@
+if (EXISTS ${BUILD_DIR}/upnp/test/test_init.log)
+       file (READ ${BUILD_DIR}/upnp/test/test_init.log logdata)
+       message (${logdata})
+endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/cmake/test-functions.cmake 
new/libupnp-1.14.15/cmake/test-functions.cmake
--- old/libupnp-1.14.14/cmake/test-functions.cmake      1970-01-01 
01:00:00.000000000 +0100
+++ new/libupnp-1.14.15/cmake/test-functions.cmake      2022-08-03 
16:14:24.000000000 +0200
@@ -0,0 +1,173 @@
+function (UPNP_addGTest testName sourceFile)
+       cmake_parse_arguments (PARSE_ARGV 2 "agm" "" "" 
"ADDITIONAL_INCLUDE_DIRS")
+
+       if (agm_UNPARSED_ARGUMENTS)
+               message (FATAL_ERROR "Additional Arg given to ${testName}: 
${agm_UNPARSED_ARGUMENTS}")
+       endif()
+
+       UPNP_addTestExecutable (${testName} ${sourceFile})
+
+       if (UPNP_BUILD_SHARED)
+               if (agm_ADDITIONAL_INCLUDE_DIRS)
+                       target_include_directories (${testName}
+                               PRIVATE ${agm_ADDITIONAL_INCLUDE_DIRS}
+                       )
+
+               endif()
+
+               target_link_libraries (${testName}
+                       PRIVATE GTest::gmock
+               )
+
+               gtest_add_tests (TARGET ${testName}
+                       TEST_PREFIX test-upnp-
+                       TEST_LIST GTEST_${testName}
+               )
+
+               if (MSVC)
+                       UPNP_findTestEnv (${testName} TEST_ENV)
+
+                       set_tests_properties (${GTEST_${testName}} PROPERTIES
+                               ENVIRONMENT "${TEST_ENV}"
+                       )
+               endif()
+
+               UPNP_findTestEnv (${testName} TEST_ENV)
+       endif()
+
+       if (UPNP_BUILD_STATIC)
+               if (agm_ADDITIONAL_INCLUDE_DIRS)
+                       target_include_directories (${testName}-static
+                               PRIVATE ${agm_ADDITIONAL_INCLUDE_DIRS}
+                       )
+               endif()
+
+               target_link_libraries (${testName}-static
+                       PRIVATE GTest::gmock
+               )
+
+               gtest_add_tests (TARGET ${testName}-static
+                       TEST_PREFIX test-upnp-
+                       TEST_SUFFIX -static
+               )
+       endif()
+endfunction()
+
+function (UPNP_addTestExecutable testName sourceFile)
+       if (UPNP_BUILD_SHARED)
+               add_executable (${testName}
+                       ${sourceFile}
+               )
+
+               target_link_libraries (${testName}
+                       PRIVATE upnp_shared
+               )
+
+               if (HAVE_MACRO_PREFIX_MAP)
+                       target_compile_options(${testName}
+                               PRIVATE -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/=
+                       )
+               endif()
+       endif()
+
+       if (UPNP_BUILD_STATIC)
+               add_executable (${testName}-static
+                       ${sourceFile}
+               )
+
+               target_link_libraries (${testName}-static
+                       PRIVATE upnp_static
+               )
+
+               if (HAVE_MACRO_PREFIX_MAP)
+                       target_compile_options(${testName}-static
+                               PRIVATE -fmacro-prefix-map=${CMAKE_SOURCE_DIR}/=
+                       )
+               endif()
+       endif()
+endfunction()
+
+function (UPNP_addUnitTest testName sourceFile)
+       UPNP_addTestExecutable (${testName} ${sourceFile})
+
+       if (UPNP_BUILD_SHARED)
+               add_test (NAME ${testName}
+                       COMMAND ${testName}
+               )
+
+               if (MSVC OR MSYS OR MINGW OR CYGWIN)
+                       UPNP_findTestEnv (${testName} TEST_ENV)
+
+                       set_tests_properties (${testName} PROPERTIES
+                               ENVIRONMENT "${TEST_ENV}"
+                       )
+               endif()
+       endif()
+
+       if (UPNP_BUILD_STATIC)
+               add_test (NAME ${testName}-static
+                       COMMAND ${testName}-static
+               )
+       endif()
+endfunction()
+
+# For MSVC toolchain only
+function (UPNP_findTestEnv testName resultVar)
+       UPNP_findTestLibs (${testName} ${resultVar})
+       set (tempEnv "PATH=")
+
+       if (MSVC OR MINGW)
+               set (separator "\\\;")
+       else()
+               set (separator ":")
+       endif()
+
+       foreach (entry IN ITEMS ${${resultVar}})
+               string (APPEND tempEnv "${entry}${separator}")
+       endforeach()
+
+       string (APPEND tempEnv "$ENV{PATH}")
+       set (${resultVar} ${tempEnv} PARENT_SCOPE)
+endfunction()
+
+function (UPNP_findTestLibs testName resultVar)
+       unset (linkLibs)
+
+       if (NOT TARGET ${testName})
+               set (interface TRUE)
+       else()
+               get_property (interface
+                       TARGET ${testName}
+                       PROPERTY IMPORTED
+               )
+       endif()
+
+       if (NOT ${interface})
+               get_property (linkLibs
+                       TARGET ${testName}
+                       PROPERTY LINK_LIBRARIES
+               )
+
+               foreach (lib IN ITEMS ${linkLibs})
+                       UPNP_findTestLibs (${lib} ${resultVar})
+
+                       if (NOT TARGET ${lib})
+                               set (interface2 TRUE)
+                       else()
+                               get_property (interface2
+                                       TARGET ${lib}
+                                       PROPERTY IMPORTED
+                               )
+                       endif()
+
+                       if (NOT ${interface2})
+                               list (FIND ${resultVar} 
"$<TARGET_FILE_DIR:${lib}>" index)
+                               if (${index} STREQUAL "-1")
+                                       list (APPEND ${resultVar} 
"$<TARGET_FILE_DIR:${lib}>")
+                               endif()
+                       endif()
+               endforeach()
+       endif()
+
+       set (${resultVar} ${${resultVar}} PARENT_SCOPE)
+endfunction()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/configure 
new/libupnp-1.14.15/configure
--- old/libupnp-1.14.14/configure       2022-08-04 18:15:51.000000000 +0200
+++ new/libupnp-1.14.15/configure       2022-11-19 03:24:19.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libupnp 1.14.14.
+# Generated by GNU Autoconf 2.71 for libupnp 1.14.15.
 #
 # Report bugs to <[email protected]>.
 #
@@ -621,8 +621,8 @@
 # Identity of this package.
 PACKAGE_NAME='libupnp'
 PACKAGE_TARNAME='libupnp'
-PACKAGE_VERSION='1.14.14'
-PACKAGE_STRING='libupnp 1.14.14'
+PACKAGE_VERSION='1.14.15'
+PACKAGE_STRING='libupnp 1.14.15'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1434,7 +1434,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libupnp 1.14.14 to adapt to many kinds of systems.
+\`configure' configures libupnp 1.14.15 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1505,7 +1505,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libupnp 1.14.14:";;
+     short | recursive ) echo "Configuration of libupnp 1.14.15:";;
    esac
   cat <<\_ACEOF
 
@@ -1652,7 +1652,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libupnp configure 1.14.14
+libupnp configure 1.14.15
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2008,7 +2008,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libupnp $as_me 1.14.14, which was
+It was created by libupnp $as_me 1.14.15, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -2766,7 +2766,7 @@
 
 LT_VERSION_IXML=12:2:1
 
-LT_VERSION_UPNP=18:5:1
+LT_VERSION_UPNP=18:6:1
 
 
 
@@ -3288,7 +3288,7 @@
 
 # Define the identity of the package.
  PACKAGE='libupnp'
- VERSION='1.14.14'
+ VERSION='1.14.15'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -17722,7 +17722,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libupnp $as_me 1.14.14, which was
+This file was extended by libupnp $as_me 1.14.15, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17790,7 +17790,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libupnp config.status 1.14.14
+libupnp config.status 1.14.15
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/configure.ac 
new/libupnp-1.14.15/configure.ac
--- old/libupnp-1.14.14/configure.ac    2022-08-03 16:14:24.000000000 +0200
+++ new/libupnp-1.14.15/configure.ac    2022-11-19 03:24:08.000000000 +0100
@@ -9,7 +9,7 @@
 
 AC_PREREQ(2.60)
 
-AC_INIT([libupnp], [1.14.14], [[email protected]])
+AC_INIT([libupnp], [1.14.15], [[email protected]])
 dnl 
############################################################################
 dnl # *Independently* of the above libupnp package version, the libtool version
 dnl # of the 3 libraries need to be updated whenever there is a change 
released:
@@ -199,8 +199,18 @@
 dnl #AC_SUBST([LT_VERSION_UPNP],       [18:5:1])
 dnl #
 dnl 
############################################################################
+dnl # Release 1.14.15
+dnl # "current:revision:age"
+dnl #
+dnl # - Code has changed in upnp
+dnl #   revision: 5 -> 6
+dnl #
+dnl #AC_SUBST([LT_VERSION_IXML],       [12:2:1])
+dnl #AC_SUBST([LT_VERSION_UPNP],       [18:6:1])
+dnl #
+dnl 
############################################################################
 AC_SUBST([LT_VERSION_IXML],       [12:2:1])
-AC_SUBST([LT_VERSION_UPNP],       [18:5:1])
+AC_SUBST([LT_VERSION_UPNP],       [18:6:1])
 dnl 
############################################################################
 dnl # Repeating the algorithm to place it closer to the modificatin place:
 dnl #  - library code modified:                revision++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/docs/Doxyfile 
new/libupnp-1.14.15/docs/Doxyfile
--- old/libupnp-1.14.14/docs/Doxyfile   2022-08-03 16:14:24.000000000 +0200
+++ new/libupnp-1.14.15/docs/Doxyfile   2022-10-05 19:49:53.000000000 +0200
@@ -38,7 +38,7 @@
 # could be handy for archiving the generated documentation or if some version
 # control system is used.
 
-PROJECT_NUMBER         = 1.14.14
+PROJECT_NUMBER         = 1.14.15
 
 # Using the PROJECT_BRIEF tag one can provide an optional one line description
 # for a project that appears at the top of each page and should give viewer a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libupnp-1.14.14/libupnp.spec 
new/libupnp-1.14.15/libupnp.spec
--- old/libupnp-1.14.14/libupnp.spec    2022-08-03 16:14:24.000000000 +0200
+++ new/libupnp-1.14.15/libupnp.spec    2022-10-05 19:49:53.000000000 +0200
@@ -1,4 +1,4 @@
-Version: 1.14.14
+Version: 1.14.15
 Summary: Universal Plug and Play (UPnP) SDK
 Name: libupnp-1.14
 Release: 1%{?dist}

Reply via email to