aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2021-05-23 19:28:45 +0000
committerRomain Tartière <romain@FreeBSD.org>2021-05-23 19:28:45 +0000
commit07d6d600e86b879520aa09d7414f073c58b51e18 (patch)
tree7ad6e1bb44fb61392d5b55b1d6cdc12121533f63 /net
parent7bde444f27bcb784b1355bb6e0a5a880d3b4b68d (diff)
downloadports-07d6d600e86b879520aa09d7414f073c58b51e18.tar.gz
ports-07d6d600e86b879520aa09d7414f073c58b51e18.zip
net/cpp-pcp-client: New port
cpp-pcp-client is a C++ client library for the Puppet Communications Protocol (PCP) protocol. It includes a collection of abstractions which can be used to initiate connections to a PCP broker, wrapping the PCP message format and performing schema validation for message bodies. WWW: https://github.com/puppetlabs/cpp-pcp-client With hat: puppet
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/cpp-pcp-client/Makefile23
-rw-r--r--net/cpp-pcp-client/distinfo3
-rw-r--r--net/cpp-pcp-client/pkg-descr6
-rw-r--r--net/cpp-pcp-client/pkg-plist32
5 files changed, 65 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index c17cbdefea30..3d10b72dc022 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -92,6 +92,7 @@
SUBDIR += corosync3
SUBDIR += courier-authlib-ldap
SUBDIR += courier-sox
+ SUBDIR += cpp-pcp-client
SUBDIR += cppzmq
SUBDIR += croc
SUBDIR += cryptcat
diff --git a/net/cpp-pcp-client/Makefile b/net/cpp-pcp-client/Makefile
new file mode 100644
index 000000000000..bab92ac340b2
--- /dev/null
+++ b/net/cpp-pcp-client/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= cpp-pcp-client
+PORTVERSION= 1.6.5
+CATEGORIES= net
+
+MAINTAINER= puppet@FreeBSD.org
+COMMENT= Client libraries for the PCP protocol
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
+ libleatherman_json_container.so:devel/leatherman
+
+USES= cmake ssl
+USE_GITHUB= yes
+USE_LDCONFIG= yes
+
+GH_ACCOUNT= puppetlabs
+
+CMAKE_OFF= ENABLE_CXX_WERROR
+PLIST_SUB+= PORTVERSION=${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/net/cpp-pcp-client/distinfo b/net/cpp-pcp-client/distinfo
new file mode 100644
index 000000000000..6e75fb167bfa
--- /dev/null
+++ b/net/cpp-pcp-client/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621204141
+SHA256 (puppetlabs-cpp-pcp-client-1.6.5_GH0.tar.gz) = c1001653ed9db52300999d1c18ae80461db1b72f07a79e533fac886e1452b97c
+SIZE (puppetlabs-cpp-pcp-client-1.6.5_GH0.tar.gz) = 2575301
diff --git a/net/cpp-pcp-client/pkg-descr b/net/cpp-pcp-client/pkg-descr
new file mode 100644
index 000000000000..c0382bfc6399
--- /dev/null
+++ b/net/cpp-pcp-client/pkg-descr
@@ -0,0 +1,6 @@
+cpp-pcp-client is a C++ client library for the Puppet Communications Protocol
+(PCP) protocol. It includes a collection of abstractions which can be used to
+initiate connections to a PCP broker, wrapping the PCP message format and
+performing schema validation for message bodies.
+
+WWW: https://github.com/puppetlabs/cpp-pcp-client
diff --git a/net/cpp-pcp-client/pkg-plist b/net/cpp-pcp-client/pkg-plist
new file mode 100644
index 000000000000..c93d8b9f2937
--- /dev/null
+++ b/net/cpp-pcp-client/pkg-plist
@@ -0,0 +1,32 @@
+include/cpp-pcp-client/connector/client_metadata.hpp
+include/cpp-pcp-client/connector/connection.hpp
+include/cpp-pcp-client/connector/connector.hpp
+include/cpp-pcp-client/connector/connector_base.hpp
+include/cpp-pcp-client/connector/errors.hpp
+include/cpp-pcp-client/connector/session_association.hpp
+include/cpp-pcp-client/connector/timings.hpp
+include/cpp-pcp-client/connector/v1/connector.hpp
+include/cpp-pcp-client/connector/v1/session_association.hpp
+include/cpp-pcp-client/connector/v2/connector.hpp
+include/cpp-pcp-client/export.h
+include/cpp-pcp-client/protocol/chunks.hpp
+include/cpp-pcp-client/protocol/errors.hpp
+include/cpp-pcp-client/protocol/message.hpp
+include/cpp-pcp-client/protocol/parsed_chunks.hpp
+include/cpp-pcp-client/protocol/schemas.hpp
+include/cpp-pcp-client/protocol/serialization.hpp
+include/cpp-pcp-client/protocol/v1/chunks.hpp
+include/cpp-pcp-client/protocol/v1/errors.hpp
+include/cpp-pcp-client/protocol/v1/message.hpp
+include/cpp-pcp-client/protocol/v1/schemas.hpp
+include/cpp-pcp-client/protocol/v1/serialization.hpp
+include/cpp-pcp-client/protocol/v2/message.hpp
+include/cpp-pcp-client/protocol/v2/schemas.hpp
+include/cpp-pcp-client/util/chrono.hpp
+include/cpp-pcp-client/util/logging.hpp
+include/cpp-pcp-client/util/thread.hpp
+include/cpp-pcp-client/validator/schema.hpp
+include/cpp-pcp-client/validator/validator.hpp
+include/cpp-pcp-client/valijson/rapidjson_adapter.hpp
+lib/liblibcpp-pcp-client.so
+lib/liblibcpp-pcp-client.so.%%PORTVERSION%%