git: da425292f8e6 - main - devel/open62541: Update to 1.3.4 and enable encryption plugins

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 20 Feb 2023 23:37:43 UTC
The branch main has been updated by fuz:

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

commit da425292f8e6b4b7fe8946ec0dc1df50ab95a9c2
Author:     Nico Sonack <nsonack@herrhotzenplotz.de>
AuthorDate: 2023-02-17 12:55:47 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-20 23:36:37 +0000

    devel/open62541: Update to 1.3.4 and enable encryption plugins
    
    While we are at it, kill -Werror.
    This update fixes the build with LLVM 15.
    
    Changelog: https://github.com/open62541/open62541/releases/tag/v1.3.4
    
    Submitted by:   Nico Sonack (maintainer, via email)
    Approved by:    flo (mentor)
    Differential Revision: https://reviews.freebsd.org/D38683
---
 devel/open62541/Makefile | 14 ++++++++++++--
 devel/open62541/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/devel/open62541/Makefile b/devel/open62541/Makefile
index a2be685c4239..145d3b31653a 100644
--- a/devel/open62541/Makefile
+++ b/devel/open62541/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	open62541
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.3.3
+DISTVERSION=	1.3.4
 CATEGORIES=	devel
 
 MAINTAINER=	nsonack@outlook.com
@@ -14,10 +14,20 @@ USES=		cmake python shebangfix
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 
-CMAKE_ON=	BUILD_SHARED_LIBS
 SHEBANG_GLOB=	*.py
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_OFF=	UA_FORCE_WERROR
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
+OPTIONS_DEFINE=		OSSL
+OPTIONS_DEFAULT=	OSSL
+
+OSSL_DESC=		Enable encryption using OpenSSL
+OSSL_USES=		ssl
+OSSL_CMAKE_ON=		-DUA_ENABLE_ENCRYPTION=OPENSSL
+OSSL_PLIST_FILES=	include/open62541/plugin/create_certificate.h
+
 post-install:
 	${RMDIR} ${STAGEDIR}${DATADIR}/tools/ua-nodeset
 	${RMDIR} ${STAGEDIR}${DATADIR}/tools/nodeset_compiler/__pycache__
diff --git a/devel/open62541/distinfo b/devel/open62541/distinfo
index 99d5622274de..791bf611b3cc 100644
--- a/devel/open62541/distinfo
+++ b/devel/open62541/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660839750
-SHA256 (open62541-open62541-v1.3.3_GH0.tar.gz) = 52c049c0f107b4cc382c9e480d677a6360cdd96c472f84689af91b423bd108cb
-SIZE (open62541-open62541-v1.3.3_GH0.tar.gz) = 3866193
+TIMESTAMP = 1676633585
+SHA256 (open62541-open62541-v1.3.4_GH0.tar.gz) = 3489cfa2f98c52df252adc8e641a9e59cb675bdfd5ef413b0d947e667cddd16d
+SIZE (open62541-open62541-v1.3.4_GH0.tar.gz) = 3867546