ports/177900: New port: net/owncloud-csync, a backend app for Owncloud sync client

arrowdodger 6yearold at gmail.com
Wed Apr 17 07:50:00 UTC 2013


>Number:         177900
>Category:       ports
>Synopsis:       New port: net/owncloud-csync, a backend app for Owncloud sync client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 17 07:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     arrowdodger
>Release:        9-stable
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	owncloud-csync
#	owncloud-csync/Makefile
#	owncloud-csync/distinfo
#	owncloud-csync/pkg-plist
#	owncloud-csync/pkg-descr
#	owncloud-csync/files
#	owncloud-csync/files/patch-src-std-c_string.c
#	owncloud-csync/files/patch-src-std-CMakeLists.txt
#	owncloud-csync/files/patch-enodata
#
echo c - owncloud-csync
mkdir -p owncloud-csync > /dev/null 2>&1
echo x - owncloud-csync/Makefile
sed 's/^X//' >owncloud-csync/Makefile << '7b88909e39ada16b427f4d9c678d7b68'
X# $FreeBSD$
X
XPORTNAME=	owncloud-csync
XPORTVERSION=	0.70.6
XCATEGORIES=	net kde
XMASTER_SITES=	http://download.owncloud.com/download/
XDISTNAME=	ocsync-${PORTVERSION}
X
XMAINTAINER=	6yearold at gmail.com
XCOMMENT=	A csync fork for Owncloud
X
XLICENSE=	GPLv2
X
XLIB_DEPENDS=	iconv:${PORTSDIR}/converters/libiconv \
X		iniparser:${PORTSDIR}/devel/iniparser \
X		smbclient:${PORTSDIR}/net/samba-libsmbclient \
X		ssh:${PORTSDIR}/security/libssh \
X		neon:${PORTSDIR}/www/neon29
X
XUSE_BZIP2=	yes
XUSE_PKGCONFIG=	build
XUSE_SQLITE=	yes
XUSE_CMAKE=	yes
XCMAKE_OUTSOURCE=yes
XCMAKE_ARGS+=	-DWITH_LOG4C=NO \
X		-DMAN_INSTALL_DIR=${MANPREFIX}/man
X
XMAN1=		ocsync.1
X
XUSE_LDCONFIG=	yes
XMAKE_JOBS_SAFE=	yes
X
X.include <bsd.port.mk>
7b88909e39ada16b427f4d9c678d7b68
echo x - owncloud-csync/distinfo
sed 's/^X//' >owncloud-csync/distinfo << '60fe0b6f72de8c6a41f3574be1ca7c0e'
XSHA256 (ocsync-0.70.6.tar.bz2) = b64bcbd59b6adb4666b2ed5c04dad28803b35364ed9c1e633d409a5be2e2a002
XSIZE (ocsync-0.70.6.tar.bz2) = 2107945
60fe0b6f72de8c6a41f3574be1ca7c0e
echo x - owncloud-csync/pkg-plist
sed 's/^X//' >owncloud-csync/pkg-plist << '6ca6111840a077233c99da89a04e1baf'
Xbin/ocsync
Xetc/ocsync/ocsync.conf
Xetc/ocsync/ocsync_exclude.conf
Xshare/doc/ocsync/userguide/csync.html
Xshare/doc/ocsync/userguide/images/icons/README
Xshare/doc/ocsync/userguide/images/icons/callouts/1.png
Xshare/doc/ocsync/userguide/images/icons/callouts/10.png
Xshare/doc/ocsync/userguide/images/icons/callouts/11.png
Xshare/doc/ocsync/userguide/images/icons/callouts/12.png
Xshare/doc/ocsync/userguide/images/icons/callouts/13.png
Xshare/doc/ocsync/userguide/images/icons/callouts/14.png
Xshare/doc/ocsync/userguide/images/icons/callouts/15.png
Xshare/doc/ocsync/userguide/images/icons/callouts/2.png
Xshare/doc/ocsync/userguide/images/icons/callouts/3.png
Xshare/doc/ocsync/userguide/images/icons/callouts/4.png
Xshare/doc/ocsync/userguide/images/icons/callouts/5.png
Xshare/doc/ocsync/userguide/images/icons/callouts/6.png
Xshare/doc/ocsync/userguide/images/icons/callouts/7.png
Xshare/doc/ocsync/userguide/images/icons/callouts/8.png
Xshare/doc/ocsync/userguide/images/icons/callouts/9.png
Xshare/doc/ocsync/userguide/images/icons/caution.png
Xshare/doc/ocsync/userguide/images/icons/example.png
Xshare/doc/ocsync/userguide/images/icons/home.png
Xshare/doc/ocsync/userguide/images/icons/important.png
Xshare/doc/ocsync/userguide/images/icons/next.png
Xshare/doc/ocsync/userguide/images/icons/note.png
Xshare/doc/ocsync/userguide/images/icons/prev.png
Xshare/doc/ocsync/userguide/images/icons/tip.png
Xshare/doc/ocsync/userguide/images/icons/up.png
Xshare/doc/ocsync/userguide/images/icons/warning.png
Xinclude/ocsync/csync.h
Xinclude/ocsync/csync_vio.h
Xinclude/ocsync/csync_vio_file_stat.h
Xinclude/ocsync/csync_vio_handle.h
Xinclude/ocsync/csync_vio_method.h
Xinclude/ocsync/csync_vio_module.h
Xlib/libocsync.so
Xlib/libocsync.so.0
Xlib/libocsync.so.0.2.0
Xlib/ocsync-0/ocsync_owncloud.so
Xlib/ocsync-0/ocsync_sftp.so
Xlib/ocsync-0/ocsync_smb.so
X at dirrm lib/ocsync-0
X at dirrm include/ocsync
X at dirrm etc/ocsync
X at dirrm share/doc/ocsync/userguide/images/icons/callouts
X at dirrm share/doc/ocsync/userguide/images/icons
X at dirrm share/doc/ocsync/userguide/images
X at dirrm share/doc/ocsync/userguide
X at dirrm share/doc/ocsync
6ca6111840a077233c99da89a04e1baf
echo x - owncloud-csync/pkg-descr
sed 's/^X//' >owncloud-csync/pkg-descr << '9386cd6116b7d8f87bba225002d95d40'
XCsync is a lightweight utility to synchronize files between two directories on
Xa system or between multiple systems.
X
XIt synchronizes bidirectionally and allows the user to keep two copies of files
Xand directories in sync. csync uses widely adopted protocols, such as smb or
Xsftp, so that there is no need for a server component. It is a user-level
Xprogram which means you don’t need to be a superuser or administrator.
X
XWWW: http://owncloud.org/sync-clients/
9386cd6116b7d8f87bba225002d95d40
echo c - owncloud-csync/files
mkdir -p owncloud-csync/files > /dev/null 2>&1
echo x - owncloud-csync/files/patch-src-std-c_string.c
sed 's/^X//' >owncloud-csync/files/patch-src-std-c_string.c << '3f6a6cb06263641e4bce9ddf565fa4da'
X--- src/std/_c_string.c	2013-02-20 20:39:16.000000000 +0400
X+++ src/std/c_string.c	2013-03-16 14:19:04.313916478 +0400
X@@ -83,7 +83,7 @@
X 
X static char *c_iconv(const char* str, enum iconv_direction dir)
X {
X-  char *in = (char*)str;
X+  const char *in = (char*)str;
X   size_t size;
X   size_t outsize;
X   char *out;
3f6a6cb06263641e4bce9ddf565fa4da
echo x - owncloud-csync/files/patch-src-std-CMakeLists.txt
sed 's/^X//' >owncloud-csync/files/patch-src-std-CMakeLists.txt << '1809c2ac1369b834c648839f4d14a38d'
X--- src/std/_CMakeLists.txt	2013-02-20 20:39:16.000000000 +0400
X+++ src/std/CMakeLists.txt	2013-03-16 14:16:52.896920438 +0400
X@@ -31,6 +31,7 @@
X include_directories(
X   ${CSTDLIB_PUBLIC_INCLUDE_DIRS}
X   ${CSTDLIB_PRIVATE_INCLUDE_DIRS}
X+  ${ICONV_INCLUDE_DIR}
X )
X 
X add_library(${CSTDLIB_LIBRARY} STATIC ${cstdlib_SRCS})
1809c2ac1369b834c648839f4d14a38d
echo x - owncloud-csync/files/patch-enodata
sed 's/^X//' >owncloud-csync/files/patch-enodata << '81a3ffffff84e06e115515d8cfcc42e8'
XFrom 199d6a1b07f8ce5d8009518b61b57768061d65b5 Mon Sep 17 00:00:00 2001
XFrom: arrowdodger <6yearold at gmail.com>
XDate: Tue, 19 Feb 2013 11:37:10 +0400
XSubject: [PATCH] Fix build for FreeBSD.
X
X---
X src/std/c_private.h | 4 ++++
X 1 file changed, 4 insertions(+)
X
Xdiff --git src/std/c_private.h src/std/c_private.h
Xindex 2b1c6a3..bacd179 100644
X--- src/std/c_private.h
X+++ src/std/c_private.h
X@@ -32,6 +32,10 @@
X #endif
X 
X 
X+#ifdef __FreeBSD__
X+#define ENODATA 0
X+#endif
X+
X #ifdef _WIN32
X #define EDQUOT 0
X #define ENODATA 0
X-- 
X1.8.1.3
X
81a3ffffff84e06e115515d8cfcc42e8
exit



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list