aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-02-24 08:07:41 +0800
committerdelphij <delphij@FreeBSD.org>2008-02-24 08:07:41 +0800
commit0a56228250fca03b8a1e345789905147d0010e4e (patch)
treecdbcdbe9c2042716800207d7c7b5629fab64cb0e /net
parent78e0565fe1032fb495d80b8f5f6305be459364c3 (diff)
downloadfreebsd-ports-gnome-0a56228250fca03b8a1e345789905147d0010e4e.tar.gz
freebsd-ports-gnome-0a56228250fca03b8a1e345789905147d0010e4e.tar.zst
freebsd-ports-gnome-0a56228250fca03b8a1e345789905147d0010e4e.zip
Update to 1.34.
Approved by: maintainer timeout PR: ports/119742
Diffstat (limited to 'net')
-rw-r--r--net/csync2/Makefile9
-rw-r--r--net/csync2/distinfo6
-rw-r--r--net/csync2/files/patch-Makefile.am20
-rw-r--r--net/csync2/files/patch-Makefile.in23
-rw-r--r--net/csync2/files/patch-getrealfn.c11
-rw-r--r--net/csync2/files/patch-rsync.c11
6 files changed, 50 insertions, 30 deletions
diff --git a/net/csync2/Makefile b/net/csync2/Makefile
index 73875a4f2898..a39060fed3eb 100644
--- a/net/csync2/Makefile
+++ b/net/csync2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= csync2
-PORTVERSION= 1.33
-PORTREVISION= 1
+PORTVERSION= 1.34
CATEGORIES= net
MASTER_SITES= http://oss.linbit.com/csync2/ \
http://people.freebsd.org/~aaron/distfiles/
@@ -22,15 +21,15 @@ LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync \
gcrypt.13:${PORTSDIR}/security/libgcrypt \
gpg-error.0:${PORTSDIR}/security/libgpg-error
-BROKEN= Installs config file in /etc
-
MAN1= csync2.1
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
-PLIST_FILES= sbin/csync2 \
+PLIST_FILES= etc/csync2.cfg-dist \
+ sbin/csync2 \
sbin/csync2-compare
post-install:
diff --git a/net/csync2/distinfo b/net/csync2/distinfo
index 4ea969960f03..d57e1201e1ef 100644
--- a/net/csync2/distinfo
+++ b/net/csync2/distinfo
@@ -1,3 +1,3 @@
-MD5 (csync2-1.33.tar.gz) = e16e3c0f4285439cef09a6b63319a0b0
-SHA256 (csync2-1.33.tar.gz) = 2214adb04358b5d351cac7e13055e1c90f7897b7c0600b922de02ca6b0820651
-SIZE (csync2-1.33.tar.gz) = 218065
+MD5 (csync2-1.34.tar.gz) = efc8a3548996b79cef2ad76af5e93cd8
+SHA256 (csync2-1.34.tar.gz) = 32b250dd4a0353f71015c5c3961174b975dd5e799e4a084e8f6d00792bd8c833
+SIZE (csync2-1.34.tar.gz) = 222765
diff --git a/net/csync2/files/patch-Makefile.am b/net/csync2/files/patch-Makefile.am
new file mode 100644
index 000000000000..1e4e43702ffb
--- /dev/null
+++ b/net/csync2/files/patch-Makefile.am
@@ -0,0 +1,20 @@
+--- ./Makefile.am.orig 2007-07-24 14:04:18.000000000 -0700
++++ ./Makefile.am 2008-01-17 02:39:33.790652051 -0800
+@@ -48,14 +48,14 @@
+ LIBS += -lprivatesqlite
+ endif
+
+-AM_CPPFLAGS = -D'DBDIR="$(localstatedir)/lib/csync2"'
++AM_CPPFLAGS = -D'DBDIR="$(localstatedir)/db/csync2"'
+ AM_CPPFLAGS += -D'ETCDIR="$(sysconfdir)"'
+
+ install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/csync2
++ $(mkinstalldirs) $(DESTDIR)$(localstatedir)/db/csync2
+ test -e $(DESTDIR)$(sysconfdir)/csync2.cfg || \
+- $(INSTALL_DATA) $(srcdir)/csync2.cfg $(DESTDIR)$(sysconfdir)/csync2.cfg
++ $(INSTALL_DATA) $(srcdir)/csync2.cfg $(DESTDIR)$(sysconfdir)/csync2.cfg-dist
+
+ cert:
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
diff --git a/net/csync2/files/patch-Makefile.in b/net/csync2/files/patch-Makefile.in
new file mode 100644
index 000000000000..545f4916f060
--- /dev/null
+++ b/net/csync2/files/patch-Makefile.in
@@ -0,0 +1,23 @@
+--- ./Makefile.in.orig 2007-07-24 14:04:25.000000000 -0700
++++ ./Makefile.in 2008-01-17 02:39:42.822708243 -0800
+@@ -168,7 +168,7 @@
+ AM_CFLAGS = $(am__append_2) $(am__append_6)
+ AM_LDFLAGS = $(am__append_3) $(am__append_7)
+
+-AM_CPPFLAGS = -D'DBDIR="$(localstatedir)/lib/csync2"' -D'ETCDIR="$(sysconfdir)"'
++AM_CPPFLAGS = -D'DBDIR="$(localstatedir)/db/csync2"' -D'ETCDIR="$(sysconfdir)"'
+ subdir = .
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -699,9 +699,9 @@
+
+ install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/csync2
++ $(mkinstalldirs) $(DESTDIR)$(localstatedir)/db/csync2
+ test -e $(DESTDIR)$(sysconfdir)/csync2.cfg || \
+- $(INSTALL_DATA) $(srcdir)/csync2.cfg $(DESTDIR)$(sysconfdir)/csync2.cfg
++ $(INSTALL_DATA) $(srcdir)/csync2.cfg $(DESTDIR)$(sysconfdir)/csync2.cfg-dist
+
+ cert:
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
diff --git a/net/csync2/files/patch-getrealfn.c b/net/csync2/files/patch-getrealfn.c
deleted file mode 100644
index b2e9a70a5293..000000000000
--- a/net/csync2/files/patch-getrealfn.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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__");
diff --git a/net/csync2/files/patch-rsync.c b/net/csync2/files/patch-rsync.c
deleted file mode 100644
index 008f073598a9..000000000000
--- a/net/csync2/files/patch-rsync.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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");
- }
-