From owner-svn-ports-head@freebsd.org Fri May 24 14:47:00 2019 Return-Path: Delivered-To: svn-ports-head@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 065DE15AD61A; Fri, 24 May 2019 14:47:00 +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 9C1FD69BCB; Fri, 24 May 2019 14:46:59 +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 739331E2DA; Fri, 24 May 2019 14:46:59 +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 x4OEkx40024457; Fri, 24 May 2019 14:46:59 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4OEkwNU024451; Fri, 24 May 2019 14:46:58 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201905241446.x4OEkwNU024451@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:46:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502470 - in head/devel: . libqsbr libqsbr/files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . libqsbr libqsbr/files X-SVN-Commit-Revision: 502470 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9C1FD69BCB 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]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2019 14:47:00 -0000 Author: swills Date: Fri May 24 14:46:57 2019 New Revision: 502470 URL: https://svnweb.freebsd.org/changeset/ports/502470 Log: devel/libqsbr: create port Epoch-Based Reclamation (EBR) and Quiescent-State-Based Reclamation (QSBR) are synchronisation mechanisms which can be used for efficient memory/object reclamation (garbage collection) in concurrent environment. Conceptually they are very similar to the read-copy-update (RCU) mechanism. WWW: https://github.com/rmind/libqsbr Will be used by npf port Added: head/devel/libqsbr/ head/devel/libqsbr/Makefile (contents, props changed) head/devel/libqsbr/distinfo (contents, props changed) head/devel/libqsbr/files/ head/devel/libqsbr/files/patch-Makefile (contents, props changed) head/devel/libqsbr/pkg-descr (contents, props changed) head/devel/libqsbr/pkg-plist (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri May 24 14:45:42 2019 (r502469) +++ head/devel/Makefile Fri May 24 14:46:57 2019 (r502470) @@ -1289,6 +1289,7 @@ SUBDIR += libpthread-stubs SUBDIR += libqb SUBDIR += libqcow + SUBDIR += libqsbr SUBDIR += libqtxdg SUBDIR += libr3 SUBDIR += librcc Added: head/devel/libqsbr/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libqsbr/Makefile Fri May 24 14:46:57 2019 (r502470) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= libqsbr +PORTVERSION= g2019052401 +CATEGORIES= devel + +MAINTAINER= swills@FreeBSD.org +COMMENT= QSBR and EBR library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/../LICENSE + +USES= gmake libtool:build + +USE_GITHUB= yes +GH_ACCOUNT= rmind +GH_TAGNAME= e682600 +WRKSRC_SUBDIR= src +USE_LDCONFIG= yes +MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX} \ + INCDIR=${LOCALBASE}/include \ + LIBDIR=${LOCALBASE}/lib \ + MANDIR=${LOCALBASE}/man + +.include Added: head/devel/libqsbr/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libqsbr/distinfo Fri May 24 14:46:57 2019 (r502470) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558681092 +SHA256 (rmind-libqsbr-g2019052401-e682600_GH0.tar.gz) = 85819f1930b450759be65274a26c13da8ae8f9effd16e8871ac138ebeadd5375 +SIZE (rmind-libqsbr-g2019052401-e682600_GH0.tar.gz) = 14645 Added: head/devel/libqsbr/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libqsbr/files/patch-Makefile Fri May 24 14:46:57 2019 (r502470) @@ -0,0 +1,10 @@ +--- Makefile.orig 2019-05-24 07:39:39 UTC ++++ Makefile +@@ -5,7 +5,6 @@ + PROJ= qsbr + + CFLAGS+= -std=c11 -O2 -g -Wall -Wextra -Werror +-CFLAGS+= -D_POSIX_C_SOURCE=200809L + CFLAGS+= -D_GNU_SOURCE -D_DEFAULT_SOURCE + + # Added: head/devel/libqsbr/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libqsbr/pkg-descr Fri May 24 14:46:57 2019 (r502470) @@ -0,0 +1,6 @@ +Epoch-Based Reclamation (EBR) and Quiescent-State-Based Reclamation (QSBR) are +synchronisation mechanisms which can be used for efficient memory/object +reclamation (garbage collection) in concurrent environment. Conceptually they +are very similar to the read-copy-update (RCU) mechanism. + +WWW: https://github.com/rmind/libqsbr Added: head/devel/libqsbr/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libqsbr/pkg-plist Fri May 24 14:46:57 2019 (r502470) @@ -0,0 +1,7 @@ +include/qsbr/ebr.h +include/qsbr/gc.h +include/qsbr/qsbr.h +lib/libqsbr.a +lib/libqsbr.so +lib/libqsbr.so.1 +lib/libqsbr.so.1.0.0