ports/178665: [new port]: sysutils/replicant Replicant is a tool for creating replicated state machines
Veniamin Gvozdikov
g.veniamin at googlemail.com
Wed May 15 16:50:00 UTC 2013
>Number: 178665
>Category: ports
>Synopsis: [new port]: sysutils/replicant Replicant is a tool for creating replicated state machines
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed May 15 16:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Veniamin Gvozdikov
>Release: FreeBSD 9.1-RELEASE
>Organization:
>Environment:
FreeBSD ololo 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Replicant is a tool for creating replicated state machines
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# replicant
# replicant/distinfo
# replicant/files
# replicant/files/patch-common_packing.cc
# replicant/files/patch-Makefile.in
# replicant/files/patch-daemon_object_manager.cc
# replicant/pkg-descr
# replicant/Makefile
# replicant/pkg-plist
#
echo c - replicant
mkdir -p replicant > /dev/null 2>&1
echo x - replicant/distinfo
sed 's/^X//' >replicant/distinfo << 'c24cef77fc16e1aed153d0f0a450d517'
XSHA256 (replicant-0.2.1.tar.gz) = 1a2cc2b5eddf544ccef28efa44c659075612926ff6eb57aa32ae4c5d6ca0404c
XSIZE (replicant-0.2.1.tar.gz) = 397446
c24cef77fc16e1aed153d0f0a450d517
echo c - replicant/files
mkdir -p replicant/files > /dev/null 2>&1
echo x - replicant/files/patch-common_packing.cc
sed 's/^X//' >replicant/files/patch-common_packing.cc << '65b50d5dcfb0ba24558df67db0bf5628'
X--- common/packing.cc.orig 2013-05-14 11:51:52.766912852 +0000
X+++ common/packing.cc 2013-05-14 11:56:57.204910871 +0000
X@@ -50,7 +50,7 @@
X rhs.pack(&sa, 0);
X #ifdef _MSC_VER
X memmove(data, &sa.sin6_addr.u.Byte, 16);
X-#elif defined __APPLE__
X+#elif defined __APPLE__ || defined __FreeBSD__
X memmove(data, &sa.sin6_addr.__u6_addr.__u6_addr8, 16);
X #else
X memmove(data, &sa.sin6_addr.__in6_u.__u6_addr8, 16);
X@@ -90,7 +90,7 @@
X in6_addr ia;
X #ifdef _MSC_VER
X memmove(ia.u.Byte, rem.data(), 16);
X-#elif defined __APPLE__
X+#elif defined __APPLE__ || defined __FreeBSD__
X memmove(ia.__u6_addr.__u6_addr8, rem.data(), 16);
X #else
X memmove(ia.__in6_u.__u6_addr8, rem.data(), 16);
65b50d5dcfb0ba24558df67db0bf5628
echo x - replicant/files/patch-Makefile.in
sed 's/^X//' >replicant/files/patch-Makefile.in << '70ed4b5cdb8fc6ab7a79ac87b72ab2c9'
X--- Makefile.in.orig 2013-05-14 12:08:06.731909984 +0000
X+++ Makefile.in 2013-05-14 12:08:13.759911180 +0000
X@@ -497,7 +497,7 @@
X daemon/object_manager.cc \
X daemon/settings.cc
X
X-replicant_daemon_LDADD = $(E_LIBS) $(BUSYBEE_LIBS) -lglog -lleveldb -ldl -lpthread libreplicant-state-machine.la
X+replicant_daemon_LDADD = $(E_LIBS) $(BUSYBEE_LIBS) -lglog -lleveldb -lpthread libreplicant-state-machine.la
X libreplicant_la_CXXFLAGS = $(CXXFLAGS) $(AM_CXXFLAGS)
X libreplicant_la_SOURCES = \
X common/bootstrap.cc \
70ed4b5cdb8fc6ab7a79ac87b72ab2c9
echo x - replicant/files/patch-daemon_object_manager.cc
sed 's/^X//' >replicant/files/patch-daemon_object_manager.cc << 'eba2a329ab5c53a5e8c0ee89dc543fe7'
X--- daemon/object_manager.cc.orig 2013-05-14 11:57:51.191911826 +0000
X+++ daemon/object_manager.cc 2013-05-14 12:00:23.328908089 +0000
X@@ -60,7 +60,10 @@
X #include "daemon/object_manager.h"
X #include "daemon/replicant_state_machine.h"
X #include "daemon/replicant_state_machine_context.h"
X-#if defined __APPLE__
X+#if defined __APPLE__ || defined __FreeBSD__
X+#ifdef __FreeBSD__
X+#include <sys/stat.h>
X+#endif
X #include "daemon/memstream.h"
X #endif
X
eba2a329ab5c53a5e8c0ee89dc543fe7
echo x - replicant/pkg-descr
sed 's/^X//' >replicant/pkg-descr << '0cd86388f1cbf902de2093cb7f02ac47'
XReplicant is a tool for creating replicated state machines
X
XWWW: https://github.com/rescrv/Replicant
0cd86388f1cbf902de2093cb7f02ac47
echo x - replicant/Makefile
sed 's/^X//' >replicant/Makefile << '7f7ada7b9bbd07f3805948820b012dd0'
X# Created by: Gvozdikov Veniamin <g.veniamin at googlemail.com>
X# $FreeBSD$
X
XPORTNAME= replicant
XPORTVERSION= 0.2.1
XCATEGORIES= sysutils
XMASTER_SITES= http://hyperdex.org/src/
X
XMAINTAINER= g.veniamin at googlemail.com
XCOMMENT= Replicant is a tool for creating replicated state machines
X
XBUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libpo6.pc:${PORTSDIR}/devel/libpo6
XLIB_DEPENDS= busybee:${PORTSDIR}/devel/busybee \
X e:${PORTSDIR}/devel/libe \
X glog:${PORTSDIR}/devel/glog \
X leveldb:${PORTSDIR}/databases/leveldb \
X popt:${PORTSDIR}/devel/popt
X
XONLY_FOR_ARCHS= amd64
XGNU_CONFIGURE= yes
XUSE_GCC= 4.6+
XUSE_LDCONFIG= yes
XCONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib"
XUSES= pathfix pkgconfig
X
X.include <bsd.port.mk>
7f7ada7b9bbd07f3805948820b012dd0
echo x - replicant/pkg-plist
sed 's/^X//' >replicant/pkg-plist << 'f23d653825f974850496dab4487ac7ea'
Xbin/replicant
Xinclude/replicant.h
Xinclude/replicant_state_machine.h
Xlib/libreplicant-state-machine.a
Xlib/libreplicant-state-machine.la
Xlib/libreplicant-state-machine.so
Xlib/libreplicant-state-machine.so.0
Xlib/libreplicant.a
Xlib/libreplicant.la
Xlib/libreplicant.so
Xlib/libreplicant.so.0
Xlibdata/pkgconfig/replicant.pc
Xlibexec/replicant-0.2.1/replicant-daemon
Xlibexec/replicant-0.2.1/replicant-del-object
Xlibexec/replicant-0.2.1/replicant-new-object
Xlibexec/replicant-0.2.1/replicant-repair
X at dirrm libexec/replicant-0.2.1
f23d653825f974850496dab4487ac7ea
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list