diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-11-12 21:51:28 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-11-12 21:51:28 +0000 |
commit | 0b78f9d021e677eec4351893690f7b4dc9e3621a (patch) | |
tree | 68e9d75accd34928c8ef13eb9b57eff14e6e09a3 /comms/tlf | |
parent | 2d05e9a743dea1da4c6ee71e796e8bc66aff560c (diff) | |
download | ports-0b78f9d021e677eec4351893690f7b4dc9e3621a.tar.gz ports-0b78f9d021e677eec4351893690f7b4dc9e3621a.zip |
Notes
Diffstat (limited to 'comms/tlf')
-rw-r--r-- | comms/tlf/Makefile | 24 | ||||
-rw-r--r-- | comms/tlf/distinfo | 2 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_audio.c | 18 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_callinput.c | 18 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_cluster_bg.c | 52 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_parse_logcfg.c | 19 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_rtty.c | 29 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_searchcallarray.c | 12 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_searchlog.c | 37 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_splitscreen.c | 36 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_splitscreen.h | 11 | ||||
-rw-r--r-- | comms/tlf/files/patch-src_writecabrillo.c | 25 | ||||
-rw-r--r-- | comms/tlf/pkg-descr | 6 | ||||
-rw-r--r-- | comms/tlf/pkg-plist | 30 |
14 files changed, 319 insertions, 0 deletions
diff --git a/comms/tlf/Makefile b/comms/tlf/Makefile new file mode 100644 index 000000000000..7ca2c40454ab --- /dev/null +++ b/comms/tlf/Makefile @@ -0,0 +1,24 @@ +# ports collection makefile for: tlf +# Date created: 10 July 2004 +# Whom: db +# +# $FreeBSD$ +# + +PORTNAME= tlf +PORTVERSION= 0.9.19 +CATEGORIES= comms +MASTER_SITES= http://www.wwns.com/tlf/ \ + http://sharon.esrac.ele.tue.nl/pub/linux/ham/tlf/ +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= db@db.net +COMMENT= Amateur Radio curses based logging program + +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}" + +MAN1= tlf.1 + +.include <bsd.port.mk> diff --git a/comms/tlf/distinfo b/comms/tlf/distinfo new file mode 100644 index 000000000000..ef9b8fe228a6 --- /dev/null +++ b/comms/tlf/distinfo @@ -0,0 +1,2 @@ +MD5 (tlf/tlf-0.9.19.tar.gz) = a6318f099d6baf910b425f8e32820c56 +SIZE (tlf/tlf-0.9.19.tar.gz) = 348768 diff --git a/comms/tlf/files/patch-src_audio.c b/comms/tlf/files/patch-src_audio.c new file mode 100644 index 000000000000..67fd8fb5dee5 --- /dev/null +++ b/comms/tlf/files/patch-src_audio.c @@ -0,0 +1,18 @@ +--- src/audio.c.orig Sat Jul 10 21:31:56 2004 ++++ src/audio.c Sat Jul 10 21:32:05 2004 +@@ -578,6 +578,7 @@ + + float testvalue; + char key = '\0'; ++int runnit = 1; + + clear(); + +@@ -586,7 +587,6 @@ + /* ------------initialize sound card --------*/ + init_audio(); + +-int runnit = 1; + + while (runnit == 1) { + diff --git a/comms/tlf/files/patch-src_callinput.c b/comms/tlf/files/patch-src_callinput.c new file mode 100644 index 000000000000..3d6b53e399a5 --- /dev/null +++ b/comms/tlf/files/patch-src_callinput.c @@ -0,0 +1,18 @@ +--- src/callinput.c.orig Sat Jul 10 21:33:41 2004 ++++ src/callinput.c Sat Jul 10 21:34:33 2004 +@@ -26,6 +26,7 @@ + #include "addspot.h" + #include "changefreq.h" + ++void send_bandswitch(int freq); + + + int callinput(void) +@@ -105,7 +106,6 @@ + + instring[1] = '\0'; + +-void send_bandswitch(int freq); + + if (use_rxvt == 0) attron(COLOR_PAIR(NORMCOLOR) | A_BOLD ); + else attron(COLOR_PAIR(NORMCOLOR) ); diff --git a/comms/tlf/files/patch-src_cluster_bg.c b/comms/tlf/files/patch-src_cluster_bg.c new file mode 100644 index 000000000000..13cae3bad4a3 --- /dev/null +++ b/comms/tlf/files/patch-src_cluster_bg.c @@ -0,0 +1,52 @@ +--- src/cluster_bg.c.orig Mon Aug 23 15:00:34 2004 ++++ src/cluster_bg.c Mon Aug 23 15:02:36 2004 +@@ -7,12 +7,11 @@ + + + +-int cluster_bg(int cluster) { ++int cluster_bg(int cluster_arg) { + + extern char spot_ptr[MAX_SPOTS][82]; + extern int spotarray[MAX_SPOTS]; + extern char spotinfo[32][82]; +-extern int cluster; + extern int announcefilter; + extern int bandinx; + +@@ -22,14 +21,14 @@ + + + +- if (cluster == NOCLUSTER) ++ if (cluster_arg == NOCLUSTER) + return(1); + +- if (cluster == MAP) ++ if (cluster_arg == MAP) + clustermode = bandinx; +- if (cluster == SPOTS) ++ if (cluster_arg == SPOTS) + clustermode = 9; +- if ( cluster != CLUSTER) ++ if ( cluster_arg != CLUSTER) + + { + announcefilter = FILTER_DX; +@@ -77,7 +76,7 @@ + } + + +- if (cluster == CLUSTER){ /* all cluster info */ ++ if (cluster_arg == CLUSTER){ /* all cluster info */ + + k = getclusterinfo(); + +@@ -100,7 +99,6 @@ + extern int spotarray[]; + extern int announcefilter; + extern char call[]; +-extern int cluster; + extern int bandinx; + + int bg, nd, i; diff --git a/comms/tlf/files/patch-src_parse_logcfg.c b/comms/tlf/files/patch-src_parse_logcfg.c new file mode 100644 index 000000000000..f9abf20810e7 --- /dev/null +++ b/comms/tlf/files/patch-src_parse_logcfg.c @@ -0,0 +1,19 @@ +*** src/parse_logcfg.c.orig Fri Nov 12 15:37:30 2004 +--- src/parse_logcfg.c Fri Nov 12 15:38:53 2004 +*************** +*** 170,176 **** + extern char bc_hostaddress[MAXNODES][16]; + extern int lan_active; + extern char thisnode; +! extern char nodes; + extern int node; + extern int cqwwm2; + extern int landebug; +--- 170,176 ---- + extern char bc_hostaddress[MAXNODES][16]; + extern int lan_active; + extern char thisnode; +! extern int nodes; + extern int node; + extern int cqwwm2; + extern int landebug; diff --git a/comms/tlf/files/patch-src_rtty.c b/comms/tlf/files/patch-src_rtty.c new file mode 100644 index 000000000000..54d99cfb6200 --- /dev/null +++ b/comms/tlf/files/patch-src_rtty.c @@ -0,0 +1,29 @@ +--- src/rtty.c.orig Sat Jul 10 21:41:49 2004 ++++ src/rtty.c Sun Jul 11 00:52:01 2004 +@@ -72,7 +72,7 @@ + + int ry_addtext(char *line) { + +-extern char ry_term[][]; ++//extern char ry_term[][]; + + int k, m, j; + char *ptr; +@@ -137,7 +137,7 @@ + int show_rtty(void) { + + extern int use_rxvt; +-extern char ry_term[][]; ++//extern char ry_term[][]; + extern int trxmode; + + if (trxmode != DIGIMODE) +@@ -169,7 +169,7 @@ + + extern char hiscall[]; + extern int miniterm; +-extern char ry_term[][]; ++//extern char ry_term[][]; + + int i = 0; + char line[40]; diff --git a/comms/tlf/files/patch-src_searchcallarray.c b/comms/tlf/files/patch-src_searchcallarray.c new file mode 100644 index 000000000000..ad47891ff535 --- /dev/null +++ b/comms/tlf/files/patch-src_searchcallarray.c @@ -0,0 +1,12 @@ +*** src/searchcallarray.c.orig Fri Nov 12 15:40:59 2004 +--- src/searchcallarray.c Fri Nov 12 15:41:45 2004 +*************** +*** 25,31 **** + + int searchcallarray (char *hiscall) + { +- extern char hiscall[]; + extern int callarray_nr; + extern char callarray[MAX_CALLS][20]; + +--- 25,30 ---- diff --git a/comms/tlf/files/patch-src_searchlog.c b/comms/tlf/files/patch-src_searchlog.c new file mode 100644 index 000000000000..c050dd519f69 --- /dev/null +++ b/comms/tlf/files/patch-src_searchlog.c @@ -0,0 +1,37 @@ +--- src/searchlog.c.orig Fri May 21 12:15:14 2004 ++++ src/searchlog.c Sun Jul 11 01:04:54 2004 +@@ -26,6 +26,8 @@ + # include <config.h> + #endif + ++static char searchresult[MAX_CALLS][82]; ++static char result[MAX_CALLS][82]; + + int searchlog(char *searchstring) + +@@ -75,9 +77,7 @@ + extern int itumult; + + +-char searchresult[MAX_CALLS][82]; + int srch_index=0; +-char result[MAX_CALLS][82]; + int r_index=0; + char s_inputbuffer[82] = ""; + char s_inputbuffercpy[82] = ""; +@@ -90,13 +90,13 @@ + char *tmpstr; + + char callmaster_location[80]; +- ++#if 0 + if (strlen(s_inputbuffer)>=83) + { + printf ("WARNING: Input buffer is longer than 82 characters! exiting..."); + exit(1); + } +- ++#endif + strcpy(callmaster_location, PACKAGE_DATA_DIR) ; + strcat(callmaster_location, "/callmaster ") ; + diff --git a/comms/tlf/files/patch-src_splitscreen.c b/comms/tlf/files/patch-src_splitscreen.c new file mode 100644 index 000000000000..0cf68f7e14b6 --- /dev/null +++ b/comms/tlf/files/patch-src_splitscreen.c @@ -0,0 +1,36 @@ +*** src/splitscreen.c.orig Fri Nov 12 15:44:12 2004 +--- src/splitscreen.c Fri Nov 12 15:52:19 2004 +*************** +*** 50,56 **** + extern struct tln_logline *logtail; + extern struct tln_logline *temp; + extern struct tln_logline *viewing; +! extern char spot_ptr[100][82]; + extern char lastmsg[80]; + extern int ptr; + +--- 50,56 ---- + extern struct tln_logline *logtail; + extern struct tln_logline *temp; + extern struct tln_logline *viewing; +! extern char spot_ptr[MAX_SPOTS][82]; + extern char lastmsg[80]; + extern int ptr; + +*************** +*** 722,728 **** + extern SCREEN *packetscreen; + extern WINDOW *sclwin; + extern WINDOW *entwin; +! extern char spot_ptr[100][80]; + extern int tncport; + extern int fdSertnc; + extern int fdFIFO; +--- 722,728 ---- + extern SCREEN *packetscreen; + extern WINDOW *sclwin; + extern WINDOW *entwin; +! extern char spot_ptr[MAX_SPOTS][82]; + extern int tncport; + extern int fdSertnc; + extern int fdFIFO; diff --git a/comms/tlf/files/patch-src_splitscreen.h b/comms/tlf/files/patch-src_splitscreen.h new file mode 100644 index 000000000000..3cfe59bf113d --- /dev/null +++ b/comms/tlf/files/patch-src_splitscreen.h @@ -0,0 +1,11 @@ +--- src/splitscreen.h.orig Sat Jul 10 21:29:22 2004 ++++ src/splitscreen.h Sat Jul 10 21:29:42 2004 +@@ -17,7 +17,7 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + // splitscreen.h +- ++#include <sys/types.h> + #include <curses.h> + #include "sockserv.h" + #include <errno.h> diff --git a/comms/tlf/files/patch-src_writecabrillo.c b/comms/tlf/files/patch-src_writecabrillo.c new file mode 100644 index 000000000000..d3c6583d5115 --- /dev/null +++ b/comms/tlf/files/patch-src_writecabrillo.c @@ -0,0 +1,25 @@ +--- src/writecabrillo.c.orig Sat Jul 10 22:23:15 2004 ++++ src/writecabrillo.c Sat Jul 10 22:24:47 2004 +@@ -45,6 +45,7 @@ + char buf[181]; + char buffer[82]= ""; + char standardexchange[70] = ""; ++ char ssa_mt_exchange[30]; + + FILE *fp1, *fp2; + +@@ -271,13 +272,12 @@ + strcat(buffer, "599 "); + + if (strcmp (whichcontest, "ssa_mt") == 0) { ++ int i=0, j=0, k = 0; + // strncat(buffer, buf+54, 9); // tbf for all contests? RC + strcat(buffer, " "); + + sprintf(buffer + 79, "%03d ", atoi(buf+54)); + +- char ssa_mt_exchange[30]; +- int i=0, j=0, k = 0; + + for (i=0; i < 12; i++) { + if (isalpha(buf[54+i])){ diff --git a/comms/tlf/pkg-descr b/comms/tlf/pkg-descr new file mode 100644 index 000000000000..992f0210c47f --- /dev/null +++ b/comms/tlf/pkg-descr @@ -0,0 +1,6 @@ +Amateur radio curses based logging program. + +WWW: http://home.iae.nl/users/reinc/TLF-0.2.html + +- Diane (VA3DB) +db@db.net diff --git a/comms/tlf/pkg-plist b/comms/tlf/pkg-plist new file mode 100644 index 000000000000..cdddc6505285 --- /dev/null +++ b/comms/tlf/pkg-plist @@ -0,0 +1,30 @@ +bin/soundlog +bin/tlf +share/tlf/arrlsections +share/tlf/callmaster +share/tlf/cty.dat +share/tlf/doc/README +share/tlf/rules/dxped +share/tlf/ea_sections +share/tlf/rules/eusprint +share/tlf/logcfg.dat +share/tlf/rules/lzdx +share/tlf/rules/pacc_dx +share/tlf/rules/pacc_pa +share/tlf/paccmults +share/tlf/rules/qso +share/tlf/rules/arrldx_dx +share/tlf/rules/arrldx_usa +share/tlf/rules/arrlfd +share/tlf/rules/arrlss +share/tlf/rules/cqww +share/tlf/rules/spdx_dx +share/tlf/rules/spdx_sp +share/tlf/spdxmults +share/tlf/rules/ssa_mt +share/tlf/ssamults +share/tlf/rules/template +share/tlf/rules/wpx +@dirrm share/tlf/doc +@dirrm share/tlf/rules +@dirrm share/tlf |