From owner-svn-ports-all@freebsd.org Sun Apr 9 12:03:43 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 074B9D2A2AC; Sun, 9 Apr 2017 12:03:43 +0000 (UTC) (envelope-from novel@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 mx1.freebsd.org (Postfix) with ESMTPS id BEA755F7; Sun, 9 Apr 2017 12:03:42 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v39C3fda021053; Sun, 9 Apr 2017 12:03:41 GMT (envelope-from novel@FreeBSD.org) Received: (from novel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v39C3fQJ021046; Sun, 9 Apr 2017 12:03:41 GMT (envelope-from novel@FreeBSD.org) Message-Id: <201704091203.v39C3fQJ021046@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: novel set sender to novel@FreeBSD.org using -f From: Roman Bogorodskiy Date: Sun, 9 Apr 2017 12:03:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438101 - in head/devel: . liberasurecode liberasurecode/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2017 12:03:43 -0000 Author: novel Date: Sun Apr 9 12:03:41 2017 New Revision: 438101 URL: https://svnweb.freebsd.org/changeset/ports/438101 Log: Add liberasurecode 1.4.0, unified Erasure Coding interface for common storage workloads. PR: 218434 Submitted by: Alexander Nusov Added: head/devel/liberasurecode/ head/devel/liberasurecode/Makefile (contents, props changed) head/devel/liberasurecode/distinfo (contents, props changed) head/devel/liberasurecode/files/ head/devel/liberasurecode/files/patch-test_Makefile.am (contents, props changed) head/devel/liberasurecode/files/patch-test_builtin_rs__vand_liberasurecode__rs__vand__test.c (contents, props changed) head/devel/liberasurecode/pkg-descr (contents, props changed) head/devel/liberasurecode/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Apr 9 11:27:53 2017 (r438100) +++ head/devel/Makefile Sun Apr 9 12:03:41 2017 (r438101) @@ -1291,6 +1291,7 @@ SUBDIR += libelf SUBDIR += libepoll-shim SUBDIR += libepp-nicbr + SUBDIR += liberasurecode SUBDIR += libesedb SUBDIR += libestr SUBDIR += libev Added: head/devel/liberasurecode/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liberasurecode/Makefile Sun Apr 9 12:03:41 2017 (r438101) @@ -0,0 +1,24 @@ +# Created by: Alexander Nusov +# $FreeBSD$ + +PORTNAME= liberasurecode +PORTVERSION= 1.4.0 +CATEGORIES= devel + +MAINTAINER= alexander.nusov@nfvexpress.com +COMMENT= Unified Erasure Coding interface for common storage workloads + +LICENSE= BSD2CLAUSE + +USE_GITHUB= yes +GH_ACCOUNT= openstack + +USES= gmake pkgconfig autoreconf libtool +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ + --disable-werror + +TEST_TARGET= test + +.include Added: head/devel/liberasurecode/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liberasurecode/distinfo Sun Apr 9 12:03:41 2017 (r438101) @@ -0,0 +1,3 @@ +TIMESTAMP = 1491476820 +SHA256 (openstack-liberasurecode-1.4.0_GH0.tar.gz) = 71b3ed74147a042c6fa857261269bd348979ee28256156ce5ac045f30f2035cc +SIZE (openstack-liberasurecode-1.4.0_GH0.tar.gz) = 206187 Added: head/devel/liberasurecode/files/patch-test_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liberasurecode/files/patch-test_Makefile.am Sun Apr 9 12:03:41 2017 (r438101) @@ -0,0 +1,29 @@ +--- test/Makefile.am.orig 2017-04-06 11:15:44 UTC ++++ test/Makefile.am +@@ -5,22 +5,22 @@ test_xor_hd_code_SOURCES = \ + builtin/xor_codes/test_xor_hd_code.c \ + builtin/xor_codes/test_xor_hd_code.h + test_xor_hd_code_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode -I$(top_srcdir)/include/xor_codes @GCOV_FLAGS@ +-test_xor_hd_code_LDFLAGS = @GCOV_LDFLAGS@ -static-libtool-libs $(top_builddir)/src/liberasurecode.la $(top_builddir)/src/builtin/xor_codes/libXorcode.la -ldl ++test_xor_hd_code_LDFLAGS = @GCOV_LDFLAGS@ -static-libtool-libs $(top_builddir)/src/liberasurecode.la $(top_builddir)/src/builtin/xor_codes/libXorcode.la + check_PROGRAMS = test_xor_hd_code + + alg_sig_test_SOURCES = utils/chksum/test_alg_sig.c + alg_sig_test_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode -I$(top_srcdir)/include/xor_codes @GCOV_FLAGS@ +-alg_sig_test_LDFLAGS = @GCOV_LDFLAGS@ -static-libtool-libs $(top_builddir)/src/liberasurecode.la -ldl ++alg_sig_test_LDFLAGS = @GCOV_LDFLAGS@ -static-libtool-libs $(top_builddir)/src/liberasurecode.la + check_PROGRAMS += alg_sig_test + + liberasurecode_test_SOURCES = liberasurecode_test.c + liberasurecode_test_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode @GCOV_FLAGS@ +-liberasurecode_test_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -ldl -lpthread ++liberasurecode_test_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -lpthread + check_PROGRAMS += liberasurecode_test + + libec_slap_SOURCES = libec_slap.c + libec_slap_CPPFLAGS = -I. -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode @GCOV_FLAGS@ +-libec_slap_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -ldl -lpthread ++libec_slap_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -lpthread + check_PROGRAMS += libec_slap + + rs_galois_test_SOURCES = builtin/rs_vand/rs_galois_test.c Added: head/devel/liberasurecode/files/patch-test_builtin_rs__vand_liberasurecode__rs__vand__test.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liberasurecode/files/patch-test_builtin_rs__vand_liberasurecode__rs__vand__test.c Sun Apr 9 12:03:41 2017 (r438101) @@ -0,0 +1,13 @@ +--- test/builtin/rs_vand/liberasurecode_rs_vand_test.c.orig 2017-04-06 11:14:01 UTC ++++ test/builtin/rs_vand/liberasurecode_rs_vand_test.c +@@ -32,6 +32,10 @@ + #include + #include + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + int test_make_systematic_matrix(int k, int m) + { + int *matrix = make_systematic_matrix(k, m); Added: head/devel/liberasurecode/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liberasurecode/pkg-descr Sun Apr 9 12:03:41 2017 (r438101) @@ -0,0 +1,4 @@ +liberasurecode is an Erasure Code API library written in C with pluggable +Erasure Code backends. + +WWW: https://github.com/openstack/liberasurecode Added: head/devel/liberasurecode/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liberasurecode/pkg-plist Sun Apr 9 12:03:41 2017 (r438101) @@ -0,0 +1,39 @@ +include/config_liberasurecode.h +include/erasurecode.h +include/erasurecode_helpers.h +include/erasurecode_stdinc.h +include/erasurecode_version.h +include/liberasurecode/alg_sig.h +include/liberasurecode/config_liberasurecode.h +include/liberasurecode/erasurecode.h +include/liberasurecode/erasurecode_backend.h +include/liberasurecode/erasurecode_helpers.h +include/liberasurecode/erasurecode_helpers_ext.h +include/liberasurecode/erasurecode_log.h +include/liberasurecode/erasurecode_postprocessing.h +include/liberasurecode/erasurecode_preprocessing.h +include/liberasurecode/erasurecode_stdinc.h +include/liberasurecode/erasurecode_version.h +include/liberasurecode/liberasurecode_rs_vand.h +include/liberasurecode/list.h +include/liberasurecode/rs_galois.h +include/liberasurecode/xor_code.h +include/liberasurecode/xor_hd_code_defs.h +lib/libXorcode.a +lib/libXorcode.so +lib/libXorcode.so.1 +lib/libXorcode.so.1.0.1 +lib/liberasurecode.a +lib/liberasurecode.so +lib/liberasurecode.so.1 +lib/liberasurecode.so.1.4.0 +lib/liberasurecode_rs_vand.a +lib/liberasurecode_rs_vand.so +lib/liberasurecode_rs_vand.so.1 +lib/liberasurecode_rs_vand.so.1.0.1 +lib/libnullcode.a +lib/libnullcode.so +lib/libnullcode.so.1 +lib/libnullcode.so.1.0.1 +libdata/pkgconfig/erasurecode-1.pc +@dir %%DATADIR%%/html/liberasurecode