Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsrtp2 for openSUSE:Factory 
checked in at 2021-05-20 19:23:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsrtp2 (Old)
 and      /work/SRC/openSUSE:Factory/.libsrtp2.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsrtp2"

Thu May 20 19:23:08 2021 rev:5 rq:893249 version:2.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsrtp2/libsrtp2.changes        2020-09-09 
17:48:30.150502645 +0200
+++ /work/SRC/openSUSE:Factory/.libsrtp2.new.2988/libsrtp2.changes      
2021-05-20 19:23:16.474390222 +0200
@@ -1,0 +2,6 @@
+Sat May 15 00:27:16 UTC 2021 - Jan Engelhardt <jeng...@inai.de>
+
+- Add 0001-Adjust-.pc-file-not-to-expose-used-crypto-library.patch
+  [boo#1185931]
+
+-------------------------------------------------------------------

New:
----
  0001-Adjust-.pc-file-not-to-expose-used-crypto-library.patch

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

Other differences:
------------------
++++++ libsrtp2.spec ++++++
--- /var/tmp/diff_new_pack.AXCUq4/_old  2021-05-20 19:23:16.958388175 +0200
+++ /var/tmp/diff_new_pack.AXCUq4/_new  2021-05-20 19:23:16.958388175 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libsrtp2
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 
 Source:         https://github.com/cisco/libsrtp/archive/v%version.tar.gz
 Source99:       baselibs.conf
+Patch1:         0001-Adjust-.pc-file-not-to-expose-used-crypto-library.patch
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(openssl) >= 1.0.1
 # srtp was last used in openSUSE 13.1.
@@ -62,7 +63,7 @@
 This subpackage contains the development headers.
 
 %prep
-%autosetup -p1 -n libsrtp-%version
+%autosetup -p0 -n libsrtp-%version
 
 %build
 %configure --enable-openssl

++++++ 0001-Adjust-.pc-file-not-to-expose-used-crypto-library.patch ++++++
>From 676bf7481aa96f3d691c6e44730e8308214f3a76 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jeng...@inai.de>
Date: Sat, 15 May 2021 02:24:03 +0200
Subject: [PATCH] Adjust .pc file not to expose used crypto library
References: https://github.com/cisco/libsrtp/pull/537
References: https://bugzilla.suse.com/show_bug.cgi?id=1185931

srtp headers are not directly including openssl headers. The srtp (shared)
library already has links to libcrypto and so -lcrypto is at best only needed
for static linking, but that must go into a the field called "private".
---
 libsrtp2.pc.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git libsrtp2.pc.in libsrtp2.pc.in
index fcb8652..f2097a3 100644
--- libsrtp2.pc.in
+++ libsrtp2.pc.in
@@ -7,5 +7,6 @@ Name: @PACKAGE_NAME@
 Version: @PACKAGE_VERSION@
 Description: Library for SRTP (Secure Realtime Transport Protocol)
 
-Libs: -L${libdir} -lsrtp2 @LIBS@
+Libs: -L${libdir} -lsrtp2
+Libs.private: @LIBS@
 Cflags: -I${includedir}
-- 
2.31.1

Reply via email to