svn commit: r322540 - in head/net: . owncloud-csync owncloud-csync/files

Felippe de Meirelles Motta lippe at FreeBSD.org
Mon Jul 8 21:31:55 UTC 2013


Author: lippe
Date: Mon Jul  8 21:31:53 2013
New Revision: 322540
URL: http://svnweb.freebsd.org/changeset/ports/322540

Log:
  Csync is a lightweight utility to synchronize files between two directories on
  a system or between multiple systems.
  
  It synchronizes bidirectionally and allows the user to keep two copies of files
  and directories in sync. csync uses widely adopted protocols, such as smb or
  sftp, so that there is no need for a server component. It is a user-level
  program which means you do not to be a superuser or administrator.
  
  WWW: http://owncloud.org/sync-clients/
  
  PR:		ports/178946, ports/177900
  Submitted by:	arrowdodger <6yearold at gmail.com>
  Reviewed by:	lippe@

Added:
  head/net/owncloud-csync/
  head/net/owncloud-csync/Makefile   (contents, props changed)
  head/net/owncloud-csync/distinfo   (contents, props changed)
  head/net/owncloud-csync/files/
  head/net/owncloud-csync/files/patch-enodata   (contents, props changed)
  head/net/owncloud-csync/files/patch-src-std-CMakeLists.txt   (contents, props changed)
  head/net/owncloud-csync/files/patch-src-std-c_string.c   (contents, props changed)
  head/net/owncloud-csync/pkg-descr   (contents, props changed)
  head/net/owncloud-csync/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Mon Jul  8 21:28:28 2013	(r322539)
+++ head/net/Makefile	Mon Jul  8 21:31:53 2013	(r322540)
@@ -498,6 +498,7 @@
     SUBDIR += osrtspproxy
     SUBDIR += ossp-sa
     SUBDIR += ostinato
+    SUBDIR += owncloud-csync
     SUBDIR += p5-AddressBook
     SUBDIR += p5-Amazon-SQS-Simple
     SUBDIR += p5-AnyEvent-MPRPC

Added: head/net/owncloud-csync/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/owncloud-csync/Makefile	Mon Jul  8 21:31:53 2013	(r322540)
@@ -0,0 +1,36 @@
+# Created by: arrowdodger <6yearold at gmail.com>
+# $FreeBSD$
+
+PORTNAME=	owncloud-csync
+PORTVERSION=	0.70.7
+CATEGORIES=	net kde
+MASTER_SITES=	http://download.owncloud.com/download/
+DISTNAME=	ocsync-${PORTVERSION}
+
+MAINTAINER=	6yearold at gmail.com
+COMMENT=	A csync fork for Owncloud
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	iconv:${PORTSDIR}/converters/libiconv \
+		iniparser:${PORTSDIR}/devel/iniparser \
+		smbclient:${PORTSDIR}/net/samba-libsmbclient \
+		ssh:${PORTSDIR}/security/libssh \
+		neon:${PORTSDIR}/www/neon29
+
+USES=	cmake:outsource
+USE_BZIP2=	yes
+USE_PKGCONFIG=	build
+USE_SQLITE=	yes
+CMAKE_ARGS+=	-DWITH_LOG4C=NO \
+		-DMAN_INSTALL_DIR=${MANPREFIX}/man
+
+MAN1=		ocsync.1
+
+USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
+
+DOCSDIR=	/usr/local/share/doc/ocsync
+ETCDIR=		/usr/local/etc/ocsync
+
+.include <bsd.port.mk>

Added: head/net/owncloud-csync/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/owncloud-csync/distinfo	Mon Jul  8 21:31:53 2013	(r322540)
@@ -0,0 +1,2 @@
+SHA256 (ocsync-0.70.7.tar.bz2) = 571c7a822a8e30966c3a7e61a5218b49e8d52e70e8a8ec80d16db786d60bb324
+SIZE (ocsync-0.70.7.tar.bz2) = 2108498

Added: head/net/owncloud-csync/files/patch-enodata
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/owncloud-csync/files/patch-enodata	Mon Jul  8 21:31:53 2013	(r322540)
@@ -0,0 +1,27 @@
+From 199d6a1b07f8ce5d8009518b61b57768061d65b5 Mon Sep 17 00:00:00 2001
+From: arrowdodger <6yearold at gmail.com>
+Date: Tue, 19 Feb 2013 11:37:10 +0400
+Subject: [PATCH] Fix build for FreeBSD.
+
+---
+ src/std/c_private.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git src/std/c_private.h src/std/c_private.h
+index 2b1c6a3..bacd179 100644
+--- src/std/c_private.h
++++ src/std/c_private.h
+@@ -32,6 +32,10 @@
+ #endif
+ 
+ 
++#ifdef __FreeBSD__
++#define ENODATA 0
++#endif
++
+ #ifdef _WIN32
+ #define EDQUOT 0
+ #define ENODATA 0
+-- 
+1.8.1.3
+

