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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to