Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2019 14:46:58 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
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
Message-ID:  <201905241446.x4OEkwNU024451@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905241446.x4OEkwNU024451>