commit 9f421f08402004481b0e2fe0dd33b85b7e2146d5
Author: Jakub Bogusz <[email protected]>
Date:   Tue Jan 21 18:00:25 2020 +0100

    - updated to 5.1.1 (some vulnerability fixes)
    - added soname patch (fix mistaken soversion increase)

 libosip2-soname.patch | 12 ++++++++++++
 libosip2.spec         |  7 +++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/libosip2.spec b/libosip2.spec
index 9950040..87b5521 100644
--- a/libosip2.spec
+++ b/libosip2.spec
@@ -5,14 +5,15 @@
 Summary:       The GNU oSIP library
 Summary(pl.UTF-8):     Biblioteka GNU oSIP
 Name:          libosip2
-Version:       5.1.0
+Version:       5.1.1
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       https://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz
-# Source0-md5: e69f625d0cc21fea946e08ffec51f2db
+# Source0-md5: 8527fb56a7414df0a04ca19f3cc6eadd
 Patch0:                %{name}-nolibs.patch
 Patch1:                %{name}-link.patch
+Patch2:                %{name}-soname.patch
 URL:           http://www.gnu.org/software/osip/
 BuildRequires: autoconf >= 2.69
 BuildRequires: automake
@@ -64,6 +65,7 @@ Statyczna wersja biblioteki GNU oSIP.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -75,6 +77,7 @@ Statyczna wersja biblioteki GNU oSIP.
        --enable-debug%{!?debug:=no} \
        --enable-pthread \
        --enable-semaphore \
+       --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 
 %{__make}
diff --git a/libosip2-soname.patch b/libosip2-soname.patch
new file mode 100644
index 0000000..9e4e768
--- /dev/null
+++ b/libosip2-soname.patch
@@ -0,0 +1,12 @@
+soname change 12:0:0 (.so.12.0.0) -> 12:0:1 (.so.11.1.0) looks like mistake... 
it was meant to be 12:1:0 (.so.12.0.1) or 13:0:1 (.so.12.1.0)
+--- libosip2-5.1.1/configure.ac.orig   2020-01-21 17:42:22.616484653 +0100
++++ libosip2-5.1.1/configure.ac        2020-01-21 17:47:55.654680430 +0100
+@@ -5,7 +5,7 @@
+ AC_MSG_NOTICE([libosip2                The GNU Open SIP library.])
+ AC_MSG_NOTICE([Copyright (C) 2001-2020 Aymeric MOIZARD - 
<[email protected]>])
+ 
+-AC_SUBST(LIBOSIP_SO_VERSION, 12:0:1)
++AC_SUBST(LIBOSIP_SO_VERSION, 12:1:0)
+ AC_SUBST(OSIP_VERSION, $VERSION)
+ 
+ AC_MSG_RESULT([Configuring ${PACKAGE} ${VERSION}])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libosip2.git/commitdiff/9f421f08402004481b0e2fe0dd33b85b7e2146d5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to