Date: Thu, 12 Oct 2017 19:30:52 +0000 (UTC) From: Diane Bruce <db@FreeBSD.org> 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 Message-ID: <201710121930.v9CJUq9i054330@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <http://www.w1hkj.com/flcluster-help/> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710121930.v9CJUq9i054330>