diff options
author | tron <tron@pkgsrc.org> | 2004-01-18 14:21:18 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-01-18 14:21:18 +0000 |
commit | 0141290c02314b60d5c35f6e356551db54bbb266 (patch) | |
tree | c2cf00cff08eeb83c252185bbda24ea4c8676849 /chat/icbirc | |
parent | d6069deb813ce3f062e321ebbf4b5af3439f345e (diff) | |
download | pkgsrc-0141290c02314b60d5c35f6e356551db54bbb266.tar.gz |
Import new "icbirc" package: Proxy IRC client and ICB server
Diffstat (limited to 'chat/icbirc')
-rw-r--r-- | chat/icbirc/DESCR | 7 | ||||
-rw-r--r-- | chat/icbirc/Makefile | 13 | ||||
-rw-r--r-- | chat/icbirc/PLIST | 4 | ||||
-rw-r--r-- | chat/icbirc/distinfo | 5 | ||||
-rw-r--r-- | chat/icbirc/patches/patch-aa | 15 |
5 files changed, 44 insertions, 0 deletions
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)", |