1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add SMACK, low-level I/O storage library which packs data.

Submitted by:	Gvozdikov Veniamin
Feature safe:	yes
This commit is contained in:
Alexey Dokuchaev 2012-12-07 17:17:59 +00:00
parent a31a7121d3
commit c049e5edab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308439
5 changed files with 70 additions and 0 deletions

View File

@ -4085,6 +4085,7 @@
SUBDIR += simulavr
SUBDIR += skalibs
SUBDIR += slf4j
SUBDIR += smack
SUBDIR += smake
SUBDIR += smc
SUBDIR += sml_tk

40
devel/smack/Makefile Normal file
View File

@ -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>

2
devel/smack/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (smack-0.5.0.tar.gz) = 82807d3bd6700fbd00a49400e6d1aa7509c6aff6b1e9bfe1a1a973d63e8117f6
SIZE (smack-0.5.0.tar.gz) = 42384

13
devel/smack/pkg-descr Normal file
View File

@ -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/

14
devel/smack/pkg-plist Normal file
View File

@ -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