Hello community,

here is the log from the commit of package libressl for openSUSE:Factory 
checked in at 2017-12-06 08:59:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libressl (Old)
 and      /work/SRC/openSUSE:Factory/.libressl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libressl"

Wed Dec  6 08:59:20 2017 rev:35 rq:548437 version:2.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libressl/libressl.changes        2017-11-12 
18:03:05.635185191 +0100
+++ /work/SRC/openSUSE:Factory/.libressl.new/libressl.changes   2017-12-06 
08:59:21.799284768 +0100
@@ -1,0 +2,5 @@
+Mon Dec  4 20:30:57 UTC 2017 - [email protected]
+
+- Add extra-symver.diff
+
+-------------------------------------------------------------------

New:
----
  extra-symver.diff

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

Other differences:
------------------
++++++ libressl.spec ++++++
--- /var/tmp/diff_new_pack.J6Rxq9/_old  2017-12-06 08:59:22.727250800 +0100
+++ /var/tmp/diff_new_pack.J6Rxq9/_new  2017-12-06 08:59:22.731250654 +0100
@@ -32,7 +32,10 @@
 Source3:        %name.keyring
 Source4:        baselibs.conf
 Patch1:         des-fcrypt.diff
+Patch2:         extra-symver.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  fdupes
 BuildRequires:  pkg-config
 Conflicts:      otherproviders(ssl)
@@ -109,9 +112,10 @@
 
 %prep
 %setup -q
-%patch -P 1 -p1
+%patch -P 1 -P 2 -p1
 
 %build
+autoreconf -fi
 # Some smart people broke disable-static
 %configure --enable-libtls
 make %{?_smp_mflags}

++++++ extra-symver.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2017-12-04 21:25:11.022534627 +0100

Add symbol versions into the library to be on par with openssl.
---
 crypto/Makefile.am |    6 +++++-
 ssl/Makefile.am    |    6 +++++-
 tls/Makefile.am    |    6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

Index: libressl-2.6.3/crypto/Makefile.am
===================================================================
--- libressl-2.6.3.orig/crypto/Makefile.am
+++ libressl-2.6.3/crypto/Makefile.am
@@ -92,7 +92,11 @@ if HOST_WIN
        -mv crypto_portable.sym.tmp crypto_portable.sym
 endif
 
-libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined 
-export-symbols crypto_portable.sym
+crypto2.sym: crypto_portable.sym
+       (echo 'LIBRESSL { global: '; sed -e 's/\(.*\)/\1;/' <$<; echo 'local: 
*; };') >$@
+
+libcrypto_la_DEPENDENCIES = crypto2.sym
+libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined 
-Wl,--version-script=crypto2.sym
 libcrypto_la_LIBADD = libcompat.la
 if !HAVE_EXPLICIT_BZERO
 libcrypto_la_LIBADD += libcompatnoopt.la
Index: libressl-2.6.3/ssl/Makefile.am
===================================================================
--- libressl-2.6.3.orig/ssl/Makefile.am
+++ libressl-2.6.3/ssl/Makefile.am
@@ -6,7 +6,11 @@ EXTRA_DIST = VERSION
 EXTRA_DIST += CMakeLists.txt
 EXTRA_DIST += ssl.sym
 
-libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined 
-export-symbols $(top_srcdir)/ssl/ssl.sym
+ssl2.sym: ssl.sym
+       (echo 'LIBRESSL { global: '; sed -e 's/\(.*\)/\1;/' <$<; echo 'local: 
*; };') >$@
+
+libssl_la_DEPENDENCIES = ssl2.sym
+libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined 
-Wl,--version-script=ssl2.sym
 libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la
 
 libssl_la_SOURCES = bio_ssl.c
Index: libressl-2.6.3/tls/Makefile.am
===================================================================
--- libressl-2.6.3.orig/tls/Makefile.am
+++ libressl-2.6.3/tls/Makefile.am
@@ -6,7 +6,11 @@ EXTRA_DIST = VERSION
 EXTRA_DIST += CMakeLists.txt
 EXTRA_DIST += tls.sym
 
-libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined 
-export-symbols $(top_srcdir)/tls/tls.sym
+tls2.sym: tls.sym
+       (echo 'LIBRESSL { global: '; sed -e 's/\(.*\)/\1;/' <$<; echo 'local: 
*; };') >$@
+
+libtls_la_DEPENDENCIES = tls2.sym
+libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined 
-Wl,--version-script=tls2.sym
 libtls_la_LIBADD = $(abs_top_builddir)/ssl/libssl.la
 libtls_la_LIBADD += $(abs_top_builddir)/crypto/libcrypto.la
 libtls_la_LIBADD += $(PLATFORM_LDADD)


Reply via email to