git: a1a26e6a8d3f - main - devel/libcdada: new port in prepartion for net-mgmt/pmacct update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Feb 2023 18:52:48 UTC
The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1a26e6a8d3f0f6616823ab9d23ab5575e704649 commit a1a26e6a8d3f0f6616823ab9d23ab5575e704649 Author: Kurt Jaeger <pi@FreeBSD.org> AuthorDate: 2023-02-27 18:50:39 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2023-02-27 18:51:50 +0000 devel/libcdada: new port in prepartion for net-mgmt/pmacct update Small library that offers basic data structures (list, set, map...) in a pure C API for user-space applications. Key features: - Easy to use, portable - No "magic" MACROs, and no need to modify your data structures (except, perhaps, for __attribute__((packed))) - Stable and well-tested backend engine (libstdc++) for most of the data structures - Reasonable performance - comparable to libstdc++ --- devel/Makefile | 1 + devel/libcdada/Makefile | 19 +++++++++++++++++++ devel/libcdada/distinfo | 3 +++ devel/libcdada/pkg-descr | 9 +++++++++ devel/libcdada/pkg-plist | 26 ++++++++++++++++++++++++++ 5 files changed, 58 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e49bc20fbcc2..47546608ac93 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1155,6 +1155,7 @@ SUBDIR += libburn SUBDIR += libcbor SUBDIR += libccid + SUBDIR += libcdada SUBDIR += libcdb SUBDIR += libcds SUBDIR += libcfu diff --git a/devel/libcdada/Makefile b/devel/libcdada/Makefile new file mode 100644 index 000000000000..1e0218604d41 --- /dev/null +++ b/devel/libcdada/Makefile @@ -0,0 +1,19 @@ +PORTNAME= libcdada +DISTVERSION= 0.4.0 +CATEGORIES= devel + +MAINTAINER= pi@FreeBSD.org +COMMENT= Basic data structures in C as libstdc++ wrapper +WWW= https://github.com/msune/libcdada + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= autoreconf pkgconfig python:3.8+ shebangfix +SHEBANG_FILES= tools/cdada-gen +USE_GITHUB= yes +GNU_CONFIGURE= yes +GH_ACCOUNT= msune +GH_TAGNAME= 4eb0b61 + +.include <bsd.port.mk> diff --git a/devel/libcdada/distinfo b/devel/libcdada/distinfo new file mode 100644 index 000000000000..42c10d324494 --- /dev/null +++ b/devel/libcdada/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677488705 +SHA256 (msune-libcdada-0.4.0-4eb0b61_GH0.tar.gz) = 05271adabadbdc9c77a78fefbe8eb30aaebdfa7e8345fc41de8947555070b410 +SIZE (msune-libcdada-0.4.0-4eb0b61_GH0.tar.gz) = 1777253 diff --git a/devel/libcdada/pkg-descr b/devel/libcdada/pkg-descr new file mode 100644 index 000000000000..4a01f91ffe19 --- /dev/null +++ b/devel/libcdada/pkg-descr @@ -0,0 +1,9 @@ +Small library that offers basic data structures (list, set, map...) +in a pure C API for user-space applications. Key features: + +- Easy to use, portable +- No "magic" MACROs, and no need to modify your data structures + (except, perhaps, for __attribute__((packed))) +- Stable and well-tested backend engine (libstdc++) for most of + the data structures +- Reasonable performance - comparable to libstdc++ diff --git a/devel/libcdada/pkg-plist b/devel/libcdada/pkg-plist new file mode 100644 index 000000000000..fcacd232752e --- /dev/null +++ b/devel/libcdada/pkg-plist @@ -0,0 +1,26 @@ +bin/cdada-gen +include/cdada.h +include/cdada/__common_internal.h +include/cdada/__list_internal.h +include/cdada/__map_internal.h +include/cdada/__queue_internal.h +include/cdada/__set_internal.h +include/cdada/__stack_internal.h +include/cdada/bbitmap.h +include/cdada/list.h +include/cdada/list_custom_cc.h +include/cdada/map.h +include/cdada/map_custom_cc.h +include/cdada/queue.h +include/cdada/queue_custom_cc.h +include/cdada/set.h +include/cdada/set_custom_cc.h +include/cdada/stack.h +include/cdada/stack_custom_cc.h +include/cdada/str.h +include/cdada/utils.h +include/cdada/version.h +lib/libcdada.a +lib/libcdada.so +lib/libcdada.so.0 +lib/libcdada.so.0.0.0