diff --git a/comms/hamlib/Makefile b/comms/hamlib/Makefile index 39793e8a339c..815ddc85b796 100644 --- a/comms/hamlib/Makefile +++ b/comms/hamlib/Makefile @@ -1,54 +1,52 @@ PORTNAME= hamlib -PORTVERSION= 4.5.5 -PORTREVISION= 1 +PORTVERSION= 4.6.2 CATEGORIES= comms hamradio MASTER_SITES= SF MAINTAINER= hamradio@FreeBSD.org COMMENT= Shared libraries for Amateur Radio Equipment Control Applications WWW= https://sourceforge.net/projects/hamlib/ LICENSE= LGPL20 BUILD_DEPENDS= swig:devel/swig LIB_DEPENDS= libltdl.so:devel/libltdl USES= autoreconf gnome libtool:keepla localbase:ldflags pathfix perl5 pkgconfig python \ readline shebangfix tcl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PERL5= build run 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 \ --with-python-binding CONFIGURE_ENV= LIBUSB_LIBS="-lusb" cf_with_cxx=yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib PLIST_SUB= TCL_VER=${TCL_VER} OPTIONS_DEFINE= DOCS post-build: ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' \ ${WRKSRC}/bindings/Hamlib-pl.mk post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Hamlib/Hamlib.so @${MKDIR} ${STAGEDIR}${DOCSDIR} .for d in ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB \ ${WRKSRC}/ChangeLog ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE \ ${WRKSRC}/NEWS ${WRKSRC}/PLAN ${WRKSRC}/README \ ${WRKSRC}/README.betatester ${WRKSRC}/README.osx \ ${WRKSRC}/README.developer ${WRKSRC}/README.freqranges \ ${WRKSRC}/README.multicast ${WRKSRC}/THANKS ${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR} .endfor .include 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 + #include + #include ++#include + + #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 @@ -1,78 +1,82 @@ bin/ampctl 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 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 lib/libhamlib.so.4.0.6 %%SITE_ARCH%%/Hamlib.pm %%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 share/man/man1/rotctl.1.gz 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 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/PLAN %%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 %%PORTDOCS%%%%DOCSDIR%%/examples/tcltest.tcl