Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 06:38:00 +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: r308367 - in head/devel: . eblob
Message-ID:  <201212060638.qB66c0oY080442@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Dec  6 06:37:59 2012
New Revision: 308367
URL: http://svnweb.freebsd.org/changeset/ports/308367

Log:
  Add eblob, append-only low-level I/O library, which saves data in blob files.
  
  Submitted by:	Gvozdikov Veniamin
  Feature safe:	yes

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Dec  6 06:03:25 2012	(r308366)
+++ head/devel/Makefile	Thu Dec  6 06:37:59 2012	(r308367)
@@ -363,6 +363,7 @@
     SUBDIR += e4graph
     SUBDIR += e_dbus
     SUBDIR += easygit
+    SUBDIR += eblob
     SUBDIR += ebnf2yacc
     SUBDIR += ecb
     SUBDIR += eclipse-eclemma

Added: head/devel/eblob/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/eblob/Makefile	Thu Dec  6 06:37:59 2012	(r308367)
@@ -0,0 +1,75 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME=	eblob
+PORTVERSION=	0.17.5
+CATEGORIES=	devel
+
+MAINTAINER=	g.veniamin@googlemail.com
+COMMENT=	Append-only low-level I/O library
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	boost_iostreams:${PORTSDIR}/devel/boost-libs
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	zloidemon
+GH_COMMIT=	9c2c347
+GH_TAGNAME=	master
+
+USE_CMAKE=	yes
+USE_LDCONFIG=	yes
+
+OPTIONS_DEFINE=	ASSERT PYTHON SNAPPY EXAMPLES TESTS
+OPTIONS_DEFAULT=PYTHON SNAPPY EXAMPLES TESTS
+TESTS_DESC=	Build tests
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MASSERT}
+CMAKE_ARGS+=	-DWITH_ASSERTS=ON
+.else
+CMAKE_ARGS+=	-DWITH_ASSERTS=OFF
+.endif
+
+.if ${PORT_OPTIONS:MPYTHON}
+LIB_DEPENDS+=	boost_python:${PORTSDIR}/devel/boost-python-libs
+USE_PYTHON=	yes
+CMAKE_ARGS+=	-DWITH_PYTHON=ON
+INSTALLS_EGGINFO=	yes
+PYDISTUTILS_PKGVERSION=	0.0.1
+PLIST_SUB+=	PYTHON=""
+.else
+CMAKE_ARGS+=	-DWITH_PYTHON=OFF
+PLIST_SUB+=	PYTHON="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MSNAPPY}
+LIB_DEPENDS+=	snappy:${PORTSDIR}/archivers/snappy
+CMAKE_ARGS+=	-DWITH_SNAPPY=ON
+.else
+CMAKE_ARGS+=	-DWITH_SNAPPY=OFF
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+CMAKE_ARGS+=	-DWITH_EXAMPLES=ON
+PLIST_SUB+=	EXAMPLES=""
+.else
+CMAKE_ARGS+=	-DWITH_EXAMPLES=OFF
+PLIST_SUB+=	EXAMPLES="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MTESTS}
+CMAKE_ARGS+=	-DWITH_TESTS=ON
+.else
+CMAKE_ARGS+=	-DWITH_TESTS=OFF
+.endif
+
+post-patch:
+.if ! ${PORT_OPTIONS:MPYTHON}
+	@${REINPLACE_CMD} -e 's, python),),' ${WRKSRC}/CMakeLists.txt
+.endif
+	@${REINPLACE_CMD} -e 's, -fstack-protector-all,,' \
+		${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>

Added: head/devel/eblob/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/eblob/distinfo	Thu Dec  6 06:37:59 2012	(r308367)
@@ -0,0 +1,2 @@
+SHA256 (eblob-0.17.5.tar.gz) = 5ec72ed3871068602b4bed6022af3d727a75b282cfd71a531577ffc0e22ffa64
+SIZE (eblob-0.17.5.tar.gz) = 93564

Added: head/devel/eblob/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/eblob/pkg-descr	Thu Dec  6 06:37:59 2012	(r308367)
@@ -0,0 +1,6 @@
+Eblob is a low-level local append-only (configurable) storage system.  It
+combines fast read/write performance with configuration simplicity and rich
+feature set.  Its main goal was to provide bullet-proof low-level backend
+for Elliptics distributed storage (this is default backend now).
+
+WWW: http://reverbrain.com/eblob/

Added: head/devel/eblob/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/eblob/pkg-plist	Thu Dec  6 06:37:59 2012	(r308367)
@@ -0,0 +1,18 @@
+%%EXAMPLES%%bin/eblob_index_info
+%%EXAMPLES%%bin/eblob_merge
+%%EXAMPLES%%bin/eblob_open
+%%EXAMPLES%%bin/eblob_regex_iter
+include/eblob/blob.h
+include/eblob/eblob.hpp
+lib/libeblob.a
+lib/libeblob.so
+lib/libeblob.so.0.17
+lib/libeblob.so.0.17.5
+lib/libeblob_cpp.a
+lib/libeblob_cpp.so
+lib/libeblob_cpp.so.0.17
+lib/libeblob_cpp.so.0.17.5
+%%PYTHON%%lib/libeblob_python.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/eblob.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/eblob.pyc
+@dirrm include/eblob



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