summaryrefslogtreecommitdiff
path: root/sysutils/replicant
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/replicant')
-rw-r--r--sysutils/replicant/Makefile46
-rw-r--r--sysutils/replicant/distinfo2
-rw-r--r--sysutils/replicant/files/patch-Makefile.in11
-rw-r--r--sysutils/replicant/files/patch-common_packing.cc20
-rw-r--r--sysutils/replicant/files/patch-daemon_object_manager.cc14
-rw-r--r--sysutils/replicant/pkg-descr3
-rw-r--r--sysutils/replicant/pkg-plist17
7 files changed, 0 insertions, 113 deletions
diff --git a/sysutils/replicant/Makefile b/sysutils/replicant/Makefile
deleted file mode 100644
index 1641bfb8f29e..000000000000
--- a/sysutils/replicant/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= replicant
-PORTVERSION= 0.2.1
-PORTREVISION= 3
-CATEGORIES= sysutils
-MASTER_SITES= http://hyperdex.org/src/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Replicant is a tool for creating replicated state machines
-
-BROKEN= Fails to build
-
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libpo6.pc:${PORTSDIR}/devel/libpo6
-LIB_DEPENDS= libbusybee.so:${PORTSDIR}/devel/busybee \
- libe.so:${PORTSDIR}/devel/libe \
- libglog.so:${PORTSDIR}/devel/glog \
- libleveldb.so:${PORTSDIR}/databases/leveldb \
- libpopt.so:${PORTSDIR}/devel/popt
-
-ONLY_FOR_ARCHS= amd64
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-# The -D-efines and -include beat the code into shape on GCC 4.7/4.8
-# GCC 4.6 from ports and 9.1's base clang are fine,
-# upstream bug report at <https://github.com/rescrv/po6/issues/5>
-# This hack causes harmless "warning: '__STDC_LIMIT_MACROS' macro redefined"
-CPPFLAGS+= -D__STDC_LIMIT_MACROS -Du_int32_t=uint32_t \
- -include stdint.h -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-USES= pathfix pkgconfig
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 900014 || !exists(/usr/bin/clang++)
-# No clang++ installed, use GCC from ports:
-USE_GCC= yes
-.else
-CC= clang
-CXX= clang++
-CPP= clang-cpp
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/replicant/distinfo b/sysutils/replicant/distinfo
deleted file mode 100644
index ab14759d3c3d..000000000000
--- a/sysutils/replicant/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (replicant-0.2.1.tar.gz) = 1a2cc2b5eddf544ccef28efa44c659075612926ff6eb57aa32ae4c5d6ca0404c
-SIZE (replicant-0.2.1.tar.gz) = 397446
diff --git a/sysutils/replicant/files/patch-Makefile.in b/sysutils/replicant/files/patch-Makefile.in
deleted file mode 100644
index 8876c3bc05d3..000000000000
--- a/sysutils/replicant/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2013-05-14 12:08:06.731909984 +0000
-+++ Makefile.in 2013-05-14 12:08:13.759911180 +0000
-@@ -497,7 +497,7 @@
- daemon/object_manager.cc \
- daemon/settings.cc
-
--replicant_daemon_LDADD = $(E_LIBS) $(BUSYBEE_LIBS) -lglog -lleveldb -ldl -lpthread libreplicant-state-machine.la
-+replicant_daemon_LDADD = $(E_LIBS) $(BUSYBEE_LIBS) -lglog -lleveldb -lpthread libreplicant-state-machine.la
- libreplicant_la_CXXFLAGS = $(CXXFLAGS) $(AM_CXXFLAGS)
- libreplicant_la_SOURCES = \
- common/bootstrap.cc \
diff --git a/sysutils/replicant/files/patch-common_packing.cc b/sysutils/replicant/files/patch-common_packing.cc
deleted file mode 100644
index 64f3268e384d..000000000000
--- a/sysutils/replicant/files/patch-common_packing.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- common/packing.cc.orig 2013-05-14 11:51:52.766912852 +0000
-+++ common/packing.cc 2013-05-14 11:56:57.204910871 +0000
-@@ -50,7 +50,7 @@
- rhs.pack(&sa, 0);
- #ifdef _MSC_VER
- memmove(data, &sa.sin6_addr.u.Byte, 16);
--#elif defined __APPLE__
-+#elif defined __APPLE__ || defined __FreeBSD__
- memmove(data, &sa.sin6_addr.__u6_addr.__u6_addr8, 16);
- #else
- memmove(data, &sa.sin6_addr.__in6_u.__u6_addr8, 16);
-@@ -90,7 +90,7 @@
- in6_addr ia;
- #ifdef _MSC_VER
- memmove(ia.u.Byte, rem.data(), 16);
--#elif defined __APPLE__
-+#elif defined __APPLE__ || defined __FreeBSD__
- memmove(ia.__u6_addr.__u6_addr8, rem.data(), 16);
- #else
- memmove(ia.__in6_u.__u6_addr8, rem.data(), 16);
diff --git a/sysutils/replicant/files/patch-daemon_object_manager.cc b/sysutils/replicant/files/patch-daemon_object_manager.cc
deleted file mode 100644
index 4f1a4a332546..000000000000
--- a/sysutils/replicant/files/patch-daemon_object_manager.cc
+++ /dev/null
@@ -1,14 +0,0 @@
---- daemon/object_manager.cc.orig 2013-05-14 11:57:51.191911826 +0000
-+++ daemon/object_manager.cc 2013-05-14 12:00:23.328908089 +0000
-@@ -60,7 +60,10 @@
- #include "daemon/object_manager.h"
- #include "daemon/replicant_state_machine.h"
- #include "daemon/replicant_state_machine_context.h"
--#if defined __APPLE__
-+#if defined __APPLE__ || defined __FreeBSD__
-+#ifdef __FreeBSD__
-+#include <sys/stat.h>
-+#endif
- #include "daemon/memstream.h"
- #endif
-
diff --git a/sysutils/replicant/pkg-descr b/sysutils/replicant/pkg-descr
deleted file mode 100644
index 98f3d5623324..000000000000
--- a/sysutils/replicant/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Replicant is a tool for creating replicated state machines
-
-WWW: https://github.com/rescrv/Replicant
diff --git a/sysutils/replicant/pkg-plist b/sysutils/replicant/pkg-plist
deleted file mode 100644
index 8e1cabbe9794..000000000000
--- a/sysutils/replicant/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-bin/replicant
-include/replicant.h
-include/replicant_state_machine.h
-lib/libreplicant-state-machine.a
-lib/libreplicant-state-machine.la
-lib/libreplicant-state-machine.so
-lib/libreplicant-state-machine.so.0
-lib/libreplicant.a
-lib/libreplicant.la
-lib/libreplicant.so
-lib/libreplicant.so.0
-libdata/pkgconfig/replicant.pc
-libexec/replicant-0.2.1/replicant-daemon
-libexec/replicant-0.2.1/replicant-del-object
-libexec/replicant-0.2.1/replicant-new-object
-libexec/replicant-0.2.1/replicant-repair
-@dirrm libexec/replicant-0.2.1