Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2018 21:37:45 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r339709 - in head: . secure/lib/libcrypto secure/lib/libssl
Message-ID:  <20181025183745.GS5335@kib.kiev.ua>
In-Reply-To: <baacb72a-2701-8395-ab1f-9ffffb60ad95@FreeBSD.org>
References:  <201810251337.w9PDbwTR016242@repo.freebsd.org> <baacb72a-2701-8395-ab1f-9ffffb60ad95@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 25, 2018 at 02:20:15PM -0400, Jung-uk Kim wrote:
> On 18. 10. 25., Konstantin Belousov wrote:
> > Author: kib
> > Date: Thu Oct 25 13:37:57 2018
> > New Revision: 339709
> > URL: https://svnweb.freebsd.org/changeset/base/339709
> > 
> > Log:
> >   Bump base OpenSSL libraries versions to avoid conflict with port's libraries.
> >   
> >   Reported by:	many
> >   Reviewed by:	gjb
> >   Sponsored by:	The FreeBSD Foundation
> >   MFC after:	3 hours
> > 
> > Modified:
> >   head/ObsoleteFiles.inc
> >   head/secure/lib/libcrypto/Makefile
> >   head/secure/lib/libssl/Makefile
> > 
> > Modified: head/ObsoleteFiles.inc
> > ==============================================================================
> > --- head/ObsoleteFiles.inc	Thu Oct 25 12:27:16 2018	(r339708)
> > +++ head/ObsoleteFiles.inc	Thu Oct 25 13:37:57 2018	(r339709)
> > @@ -38,6 +38,11 @@
> >  #   xargs -n1 | sort | uniq -d;
> >  # done
> >  
> > +# 20181025: OpenSSL libraries version bump to avoid conflict with ports
> > +OLD_LIBS+=lib/libcrypto.so.9
> > +OLD_LIBS+=usr/lib/libssl.so.9
> > +OLD_LIBS+=usr/lib32/libcrypto.so.9
> > +OLD_LIBS+=usr/lib32/libssl.so.9
> >  # 20181021: mse(4) removal
> >  OLD_FILES+=usr/share/man/man4/mse.4.gz
> >  # 20181021: joy(4) removal
> > 
> > Modified: head/secure/lib/libcrypto/Makefile
> > ==============================================================================
> > --- head/secure/lib/libcrypto/Makefile	Thu Oct 25 12:27:16 2018	(r339708)
> > +++ head/secure/lib/libcrypto/Makefile	Thu Oct 25 13:37:57 2018	(r339709)
> > @@ -6,7 +6,7 @@ SUBDIR=		engines
> >  .include <bsd.own.mk>
> >  
> >  LIB=		crypto
> > -SHLIB_MAJOR=	9
> > +SHLIB_MAJOR=	111
> >  VERSION_MAP=	${.CURDIR}/Version.map
> >  
> >  NO_LINT=
> > 
> > Modified: head/secure/lib/libssl/Makefile
> > ==============================================================================
> > --- head/secure/lib/libssl/Makefile	Thu Oct 25 12:27:16 2018	(r339708)
> > +++ head/secure/lib/libssl/Makefile	Thu Oct 25 13:37:57 2018	(r339709)
> > @@ -1,7 +1,7 @@
> >  # $FreeBSD$
> >  
> >  LIB=		ssl
> > -SHLIB_MAJOR=	9
> > +SHLIB_MAJOR=	111
> >  VERSION_MAP=	${.CURDIR}/Version.map
> >  
> >  NO_LINT=
> 
> You forgot to update SHLIB_VERSION_NUMBER.
> 
> https://svnweb.freebsd.org/base/head/crypto/openssl/include/openssl/opensslv.h?revision=339270&view=markup#l95
> 

Would the following be enough ?

diff --git a/crypto/openssl/include/openssl/opensslv.h b/crypto/openssl/include/openssl/opensslv.h
index d23d73f90ce..363359d9ef4 100644
--- a/crypto/openssl/include/openssl/opensslv.h
+++ b/crypto/openssl/include/openssl/opensslv.h
@@ -92,7 +92,7 @@ extern "C" {
  * should only keep the versions that are binary compatible with the current.
  */
 # define SHLIB_VERSION_HISTORY ""
-# define SHLIB_VERSION_NUMBER "9"
+# define SHLIB_VERSION_NUMBER "111"
 
 
 #ifdef  __cplusplus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181025183745.GS5335>