git: b36e8b67dd38 - main - security/boringssl: set SONAME for the ssl library

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Sun, 09 Jan 2022 13:33:01 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b36e8b67dd38170093df716d3bc0b9f0788a27bc

commit b36e8b67dd38170093df716d3bc0b9f0788a27bc
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2022-01-09 13:31:37 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2022-01-09 13:32:51 +0000

    security/boringssl: set SONAME for the ssl library
    
    Bump PORTREVISION.
    
    Found by:       pluknet
---
 security/boringssl/Makefile                       | 1 +
 security/boringssl/files/patch-ssl_CMakeLists.txt | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile
index 4e0bf0ad981e..93bbb0496f29 100644
--- a/security/boringssl/Makefile
+++ b/security/boringssl/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	boringssl
 PORTVERSION=	0.0.0.0.2022.01.07.01
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	osa@FreeBSD.org
diff --git a/security/boringssl/files/patch-ssl_CMakeLists.txt b/security/boringssl/files/patch-ssl_CMakeLists.txt
new file mode 100644
index 000000000000..44452856f4c0
--- /dev/null
+++ b/security/boringssl/files/patch-ssl_CMakeLists.txt
@@ -0,0 +1,8 @@
+--- ssl/CMakeLists.txt.orig	2022-01-09 08:18:59.300383000 -0500
++++ ssl/CMakeLists.txt	2022-01-09 08:19:33.506134000 -0500
+@@ -63,3 +63,5 @@
+   target_link_libraries(ssl_test ws2_32)
+ endif()
+ add_dependencies(all_tests ssl_test)
++
++SET_TARGET_PROPERTIES(ssl PROPERTIES SOVERSION 1)