summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/icb/Makefile26
-rw-r--r--net/icb/files/md51
-rw-r--r--net/icb/patches/patch-aa72
-rw-r--r--net/icb/patches/patch-ab18
-rw-r--r--net/icb/pkg/COMMENT1
-rw-r--r--net/icb/pkg/DESCR2
-rw-r--r--net/icb/pkg/PLIST8
7 files changed, 128 insertions, 0 deletions
diff --git a/net/icb/Makefile b/net/icb/Makefile
new file mode 100644
index 00000000000..0a0cba19244
--- /dev/null
+++ b/net/icb/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: icb client
+# Version required:
+# Date created: 18 March 1998
+# Whom: cjs
+#
+# $NetBSD: Makefile,v 1.1 1998/03/18 22:40:47 cjs Exp $
+#
+
+DISTNAME= icb-5.0.5
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
+
+MAINTAINER= cjs@netbsd.org
+
+do-install:
+ pwd
+ ${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/icbserverdb ${PREFIX}/libdata
+ install -d ${PREFIX}/libdata/icb
+ ${INSTALL_PROGRAM} ${WRKSRC}/sample.icbrc \
+ ${WRKSRC}/contrib/bartender \
+ ${WRKSRC}/contrib/confuse \
+ ${WRKSRC}/contrib/echofile \
+ ${PREFIX}/libdata/icb
+
+.include <bsd.port.mk>
diff --git a/net/icb/files/md5 b/net/icb/files/md5
new file mode 100644
index 00000000000..20358cc0f91
--- /dev/null
+++ b/net/icb/files/md5
@@ -0,0 +1 @@
+MD5 (icb-5.0.5.tar.gz) = 3e11a9d2161269dddc482c629f923cab
diff --git a/net/icb/patches/patch-aa b/net/icb/patches/patch-aa
new file mode 100644
index 00000000000..9710910cfb8
--- /dev/null
+++ b/net/icb/patches/patch-aa
@@ -0,0 +1,72 @@
+--- config Wed Dec 31 16:00:00 1969
++++ config Wed Mar 18 13:30:49 1998
+@@ -0,0 +1,55 @@
++#
++# THIS IS AN AUTOMATICALLY GENERATED FILE
++#
++# If you edit this file and later run "setup", your
++# changes will be lost. This file gets fed to "make",
++# so keep that in mind if you make changes.
++#
++
++# Installing user's home directory
++HOME = /home/cjs
++
++# Directory where the client will be installed.
++BINDIR = /usr/pkg/bin
++
++# Directory where the manual page will be installed.
++MANDIR = /usr/pkg/man
++
++# Compiler to use.
++CC = cc
++
++# Compile options.
++CFLAGS = -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H
++TCLCFLAGS = -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H
++
++# Lint flags
++LFLAGS = -u -DNO_LRAND48 -DSTRINGS_H -DTIME_H
++
++# System dependent source file.
++SYSDEP =sysdep.bsd
++
++# Other libraries to include.
++OTHERLIBS =-lcurses -ltermcap
++
++# Resolver library
++RESOLVLIB =-lresolv
++
++# Parallel makes. Set to & for Sequents.
++PMAKE =
++
++# Makefile dependency generator.
++MAKEDEPEND = makedepend
++
++# Makefile dependency generator.
++DEPENDFLAGS = -fMake -DNO_LRAND48 -DSTRINGS_H -DTIME_H
++
++# Hostname and port of remote server.
++DEFAULTHOST = crater.unm.edu
++DEFAULTPORT = 7326
++
++# Directory for support files
++LIBDIR = /usr/pkg/libdata
++
++# location of server database
++SERVERLIST = /usr/pkg/libdata/icbserverdb
++
+diff -u -r --new-file work.orig/icb-5.0.5/defaults work/icb-5.0.5/defaults
+--- defaults Wed Dec 31 16:00:00 1969
++++ defaults Wed Mar 18 13:30:49 1998
+@@ -0,0 +1,10 @@
++defsystem="netbsd"
++defbindir="/usr/pkg/bin"
++defmandir="/usr/pkg/man"
++deflibdir="/usr/pkg/libdata"
++defcompiler="cc"
++defextra="-O2"
++defmakedepend="makedepend"
++defdependopts="-fMake"
++defhost="crater.unm.edu"
++defport="7326"
diff --git a/net/icb/patches/patch-ab b/net/icb/patches/patch-ab
new file mode 100644
index 00000000000..06261885b05
--- /dev/null
+++ b/net/icb/patches/patch-ab
@@ -0,0 +1,18 @@
+--- icb/strings.c Wed Feb 10 12:10:41 1993
++++ icb/strings.c Wed Mar 18 13:48:15 1998
+@@ -337,6 +337,7 @@
+ /* cat multiple strings into one */
+ /* call with strscat(dest, src, src, ...) */
+
++#if 0
+ char *
+ strscat(va_alist)
+ va_dcl
+@@ -361,6 +362,7 @@
+ *dest = '\0';
+ return(dest);
+ }
++#endif
+
+ char *basename(path)
+ char *path;
diff --git a/net/icb/pkg/COMMENT b/net/icb/pkg/COMMENT
new file mode 100644
index 00000000000..6e250756d29
--- /dev/null
+++ b/net/icb/pkg/COMMENT
@@ -0,0 +1 @@
+Interenet CB - a mostly-defunct chat client
diff --git a/net/icb/pkg/DESCR b/net/icb/pkg/DESCR
new file mode 100644
index 00000000000..e2c2b796b76
--- /dev/null
+++ b/net/icb/pkg/DESCR
@@ -0,0 +1,2 @@
+This is a chat client similar to irc, but for the icb protocol.
+Virtually nobody uses it these days.
diff --git a/net/icb/pkg/PLIST b/net/icb/pkg/PLIST
new file mode 100644
index 00000000000..f802ce3de85
--- /dev/null
+++ b/net/icb/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 1998/03/18 22:40:47 cjs Exp $
+bin/icb
+libdata/icbserverdb
+libdata/icb/sample.icbrc
+libdata/icb/bartender
+libdata/icb/confuse
+libdata/icb/echofile
+@dirrm libdata/icb