From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 20 17:10: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 8E67E5D1 for ; Thu, 20 Jun 2013 17:10: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 741E01759 for ; Thu, 20 Jun 2013 17:10: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 r5KHA0BL078961 for ; Thu, 20 Jun 2013 17:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5KHA0dt078960; Thu, 20 Jun 2013 17:10:00 GMT (envelope-from gnats) Resent-Date: Thu, 20 Jun 2013 17:10:00 GMT Resent-Message-Id: <201306201710.r5KHA0dt078960@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, Jesse Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2920E58F for ; Thu, 20 Jun 2013 17:09:28 +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 1AA1C1753 for ; Thu, 20 Jun 2013 17:09:28 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5KH9RhJ038530 for ; Thu, 20 Jun 2013 17:09:27 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5KH9R1K038529; Thu, 20 Jun 2013 17:09:27 GMT (envelope-from nobody) Message-Id: <201306201709.r5KH9R1K038529@oldred.freebsd.org> Date: Thu, 20 Jun 2013 17:09:27 GMT From: Jesse To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/179778: new port: net/fish-sync -- network file sync tool 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: Thu, 20 Jun 2013 17:10:00 -0000 >Number: 179778 >Category: ports >Synopsis: new port: net/fish-sync -- network file sync tool >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: Thu Jun 20 17:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jesse >Release: FreeBSD 9.1 >Organization: RM >Environment: >Description: Attached is a new port for a program called fish-Sync. The fish-sync application acts as a front-end to rsync and OpenSSH, allowing users to easily share files from multiple directories between multiple computers. Only one of the machines in each swarm needs to have fish-sync installed, all other machines simply need OpenSSH. >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: # # fish-sync/ # fish-sync/files # fish-sync/files/patch-source__sync_thread.cpp # fish-sync/files/patch-source__ssh.cpp # fish-sync/files/patch-source__Makefile # fish-sync/files/patch-source__options.cpp # fish-sync/pkg-descr # fish-sync/Makefile # fish-sync/distinfo # echo c - fish-sync/ mkdir -p fish-sync/ > /dev/null 2>&1 echo c - fish-sync/files mkdir -p fish-sync/files > /dev/null 2>&1 echo x - fish-sync/files/patch-source__sync_thread.cpp sed 's/^X//' >fish-sync/files/patch-source__sync_thread.cpp << '162f7ee29fea072367fe078730f9e8d3' X--- ./source/sync_thread.cpp.orig 2012-05-27 12:25:40.000000000 -0300 X+++ ./source/sync_thread.cpp 2013-06-20 08:44:05.000000000 -0300 X@@ -1,6 +1,7 @@ X #include X #include X #include X+#include X #include X #include X #include "log.h" 162f7ee29fea072367fe078730f9e8d3 echo x - fish-sync/files/patch-source__ssh.cpp sed 's/^X//' >fish-sync/files/patch-source__ssh.cpp << '90e322f1ce9f1c150f29628e0ca8a8e0' X--- ./source/ssh.cpp.orig 2013-06-20 08:50:58.000000000 -0300 X+++ ./source/ssh.cpp 2013-06-20 08:51:59.000000000 -0300 X@@ -148,6 +148,8 @@ X sizeof(char)); X if (! key_location) X return FALSE; X+ X+ sprintf(key_location, "%s/%s", my_options->config_dir, FISH_KEY); X X full_command = (char *) calloc( strlen(to_host->remote_host) + X strlen(to_host->user) + 90e322f1ce9f1c150f29628e0ca8a8e0 echo x - fish-sync/files/patch-source__Makefile sed 's/^X//' >fish-sync/files/patch-source__Makefile << '270d2f2f24dcf69e5326129a669e5776' X--- ./source/Makefile.orig 2012-05-13 22:58:56.000000000 -0300 X+++ ./source/Makefile 2013-06-20 08:44:05.000000000 -0300 X@@ -1,6 +1,6 @@ X PREFIX ?= /usr X CXX ?= g++ X-CFLAGS = -Wno-write-strings -pthread -DVERSION=\"$(VERSION)\" # -DDEBUG X+CFLAGS = -Wno-write-strings -pthread -DVERSION=\"$(VERSION)\" -DDEBUG X LFLAGS = -pthread X MODULES = options.o main.o log.o ssh.o rsync.o sync_thread.o X HEADERS = options.h log.h ssh.h rsync.h sync_thread.h 270d2f2f24dcf69e5326129a669e5776 echo x - fish-sync/files/patch-source__options.cpp sed 's/^X//' >fish-sync/files/patch-source__options.cpp << '392d229e42cc63fc27926a64e23a1658' X--- ./source/options.cpp.orig 2012-05-27 12:25:58.000000000 -0300 X+++ ./source/options.cpp 2013-06-20 08:44:05.000000000 -0300 X@@ -111,15 +111,15 @@ X if (my_options->ssh) free(my_options->ssh); X my_options->ssh = strdup(temp_value); X } X- else if (! strncasecmp(buffer, "copyid", 9) ) X+ else if (! strncasecmp(buffer, "copyid", 6) ) X { X- sscanf(& (buffer[10]), "%s", temp_value); X+ sscanf(& (buffer[7]), "%s", temp_value); X if (my_options->sshcopyid) free(my_options->sshcopyid); X my_options->sshcopyid = strdup(temp_value); X } X- else if (! strncasecmp(buffer, "keygen", 9) ) X+ else if (! strncasecmp(buffer, "keygen", 6) ) X { X- sscanf(& (buffer[10]), "%s", temp_value); X+ sscanf(& (buffer[7]), "%s", temp_value); X if (my_options->sshkeygen) free(my_options->sshkeygen); X my_options->sshkeygen = strdup(temp_value); X } 392d229e42cc63fc27926a64e23a1658 echo x - fish-sync/pkg-descr sed 's/^X//' >fish-sync/pkg-descr << '0343596782353ca170884e71feff26d0' XFish Sync is a file syncing application. It can transfer multiple folders Xbetween multiple machines, keeping these folders synchronized. The Fish XSync program does not have to be install on every machine in the group Xof peers, only one machine which initiates the synchornization process. X XTransfers are conducted using OpenSSH and rsync, making Fish Sync both Xrelatively secure and lightweight in its network traffic. X XWWW: http://fishsync.sourceforge.net/ 0343596782353ca170884e71feff26d0 echo x - fish-sync/Makefile sed 's/^X//' >fish-sync/Makefile << '57e50ac67fbe8a147d385c6ffb5992a3' X# New ports collection makefile for: fish-sync X# Date created: June 2013 X# Whom: Jesse X# X# $FreeBSD: X# X XPORTNAME= fish-sync XPORTVERSION= 0.4 XCATEGORIES= net XMASTER_SITES= SF/fishsync/fish XDISTNAME= fish-${PORTVERSION} XMAINTAINER= jessefrgsmith@yahoo.ca XCOMMENT= A distributed file synchronization utility. XLICENSE= GPLv2 XWRKSRC= ${WRKDIR}/Fish XPLIST_FILES= bin/${PORTNAME} XUSE_GMAKE= yes X X.include X XRUN_DEPENDS= ${LOCALBASE}/bin/sshpass:${PORTSDIR}/security/sshpass \ X ${LOCALBASE}/bin/sshfs:${PORTSDIR}/sysutils/fusefs-sshfs \ X ${LOCALBASE}/bin/rsync:${PORTSDIR}/net/rsync \ X ${LOCALBASE}/bin/ssh-copy-id:${PORTSDIR}/security/ssh-copy-id X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/fish ${PREFIX}/bin/fish-sync X X.include 57e50ac67fbe8a147d385c6ffb5992a3 echo x - fish-sync/distinfo sed 's/^X//' >fish-sync/distinfo << '7760e5ce7ec605862d501dcc4ac11506' XSHA256 (fish-0.4.tar.gz) = b0286bde586f1bef0a03364361b47d67ab580acabae10beb1d38befbe62f35af XSIZE (fish-0.4.tar.gz) = 54658 7760e5ce7ec605862d501dcc4ac11506 exit >Release-Note: >Audit-Trail: >Unformatted: