From owner-svn-ports-head@freebsd.org Thu Oct 12 19:30:53 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA286E32BE6; Thu, 12 Oct 2017 19:30:53 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7CA6664499; Thu, 12 Oct 2017 19:30:53 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9CJUqNN054338; Thu, 12 Oct 2017 19:30:52 GMT (envelope-from db@FreeBSD.org) Received: (from db@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9CJUq9i054330; Thu, 12 Oct 2017 19:30:52 GMT (envelope-from db@FreeBSD.org) Message-Id: <201710121930.v9CJUq9i054330@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: db set sender to db@FreeBSD.org using -f From: Diane Bruce Date: Thu, 12 Oct 2017 19:30:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451926 - in head/comms: . flcluster flcluster/files X-SVN-Group: ports-head X-SVN-Commit-Author: db X-SVN-Commit-Paths: in head/comms: . flcluster flcluster/files X-SVN-Commit-Revision: 451926 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 19:30:53 -0000 Author: db Date: Thu Oct 12 19:30:51 2017 New Revision: 451926 URL: https://svnweb.freebsd.org/changeset/ports/451926 Log: flcluster is a stand alone dx cluster client that will also connect to fldigi and act as the dx cluster client for fldigi. Multiple instances of flcluster can simultaneously connect to fldigi, and fldigi's internal dx cluster client can also be connected at the same time. Connectivity is via a socket interface, so flclient can reside on the same or a different computer on the LAN or WAN so long as it is possible to establish the socket (xmlrpc) connection. On line help is available Added: head/comms/flcluster/ head/comms/flcluster/Makefile (contents, props changed) head/comms/flcluster/distinfo (contents, props changed) head/comms/flcluster/files/ head/comms/flcluster/files/patch-src_dxcluster_dxcluster.cxx (contents, props changed) head/comms/flcluster/files/patch-src_utils_debug.cxx (contents, props changed) head/comms/flcluster/files/patch-src_utils_socket.cxx (contents, props changed) head/comms/flcluster/pkg-descr (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Thu Oct 12 19:00:13 2017 (r451925) +++ head/comms/Makefile Thu Oct 12 19:30:51 2017 (r451926) @@ -40,6 +40,7 @@ SUBDIR += efax-gtk SUBDIR += ems-flasher SUBDIR += fl_moxgen + SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flrig Added: head/comms/flcluster/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flcluster/Makefile Thu Oct 12 19:30:51 2017 (r451926) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= flcluster +PORTVERSION= 1.0.1 +CATEGORIES= comms hamradio +MASTER_SITES= http://www.w1hkj.com/files/flcluster/ + +MAINTAINER= hamradio@FreeBSD.org +COMMENT= FLCLUSTER is a management tool for accessing dxcluster nodes + +LICENSE= GPLv3 + +LIB_DEPENDS= libpng16.so:graphics/png \ + libfltk.so:x11-toolkits/fltk \ + libfontconfig.so:x11-fonts/fontconfig + +USES= autoreconf compiler:c++11-lib gmake pkgconfig +USE_CXXSTD= gnu++0x +GNU_CONFIGURE= yes +USE_XORG= x11 xft xext xfixes xcursor xinerama +CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" \ + EXTRA_LIBS="-lexecinfo" + +PLIST_FILES= bin/flcluster share/applications/flcluster.desktop \ + share/pixmaps/flcluster.xpm +.include Added: head/comms/flcluster/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flcluster/distinfo Thu Oct 12 19:30:51 2017 (r451926) @@ -0,0 +1,3 @@ +TIMESTAMP = 1507827345 +SHA256 (flcluster-1.0.1.tar.gz) = 888cbe1299f65736c5625ca656687db9b5d94bdf693fa124721ea7c2cdcc1139 +SIZE (flcluster-1.0.1.tar.gz) = 1070102 Added: head/comms/flcluster/files/patch-src_dxcluster_dxcluster.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flcluster/files/patch-src_dxcluster_dxcluster.cxx Thu Oct 12 19:30:51 2017 (r451926) @@ -0,0 +1,20 @@ +--- src/dxcluster/dxcluster.cxx.orig 2017-09-22 15:49:18 UTC ++++ src/dxcluster/dxcluster.cxx +@@ -653,7 +653,6 @@ void parse_dxline(string dxbuffer) + isdigit(dxbuffer[p+3]) && + (dxbuffer[p+4] == 'Z' || dxbuffer[4] == 'z')) { + dxc.time = dxbuffer.substr(p, 5); +- if (dxbuffer.length() > p+5); + dxc.spotter_US_state = dxbuffer.substr(p+5); + dxbuffer.erase(p-1); + } +@@ -1178,8 +1177,7 @@ void parse_DXcluster_stream(string input + send_password(); + + } +- +- if (keepalive > 0) { ++ if (progStatus.keepalive > 0) { + Fl::awake(restore_keepalive_box); + wait_for_keepalive = -1; + } Added: head/comms/flcluster/files/patch-src_utils_debug.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flcluster/files/patch-src_utils_debug.cxx Thu Oct 12 19:30:51 2017 (r451926) @@ -0,0 +1,10 @@ +--- src/utils/debug.cxx.orig 2017-09-22 15:49:54 UTC ++++ src/utils/debug.cxx +@@ -119,7 +119,6 @@ void debug::start(const char* filename) + + static char fmt[1024]; + static char sztemp[1024]; +-static char strTime[64]; + + /** ******************************************************** + * Added: head/comms/flcluster/files/patch-src_utils_socket.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flcluster/files/patch-src_utils_socket.cxx Thu Oct 12 19:30:51 2017 (r451926) @@ -0,0 +1,14 @@ +--- src/utils/socket.cxx.orig 2017-08-29 18:53:34 UTC ++++ src/utils/socket.cxx +@@ -619,11 +619,7 @@ void Socket::open(const Address& addr) + address = addr; + size_t n = address.size(); + +-#ifdef __FreeBSD__ +- for (anum = n-1; anum >= 1; anum--) { +-#else + for (anum = n-1; anum >= 0; anum--) { +-#endif + ainfo = address.get(anum); + LOG_INFO("Trying %s", address.get_str(ainfo).c_str()); + if ((sockfd = socket(ainfo->ai_family, ainfo->ai_socktype, ainfo->ai_protocol)) != -1) Added: head/comms/flcluster/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flcluster/pkg-descr Thu Oct 12 19:30:51 2017 (r451926) @@ -0,0 +1,11 @@ +flcluster is a stand alone dx cluster client that will also connect to fldigi +and act as the dx cluster client for fldigi. Multiple instances of flcluster +can simultaneously connect to fldigi, and fldigi's internal dx cluster client +can also be connected at the same time. Connectivity is via a socket interface, +so flclient can reside on the same or a different computer on the LAN or WAN +so long as it is possible to establish the socket (xmlrpc) connection. + +Join linuxham or NBEMSham at groups.io or win-fldigi at Yahoo group for +support, news and updates on W1HKJ software: + +WWW: http://www.w1hkj.com/flcluster-help