Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 17:17:59 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308439 - in head/devel: . smack
Message-ID:  <201212071717.qB7HHxlT046326@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Dec  7 17:17:59 2012
New Revision: 308439
URL: http://svnweb.freebsd.org/changeset/ports/308439

Log:
  Add SMACK, low-level I/O storage library which packs data.
  
  Submitted by:	Gvozdikov Veniamin
  Feature safe:	yes

Added:
  head/devel/smack/
  head/devel/smack/Makefile   (contents, props changed)
  head/devel/smack/distinfo   (contents, props changed)
  head/devel/smack/pkg-descr   (contents, props changed)
  head/devel/smack/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Dec  7 17:14:04 2012	(r308438)
+++ head/devel/Makefile	Fri Dec  7 17:17:59 2012	(r308439)
@@ -4085,6 +4085,7 @@
     SUBDIR += simulavr
     SUBDIR += skalibs
     SUBDIR += slf4j
+    SUBDIR += smack
     SUBDIR += smake
     SUBDIR += smc
     SUBDIR += sml_tk

Added: head/devel/smack/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/smack/Makefile	Fri Dec  7 17:17:59 2012	(r308439)
@@ -0,0 +1,40 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME=	smack
+PORTVERSION=	0.5.0
+CATEGORIES=	devel
+
+MAINTAINER=	g.veniamin@googlemail.com
+COMMENT=	Low-level I/O storage library which packs data
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	boost_iostreams:${PORTSDIR}/devel/boost-libs \
+		snappy:${PORTSDIR}/archivers/snappy
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	zloidemon
+GH_COMMIT=	72c81bf
+GH_TAGNAME=	master
+
+USE_CMAKE=	yes
+USE_LDCONFIG=	yes
+
+OPTIONS_DEFINE=	EXAMPLES
+
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 802515 || ${OSVERSION} >= 900000 && ${OSVERSION} < 900501
+BROKEN=		requires posix_fadvise(2)
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+PLIST_SUB=	EXAMPLES=""
+CMAKE_ARGS=	-DENABLE_EXAMPLES=ON
+.else
+CMAKE_ARGS=	-DENABLE_EXAMPLES=OFF
+PLIST_SUB=	EXAMPLES="@comment "
+.endif
+
+.include <bsd.port.mk>

Added: head/devel/smack/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/smack/distinfo	Fri Dec  7 17:17:59 2012	(r308439)
@@ -0,0 +1,2 @@
+SHA256 (smack-0.5.0.tar.gz) = 82807d3bd6700fbd00a49400e6d1aa7509c6aff6b1e9bfe1a1a973d63e8117f6
+SIZE (smack-0.5.0.tar.gz) = 42384

Added: head/devel/smack/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/smack/pkg-descr	Fri Dec  7 17:17:59 2012	(r308439)
@@ -0,0 +1,13 @@
+SMACK is a low-level I/O storage library which packs data into sorted blobs,
+compressed with zlib, bzip2, or snappy.
+
+It was created to host huge amount of rather small compressible data in
+Elliptics, providing extremely fast write performance (tens of thousands RPS
+per node with hundreds of millions already written objects); its backend
+architecture was implemented with HBase in mind, but some changes were
+tested and made different.
+
+Data is compressed and sorted by key, that is, you get HBase-like scans for
+free (although this is not yet exported to Elliptics API).
+
+WWW: http://www.reverbrain.com/smack/

Added: head/devel/smack/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/smack/pkg-plist	Fri Dec  7 17:17:59 2012	(r308439)
@@ -0,0 +1,14 @@
+%%EXAMPLES%%bin/smack_reader
+%%EXAMPLES%%bin/smack_test
+include/smack/base.hpp
+include/smack/blob.hpp
+include/smack/filter.hpp
+include/smack/lz4.h
+include/smack/lz4.hpp
+include/smack/lz4hc.h
+include/smack/smack.h
+include/smack/smack.hpp
+include/smack/snappy.hpp
+lib/libsmack.so
+lib/libsmack.so.0.5
+@dirrm include/smack



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