From 0141290c02314b60d5c35f6e356551db54bbb266 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 18 Jan 2004 14:21:18 +0000 Subject: Import new "icbirc" package: Proxy IRC client and ICB server --- chat/icbirc/DESCR | 7 +++++++ chat/icbirc/Makefile | 13 +++++++++++++ chat/icbirc/PLIST | 4 ++++ chat/icbirc/distinfo | 5 +++++ chat/icbirc/patches/patch-aa | 15 +++++++++++++++ 5 files changed, 44 insertions(+) create mode 100644 chat/icbirc/DESCR create mode 100644 chat/icbirc/Makefile create mode 100644 chat/icbirc/PLIST create mode 100644 chat/icbirc/distinfo create mode 100644 chat/icbirc/patches/patch-aa (limited to 'chat/icbirc') diff --git a/chat/icbirc/DESCR b/chat/icbirc/DESCR new file mode 100644 index 00000000000..b8bd19d310e --- /dev/null +++ b/chat/icbirc/DESCR @@ -0,0 +1,7 @@ +icbirc is a proxy that allows to connect an IRC client to an ICB server. +The proxy accepts client connections, connects to the server, and for- +wards data between those two connections. + +Commands from the IRC client are translated to ICB commands and forwarded +to the ICB server. Messages from the ICB server are translated to IRC +messages and forwarded to the IRC client. diff --git a/chat/icbirc/Makefile b/chat/icbirc/Makefile new file mode 100644 index 00000000000..5ef589e5c49 --- /dev/null +++ b/chat/icbirc/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/18 14:21:18 tron Exp $ + +DISTNAME= icbirc-1.6 +CATEGORIES= chat +MASTER_SITES= http://www.benzedrine.cx/ + +MAINTAINER= tron@NetBSD.org +HOMEPAGE= http://www.benzedrine.cx/icbirc.html +COMMENT= Proxy IRC client and ICB server + +MAKE_ENV= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man" + +.include "../../mk/bsd.pkg.mk" diff --git a/chat/icbirc/PLIST b/chat/icbirc/PLIST new file mode 100644 index 00000000000..bbf2d7cacf5 --- /dev/null +++ b/chat/icbirc/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/18 14:21:18 tron Exp $ +bin/icbirc +man/cat8/icbirc.0 +man/man8/icbirc.8 diff --git a/chat/icbirc/distinfo b/chat/icbirc/distinfo new file mode 100644 index 00000000000..1d4c27e6cbe --- /dev/null +++ b/chat/icbirc/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/01/18 14:21:18 tron Exp $ + +SHA1 (icbirc-1.6.tar.gz) = ed34478deae940e5cd97e5eb7415b279e87484d9 +Size (icbirc-1.6.tar.gz) = 10936 bytes +SHA1 (patch-aa) = faa20fd7a94df6585caca93bd7744f5c822bb190 diff --git a/chat/icbirc/patches/patch-aa b/chat/icbirc/patches/patch-aa new file mode 100644 index 00000000000..b1887efa82e --- /dev/null +++ b/chat/icbirc/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/01/18 14:21:18 tron Exp $ + +--- icbirc.c.orig 2003-08-20 23:55:59.000000000 +0200 ++++ icbirc.c 2004-01-18 15:12:29.000000000 +0100 +@@ -318,8 +318,8 @@ + done: + if (server_fd >= 0) + close(server_fd); +- printf("(%u seconds, %lu:%lu bytes)\n", +- time(NULL) - t, bytes_out, bytes_in); ++ printf("(%lu seconds, %lu:%lu bytes)\n", ++ (unsigned long)(time(NULL) - t), bytes_out, bytes_in); + if (terminate_client) + irc_send_notice(client_fd, "Closing connection " + "(%u seconds, %lu:%lu bytes)", -- cgit v1.2.3