From nobody Tue Aug 23 16:25:14 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MBvhq1BYcz4b1Tm; Tue, 23 Aug 2022 16:25:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MBvhq0jDWz3CWD; Tue, 23 Aug 2022 16:25:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661271915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=T2UdmhUdlfXf5ceXdXlJY3ceSUIhG6530I+8U9EjQWE=; b=iyzI2fer+vxBcXnj49GguC3GGAfjBDrTFbZIe+tLL293Qlsl2GHeLhSKJGLJfMCLnIryV0 +QY7N4qUMUveYQ8T7IUDK0SBwHZV5rnM/NUqLu09aPrujJKeJJ3SDk9h78NBj9VbIYH+Ad ut1prwJXWcMMnTfEN7C531aNxUkWKimgOATHSoiWBwovKVvOf0a9ny4/8Z3hIOO6iUxPis qu3jQWMajr4JFbawe/aMxALUgjYn/v2IClswO6mJz1BdJGLcxisZDNEvYewsV452GNh099 VJuAfyiQdSSMEG7D7iUqdgeKKzL+FoNE5Jpro6VZG9o7APl8rRm+wjrYCc3RmA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MBvhp6m1DzbrJ; Tue, 23 Aug 2022 16:25:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27NGPEjP082897; Tue, 23 Aug 2022 16:25:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27NGPE9q082896; Tue, 23 Aug 2022 16:25:14 GMT (envelope-from git) Date: Tue, 23 Aug 2022 16:25:14 GMT Message-Id: <202208231625.27NGPE9q082896@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: c0e67da99a7c - main - devel/open62541: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c0e67da99a7ca0a49a3501d58c0ff3dd118ddf10 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661271915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=T2UdmhUdlfXf5ceXdXlJY3ceSUIhG6530I+8U9EjQWE=; b=hGXLC+QD8odkgrsIo6koGxifWaezRNG2wAu0dPMYEXNJh1VxDg0p6/3TaYnY7ufp4FaAnM 8KgpRYYxpc5DNjMYUO5jLViJDPH09bfyvfMG4i0JM76RzTxQLZNypOmK+T/tq/sHPWkm26 qUC4/QKcWFXPdQledUNCRPfZ3x31jAakVSzSN605nobWE/HybNtBhnykUhWj8g2TBfBcdW fDv3e6lCmWS+Ax0yNPqiJDnvWuoB3Mh70N75i/If3CniU8ddbkDYE2mrtXv76IHFxmVsqF a8txaetzM0ZwEODh8zF4Z+SGaSf3wVTNizGC4iOztAyF5SNJQnqZazjzzIjSww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661271915; a=rsa-sha256; cv=none; b=ujuzFtmByxlJG10hBs86rLem7c7j87cv/uiO7k7KGmsCH+VA1AVwDW8H33ChM+B59DQA4R Az2cN2XxjaKCMvWw/gJkSKezojtLyBTjMwVunJJ2gL43f/9A/JbeUywgmmJQBPbkgjjIct 98nBUMDfYghEMCiZFspAO3BSW1PKOJHUtJ9TH0eDZbJNzzBIBoLsTn/jA/WxIIlzaKXsNd rn87j3N5XcI/GQSMnFWKcmGKOhMeDgj8F1mtB4oh8/59JuCqr3yx4TrSwicr95D/j23XWt 7zfTgC0/rS7RF7OhK4WhvwzfAmPDz0SeWAxFwrtaSatPqi2iT21M2IZoNNGDyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0e67da99a7ca0a49a3501d58c0ff3dd118ddf10 commit c0e67da99a7ca0a49a3501d58c0ff3dd118ddf10 Author: Nico Sonack AuthorDate: 2022-08-18 17:01:08 +0000 Commit: Felix Palmen CommitDate: 2022-08-23 16:24:19 +0000 devel/open62541: Add new port Open62541 is an open source implementation of ISO/IEC 62541 (aka. OPC UA) PR: 265930 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36313 --- devel/Makefile | 1 + devel/open62541/Makefile | 24 +++++++++++++ devel/open62541/distinfo | 3 ++ devel/open62541/pkg-descr | 8 +++++ devel/open62541/pkg-plist | 86 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 122 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 68623f3b8f28..030d1a967f9a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1632,6 +1632,7 @@ SUBDIR += onetbb SUBDIR += oniguruma SUBDIR += open-beagle + SUBDIR += open62541 SUBDIR += opencl SUBDIR += opencl-clang SUBDIR += opencvs diff --git a/devel/open62541/Makefile b/devel/open62541/Makefile new file mode 100644 index 000000000000..18f0af04ed51 --- /dev/null +++ b/devel/open62541/Makefile @@ -0,0 +1,24 @@ +PORTNAME= open62541 +DISTVERSIONPREFIX= v +DISTVERSION= 1.3.3 +CATEGORIES= devel + +MAINTAINER= nsonack@outlook.com +COMMENT= Open source implementation of OPC UA + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake python shebangfix +USE_GITHUB= yes +USE_LDCONFIG= yes + +CMAKE_ON= BUILD_SHARED_LIBS +SHEBANG_GLOB= *.py +BINARY_ALIAS= python3=${PYTHON_CMD} + +post-install: + ${RMDIR} ${STAGEDIR}${DATADIR}/tools/ua-nodeset + ${RMDIR} ${STAGEDIR}${DATADIR}/tools/nodeset_compiler/__pycache__ + +.include diff --git a/devel/open62541/distinfo b/devel/open62541/distinfo new file mode 100644 index 000000000000..99d5622274de --- /dev/null +++ b/devel/open62541/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660839750 +SHA256 (open62541-open62541-v1.3.3_GH0.tar.gz) = 52c049c0f107b4cc382c9e480d677a6360cdd96c472f84689af91b423bd108cb +SIZE (open62541-open62541-v1.3.3_GH0.tar.gz) = 3866193 diff --git a/devel/open62541/pkg-descr b/devel/open62541/pkg-descr new file mode 100644 index 000000000000..1b74d9477514 --- /dev/null +++ b/devel/open62541/pkg-descr @@ -0,0 +1,8 @@ +open62541 is an open source and free implementation of OPC UA (OPC +Unified Architecture) written in the common subset of the C99 and +C++98 languages. The library implements the OPC UA binary protocol +stack as well as a client and server SDK. The final server binaries +can be well under 100kb, depending on the selected features and the +size of the information model. + +WWW: http://open62541.org/ diff --git a/devel/open62541/pkg-plist b/devel/open62541/pkg-plist new file mode 100644 index 000000000000..c453a000edd5 --- /dev/null +++ b/devel/open62541/pkg-plist @@ -0,0 +1,86 @@ +include/aa_tree.h +include/ms_stdint.h +include/open62541/architecture_definitions.h +include/open62541/architecture_functions.h +include/open62541/client.h +include/open62541/client_config_default.h +include/open62541/client_highlevel.h +include/open62541/client_highlevel_async.h +include/open62541/client_subscriptions.h +include/open62541/common.h +include/open62541/config.h +include/open62541/network_tcp.h +include/open62541/nodeids.h +include/open62541/plugin/accesscontrol.h +include/open62541/plugin/accesscontrol_default.h +include/open62541/plugin/log.h +include/open62541/plugin/log_stdout.h +include/open62541/plugin/log_syslog.h +include/open62541/plugin/network.h +include/open62541/plugin/nodestore.h +include/open62541/plugin/nodestore_default.h +include/open62541/plugin/pki.h +include/open62541/plugin/pki_default.h +include/open62541/plugin/pubsub.h +include/open62541/plugin/securitypolicy.h +include/open62541/plugin/securitypolicy_default.h +include/open62541/posix/ua_architecture.h +include/open62541/server.h +include/open62541/server_config_default.h +include/open62541/server_pubsub.h +include/open62541/statuscodes.h +include/open62541/types.h +include/open62541/types_generated.h +include/open62541/types_generated_handling.h +include/open62541/util.h +include/ziptree.h +lib/cmake/open62541/open62541Config.cmake +lib/cmake/open62541/open62541ConfigVersion.cmake +lib/cmake/open62541/open62541Macros.cmake +lib/cmake/open62541/open62541Targets-release.cmake +lib/cmake/open62541/open62541Targets.cmake +lib/libopen62541.so +lib/libopen62541.so.1 +lib/libopen62541.so.1.3.3 +%%DATADIR%%/tools/certs/create_self-signed.py +%%DATADIR%%/tools/certs/localhost.cnf +%%DATADIR%%/tools/generate_datatypes.py +%%DATADIR%%/tools/generate_nodeid_header.py +%%DATADIR%%/tools/generate_statuscode_descriptions.py +%%DATADIR%%/tools/nodeset_compiler/NodeID_NS0_Base.txt +%%DATADIR%%/tools/nodeset_compiler/README.md +%%DATADIR%%/tools/nodeset_compiler/__init__.py +%%DATADIR%%/tools/nodeset_compiler/backend_graphviz.py +%%DATADIR%%/tools/nodeset_compiler/backend_open62541.py +%%DATADIR%%/tools/nodeset_compiler/backend_open62541_datatypes.py +%%DATADIR%%/tools/nodeset_compiler/backend_open62541_nodes.py +%%DATADIR%%/tools/nodeset_compiler/backend_open62541_typedefinitions.py +%%DATADIR%%/tools/nodeset_compiler/datatypes.py +%%DATADIR%%/tools/nodeset_compiler/nodes.py +%%DATADIR%%/tools/nodeset_compiler/nodeset.py +%%DATADIR%%/tools/nodeset_compiler/nodeset_compiler.py +%%DATADIR%%/tools/nodeset_compiler/nodeset_testing.py +%%DATADIR%%/tools/nodeset_compiler/opaque_type_mapping.py +%%DATADIR%%/tools/nodeset_compiler/type_parser.py +%%DATADIR%%/tools/schema/Custom.Opc.Ua.Transport.bsd +%%DATADIR%%/tools/schema/NodeIds.csv +%%DATADIR%%/tools/schema/Opc.Ua.NodeSet2.DiagnosticsMinimal.xml +%%DATADIR%%/tools/schema/Opc.Ua.NodeSet2.EventsMinimal.xml +%%DATADIR%%/tools/schema/Opc.Ua.NodeSet2.HistorizingMinimal.xml +%%DATADIR%%/tools/schema/Opc.Ua.NodeSet2.Part8_Subset.xml +%%DATADIR%%/tools/schema/Opc.Ua.NodeSet2.PubSubMinimal.xml +%%DATADIR%%/tools/schema/Opc.Ua.NodeSet2.Reduced.xml +%%DATADIR%%/tools/schema/Opc.Ua.Types.bsd +%%DATADIR%%/tools/schema/StatusCode.csv +%%DATADIR%%/tools/schema/datatypes_dataaccess.txt +%%DATADIR%%/tools/schema/datatypes_diagnostics.txt +%%DATADIR%%/tools/schema/datatypes_discovery.txt +%%DATADIR%%/tools/schema/datatypes_events.txt +%%DATADIR%%/tools/schema/datatypes_historizing.txt +%%DATADIR%%/tools/schema/datatypes_method.txt +%%DATADIR%%/tools/schema/datatypes_minimal.txt +%%DATADIR%%/tools/schema/datatypes_pubsub.txt +%%DATADIR%%/tools/schema/datatypes_query.txt +%%DATADIR%%/tools/schema/datatypes_subscriptions.txt +%%DATADIR%%/tools/schema/datatypes_transport.txt +%%DATADIR%%/tools/schema/datatypes_typedescription.txt