From nobody Mon Feb 27 18:52:48 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PQV4K1KdWz3vTVs; Mon, 27 Feb 2023 18:52:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PQV4K0rVYz44dW; Mon, 27 Feb 2023 18:52:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677523969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+BFtQFcGs+Ct47s+jmiN+y25r+Wie9sjnA/QmZUw7u4=; b=Mfb9/kx4KGrKkO6ZHKHK2D+u+r1YIEMoZqWqRt99UebJaiGechZ82VZsbuuDncZfOifYnT RR6sylPhHH6Q6XzRchxFPQ3xBdsIDxPJeKMvXgz64r78/gIIKkeh/vJWLt8RBpl/VdDDhk 7ebiVBkzOR/KxOxcT9CLos2WlvQEmP2WVM84GI9w9HEGK9OLFPCid5fhXnVwitNaB6CeyD y7rtLLQfhm4zYCCocezna5yJphMDQgTH/UZNBBMS4fMW/qN5TCqaONxfj6D8K8d5jLb8xA WkWt/XNFKCokBmULCbnHETxXLrH3GxOZ/sjSEnfXUb5KzgJNzj0YROP7edRkKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677523969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+BFtQFcGs+Ct47s+jmiN+y25r+Wie9sjnA/QmZUw7u4=; b=ZLQcDHmfCpahtMufguHZ/q7Sp/3rkt3v9RD3Q4A2HNZTLStcW3bcPwZv0Tnx0f2lwTTPs9 xkP5TGSAH9/nLFijqenrgSSvxZlkZo0YE7sg0wLoL6r5D4aawzHJR0WvWCquWXt2heoOxT x/qemGTP9N8Sp9Ybwjaeu4TIUMcho1m709yCzkxcdf1eslQM/WRw6po3C3hJqaShL+PYmy vS+VtIpWty3R3LNmXU4lDuOkxv0GN2cH4RNDZ/eb5EWaWa+kQW7o8LTHG7B+P2g0NwjVNY bghVsjXzGJqvBQalV54ysmjbppzb/iAXANcG6v7UYQf0NyESC4U3iaAtpJpQnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677523969; a=rsa-sha256; cv=none; b=DORamN3B8c0dfpcOfXiPFVJUjtFd72HSFnS7j3/2sO6PYJx5npR5hy+IsywoIvIeJUe+F7 F3VfS7fB/YB5Kv+G3CBGtZsJRnrwKipdw/X7dzVmamOmYnR9ODdAdAnwjXZGgQWZANAZhi sz61r/30Zl/+q3cisj+brLxoNviTzsbpfLgP9yyb6SLkVic23w7muPCyg7fCehLEqMz4QV q2cPtlUpAhaEPkXGhd+JlFsj71De43vEPbIZYg5rW+rXJ7sja9ixWDS2+7vhoqwYglM9+c zvNV4BRZP/0pT+uLnr+9Zudd+HsQLf8WQboQYL8nOLWcuRCUVOVgt/GfbdgRSA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PQV4J72zkzcdW; Mon, 27 Feb 2023 18:52:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31RIqmSt099776; Mon, 27 Feb 2023 18:52:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31RIqmTT099775; Mon, 27 Feb 2023 18:52:48 GMT (envelope-from git) Date: Mon, 27 Feb 2023 18:52:48 GMT Message-Id: <202302271852.31RIqmTT099775@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: a1a26e6a8d3f - main - devel/libcdada: new port in prepartion for net-mgmt/pmacct update List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a1a26e6a8d3f0f6616823ab9d23ab5575e704649 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1a26e6a8d3f0f6616823ab9d23ab5575e704649 commit a1a26e6a8d3f0f6616823ab9d23ab5575e704649 Author: Kurt Jaeger AuthorDate: 2023-02-27 18:50:39 +0000 Commit: Kurt Jaeger 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 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