Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsrtp2-linphone for 
openSUSE:Factory checked in at 2021-10-18 22:03:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsrtp2-linphone (Old)
 and      /work/SRC/openSUSE:Factory/.libsrtp2-linphone.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsrtp2-linphone"

Mon Oct 18 22:03:28 2021 rev:4 rq:925347 version:2.2.0~git.20210916

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsrtp2-linphone/libsrtp2-linphone.changes      
2021-08-04 22:29:16.357773607 +0200
+++ 
/work/SRC/openSUSE:Factory/.libsrtp2-linphone.new.1890/libsrtp2-linphone.changes
    2021-10-18 22:03:31.430151372 +0200
@@ -1,0 +2,5 @@
+Fri Oct 15 06:04:52 UTC 2021 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Update to latest available snapshot, no changelog available
+
+-------------------------------------------------------------------

Old:
----
  libsrtp2-linphone-2.2.0~git.20210622.tar.xz

New:
----
  libsrtp2-linphone-2.2.0~git.20210916.tar.xz

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

Other differences:
------------------
++++++ libsrtp2-linphone.spec ++++++
--- /var/tmp/diff_new_pack.ad9fO6/_old  2021-10-18 22:03:31.978151768 +0200
+++ /var/tmp/diff_new_pack.ad9fO6/_new  2021-10-18 22:03:31.982151771 +0200
@@ -18,7 +18,7 @@
 
 %define so_ver 1
 Name:           libsrtp2-linphone
-Version:        2.2.0~git.20210622
+Version:        2.2.0~git.20210916
 Release:        0
 Summary:        BC's fork of the Secure Real-Time Transport Protocol (SRTP) 
library
 License:        BSD-3-Clause

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ad9fO6/_old  2021-10-18 22:03:32.018151797 +0200
+++ /var/tmp/diff_new_pack.ad9fO6/_new  2021-10-18 22:03:32.018151797 +0200
@@ -1,6 +1,6 @@
 <servicedata>
     <service name="tar_scm">
         <param 
name="url">https://gitlab.linphone.org/BC/public/external/srtp.git</param>
-        <param 
name="changesrevision">662694f73483d5c510f6ae5e0d15a5f6f3dfb7fd</param>
+        <param 
name="changesrevision">4e89d69356565f67711d5109aac72ca44313aed4</param>
     </service>
 </servicedata>

++++++ change-name.patch ++++++
--- /var/tmp/diff_new_pack.ad9fO6/_old  2021-10-18 22:03:32.042151814 +0200
+++ /var/tmp/diff_new_pack.ad9fO6/_new  2021-10-18 22:03:32.046151817 +0200
@@ -11,12 +11,12 @@
 diff -ruN a/CMakeLists.txt b/CMakeLists.txt
 --- a/CMakeLists.txt   2021-07-14 14:14:19.962946488 +0200
 +++ b/CMakeLists.txt   2021-07-14 14:14:34.739008845 +0200
-@@ -21,7 +21,7 @@
+@@ -24,7 +24,7 @@
  ############################################################################
- 
- cmake_minimum_required(VERSION 3.0)
--project(SRTP2 C)
-+project(SRTP2-LINPHONE C)
+
+ cmake_minimum_required(VERSION 3.13)
+-project(SRTP2 LANGUAGES C VERSION "2.2.0")
++project(SRTP2-LINPHONE LANGUAGES C VERSION "2.2.0")
  
  
  option(ENABLE_STATIC "Build static library (default is shared library)." NO)

++++++ libsrtp2-linphone-2.2.0~git.20210622.tar.xz -> 
libsrtp2-linphone-2.2.0~git.20210916.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsrtp2-linphone-2.2.0~git.20210622/CMakeLists.txt 
new/libsrtp2-linphone-2.2.0~git.20210916/CMakeLists.txt
--- old/libsrtp2-linphone-2.2.0~git.20210622/CMakeLists.txt     2021-06-22 
14:51:24.000000000 +0200
+++ new/libsrtp2-linphone-2.2.0~git.20210916/CMakeLists.txt     2021-09-16 
17:20:42.000000000 +0200
@@ -20,8 +20,8 @@
 #
 ############################################################################
 
