pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net cppzmq: added version 4.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6cb000cdcc45
branches:  trunk
changeset: 386419:6cb000cdcc45
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 08 13:15:07 2022 +0000

description:
cppzmq: added version 4.8.1

cppzmq is a C++ binding for libzmq. It has the following design goals:

* cppzmq maps the libzmq C API to C++ concepts. In particular:
  - it is type-safe (the libzmq C API exposes various class-like concepts as
    void*)
  - it provides exception-based error handling (the libzmq C API provides
    errno-based error handling)
  - it provides RAII-style classes that automate resource management (the
    libzmq C API requires the user to take care to free resources explicitly)

* cppzmq is a light-weight, header-only binding. You only need to include the
  header file zmq.hpp (and maybe zmq_addon.hpp) to use it.

* zmq.hpp is meant to contain direct mappings of the abstractions provided by
  the libzmq C API, while zmq_addon.hpp provides additional higher-level
  abstractions.

diffstat:

 net/Makefile             |   3 ++-
 net/cppzmq/DESCR         |  16 ++++++++++++++++
 net/cppzmq/Makefile      |  18 ++++++++++++++++++
 net/cppzmq/PLIST         |   7 +++++++
 net/cppzmq/buildlink3.mk |  15 +++++++++++++++
 net/cppzmq/distinfo      |   5 +++++
 6 files changed, 63 insertions(+), 1 deletions(-)

diffs (98 lines):

diff -r ef9d0656b072 -r 6cb000cdcc45 net/Makefile
--- a/net/Makefile      Sat Oct 08 11:30:53 2022 +0000
+++ b/net/Makefile      Sat Oct 08 13:15:07 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1482 2022/09/22 05:59:26 wiz Exp $
+# $NetBSD: Makefile,v 1.1483 2022/10/08 13:15:07 adam Exp $
 #
 
 COMMENT=       Networking tools
@@ -80,6 +80,7 @@
 SUBDIR+=       corkscrew
 SUBDIR+=       couriertcpd
 SUBDIR+=       coursera-dl
+SUBDIR+=       cppzmq
 SUBDIR+=       csup
 SUBDIR+=       czds
 SUBDIR+=       dante
diff -r ef9d0656b072 -r 6cb000cdcc45 net/cppzmq/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/cppzmq/DESCR  Sat Oct 08 13:15:07 2022 +0000
@@ -0,0 +1,16 @@
+cppzmq is a C++ binding for libzmq. It has the following design goals:
+
+* cppzmq maps the libzmq C API to C++ concepts. In particular:
+  - it is type-safe (the libzmq C API exposes various class-like concepts as
+    void*)
+  - it provides exception-based error handling (the libzmq C API provides
+    errno-based error handling)
+  - it provides RAII-style classes that automate resource management (the
+    libzmq C API requires the user to take care to free resources explicitly)
+
+* cppzmq is a light-weight, header-only binding. You only need to include the
+  header file zmq.hpp (and maybe zmq_addon.hpp) to use it.
+
+* zmq.hpp is meant to contain direct mappings of the abstractions provided by
+  the libzmq C API, while zmq_addon.hpp provides additional higher-level
+  abstractions.
diff -r ef9d0656b072 -r 6cb000cdcc45 net/cppzmq/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/cppzmq/Makefile       Sat Oct 08 13:15:07 2022 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2022/10/08 13:15:07 adam Exp $
+
+DISTNAME=      cppzmq-4.8.1
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=zeromq/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/zeromq/cppzmq
+COMMENT=       C++ binding for libzmq
+LICENSE=       mit
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+TEST_TARGET=   test
+
+.include "../../net/zeromq/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ef9d0656b072 -r 6cb000cdcc45 net/cppzmq/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/cppzmq/PLIST  Sat Oct 08 13:15:07 2022 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2022/10/08 13:15:07 adam Exp $
+include/zmq.hpp
+include/zmq_addon.hpp
+share/cmake/cppzmq/cppzmqConfig.cmake
+share/cmake/cppzmq/cppzmqConfigVersion.cmake
+share/cmake/cppzmq/cppzmqTargets.cmake
+share/cmake/cppzmq/libzmq-pkg-config/FindZeroMQ.cmake
diff -r ef9d0656b072 -r 6cb000cdcc45 net/cppzmq/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/cppzmq/buildlink3.mk  Sat Oct 08 13:15:07 2022 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/10/08 13:15:07 adam Exp $
+
+BUILDLINK_TREE+=       cppzmq
+
+.if !defined(CPPZMQ_BUILDLINK3_MK)
+CPPZMQ_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cppzmq+= cppzmq>=4.8.1
+BUILDLINK_PKGSRCDIR.cppzmq?=   ../../net/cppzmq
+BUILDLINK_DEPMETHOD.cppzmq?=   build
+
+.include "../../net/zeromq/buildlink3.mk"
+.endif # CPPZMQ_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -cppzmq
diff -r ef9d0656b072 -r 6cb000cdcc45 net/cppzmq/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/cppzmq/distinfo       Sat Oct 08 13:15:07 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/10/08 13:15:07 adam Exp $
+
+BLAKE2s (cppzmq-4.8.1.tar.gz) = 3986060a98cf8c1a7b686f70de075faf276ad523e493ac135efc81a970bd7e1a
+SHA512 (cppzmq-4.8.1.tar.gz) = 02f9b77f67dd46557705511195eb3f4f4e52381256bc9687f36d3e69db6a628c19cfff02209b6e6b53822a60781ab0850eb064d8f020e059fc1aca4d191b66db
+Size (cppzmq-4.8.1.tar.gz) = 46316 bytes



Home | Main Index | Thread Index | Old Index