From owner-svn-ports-all@freebsd.org Fri May 24 14:45:44 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 854BF15AD58D; Fri, 24 May 2019 14:45:44 +0000 (UTC) (envelope-from swills@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26D4C69AAC; Fri, 24 May 2019 14:45:44 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 030B01E2D9; Fri, 24 May 2019 14:45:44 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4OEjhIT024199; Fri, 24 May 2019 14:45:43 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4OEjhTD024195; Fri, 24 May 2019 14:45:43 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201905241445.x4OEjhTD024195@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 24 May 2019 14:45:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502469 - in head/devel: . libthmap X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . libthmap X-SVN-Commit-Revision: 502469 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 26D4C69AAC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2019 14:45:44 -0000 Author: swills Date: Fri May 24 14:45:42 2019 New Revision: 502469 URL: https://svnweb.freebsd.org/changeset/ports/502469 Log: devel/libthmap: create port Concurrent trie-hash map library -- a general purpose associative array, combining the elements of hashing and radix trie. Highlights: * Very competitive performance, with logarithmic time complexity on average. * Lookups are lock-free and inserts/deletes are using fine-grained locking. * Incremental growth of the data structure (no large resizing/rehashing). * Optional support for use with shared memory, e.g. memory-mapped file. The implementation is written in C11 and distributed under the 2-clause BSD license. WWW: https://github.com/rmind/thmap Will be used by npf port. Added: head/devel/libthmap/ head/devel/libthmap/Makefile (contents, props changed) head/devel/libthmap/distinfo (contents, props changed) head/devel/libthmap/pkg-descr (contents, props changed) head/devel/libthmap/pkg-plist (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri May 24 13:54:09 2019 (r502468) +++ head/devel/Makefile Fri May 24 14:45:42 2019 (r502469) @@ -1339,6 +1339,7 @@ SUBDIR += libtecla SUBDIR += libtermkey SUBDIR += libthai + SUBDIR += libthmap SUBDIR += libtifiles2 SUBDIR += libtool SUBDIR += libtpl Added: head/devel/libthmap/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libthmap/Makefile Fri May 24 14:45:42 2019 (r502469) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= libthmap +PORTVERSION= g2019052401 +CATEGORIES= devel + +MAINTAINER= swills@FreeBSD.org +COMMENT= Concurrent trie-hash map library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/../LICENSE + +USES= gmake libtool:build + +USE_GITHUB= yes +GH_ACCOUNT= rmind +GH_PROJECT= thmap +GH_TAGNAME= 0f1cbfc +WRKSRC_SUBDIR= src +USE_LDCONFIG= yes +MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX} \ + INCDIR=${LOCALBASE}/include \ + LIBDIR=${LOCALBASE}/lib \ + MANDIR=${LOCALBASE}/man + +.include Added: head/devel/libthmap/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libthmap/distinfo Fri May 24 14:45:42 2019 (r502469) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558679673 +SHA256 (rmind-thmap-g2019052401-0f1cbfc_GH0.tar.gz) = a618091195b47b7f1ba474f9b4ec60583031956060268ff66a56260d5d5f55a0 +SIZE (rmind-thmap-g2019052401-0f1cbfc_GH0.tar.gz) = 22315 Added: head/devel/libthmap/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libthmap/pkg-descr Fri May 24 14:45:42 2019 (r502469) @@ -0,0 +1,12 @@ +Concurrent trie-hash map library -- a general purpose associative array, +combining the elements of hashing and radix trie. Highlights: + +* Very competitive performance, with logarithmic time complexity on average. +* Lookups are lock-free and inserts/deletes are using fine-grained locking. +* Incremental growth of the data structure (no large resizing/rehashing). +* Optional support for use with shared memory, e.g. memory-mapped file. + +The implementation is written in C11 and distributed under the 2-clause BSD +license. + +WWW: https://github.com/rmind/thmap Added: head/devel/libthmap/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libthmap/pkg-plist Fri May 24 14:45:42 2019 (r502469) @@ -0,0 +1,6 @@ +man/man3/thmap.3.gz +include/thmap.h +lib/libthmap.a +lib/libthmap.so +lib/libthmap.so.1 +lib/libthmap.so.1.0.0