ports/180205: new port: net/ocsync -- ownCloud sync client
Surdus
surdus at welovemetal.com
Tue Jul 2 16:00:00 UTC 2013
>Number: 180205
>Category: ports
>Synopsis: new port: net/ocsync -- 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: Tue Jul 02 16:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Surdus
>Release: FreeBSD 9.1
>Organization:
We Love Web Solutions
>Environment:
>Description:
Please find attached a port of ocsync, the command line client software used to sync files between the local host and an ownCloud installation.
>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:
#
# ocsync
# ocsync/files
# ocsync/files/patch-src__std__c_file.c
# ocsync/files/patch-src__std__c_string.c
# ocsync/pkg-descr
# ocsync/Makefile
#
echo c - ocsync
mkdir -p ocsync > /dev/null 2>&1
echo c - ocsync/files
mkdir -p ocsync/files > /dev/null 2>&1
echo x - ocsync/files/patch-src__std__c_file.c
sed 's/^X//' >ocsync/files/patch-src__std__c_file.c << 'b8a89a69f47346c08a235685ca9fe61b'
X--- ./src/std/c_file.c.orig 2013-07-02 09:02:48.000000000 -0300
X+++ ./src/std/c_file.c 2013-07-02 09:03:42.000000000 -0300
X@@ -37,6 +37,10 @@
X
X #include "c_private.h"
X
X+#ifndef ENODATA
X+#define ENODATA EPIPE
X+#endif
X+
X /* check if path is a file */
X int c_isfile(const char *path) {
X csync_stat_t sb;
b8a89a69f47346c08a235685ca9fe61b
echo x - ocsync/files/patch-src__std__c_string.c
sed 's/^X//' >ocsync/files/patch-src__std__c_string.c << '6fd79da7d2f7f8ef63e9994e28919a7e'
X--- ./src/std/c_string.c.orig 2013-07-02 09:05:03.000000000 -0300
X+++ ./src/std/c_string.c 2013-07-02 09:05:28.000000000 -0300
X@@ -293,7 +293,7 @@
X #ifdef WITH_ICONV
X dst = c_iconv(wstr, iconv_from_native);
X #else
X- dst = wstr;
X+ dst = (void *) wstr;
X #endif
X #endif
X return dst;
X@@ -317,7 +317,7 @@
X #ifdef WITH_ICONV
X dst = c_iconv(str, iconv_to_native);
X #else
X- dst = str;
X+ dst = (void *) str;
X #endif
X #endif
X return dst;
6fd79da7d2f7f8ef63e9994e28919a7e
echo x - ocsync/pkg-descr
sed 's/^X//' >ocsync/pkg-descr << '8d7eb6adaa58627f933121f17b1dfc21'
XThis software provides the background services used to synchronize files
Xbetween the local host and an ownCloud installation.
X
XWWW: http://owncloud.org/sync-clients
8d7eb6adaa58627f933121f17b1dfc21
echo x - ocsync/Makefile
sed 's/^X//' >ocsync/Makefile << '61e583d71e10d2f3f60fdc1330e0e70b'
X# New ports collection makefile for: ocsync
X# Date created: July 1, 2013
X#
X# $FreeBSD:
X#
X
XPORTNAME= ocsync
XPORTVERSION= 0.80.0
XCATEGORIES= net
XMASTER_SITES= http://download.owncloud.com/download/
XDISTNAME= ${PORTNAME}-${PORTVERSION}
XMAINTAINER= surdus at welovemetal.com
XCOMMENT= Background software for the ownCloud fiel sync client.
XLICENSE= GPLv2
XUSE_BZIP2= yes
XPLIST_FILES= bin/${PORTNAME}
X.include <bsd.port.pre.mk>
X
XLIB_DEPENDS= iniparser:${PORTSDIR}/devel/iniparser
X
XBUILD_DEPENDS= neon-config:${PORTSDIR}/www/neon29 \
X sqlite3:${PORTSDIR}/databases/sqlite3 \
X cmake:${PORTSDIR}/devel/cmake
X
Xdo-build:
X ${MKDIR} ${WRKDIR}/ocsync-build
X cd ${WRKDIR}/ocsync-build && cmake ${WRKDIR}/${PORTNAME}-${PORTVERSION} -DCMAKE_BUILD_TYPE="Debug" -DWITH_ICONV=OFF
X cd ${WRKDIR}/ocsync-build && make
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKDIR}/ocsync-build/client/${PORTNAME} ${PREFIX}/bin
X
X
X.include <bsd.port.post.mk>
61e583d71e10d2f3f60fdc1330e0e70b
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list