pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ham/tfkiss: Update to 1.3.2
Module Name: pkgsrc-wip
Committed By: Christopher Maness <christopher.maness%gmail.com@localhost>
Pushed By: kq6up
Date: Mon Jul 27 16:06:16 2026 -0700
Changeset: 408b237b240f14b5307839c8a3b9256214b11673
Modified Files:
tfkiss/DESCR
tfkiss/Makefile
tfkiss/PLIST
tfkiss/distinfo
Added Files:
tfkiss/COMMIT_MSG
Removed Files:
tfkiss/MESSAGE
Log Message:
ham/tfkiss: Update to 1.3.2
Upstream is now a maintained fork at https://github.com/kq6up/tfkiss.
The original site is gone and there had been no release since 1.2.4
in 2000.
Upstream changes since 1.2.4:
- 64-bit correctness. Fixed pointer truncation in call_to_ip() and
next_addr(), an incorrect socklen_t definition, inet_addr()
comparisons against -1 rather than INADDR_NONE, incorrect signal
handler signatures, an argument order bug in dump_ax25frame(), and
a missing return after a full routing table that permitted an
out-of-bounds write. Fixed an MBHEAD/MB struct size mismatch that
broke the firmware's buffer allocator on LP64 systems.
- All K&R function definitions converted to ANSI C prototypes.
Deprecated bzero() replaced with memset(). Unbounded string
operations replaced with bounded equivalents.
- Build system replaced with current autoconf and automake, so the
package builds with contemporary toolchains including GCC 14.
Installation paths now follow FHS conventions: documentation is
installed under DOCDIR rather than share/tfkiss/doc.
- XPID, FlexNet and AXIP are enabled by default, so CONFIGURE_ARGS
are no longer required for a full featured build.
- Example configuration files rewritten to be minimal, with NOCALL
as the placeholder callsign.
- DragonFly BSD support and DESTDIR install support, previously
carried as pkgsrc patches, are incorporated upstream. All five
patches are therefore removed from this package.
- Added LICENSE-NOTES documenting the copyright status of the work.
TheFirmware is Copyright NORD><LINK e.V. and distributed under
ALAS, which permits non-commercial use, modification and
redistribution. The accompanying notice additionally asks that
modified versions be distributed only with the consent of
NORD><LINK, which can no longer be obtained: the association
appears to be dissolved and the author of the Unix port is
deceased. LICENSE is set to generic-nonlicense with RESTRICTED,
following ham/7plus.
Packaging changes:
- MESSAGE removed.
- LICENSE and MAINTAINER set.
- MASTER_SITES points at the upstream release tarball, which is a
genuine autotools distribution and requires no autotools to build.
- PLIST regenerated from a staged installation.
- DESCR rewritten.
Built and tested on NetBSD 10/arm64, Debian 13/amd64 and
Slackware 15/x86_64. Verified interoperating with ham/tnt and
ham/dpbox, and with a BPQ32 node over AXIP/UDP.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=408b237b240f14b5307839c8a3b9256214b11673
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tfkiss/COMMIT_MSG | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
tfkiss/DESCR | 34 ++++++++++++++++++---------------
tfkiss/MESSAGE | 16 ----------------
tfkiss/Makefile | 29 ++++++++++++++++++++--------
tfkiss/PLIST | 19 ++++++++++---------
tfkiss/distinfo | 6 +++---
6 files changed, 110 insertions(+), 51 deletions(-)
diffs:
diff --git a/tfkiss/COMMIT_MSG b/tfkiss/COMMIT_MSG
new file mode 100644
index 0000000000..7d2c279553
--- /dev/null
+++ b/tfkiss/COMMIT_MSG
@@ -0,0 +1,57 @@
+ham/tfkiss: Update to 1.3.2
+
+Upstream is now a maintained fork at https://github.com/kq6up/tfkiss.
+The original site is gone and there had been no release since 1.2.4
+in 2000.
+
+Upstream changes since 1.2.4:
+
+ - 64-bit correctness. Fixed pointer truncation in call_to_ip() and
+ next_addr(), an incorrect socklen_t definition, inet_addr()
+ comparisons against -1 rather than INADDR_NONE, incorrect signal
+ handler signatures, an argument order bug in dump_ax25frame(), and
+ a missing return after a full routing table that permitted an
+ out-of-bounds write. Fixed an MBHEAD/MB struct size mismatch that
+ broke the firmware's buffer allocator on LP64 systems.
+
+ - All K&R function definitions converted to ANSI C prototypes.
+ Deprecated bzero() replaced with memset(). Unbounded string
+ operations replaced with bounded equivalents.
+
+ - Build system replaced with current autoconf and automake, so the
+ package builds with contemporary toolchains including GCC 14.
+ Installation paths now follow FHS conventions: documentation is
+ installed under DOCDIR rather than share/tfkiss/doc.
+
+ - XPID, FlexNet and AXIP are enabled by default, so CONFIGURE_ARGS
+ are no longer required for a full featured build.
+
+ - Example configuration files rewritten to be minimal, with NOCALL
+ as the placeholder callsign.
+
+ - DragonFly BSD support and DESTDIR install support, previously
+ carried as pkgsrc patches, are incorporated upstream. All five
+ patches are therefore removed from this package.
+
+ - Added LICENSE-NOTES documenting the copyright status of the work.
+ TheFirmware is Copyright NORD><LINK e.V. and distributed under
+ ALAS, which permits non-commercial use, modification and
+ redistribution. The accompanying notice additionally asks that
+ modified versions be distributed only with the consent of
+ NORD><LINK, which can no longer be obtained: the association
+ appears to be dissolved and the author of the Unix port is
+ deceased. LICENSE is set to generic-nonlicense with RESTRICTED,
+ following ham/7plus.
+
+Packaging changes:
+
+ - MESSAGE removed.
+ - LICENSE and MAINTAINER set.
+ - MASTER_SITES points at the upstream release tarball, which is a
+ genuine autotools distribution and requires no autotools to build.
+ - PLIST regenerated from a staged installation.
+ - DESCR rewritten.
+
+Built and tested on NetBSD 10/arm64, Debian 13/amd64 and
+Slackware 15/x86_64. Verified interoperating with ham/tnt and
+ham/dpbox, and with a BPQ32 node over AXIP/UDP.
diff --git a/tfkiss/DESCR b/tfkiss/DESCR
index 8e586ba9fc..112794a827 100644
--- a/tfkiss/DESCR
+++ b/tfkiss/DESCR
@@ -1,16 +1,20 @@
-TNT, the hostmode terminal program needs a TNC with TheFirmware connected
-on a serial interface. There are some applications, where other
-configurations are needed:
-- The TNC or PR-controller software is not compatible to TheFirmware and
- its hostmode, but does support KISS mode
-- The interface is not on a HF-frequency, but a TCP/IP-based network
- (local net or internet)
-- TNT together with DPBox shall be used directly connected to a digipeater
- using KISS mode (hopefully with CRC) as interface
+tfkiss is a software implementation of TheFirmware, the AX.25 packet
+radio firmware written by NORD><LINK for TNC2 hardware. It presents
+the TheFirmware hostmode interface to client software while using an
+ordinary KISS device for the radio link, so a plain KISS TNC or a
+software modem such as Direwolf can be used in place of a TNC2 running
+TheFirmware in ROM.
-To handle these applications, TFKISS was written. It is in fact a port
-of the original TheFirmware by NORD><LINK, written for TNC2-hardware.
-The low level interfaces were changed and adapted to Linux. On the
-radio side a KISS- and an AXIP-interface take the place of the HDLC/modem
-interface. The host connection is changed to a direct console interface (for
-terminal mode) and a socket interface (for TNT).
+It implements AX.25 layer 2 with DAMA support, and optionally FlexNet
+node frame decoding, PID switching, and AX.25 encapsulation in IP or
+UDP datagrams (AXIP). Up to 50 channels are supported.
+
+tfkiss is normally paired with the tnt terminal program or the dpbox
+mailbox, either of which connects to it over a local socket. Because
+the AX.25 layer 2 implementation lives in tfkiss rather than in the
+kernel, these programs can be used on systems that have no kernel
+AX.25 stack.
+
+This is a maintained fork of the port by Berndt Josef Wulf, VK5ABN.
+It adds 64-bit correctness fixes, brings the sources to ANSI C, and
+replaces the original build system with autoconf and automake.
diff --git a/tfkiss/MESSAGE b/tfkiss/MESSAGE
deleted file mode 100644
index 3cab3a2c9d..0000000000
--- a/tfkiss/MESSAGE
+++ /dev/null
@@ -1,16 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2005/09/28 14:15:49 rillig Exp $
-
-The installation of tfkiss is now completed. Please read
-the documentation provided with this package carefully and
-edit all configuration files to reflect your system setup!
-
-
-IMPORTANT NOTE:
-===============
-
-Make a backup of all your configuration and log files as
-they will be overwritten or deleted during the installation
-or de-installation of tfkiss!!!
-
-===========================================================================
diff --git a/tfkiss/Makefile b/tfkiss/Makefile
index 937c248a80..3f754fdc07 100644
--- a/tfkiss/Makefile
+++ b/tfkiss/Makefile
@@ -1,19 +1,32 @@
# $NetBSD$
-DISTNAME= tfkiss-1.2.5
+DISTNAME= tfkiss-1.3.2
CATEGORIES= ham
-MASTER_SITES= -https://github.com/kq6up/tfkiss/archive/refs/tags/1.2.5.tar.gz
-DIST_SUBDIR= tfkiss
+MASTER_SITES= ${MASTER_SITE_GITHUB:S,^,-,:=kq6up/tfkiss/releases/download/1.3.2/tfkiss-1.3.2.tar.gz}
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+MAINTAINER= christopher.maness%gmail.com@localhost
HOMEPAGE= https://github.com/kq6up/tfkiss
COMMENT= Software implementation of TheFirmware for use with TNT
-USE_TOOLS+= gmake
+# TheFirmware is Copyright NORD><LINK e.V. and is distributed under
+# ALAS, the general licence for amateur radio software, which permits
+# non-commercial use, modification and redistribution. The accompanying
+# copyright notice additionally asks that modified versions be
+# distributed only with the consent of NORD><LINK, which can no longer
+# be obtained: the association appears to be dissolved and the author of
+# the Unix port is deceased. See LICENSE-NOTES in the distribution for
+# a full account. Pick generic-nonlicense so potential users can
+# evaluate for themselves.
+LICENSE= generic-nonlicense
+
+RESTRICTED= No clear license, no commercial use
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+
GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
-CONFIGURE_ARGS+= --enable-xpid
-CONFIGURE_ARGS+= --enable-flexnet
-CONFIGURE_ARGS+= --enable-axip
+# XPID, FLEXNET and AXIP are enabled by default upstream as of 1.3.0,
+# so no CONFIGURE_ARGS are needed to obtain a full featured build.
.include "../../mk/bsd.pkg.mk"
diff --git a/tfkiss/PLIST b/tfkiss/PLIST
index c4604049de..9122107d1e 100644
--- a/tfkiss/PLIST
+++ b/tfkiss/PLIST
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.4 2018/01/01 22:29:38 rillig Exp $
+@comment $NetBSD$
+etc/tfkiss/tfkiss.cfg
+etc/tfkiss/tfkiss.ini
sbin/tfkiss
-share/tfkiss/conf/tfkiss.cfg
-share/tfkiss/conf/tfkiss.ini
-share/tfkiss/doc/alas.eng
-share/tfkiss/doc/alas.txt
-share/tfkiss/doc/copyrght.txt
-share/tfkiss/doc/rfc1226
-share/tfkiss/doc/tfkiss.doc
-@unexec ${RM} -f %D/share/tfkiss/conf/tfkiss.par
+share/doc/tfkiss/alas.eng
+share/doc/tfkiss/alas.txt
+share/doc/tfkiss/copyrght.txt
+share/doc/tfkiss/rfc1226
+share/doc/tfkiss/tfkiss.doc
+@pkgdir var/run
+@pkgdir var/log
diff --git a/tfkiss/distinfo b/tfkiss/distinfo
index 07962f6746..1c6370094c 100644
--- a/tfkiss/distinfo
+++ b/tfkiss/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-BLAKE2s (tfkiss/tfkiss-1.2.5.tar.gz) = d2cf7c1297eae0bd11e76e7a7e261301a51ce9879bf5a7339e1506e335a112d9
-SHA512 (tfkiss/tfkiss-1.2.5.tar.gz) = dba058312661840bded47b279fbedb0c832617fca03193ca4ccb9c89ee2b529e887a7cebff245b5d82b89d16910d614e870b525456df616578b0a2af937dcac5
-Size (tfkiss/tfkiss-1.2.5.tar.gz) = 146219 bytes
+BLAKE2s (tfkiss-1.3.2.tar.gz) = 66b049bc8ba53ce20c430d1ef2c2c73375f8f61f186fd38163868352bdeb777b
+SHA512 (tfkiss-1.3.2.tar.gz) = 83da8a54f20f35b4bab258a3e9405ac84943a4ccaa8e9ef93027074e74511e4a4f020a5a87d338eac7d99051023827c9b50ab9879a142f2a708653cb7d0000a4
+Size (tfkiss-1.3.2.tar.gz) = 236858 bytes
Home |
Main Index |
Thread Index |
Old Index