From owner-svn-ports-all@freebsd.org Sat Feb 8 03:43:25 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 705FE236DAF; Sat, 8 Feb 2020 03:43:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Dygd2Gw0z4Ld5; Sat, 8 Feb 2020 03:43:25 +0000 (UTC) (envelope-from yuri@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4946EF5F1; Sat, 8 Feb 2020 03:43:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0183hPWo017564; Sat, 8 Feb 2020 03:43:25 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0183hOsX017557; Sat, 8 Feb 2020 03:43:24 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202002080343.0183hOsX017557@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 8 Feb 2020 03:43:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525515 - in head/comms: . flamp flamp/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/comms: . flamp flamp/files X-SVN-Commit-Revision: 525515 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2020 03:43:25 -0000 Author: yuri Date: Sat Feb 8 03:43:23 2020 New Revision: 525515 URL: https://svnweb.freebsd.org/changeset/ports/525515 Log: New port: comms/flamp: Program for the Amateur Multicast Protocol Added: head/comms/flamp/ head/comms/flamp/Makefile (contents, props changed) head/comms/flamp/distinfo (contents, props changed) head/comms/flamp/files/ head/comms/flamp/files/patch-src_flamp.cxx (contents, props changed) head/comms/flamp/files/patch-src_utils_transmit__camp.cxx (contents, props changed) head/comms/flamp/pkg-descr (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Sat Feb 8 01:10:30 2020 (r525514) +++ head/comms/Makefile Sat Feb 8 03:43:23 2020 (r525515) @@ -44,6 +44,7 @@ SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen + SUBDIR += flamp SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog Added: head/comms/flamp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/Makefile Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= flamp +DISTVERSION= 2.2.05 +CATEGORIES= comms hamradio +MASTER_SITES= https://iweb.dl.sourceforge.net/project/fldigi/flamp/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Program for the Amateur Multicast Protocol + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ + libfontconfig.so:x11-fonts/fontconfig \ + libpng16.so:graphics/png +RUN_DEPENDS= fldigi:comms/fldigi + +USES= gmake jpeg pkgconfig xorg +USE_XORG= x11 xcursor xext xfixes xft xinerama xrender + +GNU_CONFIGURE= yes + +PLIST_FILES= bin/flamp \ + share/applications/flamp.desktop \ + share/pixmaps/flamp.xpm + +.include Added: head/comms/flamp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/distinfo Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,3 @@ +TIMESTAMP = 1581130407 +SHA256 (flamp-2.2.05.tar.gz) = 64b2c13d4053571b471fc2a840dfb0175a6135fd154811a1c1ebb806e19be1a7 +SIZE (flamp-2.2.05.tar.gz) = 518900 Added: head/comms/flamp/files/patch-src_flamp.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/files/patch-src_flamp.cxx Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,29 @@ +--- src/flamp.cxx.orig 2020-02-08 03:11:19 UTC ++++ src/flamp.cxx +@@ -838,7 +838,7 @@ void addfile(std::string xmtfname, void *rx, bool useC + int use_comp_on_file = 0; + int use_forced_comp_on_file = 0; + +- if(rx > 0 && !rAmp->rx_completed()) { ++ if(rx != nullptr && !rAmp->rx_completed()) { + fl_alert2("Only completed files can be transfered"); + return; + } +@@ -934,7 +934,7 @@ void addfile(std::string xmtfname, void *rx, bool useC + + LOG_INFO("File added to transmit queue: %s", xmtfname.c_str()); + +- if(rx > 0) { ++ if(rx != nullptr) { + cAmp *rAmp = (cAmp *) rx; + int xfrBlockSize = rAmp->rx_blocksize_int(); + +@@ -2649,7 +2649,7 @@ int parse_args(int argc, char **argv, int& idx) + + + if (strcasecmp(argv[idx], "--version") == 0) { +- printf("Version: "VERSION"\n"); ++ printf("Version: " VERSION "\n"); + exit (0); + } + return 0; Added: head/comms/flamp/files/patch-src_utils_transmit__camp.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/files/patch-src_utils_transmit__camp.cxx Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,11 @@ +--- src/utils/transmit_camp.cxx.orig 2020-02-08 03:12:42 UTC ++++ src/utils/transmit_camp.cxx +@@ -285,7 +285,7 @@ void * create_tx_table(void *ptr) + + LOG_DEBUG("Mode %s overhead=%f", mode_name.c_str(), overhead); + +- fprintf(fd, "\t{\n\t\t(char *) \"%s\", 1.0, "P_RELSOL2", \n\t\t{\n\t\t\t", mode_name.c_str(), overhead); ++ fprintf(fd, "\t{\n\t\t(char *) \"%s\", 1.0, " P_RELSOL2 ", \n\t\t{\n\t\t\t", mode_name.c_str(), overhead); + fflush(fd); + + if(mode_name.find("Olivia") != string::npos || mode_name.find("MT63") != string::npos) { Added: head/comms/flamp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/pkg-descr Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,3 @@ +A program for the Amateur Multicast Protocol, working with fldigi. + +WWW: https://sourceforge.net/projects/fldigi/