pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add tfkiss 64-bit fixes
Module Name: pkgsrc-wip
Committed By: Chris Maness <christopher.maness%gmail.com@localhost>
Pushed By: kq6up
Date: Thu Jun 4 00:10:18 2026 +0000
Changeset: 312cb3d019bd12c295f143606cd10e861f8429ce
Added Files:
tfkiss/DESCR
tfkiss/MESSAGE
tfkiss/Makefile
tfkiss/PLIST
tfkiss/distinfo
tfkiss/patches/hold/patch-aa
tfkiss/patches/hold/patch-ab
tfkiss/patches/hold/patch-ac
tfkiss/patches/hold/patch-ad
tfkiss/patches/hold/patch-ae
Log Message:
Add tfkiss 64-bit fixes
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=312cb3d019bd12c295f143606cd10e861f8429ce
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tfkiss/DESCR | 16 ++++++++++++++++
tfkiss/MESSAGE | 16 ++++++++++++++++
tfkiss/Makefile | 19 +++++++++++++++++++
tfkiss/PLIST | 10 ++++++++++
tfkiss/distinfo | 5 +++++
tfkiss/patches/hold/patch-aa | 22 ++++++++++++++++++++++
tfkiss/patches/hold/patch-ab | 13 +++++++++++++
tfkiss/patches/hold/patch-ac | 15 +++++++++++++++
tfkiss/patches/hold/patch-ad | 17 +++++++++++++++++
tfkiss/patches/hold/patch-ae | 17 +++++++++++++++++
10 files changed, 150 insertions(+)
diffs:
diff --git a/tfkiss/DESCR b/tfkiss/DESCR
new file mode 100644
index 0000000000..8e586ba9fc
--- /dev/null
+++ b/tfkiss/DESCR
@@ -0,0 +1,16 @@
+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
+
+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).
diff --git a/tfkiss/MESSAGE b/tfkiss/MESSAGE
new file mode 100644
index 0000000000..3cab3a2c9d
--- /dev/null
+++ b/tfkiss/MESSAGE
@@ -0,0 +1,16 @@
+===========================================================================
+$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
new file mode 100644
index 0000000000..937c248a80
--- /dev/null
+++ b/tfkiss/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME= tfkiss-1.2.5
+CATEGORIES= ham
+MASTER_SITES= -https://github.com/kq6up/tfkiss/archive/refs/tags/1.2.5.tar.gz
+DIST_SUBDIR= tfkiss
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/kq6up/tfkiss
+COMMENT= Software implementation of TheFirmware for use with TNT
+
+USE_TOOLS+= gmake
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --enable-xpid
+CONFIGURE_ARGS+= --enable-flexnet
+CONFIGURE_ARGS+= --enable-axip
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/tfkiss/PLIST b/tfkiss/PLIST
new file mode 100644
index 0000000000..c4604049de
--- /dev/null
+++ b/tfkiss/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.4 2018/01/01 22:29:38 rillig Exp $
+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
diff --git a/tfkiss/distinfo b/tfkiss/distinfo
new file mode 100644
index 0000000000..07962f6746
--- /dev/null
+++ b/tfkiss/distinfo
@@ -0,0 +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
diff --git a/tfkiss/patches/hold/patch-aa b/tfkiss/patches/hold/patch-aa
new file mode 100644
index 0000000000..d4bb2d20f9
--- /dev/null
+++ b/tfkiss/patches/hold/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2005/12/30 23:06:43 joerg Exp $
+
+--- src/main.c.orig 2005-12-30 22:55:13.000000000 +0000
++++ src/main.c
+@@ -1168,7 +1168,7 @@ int main(int argc,char *argv[])
+ #ifdef USE_AXIP
+ int n, hdr_len;
+ unsigned char buf[MAX_FRAME];
+-#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+ struct ip *ipptr;
+ #else
+ struct iphdr *ipptr;
+@@ -1411,7 +1411,7 @@ int main(int argc,char *argv[])
+ fromlen = sizeof from;
+ n = recvfrom(sock,buf,MAX_FRAME,0,
+ (struct sockaddr *)&from,&fromlen);
+-#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+ ipptr = (struct ip *)buf;
+ hdr_len = 4 * ipptr->ip_hl;
+ #else
diff --git a/tfkiss/patches/hold/patch-ab b/tfkiss/patches/hold/patch-ab
new file mode 100644
index 0000000000..d480f2d14e
--- /dev/null
+++ b/tfkiss/patches/hold/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/12/30 23:06:43 joerg Exp $
+
+--- configure.orig 2005-12-30 23:03:24.000000000 +0000
++++ configure
+@@ -1184,7 +1184,7 @@ tfkiss_log_dir=${prefix}/tfkiss
+ tfkiss_run_dir=${prefix}/tfkiss
+
+ case "$target" in
+- *-*-netbsd*)
++ *-*-netbsd* | *-*-dragonfly*)
+ cat >> confdefs.h <<\EOF
+ #define HAVE_CRTSCTS 1
+ EOF
diff --git a/tfkiss/patches/hold/patch-ac b/tfkiss/patches/hold/patch-ac
new file mode 100644
index 0000000000..9395ce0049
--- /dev/null
+++ b/tfkiss/patches/hold/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2009/02/16 19:19:01 joerg Exp $
+
+--- src/Makefile.in.orig 2009-02-16 20:15:02.000000000 +0100
++++ src/Makefile.in
+@@ -72,8 +72,8 @@ tfkiss: $(OBJS)
+ $(CC) $(CFLAGS) $(OBJS) $(LIBS) $(LDFLAGS) -o tfkiss;
+
+ install:
+- $(MKDIR) ${tfkiss_main_dir}/sbin; \
+- $(INSTALL_PROGRAM) tfkiss ${tfkiss_main_dir}/sbin;
++ $(MKDIR) ${DESTDIR}${tfkiss_main_dir}/sbin; \
++ $(INSTALL_PROGRAM) tfkiss ${DESTDIR}${tfkiss_main_dir}/sbin;
+
+ clean:
+ rm -f *.o *.core tfkiss .depend
diff --git a/tfkiss/patches/hold/patch-ad b/tfkiss/patches/hold/patch-ad
new file mode 100644
index 0000000000..a6a26ef39b
--- /dev/null
+++ b/tfkiss/patches/hold/patch-ad
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.1 2009/02/16 19:19:01 joerg Exp $
+
+--- doc/Makefile.in.orig 2009-02-16 20:15:37.000000000 +0100
++++ doc/Makefile.in
+@@ -15,10 +15,10 @@ DOCS = alas.eng alas.txt copyrght.txt rf
+ all:
+
+ install:
+- $(MKDIR) ${tfkiss_doc_dir}
++ $(MKDIR) ${DESTDIR}${tfkiss_doc_dir}
+ @for i in $(DOCS); \
+ do \
+- $(INSTALL_DATA) $$i ${tfkiss_doc_dir}; \
++ $(INSTALL_DATA) $$i ${DESTDIR}${tfkiss_doc_dir}; \
+ done;
+
+ clean:
diff --git a/tfkiss/patches/hold/patch-ae b/tfkiss/patches/hold/patch-ae
new file mode 100644
index 0000000000..293b963f46
--- /dev/null
+++ b/tfkiss/patches/hold/patch-ae
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.1 2009/02/16 19:19:01 joerg Exp $
+
+--- examples/Makefile.in.orig 2009-02-16 20:16:44.000000000 +0100
++++ examples/Makefile.in
+@@ -15,10 +15,10 @@ CFGS = tfkiss.ini tfkiss.cfg
+ all:
+
+ install:
+- $(MKDIR) ${tfkiss_conf_dir}
++ $(MKDIR) ${DESTDIR}${tfkiss_conf_dir}
+ @for i in $(CFGS); \
+ do \
+- $(INSTALL_DATA) $$i ${tfkiss_conf_dir}; \
++ $(INSTALL_DATA) $$i ${DESTDIR}${tfkiss_conf_dir}; \
+ done;
+
+ clean:
Home |
Main Index |
Thread Index |
Old Index