summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-11-23 17:48:22 +0000
committertv <tv@pkgsrc.org>1998-11-23 17:48:22 +0000
commit014bcb3645182f7fa6fad27d470c895c33ea2797 (patch)
tree1cc214ba74678865d0907ebd91d06f00d1cc8ef4 /comms
parent8d9a41adae06be00edc12baf72c2a6bb1358bfe1 (diff)
downloadpkgsrc-014bcb3645182f7fa6fad27d470c895c33ea2797.tar.gz
Import ifcico 3.0 (cm alpha 4.0.1). A program for FidoNet transports on
UN*X - including both dialled connections and TCP connections. Supports everything from FTS-0001 through EMSI and ZedZap or Hydra.
Diffstat (limited to 'comms')
-rw-r--r--comms/ifcico-cm/Makefile30
-rw-r--r--comms/ifcico-cm/files/md53
-rw-r--r--comms/ifcico-cm/patches/patch-aa93
-rw-r--r--comms/ifcico-cm/patches/patch-ab12
-rw-r--r--comms/ifcico-cm/patches/patch-ac13
-rw-r--r--comms/ifcico-cm/patches/patch-ad12
-rw-r--r--comms/ifcico-cm/patches/patch-ae12
-rw-r--r--comms/ifcico-cm/patches/patch-af12
-rw-r--r--comms/ifcico-cm/patches/patch-ag22
-rw-r--r--comms/ifcico-cm/patches/patch-ah12
-rw-r--r--comms/ifcico-cm/patches/patch-ai19
-rw-r--r--comms/ifcico-cm/patches/patch-aj178
-rw-r--r--comms/ifcico-cm/patches/patch-ak19
-rw-r--r--comms/ifcico-cm/pkg/COMMENT1
-rw-r--r--comms/ifcico-cm/pkg/DESCR14
-rw-r--r--comms/ifcico-cm/pkg/PLIST27
16 files changed, 479 insertions, 0 deletions
diff --git a/comms/ifcico-cm/Makefile b/comms/ifcico-cm/Makefile
new file mode 100644
index 00000000000..00511656f5e
--- /dev/null
+++ b/comms/ifcico-cm/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/11/23 17:48:22 tv Exp $
+#
+
+DISTNAME= ifcico-3.0.cm.alpha-4.0
+PKGNAME= ifcico-cm-3.0.4.0.1
+CATEGORIES= comms
+MASTER_SITES= http://www.cosy.sbg.ac.at/~cmeer/files/
+
+MAINTAINER= tv@netbsd.org # aka "Todd Vierling" @ 1:396/1.5
+HOMEPAGE= http://www.cosy.sbg.ac.at/~cmeer/ifcico/
+
+NO_CDROM= "extremely limited usefulness to the general public"
+
+post-build:
+ cd ${WRKSRC}/contrib/iftelnetd && ${MAKE} iftelnetd
+ cd ${WRKSRC}/contrib/fdpass && ${LINK.c} -o fdpass fdpass.c
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/etc/ifcico ${PREFIX}/etc/ifcico/inouttabs
+ ${INSTALL_DATA} ${WRKSRC}/misc/config ${PREFIX}/etc/ifcico/config.dist
+ ${INSTALL_DATA} ${WRKSRC}/misc/config-global ${PREFIX}/etc/ifcico/
+ cd ${WRKSRC}/misc/inouttabs && ${INSTALL_DATA} fidom2iso ibmpc-latin1 \
+ iso2fidom latin1-ibmpc outaltkoi8 outkoi8alt \
+ ${PREFIX}/etc/ifcico/inouttabs/
+ ${INSTALL_PROGRAM} ${WRKSRC}/contrib/iftelnetd/iftelnetd ${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/contrib/fdpass/fdpass ${PREFIX}/sbin/
+ cd ${WRKSRC}/ifcico && ${INSTALL_MAN} ifcico.8 ifindex.8 ifinfo.8 \
+ ifreq.8 ifroute.8 ifstat.8 nlpatch.8 ${PREFIX}/man/man8/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/ifcico-cm/files/md5 b/comms/ifcico-cm/files/md5
new file mode 100644
index 00000000000..63e8fff0e8c
--- /dev/null
+++ b/comms/ifcico-cm/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/11/23 17:48:22 tv Exp $
+
+MD5 (ifcico-3.0.cm.alpha-4.0.tar.gz) = 4bfd0d0b69ebac98f49d2b00de252318
diff --git a/comms/ifcico-cm/patches/patch-aa b/comms/ifcico-cm/patches/patch-aa
new file mode 100644
index 00000000000..baf67b6818e
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-aa
@@ -0,0 +1,93 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- CONFIG.orig Fri Jul 10 17:06:34 1998
++++ CONFIG Mon Nov 23 09:57:21 1998
+@@ -3,10 +3,10 @@
+ VERSION = "3.0.cm.alpha-4.0"
+
+ # Where to put binaries
+-BINDIR = "/usr/lib/ifmail"
++BINDIR = ${PREFIX}/sbin
+
+ # Main configuration file. This default may be overwritten by -I key.
+-CONFIGFILE = "/etc/ifmail/config"
++CONFIGFILE = "${PREFIX}/etc/ifmail/config"
+
+ # Debug messages turned on by -x key are written here.
+ # Some error messages may occationally appear here too.
+@@ -26,7 +26,7 @@
+ CICOLOG = LOG_LOCAL0
+
+ # Directory where UUCP lock files reside.
+-LOCKDIR = "/var/lock"
++LOCKDIR = "/var/spool/lock"
+ #LOCKDIR = "/var/spool/uucp"
+
+ # Directory from which file requests are resolved.
+@@ -175,11 +175,11 @@
+ # -DHAS_SELECT -DREGEX_NEED_CARET -DPRE_21_LINUX
+
+ # Linux: (glibc 2 aka libc 6.x)
+-SOPTS = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
+- -DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES \
+- -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DHAS_TCP \
+- -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_TRAP -DSETPROCTITLE \
+- -DHAS_SELECT -DREGEX_NEED_CARET -DPRE_21_LINUX -DBSD_SIGNALS
++#SOPTS = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
++# -DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES \
++# -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DHAS_TCP \
++# -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_TRAP -DSETPROCTITLE \
++# -DHAS_SELECT -DREGEX_NEED_CARET -DPRE_21_LINUX -DBSD_SIGNALS
+
+ # 386BSD:
+ #SOPTS = -DHAS_STATFS -DSTATFS_IN_MOUNT_H -DHAS_SETSID -DHAS_NDBM_H \
+@@ -188,6 +188,13 @@
+ # -DNEGATIVE_SEEK_BUG -DSETPROCTITLE -DBSD_SIGNALS \
+ # -DHAS_SELECT -DREGEX_NEED_CARET -DHAS_SYS_ERRLIST
+
++# NetBSD:
++SOPTS = -DHAS_NDBM_H -DHAS_STATFS -DSTATFS_IN_MOUNT_H -DHAS_SETSID \
++ -DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC \
++ -DHAS_IOCTL_H -DHAS_TCP -DHAS_REGEX_H -DHAS_SYSLOG -DNEWDB \
++ -DSETPROCTITLE -DBSD_SIGNALS -DHAS_SELECT \
++ -DNEGATIVE_SEEK_BUG -DREGEX_NEED_CARET -DHAS_SYS_ERRLIST
++
+ # SVR4:
+ #SOPTS = -DHAS_STATVFS -DDONT_HAVE_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H \
+ # -DHAS_TERMIOS_H -DHAS_DIAL -DHAS_DIAL_H -DASCII_LOCKFILES \
+@@ -253,8 +260,8 @@
+ SHELL = /bin/sh
+ ECHO = echo -e
+ CC = gcc -pipe
+-#YACC = yacc
+-YACC = bison -y
++YACC = yacc
++#YACC = bison -y
+ #LEX = lex
+ LEX = flex
+ AWK = awk
+@@ -262,7 +269,7 @@
+
+ #CFLAGS = -g -Wall
+ # Linux, 386BSD, SunOS:
+-CFLAGS = -D_GNU_SOURCE -O2 -fomit-frame-pointer -Wall
++CFLAGS += -D_GNU_SOURCE
+ # SVR4:
+ #CFLAGS = -O -Xa
+
+@@ -272,12 +279,12 @@
+ # If you need TERM also add e.g. "/usr/src/term112/client.a"
+
+ # Linux
+-LIBS = -lgdbm
+-LIBRESOLV = -lresolv # this is needed for glibc 2
++#LIBS = -lgdbm
++#LIBRESOLV = -lresolv # this is needed for glibc 2
+ # SunOS:
+ #LIBS =
+ # 386BSD:
+-#LIBS = -lcompat
++LIBS = -lcompat
+ # SVR4
+ #LIBS = -ldbm -lform -lnsl -lsocket -lc -L/usr/ucblib -lucb
+ # SCO
diff --git a/comms/ifcico-cm/patches/patch-ab b/comms/ifcico-cm/patches/patch-ab
new file mode 100644
index 00000000000..90d86ee9773
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- iflib/cspace.c.orig Sun Nov 22 16:25:33 1998
++++ iflib/cspace.c Sun Nov 22 16:25:46 1998
+@@ -18,6 +18,7 @@
+ #elif defined(STATFS_IN_STATVFS_H)
+ #include <sys/statvfs.h>
+ #elif defined(STATFS_IN_MOUNT_H)
++#include <sys/param.h>
+ #include <sys/mount.h>
+ #else
+ #error No include for statfs() call defined
diff --git a/comms/ifcico-cm/patches/patch-ac b/comms/ifcico-cm/patches/patch-ac
new file mode 100644
index 00000000000..ba65a16986c
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- iflib/Makefile.orig Sun Nov 22 17:00:10 1998
++++ iflib/Makefile Sun Nov 22 17:00:19 1998
+@@ -21,7 +21,7 @@
+ rdconfig.o ftn.o packet.o pktname.o bwrite.o \
+ bread.o getheader.o scanout.o matchaka.o atoul.o \
+ nodelock.o trap.o rfcaddr.o expipe.o callstat.o \
+- cspace.o setprocn.o \
++ cspace.o \
+ ${NEEDED}
+ SRCS = lutil.c xutil.c ulock.c rfcdate.c sequencer.c ftnmsg.c crc.c \
+ strncasecmp.c strcasecmp.c \
diff --git a/comms/ifcico-cm/patches/patch-ad b/comms/ifcico-cm/patches/patch-ad
new file mode 100644
index 00000000000..cf5b53bc06b
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- ifcico/call.c.orig Sun Nov 22 16:31:17 1998
++++ ifcico/call.c Sun Nov 22 16:31:32 1998
+@@ -37,7 +37,6 @@
+ extern void rdoptions(node*);
+ extern int nodelock(faddr*);
+ extern int nodeulock(faddr*);
+-extern void setproctitle(char*);
+
+ int checkretry(st)
+ callstat *st;
diff --git a/comms/ifcico-cm/patches/patch-ae b/comms/ifcico-cm/patches/patch-ae
new file mode 100644
index 00000000000..6227c3c8a6c
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- ifcico/emsi.c.orig Sun Nov 22 16:31:44 1998
++++ ifcico/emsi.c Sun Nov 22 16:31:50 1998
+@@ -28,7 +28,6 @@
+ extern int txwazoo(void);
+ extern unsigned short crc16xmodem(char*,int);
+ extern void rdoptions(node *);
+-extern void setproctitle(char*);
+
+ static int rxemsi(void);
+ static int txemsi(void);
diff --git a/comms/ifcico-cm/patches/patch-af b/comms/ifcico-cm/patches/patch-af
new file mode 100644
index 00000000000..5e2a8f702ed
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- ifcico/ftsc.c.orig Sun Nov 22 16:32:03 1998
++++ ifcico/ftsc.c Sun Nov 22 16:32:09 1998
+@@ -22,7 +22,6 @@
+ extern int sendbark(void);
+ extern int recvbark(void);
+ extern void rdoptions(node*);
+-extern int setproctitle(char*);
+
+ static int rxftsc(void);
+ static int txftsc(void);
diff --git a/comms/ifcico-cm/patches/patch-ag b/comms/ifcico-cm/patches/patch-ag
new file mode 100644
index 00000000000..b4bef96005f
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ag
@@ -0,0 +1,22 @@
+$NetBSD: patch-ag,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- ifcico/ifcico.c.orig Sun Jan 4 09:52:37 1998
++++ ifcico/ifcico.c Sun Nov 22 16:57:51 1998
+@@ -41,8 +41,6 @@
+ fa_list *callall(void);
+ int answer(char *);
+ void mkdirs(char*);
+-void setargspace(char**,char**);
+-void setproctitle(char*);
+
+ void usage(void)
+ {
+@@ -86,8 +84,6 @@
+ char *answermode=NULL,*p;
+ pid_t child,waitret;
+ int status;
+-
+- setargspace(argv,envp);
+
+ #if defined(HAS_SYSLOG) && defined(CICOLOG)
+ logfacility=CICOLOG;
diff --git a/comms/ifcico-cm/patches/patch-ah b/comms/ifcico-cm/patches/patch-ah
new file mode 100644
index 00000000000..ab52d9cf32e
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- ifcico/yoohoo.c.orig Sun Nov 22 16:32:42 1998
++++ ifcico/yoohoo.c Sun Nov 22 16:32:48 1998
+@@ -51,7 +51,6 @@
+ extern int txdietifna(void);
+ extern void rdoptions(node*);
+ extern int nodelock(faddr*);
+-extern void setproctitle(char*);
+
+ static int rxyoohoo(void);
+ static int txyoohoo(void);
diff --git a/comms/ifcico-cm/patches/patch-ai b/comms/ifcico-cm/patches/patch-ai
new file mode 100644
index 00000000000..8d864a922c8
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ai
@@ -0,0 +1,19 @@
+$NetBSD: patch-ai,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- ifcico/Makefile.orig Sun Nov 22 16:45:24 1998
++++ ifcico/Makefile Sun Nov 22 17:05:29 1998
+@@ -76,13 +76,7 @@
+ flaglex.o: flaglex.c flagexp.c
+
+ install: all
+- ${INSTALL} -o ${OWNER} -g ${GROUP} -m ${SMODE} ifcico ${BINDIR}/ifcico
+- ${INSTALL} -o ${OWNER} -g ${GROUP} -m ${SMODE} ifindex ${BINDIR}/ifindex
+- ${INSTALL} -o ${OWNER} -g ${GROUP} -m ${SMODE} ifinfo ${BINDIR}/ifinfo
+- ${INSTALL} -o ${OWNER} -g ${GROUP} -m ${SMODE} ifreq ${BINDIR}/ifreq
+- ${INSTALL} -o ${OWNER} -g ${GROUP} -m ${SMODE} ifroute ${BINDIR}/ifroute
+- ${INSTALL} -o ${OWNER} -g ${GROUP} -m ${SMODE} ifstat ${BINDIR}/ifstat
+- ${INSTALL} -o ${OWNER} -g ${GROUP} -m ${SMODE} nlpatch ${BINDIR}/nlpatch
++ ${BSD_INSTALL_PROGRAM} ifcico ifindex ifinfo ifreq ifroute ifstat nlpatch ${BINDIR}
+
+ lc:
+ wc -l ${SRCS} ${HDRS} ${OTHER}
diff --git a/comms/ifcico-cm/patches/patch-aj b/comms/ifcico-cm/patches/patch-aj
new file mode 100644
index 00000000000..6451e7a8782
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-aj
@@ -0,0 +1,178 @@
+$NetBSD: patch-aj,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- contrib/iftelnetd/iftelnetd.c.orig Mon Nov 23 10:10:14 1998
++++ contrib/iftelnetd/iftelnetd.c Mon Nov 23 10:14:01 1998
+@@ -32,10 +32,10 @@
+ #include <stdio.h>
+ #include <sys/time.h>
+ #include <sys/stat.h>
+-#include <sys/fcntl.h>
++#include <fcntl.h>
+ #include <syslog.h>
+ #include <string.h>
+-#include <getopt.h>
++#include <stdlib.h>
+
+ #include <sys/socket.h>
+ #include <sys/types.h>
+@@ -87,8 +87,6 @@
+ char *log_file=nil;
+ char *tmp=nil;
+
+- syslog(LOG_INFO,"iftelnetd: Starting...");
+-
+ debug=0;
+
+ while ((c = getopt(ac,av,"dl:h:p:")) != EOF)
+@@ -111,10 +109,9 @@
+
+ default:
+ ;
+- syslog(LOG_ERR,"iftelnetd: Wrong number of args!");
+- syslog(LOG_ERR,"iftelnetd: Usage:");
+- syslog(LOG_ERR,"iftelnetd: iftelnetd [-h remote_addr] [-p remote_port] [-l logfile] [-d]");
+- syslog(LOG_ERR,"iftelnetd: Aborting.");
++ syslog(LOG_ERR,"Wrong number of args!");
++ syslog(LOG_ERR,"Usage: iftelnetd [-h remote_addr] [-p remote_port] [-l logfile] [-d]");
++ syslog(LOG_ERR,"Aborting.");
+ if(log_file) free(log_file);
+ if(remote_name) free(remote_name);
+ if(remote_port) free(remote_port);
+@@ -124,23 +121,23 @@
+
+ if(!remote_name)
+ {
+- syslog(LOG_WARNING,"iftelnetd: Remote addr not set. Assuming 'localhost'");
++ syslog(LOG_WARNING,"Remote addr not set. Assuming 'localhost'");
+ remote_name=strdup("localhost");
+ }
+
+ if(!remote_port)
+ {
+- syslog(LOG_WARNING,"iftelnetd: Remote port not set. Assuming 'fido'");
++ syslog(LOG_WARNING,"Remote port not set. Assuming 'fido'");
+ remote_port=strdup("fido");
+ }
+
+ if(getpeername(0,(struct sockaddr*)&peeraddr,&addrlen) == 0)
+ {
+ tmp=strdup(inet_ntoa(peeraddr.sin_addr));
+- syslog(LOG_INFO,"iftelnetd: incoming TCP connection from %s",
++ syslog(LOG_INFO,"incoming TCP connection from %s",
+ tmp ? tmp : "Unknown"
+ );
+- syslog(LOG_INFO,"iftelnetd: Rerouting to %s:%s",
++ syslog(LOG_INFO,"Rerouting to %s:%s",
+ remote_name,
+ remote_port);
+ }
+@@ -163,8 +160,8 @@
+
+ if((sp=getservbyname(remote_port,"tcp"))==NULL)
+ {
+- syslog(LOG_ERR,"iftelnetd: Can't find service: %s",remote_port);
+- syslog(LOG_ERR,"iftelnetd: Aborting.");
++ syslog(LOG_ERR,"Can't find service: %s",remote_port);
++ syslog(LOG_ERR,"Aborting.");
+ free(remote_name);
+ free(remote_port);
+ return 1;
+@@ -172,8 +169,8 @@
+
+ if((s=socket(AF_INET,SOCK_STREAM,0))==-1)
+ {
+- syslog(LOG_ERR,"iftelnetd: Can't create Internet domain socket");
+- syslog(LOG_ERR,"iftelnetd: Aborting.");
++ syslog(LOG_ERR,"Can't create Internet domain socket");
++ syslog(LOG_ERR,"Aborting.");
+ free(remote_name);
+ free(remote_port);
+ return 1;
+@@ -181,8 +178,8 @@
+
+ if((hp=gethostbyname(remote_name))==NULL)
+ {
+- syslog(LOG_ERR,"iftelnetd: %s - Unknown host",remote_name);
+- syslog(LOG_ERR,"iftelnetd: Aborting.");
++ syslog(LOG_ERR,"%s - Unknown host",remote_name);
++ syslog(LOG_ERR,"Aborting.");
+ free(remote_name);
+ free(remote_port);
+ return;
+@@ -196,8 +193,8 @@
+
+ if(connect(s,(struct sockaddr *)&server,sizeof(server)) == -1)
+ {
+- syslog(LOG_ERR, "iftelnetd: Can't connect %s",remote_name);
+- syslog(LOG_ERR, "iftelnetd: Aborting.");
++ syslog(LOG_ERR, "Can't connect %s",remote_name);
++ syslog(LOG_ERR, "Aborting.");
+ free(remote_name);
+ free(remote_port);
+ return;
+@@ -211,7 +208,7 @@
+ free(remote_name);
+ free(remote_port);
+ close(s);
+- syslog(LOG_INFO,"iftelnetd: Done.");
++ syslog(LOG_INFO,"Done.");
+ }
+
+ /* --- This is an artwork of serge terekhov, 2:5000/13@fidonet :) --- */
+@@ -239,13 +236,13 @@
+ r = "DONT";
+ break;
+ }
+- syslog(LOG_SYSLOG, "iftelnetd: TELNET send %s %d", r, opt);
++ syslog(LOG_SYSLOG, "TELNET send %s %d", r, opt);
+ }
+ buf[0] = IAC;
+ buf[1] = tag;
+ buf[2] = opt;
+ if (write (1, buf, 3) != 3)
+- syslog(LOG_ERR,"iftelnetd: $answer cant send");
++ syslog(LOG_ERR,"$answer cant send");
+ }
+
+ int init_telnet(void)
+@@ -293,7 +290,7 @@
+ case WILL:
+ m = (unsigned char)*q++; --n;
+ if(debug)
+- syslog (TELNETD, "iftelnetd: TELNET: recv WILL %d", m);
++ syslog (TELNETD, "TELNET: recv WILL %d", m);
+
+ if (m != TN_TRANSMIT_BINARY && m != TN_SUPPRESS_GA &&
+ m != TN_ECHO)
+@@ -302,12 +299,12 @@
+ case WONT:
+ m = *q++; --n;
+ if(debug)
+- syslog (TELNETD, "iftelnetd: TELNET: recv WONT %d", m);
++ syslog (TELNETD, "TELNET: recv WONT %d", m);
+ break;
+ case DO:
+ m = (unsigned char)*q++; --n;
+ if(debug)
+- syslog (TELNETD, "iftelnetd: TELNET: recv DO %d", m);
++ syslog (TELNETD, "TELNET: recv DO %d", m);
+ if (m != TN_TRANSMIT_BINARY && m != TN_SUPPRESS_GA &&
+ m != TN_ECHO)
+ answer (WONT, m);
+@@ -315,14 +312,14 @@
+ case DONT:
+ m = (unsigned char)*q++; --n;
+ if(debug)
+- syslog (TELNETD, "iftelnetd: TELNET: recv DONT %d", m);
++ syslog (TELNETD, "TELNET: recv DONT %d", m);
+ break;
+ case IAC:
+ *p++ = IAC;
+ break;
+ default:
+ if(debug)
+- syslog (TELNETD, "iftelnetd: TELNET: recv IAC %d", m);
++ syslog (TELNETD, "TELNET: recv IAC %d", m);
+ break;
+ }
+ }
diff --git a/comms/ifcico-cm/patches/patch-ak b/comms/ifcico-cm/patches/patch-ak
new file mode 100644
index 00000000000..0bdce535aaa
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ak
@@ -0,0 +1,19 @@
+$NetBSD: patch-ak,v 1.1.1.1 1998/11/23 17:48:23 tv Exp $
+
+--- contrib/fdpass/fdpass.c.orig Mon Nov 23 10:19:55 1998
++++ contrib/fdpass/fdpass.c Mon Nov 23 10:20:10 1998
+@@ -9,7 +9,7 @@
+ #include "session.h" /* session.h from fddev220.arj */
+
+
+-void main (int argc,char *argv[])
++int main (int argc,char *argv[])
+ {
+ int fd;
+ _PSW koko;
+@@ -55,4 +55,5 @@
+ }
+ }
+ close (fd);
++ return 0;
+ }
diff --git a/comms/ifcico-cm/pkg/COMMENT b/comms/ifcico-cm/pkg/COMMENT
new file mode 100644
index 00000000000..e22f6eea828
--- /dev/null
+++ b/comms/ifcico-cm/pkg/COMMENT
@@ -0,0 +1 @@
+A FidoNet transport program using FTS protocols via dial or TCP
diff --git a/comms/ifcico-cm/pkg/DESCR b/comms/ifcico-cm/pkg/DESCR
new file mode 100644
index 00000000000..82792769fb0
--- /dev/null
+++ b/comms/ifcico-cm/pkg/DESCR
@@ -0,0 +1,14 @@
+This is an ALPHA version, it is far from being fully tested.
+
+What's new in the 3.0.cm releases?
+
+ * a variation of the HYDRA file transfer protocol (some less
+ frequently used features aren't implemented)
+ * better nodelist indices
+ * incorporated tx-patches up to tx8.7
+ * 'ifstat' moved from gating part to ifcico part
+ * 'ifinfo' for querying nodelist information
+ * 'ifreq' implementation in C (instead of Perl)
+
+ * gating part is no longer distributed with this archive (either get
+an 2.x version of ifmail or use FidoGate for gating)
diff --git a/comms/ifcico-cm/pkg/PLIST b/comms/ifcico-cm/pkg/PLIST
new file mode 100644
index 00000000000..40a237b2de2
--- /dev/null
+++ b/comms/ifcico-cm/pkg/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/11/23 17:48:24 tv Exp $
+etc/ifcico/inouttabs/fidom2iso
+etc/ifcico/inouttabs/ibmpc-latin1
+etc/ifcico/inouttabs/iso2fidom
+etc/ifcico/inouttabs/latin1-ibmpc
+etc/ifcico/inouttabs/outaltkoi8
+etc/ifcico/inouttabs/outkoi8alt
+@dirrm etc/ifcico/inouttabs
+etc/ifcico/config.dist
+etc/ifcico/config-global
+@dirrm etc/ifcico
+man/man8/ifcico.8
+man/man8/ifindex.8
+man/man8/ifinfo.8
+man/man8/ifreq.8
+man/man8/ifroute.8
+man/man8/ifstat.8
+man/man8/nlpatch.8
+sbin/fdpass
+sbin/ifcico
+sbin/ifindex
+sbin/ifinfo
+sbin/ifreq
+sbin/ifroute
+sbin/ifstat
+sbin/iftelnetd
+sbin/nlpatch