pkgsrc-Changes archive

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

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Oct  8 13:15:07 UTC 2022

Modified Files:
        pkgsrc/net: Makefile
Added Files:
        pkgsrc/net/cppzmq: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1482 -r1.1483 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/cppzmq/DESCR pkgsrc/net/cppzmq/Makefile \
    pkgsrc/net/cppzmq/PLIST pkgsrc/net/cppzmq/buildlink3.mk \
    pkgsrc/net/cppzmq/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1482 pkgsrc/net/Makefile:1.1483
--- pkgsrc/net/Makefile:1.1482  Thu Sep 22 05:59:26 2022
+++ pkgsrc/net/Makefile Sat Oct  8 13:15:07 2022
@@ -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+=      corebird
 SUBDIR+=       corkscrew
 SUBDIR+=       couriertcpd
 SUBDIR+=       coursera-dl
+SUBDIR+=       cppzmq
 SUBDIR+=       csup
 SUBDIR+=       czds
 SUBDIR+=       dante

Added files:

Index: pkgsrc/net/cppzmq/DESCR
diff -u /dev/null pkgsrc/net/cppzmq/DESCR:1.1
--- /dev/null   Sat Oct  8 13:15:07 2022
+++ pkgsrc/net/cppzmq/DESCR     Sat Oct  8 13:15:07 2022
@@ -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.
Index: pkgsrc/net/cppzmq/Makefile
diff -u /dev/null pkgsrc/net/cppzmq/Makefile:1.1
--- /dev/null   Sat Oct  8 13:15:07 2022
+++ pkgsrc/net/cppzmq/Makefile  Sat Oct  8 13:15:07 2022
@@ -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"
Index: pkgsrc/net/cppzmq/PLIST
diff -u /dev/null pkgsrc/net/cppzmq/PLIST:1.1
--- /dev/null   Sat Oct  8 13:15:07 2022
+++ pkgsrc/net/cppzmq/PLIST     Sat Oct  8 13:15:07 2022
@@ -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
Index: pkgsrc/net/cppzmq/buildlink3.mk
diff -u /dev/null pkgsrc/net/cppzmq/buildlink3.mk:1.1
--- /dev/null   Sat Oct  8 13:15:07 2022
+++ pkgsrc/net/cppzmq/buildlink3.mk     Sat Oct  8 13:15:07 2022
@@ -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
Index: pkgsrc/net/cppzmq/distinfo
diff -u /dev/null pkgsrc/net/cppzmq/distinfo:1.1
--- /dev/null   Sat Oct  8 13:15:07 2022
+++ pkgsrc/net/cppzmq/distinfo  Sat Oct  8 13:15:07 2022
@@ -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