mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Adding net/csync2, a cluster synchronization tool.
This commit is contained in:
parent
4f9587b2f4
commit
5a42f0702e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192413
@ -81,6 +81,7 @@
|
||||
SUBDIR += crescendo
|
||||
SUBDIR += cryptcat
|
||||
SUBDIR += csup
|
||||
SUBDIR += csync2
|
||||
SUBDIR += ct
|
||||
SUBDIR += ctrace
|
||||
SUBDIR += cvsup
|
||||
|
34
net/csync2/Makefile
Normal file
34
net/csync2/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# New ports collection makefile for: net/csync2
|
||||
# Date created: 16 May 2007
|
||||
# Whom: Aaron Dalton <aaron@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= csync2
|
||||
PORTVERSION= 1.33
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://oss.linbit.com/csync2/ \
|
||||
http://people.freebsd.org/~aaron/distfiles/
|
||||
|
||||
MAINTAINER= aaron@FreeBSD.org
|
||||
COMMENT= A cluster synchronization tool
|
||||
|
||||
LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync \
|
||||
tasn1.3:${PORTSDIR}/security/libtasn1 \
|
||||
gnutls.15:${PORTSDIR}/security/gnutls \
|
||||
sqlite.2:${PORTSDIR}/databases/sqlite2
|
||||
|
||||
MAN1= csync2.1
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
PLIST_FILES= sbin/csync2 \
|
||||
sbin/csync2-compare
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/csync2/distinfo
Normal file
3
net/csync2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (csync2-1.33.tar.gz) = e16e3c0f4285439cef09a6b63319a0b0
|
||||
SHA256 (csync2-1.33.tar.gz) = 2214adb04358b5d351cac7e13055e1c90f7897b7c0600b922de02ca6b0820651
|
||||
SIZE (csync2-1.33.tar.gz) = 218065
|
11
net/csync2/files/patch-getrealfn.c
Normal file
11
net/csync2/files/patch-getrealfn.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- getrealfn.c (revision 384)
|
||||
+++ getrealfn.c (working copy)
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
static char *my_get_current_dir_name()
|
||||
{
|
||||
-#ifdef __CYGWIN__
|
||||
+#if defined __CYGWIN__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__
|
||||
char *r = malloc(1024);
|
||||
if (!getcwd(r, 1024))
|
||||
strcpy(r, "/__PATH_TO_LONG__");
|
11
net/csync2/files/patch-rsync.c
Normal file
11
net/csync2/files/patch-rsync.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- rsync.c.orig Wed May 16 10:59:08 2007
|
||||
+++ rsync.c Wed May 16 10:59:17 2007
|
||||
@@ -82,7 +82,7 @@
|
||||
long size;
|
||||
|
||||
if ( !conn_gets(buffer, 100) || sscanf(buffer, "octet-stream %ld\n", &size) != 1 ) {
|
||||
- if (!strcmp(buffer, "ERROR\n")) { errno=ENODATA; return -1; }
|
||||
+ if (!strcmp(buffer, "ERROR\n")) { errno=EIO; return -1; }
|
||||
csync_fatal("Format-error while receiving data.\n");
|
||||
}
|
||||
|
11
net/csync2/pkg-descr
Normal file
11
net/csync2/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
Csync2 is a cluster synchronization tool. It can be used to keep files on
|
||||
multiple hosts in a cluster in sync. Csync2 can handle complex setups with
|
||||
much more than just 2 hosts, handle file deletions and can detect
|
||||
conflicts.
|
||||
|
||||
It is expedient for HA-clusters, HPC-clusters, COWs and server farms. If
|
||||
you are looking for a tool to sync your laptop with your workstation, you
|
||||
better have a look at Unison (http://www.cis.upenn.edu/~bcpierce/unison/)
|
||||
too.
|
||||
|
||||
WWW: http://oss.linbit.com/csync2/
|
9
net/csync2/pkg-message
Normal file
9
net/csync2/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
***********************************************************************
|
||||
|
||||
There is a fair amount of post installation configuration that must be
|
||||
done before csync2 will work properly. Please refer to section 3.3 Post
|
||||
Installation in the official documentation found at:
|
||||
|
||||
http://www.clifford.at/papers/2005/csync2/paper.pdf
|
||||
|
||||
***********************************************************************
|
Loading…
Reference in New Issue
Block a user