From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 2 16:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9AE70E66 for ; Tue, 2 Jul 2013 16:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7D7F9173A for ; Tue, 2 Jul 2013 16:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r62G00f0052720 for ; Tue, 2 Jul 2013 16:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r62G00bU052719; Tue, 2 Jul 2013 16:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 2 Jul 2013 16:00:00 GMT Resent-Message-Id: <201307021600.r62G00bU052719@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Surdus Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 382D8E11 for ; Tue, 2 Jul 2013 15:59:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2A50D172B for ; Tue, 2 Jul 2013 15:59:25 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r62FxOBm038455 for ; Tue, 2 Jul 2013 15:59:24 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r62FxOik038454; Tue, 2 Jul 2013 15:59:24 GMT (envelope-from nobody) Message-Id: <201307021559.r62FxOik038454@oldred.freebsd.org> Date: Tue, 2 Jul 2013 15:59:24 GMT From: Surdus To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180205: new port: net/ocsync -- ownCloud sync client X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2013 16:00:00 -0000 >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@welovemetal.com XCOMMENT= Background software for the ownCloud fiel sync client. XLICENSE= GPLv2 XUSE_BZIP2= yes XPLIST_FILES= bin/${PORTNAME} X.include 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 61e583d71e10d2f3f60fdc1330e0e70b exit >Release-Note: >Audit-Trail: >Unformatted: