git: c0e67da99a7c - main - devel/open62541: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Aug 2022 16:25:14 UTC
The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0e67da99a7ca0a49a3501d58c0ff3dd118ddf10 commit c0e67da99a7ca0a49a3501d58c0ff3dd118ddf10 Author: Nico Sonack <nsonack@outlook.com> AuthorDate: 2022-08-18 17:01:08 +0000 Commit: Felix Palmen <zirias@FreeBSD.org> 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 <bsd.port.mk> 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