Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5d62eda50e17aa406234e60663daeb7e9f051202)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5d62eda50e17aa406234e60663daeb7e9f051202)
  • Date: Fri, 14 Jan 2011 22:40:32 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
cluster/csync2/BUILD | 3 +++
cluster/csync2/DEPENDS | 11 +++++++++++
cluster/csync2/DETAILS | 17 +++++++++++++++++
cluster/csync2/HISTORY | 3 +++
cluster/csync2/PRE_BUILD | 7 +++++++
cluster/csync2/configure.patch | 11 +++++++++++
cluster/csync2/services | 1 +
cluster/csync2/xinetd.d/csync2 | 13 +++++++++++++
libs/librsync/BUILD | 3 +++
libs/librsync/DETAILS | 3 ++-
libs/librsync/HISTORY | 5 ++++-
12 files changed, 78 insertions(+), 2 deletions(-)

New commits:
commit 5d62eda50e17aa406234e60663daeb7e9f051202
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

csync2: new spell, cluster synchronization tool, 2nd generation

commit 8041e408497805a4b6b60ff143ff49cad8302f69
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

librsync: build shared library

diff --git a/ChangeLog b/ChangeLog
index ef6dd18..a629b58 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2011-01-15 Vlad Glagolev <stealth AT sourcemage.org>
+ * cluster/csync2: new spell, cluster synchronization tool, 2nd
generation
+
2011-01-14 Ladislav Hagara <hgr AT vabo.cz>
* libs/libdmapsharing: new spell, DMAP family of protocols

diff --git a/cluster/csync2/BUILD b/cluster/csync2/BUILD
new file mode 100755
index 0000000..36d36a6
--- /dev/null
+++ b/cluster/csync2/BUILD
@@ -0,0 +1,3 @@
+OPTS="--sysconfdir=$INSTALL_ROOT/etc/csync2 $OPTS" &&
+
+default_build
diff --git a/cluster/csync2/DEPENDS b/cluster/csync2/DEPENDS
new file mode 100755
index 0000000..618d944
--- /dev/null
+++ b/cluster/csync2/DEPENDS
@@ -0,0 +1,11 @@
+depends sqlite2 &&
+depends librsync &&
+
+optional_depends gnutls \
+ "--enable-gnutls" \
+ "--disable-gnutls" \
+ "for network traffic encryption" &&
+
+if is_depends_enabled $SPELL gnutls; then
+ depends libtasn1
+fi
diff --git a/cluster/csync2/DETAILS b/cluster/csync2/DETAILS
new file mode 100755
index 0000000..bad4e37
--- /dev/null
+++ b/cluster/csync2/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=csync2
+ VERSION=1.34
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://oss.linbit.com/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:a24154446740f3362c10a23d526c29e96292f2ad56a9ed2f11ca0a6d7afed3730d0e96f8ebc2c6cdcc17031aa0e368f6ba93084ad3cf5f4828fbc279e6f004d8
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://oss.linbit.com/csync2/
+ LICENSE[0]=GPL
+ ENTERED=20110114
+ SHORT="cluster synchronization tool, 2nd generation"
+cat << EOF
+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.
+EOF
diff --git a/cluster/csync2/HISTORY b/cluster/csync2/HISTORY
new file mode 100644
index 0000000..39a5cf7
--- /dev/null
+++ b/cluster/csync2/HISTORY
@@ -0,0 +1,3 @@
+2010-01-14 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, xinetd.d, services, configure.patch:
+ spell created
diff --git a/cluster/csync2/PRE_BUILD b/cluster/csync2/PRE_BUILD
new file mode 100755
index 0000000..d404b69
--- /dev/null
+++ b/cluster/csync2/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if is_depends_enabled $SPELL gnutls; then
+ patch -p0 < "$SPELL_DIRECTORY/configure.patch" &&
+ autoreconf -i
+fi
diff --git a/cluster/csync2/configure.patch b/cluster/csync2/configure.patch
new file mode 100644
index 0000000..acfe4cc
--- /dev/null
+++ b/cluster/csync2/configure.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2007-07-25 01:04:19.000000000 +0400
++++ configure.ac 2011-01-14 03:24:10.930926931 +0300
+@@ -60,7 +60,7 @@
+ then
+
+ # Check for gnuTLS.
+- AM_PATH_LIBGNUTLS(1.0.0, , [ AC_MSG_ERROR([[gnutls not found; install
gnutls, gnutls-openssl and libtasn1 packages for your system or run configure
with --disable-gnutls]]) ])
++ PKG_CHECK_MODULES(gnutls, gnutls >= 1.0.0, , [ AC_MSG_ERROR([[gnutls
not found; install gnutls, gnutls-openssl and libtasn1 packages for your
system or run configure with --disable-gnutls]]) ])
+
+ # This is a bloody hack for fedora core
+ CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
diff --git a/cluster/csync2/services b/cluster/csync2/services
new file mode 100644
index 0000000..6069f96
--- /dev/null
+++ b/cluster/csync2/services
@@ -0,0 +1 @@
+csync2 30865/tcp
diff --git a/cluster/csync2/xinetd.d/csync2 b/cluster/csync2/xinetd.d/csync2
new file mode 100755
index 0000000..cce6415
--- /dev/null
+++ b/cluster/csync2/xinetd.d/csync2
@@ -0,0 +1,13 @@
+service csync2
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = root
+ group = root
+ server = /usr/sbin/csync2
+ server_args = -i
+ #log_on_failure = USERID
+ disable = no
+ #only_from = 192.168.199.3 192.168.199.4
+}
diff --git a/libs/librsync/BUILD b/libs/librsync/BUILD
new file mode 100755
index 0000000..6bf90bf
--- /dev/null
+++ b/libs/librsync/BUILD
@@ -0,0 +1,3 @@
+OPTS="--enable-shared $OPTS" &&
+
+default_build
diff --git a/libs/librsync/DETAILS b/libs/librsync/DETAILS
index d34cd77..fd28237 100755
--- a/libs/librsync/DETAILS
+++ b/libs/librsync/DETAILS
@@ -1,5 +1,6 @@
SPELL=librsync
VERSION=0.9.7
+ PATCHLEVEL=1
SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_URL[0]=$SOURCEFORGE_URL/${SPELL}/${SOURCE}

SOURCE_HASH=sha512:339362fd01c94411849d3e4a6e95db1bef6cffa0475b1af49d73f11be0421a12d4c73ecbf1a272af01b2a21cec81b4a801c1f7d735e107d0242707fb4c45f9ef
@@ -7,7 +8,7 @@ SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE="http://librsync.sourceforge.net";
LICENSE[0]=GPL
ENTERED=20081225
- SHORT="a free software library that implements the rsync
remote-delta algorithm"
+ SHORT="free software library that implements the rsync
remote-delta algorithm"
cat << EOF
librsync is a free software library that implements the rsync remote-delta
algorithm. This algorithm allows efficient remote updates of a file, without
diff --git a/libs/librsync/HISTORY b/libs/librsync/HISTORY
index fc41057..b7a70fb 100644
--- a/libs/librsync/HISTORY
+++ b/libs/librsync/HISTORY
@@ -1,3 +1,6 @@
+2010-01-14 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * BUILD: build shared lib
+
2008-12-25 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS, DEPENDS: spell created
-



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5d62eda50e17aa406234e60663daeb7e9f051202), Vlad Glagolev, 01/14/2011

Archive powered by MHonArc 2.6.24.

Top of Page