-cmake_minimum_required(VERSION 3.0)
-project(SRTP2 C)
+cmake_minimum_required(VERSION 3.13)
+project(SRTP2 LANGUAGES C VERSION "2.2.0")
 
 
 option(ENABLE_STATIC "Build static library (default is shared library)." NO)
@@ -148,7 +148,6 @@
 
 
 include_directories(
-       include
        crypto/include
        ${CMAKE_CURRENT_BINARY_DIR}
 )
@@ -238,34 +237,42 @@
 set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/config.h PROPERTIES 
GENERATED ON)
 
 if(ENABLE_STATIC)
-       add_library(srtp STATIC ${SRTP_SOURCE_FILES})
-       target_link_libraries(srtp ${LIBS})
+       add_library(SRTP STATIC ${SRTP_SOURCE_FILES})
+       target_link_libraries(SRTP PRIVATE ${LIBS})
 else()
-       add_library(srtp SHARED ${SRTP_SOURCE_FILES})
-       set_target_properties(srtp PROPERTIES VERSION 2)
-       target_link_libraries(srtp ${LIBS})
+       add_library(SRTP SHARED ${SRTP_SOURCE_FILES})
+       set_target_properties(SRTP PROPERTIES VERSION 2)
+       target_link_libraries(SRTP PRIVATE ${LIBS})
        if(MSVC)
                if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE 
STREQUAL "RelWithDebInfo")
-                       install(FILES $<TARGET_PDB_FILE:srtp>
+                       install(FILES $<TARGET_PDB_FILE:SRTP>
                                DESTINATION ${CMAKE_INSTALL_BINDIR}
                                PERMISSIONS OWNER_READ OWNER_WRITE 
OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
                        )
                endif()
        endif()
 endif()
-set_target_properties(srtp PROPERTIES  OUTPUT_NAME "srtp2")
-target_compile_options(srtp PRIVATE "-w")
+set_target_properties(SRTP PROPERTIES  OUTPUT_NAME "srtp2")
+target_compile_options(SRTP PRIVATE "-w")
+target_include_directories(SRTP PUBLIC
+       $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+       $<INSTALL_INTERFACE:include>
+)
 
-install(TARGETS srtp
+install(TARGETS SRTP EXPORT SRTPTarget
        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
        PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ 
GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
 )
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
-       DESTINATION include/srtp2
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/config.h"
+       DESTINATION "include/srtp2"
        PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
 )
+install(EXPORT SRTPTarget
+    FILE "SRTPTarget.cmake"
+    DESTINATION "${CMAKE_INSTALL_DATADIR}/SRTP/cmake"
+)
 
 
 if(ENABLE_TEST_PROGRAMS)
@@ -273,51 +280,51 @@
                test/srtp_driver.c
                test/getopt_s.c
        )
-       target_link_libraries(srtp_driver srtp)
+       target_link_libraries(srtp_driver SRTP)
 
        add_executable(replay_driver test/replay_driver.c)
-       target_link_libraries(replay_driver srtp)
+       target_link_libraries(replay_driver SRTP)
 
        add_executable(roc_driver test/roc_driver.c)
-       target_link_libraries(roc_driver srtp)
+       target_link_libraries(roc_driver SRTP)
 
        add_executable(rdbx_driver
                test/rdbx_driver.c
                test/getopt_s.c
        )
-       target_link_libraries(rdbx_driver srtp)
+       target_link_libraries(rdbx_driver SRTP)
 
        add_executable(rtpw
                test/rtpw.c
                test/rtp.c
                test/getopt_s.c
        )
-       target_link_libraries(rtpw srtp)
+       target_link_libraries(rtpw SRTP)
 
        add_executable(dtls_srtp_driver
                test/dtls_srtp_driver.c
                test/getopt_s.c
        )
-       target_link_libraries(dtls_srtp_driver srtp)
+       target_link_libraries(dtls_srtp_driver SRTP)
 
        add_executable(aes_calc crypto/test/aes_calc.c)
-       target_link_libraries(aes_calc srtp)
+       target_link_libraries(aes_calc SRTP)
 
        add_executable(cipher_driver crypto/test/cipher_driver.c)
-       target_link_libraries(cipher_driver srtp)
+       target_link_libraries(cipher_driver SRTP)
 
        add_executable(datatypes_driver crypto/test/datatypes_driver.c)