Added: head/net/owncloud-csync/files/patch-src-std-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/owncloud-csync/files/patch-src-std-CMakeLists.txt	Mon Jul  8 21:31:53 2013	(r322540)
@@ -0,0 +1,10 @@
+--- src/std/_CMakeLists.txt	2013-02-20 20:39:16.000000000 +0400
++++ src/std/CMakeLists.txt	2013-03-16 14:16:52.896920438 +0400
+@@ -31,6 +31,7 @@
+ include_directories(
+   ${CSTDLIB_PUBLIC_INCLUDE_DIRS}
+   ${CSTDLIB_PRIVATE_INCLUDE_DIRS}
++  ${ICONV_INCLUDE_DIR}
+ )
+ 
+ add_library(${CSTDLIB_LIBRARY} STATIC ${cstdlib_SRCS})

Added: head/net/owncloud-csync/files/patch-src-std-c_string.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/owncloud-csync/files/patch-src-std-c_string.c	Mon Jul  8 21:31:53 2013	(r322540)
@@ -0,0 +1,11 @@
+--- src/std/_c_string.c	2013-02-20 20:39:16.000000000 +0400
++++ src/std/c_string.c	2013-03-16 14:19:04.313916478 +0400
+@@ -83,7 +83,7 @@
+ 
+ static char *c_iconv(const char* str, enum iconv_direction dir)
+ {
+-  char *in = (char*)str;
++  const char *in = (char*)str;
+   size_t size;
+   size_t outsize;
+   char *out;

Added: head/net/owncloud-csync/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/owncloud-csync/pkg-descr	Mon Jul  8 21:31:53 2013	(r322540)
@@ -0,0 +1,9 @@
+Csync is a lightweight utility to synchronize files between two directories on
+a system or between multiple systems.
+
+It synchronizes bidirectionally and allows the user to keep two copies of files
+and directories in sync. csync uses widely adopted protocols, such as smb or
+sftp, so that there is no need for a server component. It is a user-level
+program which means you do not to be a superuser or administrator.
+
+WWW: http://owncloud.org/sync-clients/

Added: head/net/owncloud-csync/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/owncloud-csync/pkg-plist	Mon Jul  8 21:31:53 2013	(r322540)
@@ -0,0 +1,50 @@
+bin/ocsync
+%%ETCDIR%%/ocsync.conf
+%%ETCDIR%%/ocsync_exclude.conf
+%%DOCSDIR%%/userguide/csync.html
+%%DOCSDIR%%/userguide/images/icons/README
+%%DOCSDIR%%/userguide/images/icons/callouts/1.png
+%%DOCSDIR%%/userguide/images/icons/callouts/10.png
+%%DOCSDIR%%/userguide/images/icons/callouts/11.png
+%%DOCSDIR%%/userguide/images/icons/callouts/12.png
+%%DOCSDIR%%/userguide/images/icons/callouts/13.png
+%%DOCSDIR%%/userguide/images/icons/callouts/14.png
+%%DOCSDIR%%/userguide/images/icons/callouts/15.png
+%%DOCSDIR%%/userguide/images/icons/callouts/2.png
+%%DOCSDIR%%/userguide/images/icons/callouts/3.png
+%%DOCSDIR%%/userguide/images/icons/callouts/4.png
+%%DOCSDIR%%/userguide/images/icons/callouts/5.png
+%%DOCSDIR%%/userguide/images/icons/callouts/6.png
+%%DOCSDIR%%/userguide/images/icons/callouts/7.png
+%%DOCSDIR%%/userguide/images/icons/callouts/8.png
+%%DOCSDIR%%/userguide/images/icons/callouts/9.png
+%%DOCSDIR%%/userguide/images/icons/caution.png
+%%DOCSDIR%%/userguide/images/icons/example.png
+%%DOCSDIR%%/userguide/images/icons/home.png
+%%DOCSDIR%%/userguide/images/icons/important.png
+%%DOCSDIR%%/userguide/images/icons/next.png
+%%DOCSDIR%%/userguide/images/icons/note.png
+%%DOCSDIR%%/userguide/images/icons/prev.png
+%%DOCSDIR%%/userguide/images/icons/tip.png
+%%DOCSDIR%%/userguide/images/icons/up.png
+%%DOCSDIR%%/userguide/images/icons/warning.png
+include/ocsync/csync.h
+include/ocsync/csync_vio.h
+include/ocsync/csync_vio_file_stat.h
+include/ocsync/csync_vio_handle.h
+include/ocsync/csync_vio_method.h
+include/ocsync/csync_vio_module.h
+lib/libocsync.so
+lib/libocsync.so.0
+lib/libocsync.so.0.2.0
+lib/ocsync-0/ocsync_owncloud.so
+lib/ocsync-0/ocsync_sftp.so
+lib/ocsync-0/ocsync_smb.so
+ at dirrm lib/ocsync-0
+ at dirrm include/ocsync
+ at dirrmtry %%ETCDIR%%
+ at dirrm %%DOCSDIR%%/userguide/images/icons/callouts
+ at dirrm %%DOCSDIR%%/userguide/images/icons
+ at dirrm %%DOCSDIR%%/userguide/images
+ at dirrm %%DOCSDIR%%/userguide
+ at dirrmtry %%DOCSDIR%%


More information about the svn-ports-all mailing list