summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-11-14 00:55:44 +0000
committerhubertf <hubertf>2002-11-14 00:55:44 +0000
commit5b9ebe0ae69aa694c88d056aad44fe99ee3a8982 (patch)
tree84b2d2de5476f6ff0ec8c08847481edfe11e3105 /chat
parent3e9d7cfaa33cc8db9b11db450be7b6cfe2297059 (diff)
downloadpkgsrc-5b9ebe0ae69aa694c88d056aad44fe99ee3a8982.tar.gz
Import i2cb-6.0_ALPHA: Next generation Internet Citicen's Band chat client
ICB (International CB) is a teleconferencing system that allows Internet users to participate in realtime online discussions. This package builds a client program (called, strangely enough, "icb") that is used to access ICB. i2cb was enhanced to support IPv6 etc.
Diffstat (limited to 'chat')
-rw-r--r--chat/i2cb/DESCR5
-rw-r--r--chat/i2cb/Makefile32
-rw-r--r--chat/i2cb/PLIST8
-rw-r--r--chat/i2cb/distinfo11
-rw-r--r--chat/i2cb/patches/patch-aa44
-rw-r--r--chat/i2cb/patches/patch-ab9
-rw-r--r--chat/i2cb/patches/patch-ac15
-rw-r--r--chat/i2cb/patches/patch-ad15
-rw-r--r--chat/i2cb/patches/patch-ae13
-rw-r--r--chat/i2cb/patches/patch-af13
-rw-r--r--chat/i2cb/patches/patch-ag13
-rw-r--r--chat/i2cb/pkg/DESCR2
-rw-r--r--chat/i2cb/pkg/PLIST8
13 files changed, 188 insertions, 0 deletions
diff --git a/chat/i2cb/DESCR b/chat/i2cb/DESCR
new file mode 100644
index 00000000000..bbbf9e7d7e8
--- /dev/null
+++ b/chat/i2cb/DESCR
@@ -0,0 +1,5 @@
+ICB (International CB) is a teleconferencing system that allows Internet users
+to participate in realtime online discussions. This package builds a client
+program (called, strangely enough, "icb") that is used to access ICB.
+
+i2cb was enhanced to support IPv6 etc.
diff --git a/chat/i2cb/Makefile b/chat/i2cb/Makefile
new file mode 100644
index 00000000000..bd26f6e99f4
--- /dev/null
+++ b/chat/i2cb/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+#
+
+DISTNAME= icb
+PKGNAME= i2cb-6.0_ALPHA
+CATEGORIES= chat
+MASTER_SITES= http://www.draga.com/~jwise/i2cb/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.draga.com/~jwise/i2cb/
+COMMENT= Next generation Internet Citicen's Band chat client
+
+WRKSRC= ${WRKDIR}/icb
+
+USE_BUILDLINK_ONLY= # defined
+
+post-extract:
+ ${RM} -f ${WRKSRC}/src/.depend
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/icb ${PREFIX}/bin/i2cb
+ ${INSTALL_SCRIPT} ${WRKSRC}/icbserverdb ${PREFIX}/libdata/i2cbserverdb
+ ${INSTALL_DATA_DIR} ${PREFIX}/libdata/i2cb
+ ${INSTALL_SCRIPT} ${WRKSRC}/sample.icbrc \
+ ${PREFIX}/libdata/i2cb/sample.i2cbrc
+ ${INSTALL_SCRIPT} \
+ ${WRKSRC}/contrib/bartender \
+ ${WRKSRC}/contrib/confuse \
+ ${WRKSRC}/contrib/echofile \
+ ${PREFIX}/libdata/i2cb
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/i2cb/PLIST b/chat/i2cb/PLIST
new file mode 100644
index 00000000000..d43ec36d5f3
--- /dev/null
+++ b/chat/i2cb/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+bin/i2cb
+libdata/i2cb/bartender
+libdata/i2cb/confuse
+libdata/i2cb/echofile
+libdata/i2cb/sample.i2cbrc
+libdata/i2cbserverdb
+@dirrm libdata/i2cb
diff --git a/chat/i2cb/distinfo b/chat/i2cb/distinfo
new file mode 100644
index 00000000000..1085a06d98b
--- /dev/null
+++ b/chat/i2cb/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+
+SHA1 (icb.tar.gz) = 6d2ddd234403fe33426ece3fd4de4104cf1a6257
+Size (icb.tar.gz) = 73607 bytes
+SHA1 (patch-aa) = ede7c2087324f0a79cfb4146926661fecc6af550
+SHA1 (patch-ab) = 358b366c16290d6d2326e72c281f977e49a8a98b
+SHA1 (patch-ac) = fb88b9e3fe894feab0bbc8ead48e46572598d17a
+SHA1 (patch-ad) = 609b2e5cf6118fbc36818a392866bc7fafc59abc
+SHA1 (patch-ae) = 0f8765883c2b7e77394556405ee7fee7a054ad56
+SHA1 (patch-af) = ba355bdbee708ae6de0583b4e8330dc0c1946670
+SHA1 (patch-ag) = e2bf71557fa486371e0d26ff8d5716ae0924a498
diff --git a/chat/i2cb/patches/patch-aa b/chat/i2cb/patches/patch-aa
new file mode 100644
index 00000000000..582f6a0e78b
--- /dev/null
+++ b/chat/i2cb/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+
+--- config.orig Sun Mar 12 02:51:52 2000
++++ config
+@@ -7,31 +7,31 @@
+ #
+
+ # Directory where the client will be installed.
+-BINDIR = /usr/local/bin
++BINDIR = ${LOCALBASE}/bin
+
+ # Directory where the manual page will be installed.
+-MANDIR = /usr/local/man
++MANDIR = ${LOCALBASE}/man
+
+ # Directory for support files
+-LIBDIR = /usr/local/lib
++LIBDIR = ${LOCALBASE}/lib
+
+ # Compiler to use.
+-CC = cc
++CC ?= cc
+
+ # Compile options.
+-CFLAGS = -Wall -Werror -g -I/usr/pkg/include -I/usr/pkg/include/tcl8.0
++CFLAGS += -Wall -Werror -g -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl/generic -DLOCALBASE=\"${LOCALBASE}\"
+
+ # Lint flags
+-LFLAGS = -uvberxHz -I/usr/pkg/include -I/usr/pkg/include/tcl8.0
++LFLAGS += -uvberxHz -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl/generic -DLOCALBASE=\"${LOCALBASE}\"
+
+ # Other libraries to include.
+-OTHERLIBS =-L/usr/pkg/lib -ltcl80 -lreadline -lcurses -ltermcap -lm
++OTHERLIBS +=-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -ltcl83 -lreadline -lcurses -ltermcap -lm
+
+ # Makefile dependency generator.
+ MAKEDEPEND = mkdep
+
+ # Makefile dependency generator.
+-DEPENDFLAGS = -I/usr/pkg/include -I/usr/pkg/include/tcl8.0
++DEPENDFLAGS = -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl/generic
+
+ # Hostname and port of remote server.
+ DEFAULTHOST = himring.draga.com
diff --git a/chat/i2cb/patches/patch-ab b/chat/i2cb/patches/patch-ab
new file mode 100644
index 00000000000..f0dfb6bd954
--- /dev/null
+++ b/chat/i2cb/patches/patch-ab
@@ -0,0 +1,9 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+
+--- src/config.h.orig Wed Mar 15 23:13:28 2000
++++ src/config.h
+@@ -1,3 +1,3 @@
+ #define DEFAULTHOST "himring.draga.com"
+ #define DEFAULTPORT 7326
+-#define SERVERLIST "/usr/local/lib/icbserverdb"
++#define SERVERLIST LOCALBASE "/lib/i2cbserverdb"
diff --git a/chat/i2cb/patches/patch-ac b/chat/i2cb/patches/patch-ac
new file mode 100644
index 00000000000..07041ab7bb4
--- /dev/null
+++ b/chat/i2cb/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+
+--- src/externs.h.orig Wed Mar 15 23:28:13 2000
++++ src/externs.h
+@@ -1,6 +1,10 @@
+ /* Copyright (c) 1989 by Carrick Sean Casey. All rights reserved. */
+ /* For copying and distribution information, see the file "copyright.h." */
+
++#ifdef __NetBSD__
++#include <sys/types.h> /* for time_t etc. */
++#endif
++
+ /* external definitions for "icb" global variables */
+
+ /* defined in port.c */
diff --git a/chat/i2cb/patches/patch-ad b/chat/i2cb/patches/patch-ad
new file mode 100644
index 00000000000..6d0a15c4ec7
--- /dev/null
+++ b/chat/i2cb/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+
+--- src/ipcf.h.orig Wed Mar 15 23:13:28 2000
++++ src/ipcf.h
+@@ -1,6 +1,10 @@
+ /* Copyright (c) 1988 Carrick Sean Casey. All rights reserved. */
+ /* For copying and distribution information, see the file "copyright.h." */
+
++#ifdef __NetBSD__
++#include <sys/types.h> /* fd_set etc. */
++#endif
++
+ #define USER_BUF_SIZE 1024
+
+ /* packet input buffer */
diff --git a/chat/i2cb/patches/patch-ae b/chat/i2cb/patches/patch-ae
new file mode 100644
index 00000000000..81e54e56eba
--- /dev/null
+++ b/chat/i2cb/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+
+--- src/history.c.orig Wed Mar 15 23:13:28 2000
++++ src/history.c
+@@ -145,7 +145,7 @@
+ char *
+ histmatch (char *prefix)
+ {
+- STRLIST *p, *fp;
++ STRLIST *p, *fp=NULL;
+ int len;
+ char *p1, *p2, *found;
+ static char match[MAX_NICKLEN];
diff --git a/chat/i2cb/patches/patch-af b/chat/i2cb/patches/patch-af
new file mode 100644
index 00000000000..ad5597b0e15
--- /dev/null
+++ b/chat/i2cb/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+
+--- src/contoport.c.orig Wed Mar 15 23:13:28 2000
++++ src/contoport.c
+@@ -21,7 +21,7 @@
+ {
+ struct addrinfo hints, *res, *a;
+ char p[10];
+- int err, s;
++ int err, s=-1;
+
+ snprintf(p, 9, "%d", port_number);
+
diff --git a/chat/i2cb/patches/patch-ag b/chat/i2cb/patches/patch-ag
new file mode 100644
index 00000000000..d843af4c51a
--- /dev/null
+++ b/chat/i2cb/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+
+--- src/tcl.c.orig Wed Mar 15 23:28:26 2000
++++ src/tcl.c
+@@ -92,7 +92,7 @@
+ static char *
+ getrcname (void)
+ {
+- static char *names[] = { ".icbrc", ".fnrc", ".tclrc" , (char *)NULL };
++ static char *names[] = { ".i2cbrc", ".icbrc", ".fnrc", ".tclrc" , (char *)NULL };
+ char *rcfile, *homedir, **p;
+ static char rcpath[MAXNAMLEN+1]; /* path of startup file */
+
diff --git a/chat/i2cb/pkg/DESCR b/chat/i2cb/pkg/DESCR
new file mode 100644
index 00000000000..e2c2b796b76
--- /dev/null
+++ b/chat/i2cb/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/chat/i2cb/pkg/PLIST b/chat/i2cb/pkg/PLIST
new file mode 100644
index 00000000000..8b25beb1337
--- /dev/null
+++ b/chat/i2cb/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $
+bin/icb
+libdata/icbserverdb
+libdata/icb/sample.icbrc
+libdata/icb/bartender
+libdata/icb/confuse
+libdata/icb/echofile
+@dirrm libdata/icb