csync2 broken, how to keep a few web servers in sync?

mitsuru at zebu.riken.go.jp mitsuru at zebu.riken.go.jp
Thu Sep 3 06:20:28 UTC 2009


> Who interested in repair net/csync2 port, possibly for some amount of financial gratitude ;-)
 I've made a patch and compiled it, though I've not tested if it works.

--
Mitsuru



diff -ruN csync2.org/Makefile csync2/Makefile
--- csync2.org/Makefile	2009-09-03 14:39:39.000000000 +0900
+++ csync2/Makefile	2009-09-03 14:40:09.000000000 +0900
@@ -24,12 +24,11 @@
 
 MAN1=	csync2.1
 
-BROKEN=		does not compile with new gnuTLS
-
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
 CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV+=	LIBGNUTLS_CONFIG="${LOCALBASE}/bin/pkg-config gnutls"
 
 PLIST_FILES=	etc/csync2.cfg-dist \
 		sbin/csync2 \
diff -ruN csync2.org/files/patch-configure csync2/files/patch-configure
--- csync2.org/files/patch-configure	1970-01-01 09:00:00.000000000 +0900
+++ csync2/files/patch-configure	2009-09-03 14:23:51.000000000 +0900
@@ -0,0 +1,11 @@
+--- configure.org	2009-09-03 14:22:32.000000000 +0900
++++ configure	2009-09-03 14:23:02.000000000 +0900
+@@ -3836,7 +3836,7 @@
+   else
+     LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
+     LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
+-    libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
++    libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --modversion`
+ 
+ 
+       ac_save_CFLAGS="$CFLAGS"




More information about the freebsd-ports mailing list