]> git.pld-linux.org Git - packages/libsrtp2.git/commitdiff
- updated to 2.4.2 auto/th/libsrtp2-2.4.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Apr 2022 05:44:20 +0000 (07:44 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Apr 2022 05:44:20 +0000 (07:44 +0200)
- updated test-build patch

libsrtp2.spec
test-build.patch

index 7f33943aff2ec85e6215ebe803e671d8115d803b..a6fa2a93b0124356cd25acc65a169c071bfec65a 100644 (file)
@@ -1,23 +1,26 @@
 Summary:       Open-source implementation of Secure Real-time Transport Protocol
 Summary(pl.UTF-8):     Otwarta implementacja protokołu Secure Real-time Transport Protocol
 Name:          libsrtp2
-Version:       2.3.0
-Release:       2
+Version:       2.4.2
+Release:       1
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/cisco/libsrtp/releases
 Source0:       https://github.com/cisco/libsrtp/archive/v%{version}/libsrtp-%{version}.tar.gz
-# Source0-md5: da38ee5d9c31be212a12964c22d7f795
+# Source0-md5: 253ededcbfad5335efc0825f7ef0c6cc
 Patch0:                test-build.patch
 URL:           https://github.com/cisco/libsrtp
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: doxygen
 BuildRequires: libpcap-devel
-BuildRequires: openssl-devel >= 1.0.1
+# also supported: nspr>=4+nss>=3 or mbedtls (the last only in cmake build)
+BuildRequires: openssl-devel >= 1.0.2i
 BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
 BuildRequires: zlib-devel
-Obsoletes:     srtp
+Requires:      openssl >= 1.0.2i
+Obsoletes:     srtp < 2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,9 +37,9 @@ Summary(pl.UTF-8):    Pliki nagłówkowe biblioteki SRTP
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      libpcap-devel
-Requires:      openssl-devel >= 1.0.1
+Requires:      openssl-devel >= 1.0.2i
 Requires:      zlib-devel
-Obsoletes:     srtp-devel
+Obsoletes:     srtp-devel < 2
 
 %description devel
 Header files for SRTP library.
@@ -49,7 +52,7 @@ Summary:      Static SRTP library
 Summary(pl.UTF-8):     Statyczna biblioteka SRTP
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
-Obsoletes:     srtp-static
+Obsoletes:     srtp-static < 2
 
 %description static
 Static SRTP library.
@@ -87,6 +90,7 @@ cp -a /usr/share/automake/ar-lib .
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
index 7c21c5f6ad8ca15379b39d21c972081b51777d6f..744cd4ab24a841f8e3b4fe4551a3f7ab3150e81e 100644 (file)
@@ -1,16 +1,15 @@
-diff -ur libsrtp-2.3.0/test/util.c libsrtp-2.3.0-build/test/util.c
---- libsrtp-2.3.0/test/util.c  2019-12-23 10:58:25.000000000 +0100
-+++ libsrtp-2.3.0-build/test/util.c    2021-10-16 23:09:56.357524543 +0200
+--- libsrtp-2.4.2/test/util.c.orig     2021-09-20 16:13:26.000000000 +0200
++++ libsrtp-2.4.2/test/util.c  2022-04-02 07:36:44.355835655 +0200
 @@ -49,7 +49,7 @@
  #include <stdint.h>
  
  /* include space for null terminator */
--char bit_string[MAX_PRINT_STRING_LEN + 1];
-+char test_bit_string[MAX_PRINT_STRING_LEN + 1];
+-static char bit_string[MAX_PRINT_STRING_LEN + 1];
++static char test_bit_string[MAX_PRINT_STRING_LEN + 1];
  
  static inline int hex_char_to_nibble(uint8_t c)
  {
-@@ -157,11 +157,11 @@
+@@ -157,11 +157,11 @@ char *octet_string_hex_string(const void
      }
  
      for (i = 0; i < length; i += 2) {
This page took 0.137439 seconds and 4 git commands to generate.