-       target_link_libraries(datatypes_driver srtp)
+       target_link_libraries(datatypes_driver SRTP)
 
        add_executable(kernel_driver crypto/test/kernel_driver.c)
-       target_link_libraries(kernel_driver srtp)
+       target_link_libraries(kernel_driver SRTP)
 
        add_executable(rand_gen crypto/test/rand_gen.c)
-       target_link_libraries(rand_gen srtp)
+       target_link_libraries(rand_gen SRTP)
 
        add_executable(sha1_driver crypto/test/sha1_driver.c)
-       target_link_libraries(sha1_driver srtp)
+       target_link_libraries(sha1_driver SRTP)
 
        add_executable(stat_driver crypto/test/stat_driver.c)
-       target_link_libraries(stat_driver srtp)
+       target_link_libraries(stat_driver SRTP)
 endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsrtp2-linphone-2.2.0~git.20210622/include/srtp.h 
new/libsrtp2-linphone-2.2.0~git.20210916/include/srtp.h
--- old/libsrtp2-linphone-2.2.0~git.20210622/include/srtp.h     2021-06-22 
14:51:24.000000000 +0200
+++ new/libsrtp2-linphone-2.2.0~git.20210916/include/srtp.h     2021-09-16 
17:20:42.000000000 +0200
@@ -677,31 +677,6 @@
                                      const srtp_policy_t *policy);
 
 /**
- * @brief srtp_add_or_update_stream() udpates the SRTP stream if it was 
already initiated or add and initiate it.
- *
- * If the session was already initialized,
- * then the function call srtp_add_or_update_stream(session, policy) updates
- * the stream(s) in the session that match applying the given
- * policy and key by calling srtp_update_stream(session, policy). The existing 
ROC value of all stream(s) will
- * be preserved.
- * If the session was not initialized, function srtp_add_stream(session, 
policy) will be called
- *
- * @param session is the SRTP session that contains the streams
- *        to be updated or added.
- *
- * @param policy is the srtp_policy_t struct that describes the policy
- * for the session.
- *
- * @return
- *    - srtp_err_status_ok           if stream creation succeded.
- *    - srtp_err_status_alloc_fail   if stream allocation failed
- *    - srtp_err_status_init_fail    if stream initialization failed.
- *    - [other]                      otherwise.
- *
- */
-srtp_err_status_t srtp_add_or_update_stream(srtp_t session, const 
srtp_policy_t *policy);
-
-/**
  * @brief srtp_crypto_policy_set_rtp_default() sets a crypto policy
  * structure to the SRTP default policy for RTP protection.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsrtp2-linphone-2.2.0~git.20210622/srtp/srtp.c 
new/libsrtp2-linphone-2.2.0~git.20210916/srtp/srtp.c
--- old/libsrtp2-linphone-2.2.0~git.20210622/srtp/srtp.c        2021-06-22 
14:51:24.000000000 +0200
+++ new/libsrtp2-linphone-2.2.0~git.20210916/srtp/srtp.c        2021-09-16 
17:20:42.000000000 +0200
@@ -2827,19 +2827,6 @@
     return srtp_err_status_ok;
 }
 
-srtp_err_status_t srtp_add_or_update_stream(srtp_t session, const 
srtp_policy_t *policy)
-{
-    srtp_err_status_t status;
-    // Update streams if the session was already initialized
-    if (session->stream_template) {
-        status = srtp_update_stream(session, policy);
-    } else {
-        status = srtp_add_stream(session, policy);
-    }
-
-    return status;
-}
-
 srtp_err_status_t srtp_add_stream(srtp_t session, const srtp_policy_t *policy)
 {
     srtp_err_status_t status;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsrtp2-linphone-2.2.0~git.20210622/srtp.def 
new/libsrtp2-linphone-2.2.0~git.20210916/srtp.def
--- old/libsrtp2-linphone-2.2.0~git.20210622/srtp.def   2021-06-22 
14:51:24.000000000 +0200
+++ new/libsrtp2-linphone-2.2.0~git.20210916/srtp.def   2021-09-16 
17:20:42.000000000 +0200
@@ -5,7 +5,6 @@
 srtp_unprotect
 srtp_create
 srtp_add_stream
-srtp_add_or_update_stream
 srtp_remove_stream
 srtp_update
 srtp_update_stream

Reply via email to