git: adcfc4eaba62 - main - comms/hamlib: Update to 4.6.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Feb 2025 16:45:43 UTC
The branch main has been updated by db:
URL: https://cgit.FreeBSD.org/ports/commit/?id=adcfc4eaba62d42cfecd4d9678c10a5a74ae147b
commit adcfc4eaba62d42cfecd4d9678c10a5a74ae147b
Author: Diane Bruce <db@FreeBSD.org>
AuthorDate: 2025-02-27 15:51:38 +0000
Commit: Diane Bruce <db@FreeBSD.org>
CommitDate: 2025-02-27 16:45:38 +0000
comms/hamlib: Update to 4.6.2
Fixed missing README.md in pkg-plist
Version 4.6.2
* Add missing levels for IC746/PRO RIG_LEVEL_RFPOWER_METER,RIG_LEVEL_RFPOWER_METER_WATTS,RIG_LEVEL_SWR,RIG_LEVEL_ALC
* Fix IC905 for gpredict
* Fix potential segfault on QMX
* Fix pmr171
Version 4.6.1
* Fix C++ builds failing on rig_list_foreach function
* Fix IC9100 rigctld startup to end up on VFOA
* Fix grig build by removing sys/socket.h -- apparently not needed
* Add new QMX entry to fix incompability with QDX
* Fix IC746/PROT to not use data byte
* FLRig to add DATA-U DATA-L modes
* Fix TS570 RIG_LEVEL_STRENGTH with cal table
* Remove get_powerstat from IC785X -- not supported
* Fix SDRConsole by removing lots of things it does not have
PR: ports/285061
Reported by: takefu@airport.fm
---
comms/hamlib/Makefile | 4 +---
comms/hamlib/distinfo | 6 +++---
comms/hamlib/files/patch-rigs_dummy_rot__pstrotator.c | 10 ++++++++++
comms/hamlib/files/patch-src_misc.c | 12 ------------
comms/hamlib/pkg-descr | 11 ++++-------
comms/hamlib/pkg-plist | 18 +++++++++++-------
6 files changed, 29 insertions(+), 32 deletions(-)
diff --git a/comms/hamlib/Makefile b/comms/hamlib/Makefile
index 39793e8a339c..815ddc85b796 100644
--- a/comms/hamlib/Makefile
+++ b/comms/hamlib/Makefile
@@ -1,6 +1,5 @@
PORTNAME= hamlib
-PORTVERSION= 4.5.5
-PORTREVISION= 1
+PORTVERSION= 4.6.2
CATEGORIES= comms hamradio
MASTER_SITES= SF
@@ -23,7 +22,6 @@ USE_PYTHON= py3kplist
# $TCL_INCLUDE_SPEC
SHEBANG_FILES= bindings/perltest.pl
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-perl-binding \
--with-tcl-binding --with-tcl=${TCL_LIBDIR} \
--with-libusb \
diff --git a/comms/hamlib/distinfo b/comms/hamlib/distinfo
index b7c5c2d14eb3..1819c1b60421 100644
--- a/comms/hamlib/distinfo
+++ b/comms/hamlib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681402649
-SHA256 (hamlib-4.5.5.tar.gz) = 601c89f32ed225e9527ade3d64d0d05d23202c05ae21ffa77e59d70ee4597fcd
-SIZE (hamlib-4.5.5.tar.gz) = 2603846
+TIMESTAMP = 1740612702
+SHA256 (hamlib-4.6.2.tar.gz) = b2ac73f44dd1161e95fdee6c95276144757647bf92d7fdb369ee2fe41ed47ae8
+SIZE (hamlib-4.6.2.tar.gz) = 2909790
diff --git a/comms/hamlib/files/patch-rigs_dummy_rot__pstrotator.c b/comms/hamlib/files/patch-rigs_dummy_rot__pstrotator.c
new file mode 100644
index 000000000000..37ed3d2f8469
--- /dev/null
+++ b/comms/hamlib/files/patch-rigs_dummy_rot__pstrotator.c
@@ -0,0 +1,10 @@
+--- rigs/dummy/rot_pstrotator.c.orig 2025-02-09 21:22:13 UTC
++++ rigs/dummy/rot_pstrotator.c
+@@ -23,6 +23,7 @@
+ #include <math.h>
+ #include <sys/time.h>
+ #include <errno.h>
++#include <sys/socket.h>
+
+ #include "hamlib/rotator.h"
+ #include "dummy_common.h"
diff --git a/comms/hamlib/files/patch-src_misc.c b/comms/hamlib/files/patch-src_misc.c
deleted file mode 100644
index 377767cf9d7a..000000000000
--- a/comms/hamlib/files/patch-src_misc.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/misc.c.orig 2023-01-01 00:12:52 UTC
-+++ src/misc.c
-@@ -2581,7 +2581,8 @@ char *date_strget(char *buf, int buflen, int localtime
- if (localtime)
- {
- mytm = localtime_r(&t, &result);
-- mytimezone = timezone;
-+ /* For FreeBSD */
-+ mytimezone = mytm->tm_gmtoff;
- }
- else
- {
diff --git a/comms/hamlib/pkg-descr b/comms/hamlib/pkg-descr
index 059302054caa..7e9182516cf5 100644
--- a/comms/hamlib/pkg-descr
+++ b/comms/hamlib/pkg-descr
@@ -1,7 +1,4 @@
-The Ham Radio Control Libraries, Hamlib for short, is a development effort
-to provide a consistent interface for programmers wanting to incorporate
-radio control in their programs.
-Hamlib will allow authors of software logging programs, digital communications
-programs, or those wanting to develop the ultimate radio control software to
-concentrate on the user interface and the basic function of the program rather
-than radio control.
+The Ham Radio Control Library hamlib, for short is a project to provide programs
+with a consistent Application Programming Interface (API) for controlling the
+myriad of radios and rotators available to amateur radio and communications
+users.
diff --git a/comms/hamlib/pkg-plist b/comms/hamlib/pkg-plist
index 798dd94089c8..ba080e848551 100644
--- a/comms/hamlib/pkg-plist
+++ b/comms/hamlib/pkg-plist
@@ -3,15 +3,20 @@ bin/ampctld
bin/rigctl
bin/rigctlcom
bin/rigctld
+bin/rigctlsync
+bin/rigctltcp
+bin/rigfreqwalk
bin/rigmem
bin/rigsmtr
bin/rigswr
+bin/rigtestmcast
+bin/rigtestmcastrx
bin/rotctl
bin/rotctld
include/hamlib/ampclass.h
include/hamlib/amplifier.h
include/hamlib/amplist.h
-include/hamlib/config.h
+include/hamlib/multicast.h
include/hamlib/rig.h
include/hamlib/rig_dll.h
include/hamlib/rigclass.h
@@ -19,12 +24,10 @@ include/hamlib/riglist.h
include/hamlib/rotator.h
include/hamlib/rotclass.h
include/hamlib/rotlist.h
-lib/libhamlib++.a
lib/libhamlib++.la
lib/libhamlib++.so
lib/libhamlib++.so.4
lib/libhamlib++.so.4.0.6
-lib/libhamlib.a
lib/libhamlib.la
lib/libhamlib.so
lib/libhamlib.so.4
@@ -33,22 +36,23 @@ lib/libhamlib.so.4.0.6
%%SITE_ARCH%%/auto/Hamlib/Hamlib.so
%%SITE_ARCH%%/perltest.pl
%%PYTHON_SITELIBDIR%%/Hamlib.py
-%%PYTHON_SITELIBDIR%%/_Hamlib.a
%%PYTHON_SITELIBDIR%%/_Hamlib.la
%%PYTHON_SITELIBDIR%%/_Hamlib.so
%%PYTHON_SITELIBDIR%%/__pycache__/Hamlib%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/__pycache__/Hamlib%%PYTHON_EXT_SUFFIX%%.opt-2.pyc
%%PYTHON_SITELIBDIR%%/__pycache__/Hamlib%%PYTHON_EXT_SUFFIX%%.pyc
lib/tcl%%TCL_VER%%/Hamlib/hamlibtcl-4.6.so
-lib/tcl%%TCL_VER%%/Hamlib/hamlibtcl.a
lib/tcl%%TCL_VER%%/Hamlib/hamlibtcl.la
lib/tcl%%TCL_VER%%/Hamlib/hamlibtcl.so
lib/tcl%%TCL_VER%%/Hamlib/pkgIndex.tcl
libdata/pkgconfig/hamlib.pc
+share/aclocal/hamlib.m4
share/man/man1/ampctl.1.gz
share/man/man1/ampctld.1.gz
share/man/man1/rigctl.1.gz
share/man/man1/rigctlcom.1.gz
share/man/man1/rigctld.1.gz
+share/man/man1/rigctlsync.1.gz
share/man/man1/rigmem.1.gz
share/man/man1/rigsmtr.1.gz
share/man/man1/rigswr.1.gz
@@ -57,7 +61,6 @@ share/man/man1/rotctld.1.gz
share/man/man7/hamlib-primer.7.gz
share/man/man7/hamlib-utilities.7.gz
share/man/man7/hamlib.7.gz
-share/aclocal/hamlib.m4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/COPYING.LIB
@@ -69,9 +72,10 @@ share/aclocal/hamlib.m4
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.betatester
%%PORTDOCS%%%%DOCSDIR%%/README.developer
-%%PORTDOCS%%%%DOCSDIR%%/README.osx
%%PORTDOCS%%%%DOCSDIR%%/README.freqranges
+%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/README.multicast
+%%PORTDOCS%%%%DOCSDIR%%/README.osx
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%PORTDOCS%%%%DOCSDIR%%/examples/perltest.pl
%%PORTDOCS%%%%DOCSDIR%%/examples/py3test.py