From nobody@FreeBSD.org  Wed Apr 17 07:41:46 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id E30503CA
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Apr 2013 07:41:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D365A16D
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Apr 2013 07:41:46 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3H7fka9000691
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Apr 2013 07:41:46 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r3H7fkWx000690;
	Wed, 17 Apr 2013 07:41:46 GMT
	(envelope-from nobody)
Message-Id: <201304170741.r3H7fkWx000690@red.freebsd.org>
Date: Wed, 17 Apr 2013 07:41:46 GMT
From: arrowdodger <6yearold@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: net/owncloud-csync, a backend app for Owncloud sync client
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    lippe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 17 07:50:00 UTC 2013
>Closed-Date:    Mon Jul 08 21:33:23 UTC 2013
>Last-Modified:  Mon Jul  8 21:40:00 UTC 2013
>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@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@dirrm lib/ocsync-0
X@dirrm include/ocsync
X@dirrm etc/ocsync
X@dirrm share/doc/ocsync/userguide/images/icons/callouts
X@dirrm share/doc/ocsync/userguide/images/icons
X@dirrm share/doc/ocsync/userguide/images
X@dirrm share/doc/ocsync/userguide
X@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->lippe 
Responsible-Changed-By: lippe 
Responsible-Changed-When: Wed Jul 3 21:41:51 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177900 
State-Changed-From-To: open->closed 
State-Changed-By: lippe 
State-Changed-When: Mon Jul 8 21:33:23 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177900 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177900: commit references a PR
Date: Mon,  8 Jul 2013 21:32:08 +0000 (UTC)

 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@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@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@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@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
 +@dirrm lib/ocsync-0
 +@dirrm include/ocsync
 +@dirrmtry %%ETCDIR%%
 +@dirrm %%DOCSDIR%%/userguide/images/icons/callouts
 +@dirrm %%DOCSDIR%%/userguide/images/icons
 +@dirrm %%DOCSDIR%%/userguide/images
 +@dirrm %%DOCSDIR%%/userguide
 +@dirrmtry %%DOCSDIR%%
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
