1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

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/>
This commit is contained in:
Diane Bruce 2017-10-12 19:30:51 +00:00
parent 3d558c1348
commit fd5ad89442
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451926
7 changed files with 85 additions and 0 deletions

View File

@ -40,6 +40,7 @@
SUBDIR += efax-gtk
SUBDIR += ems-flasher
SUBDIR += fl_moxgen
SUBDIR += flcluster
SUBDIR += fldigi
SUBDIR += fllog
SUBDIR += flrig

26
comms/flcluster/Makefile Normal file
View File

@ -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>

3
comms/flcluster/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1507827345
SHA256 (flcluster-1.0.1.tar.gz) = 888cbe1299f65736c5625ca656687db9b5d94bdf693fa124721ea7c2cdcc1139
SIZE (flcluster-1.0.1.tar.gz) = 1070102

View File

@ -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;
}

View File

@ -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];
/** ********************************************************
*

View File

@ -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)

11
comms/flcluster/pkg-descr Normal file
View File

@ -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