git: 07d6d600e86b - main - net/cpp-pcp-client: New port

Romain Tartière romain at FreeBSD.org
Sun May 23 19:39:51 UTC 2021


The branch main has been updated by romain:

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

commit 07d6d600e86b879520aa09d7414f073c58b51e18
Author:     Romain Tartière <romain at FreeBSD.org>
AuthorDate: 2021-05-23 19:28:45 +0000
Commit:     Romain Tartière <romain at FreeBSD.org>
CommitDate: 2021-05-23 19:28:45 +0000

    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
---
 net/Makefile                 |  1 +
 net/cpp-pcp-client/Makefile  | 23 +++++++++++++++++++++++
 net/cpp-pcp-client/distinfo  |  3 +++
 net/cpp-pcp-client/pkg-descr |  6 ++++++
 net/cpp-pcp-client/pkg-plist | 32 ++++++++++++++++++++++++++++++++
 5 files changed, 65 insertions(+)

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 at 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%%


More information about the dev-commits-ports-all mailing list