diff options
author | hubertf <hubertf@pkgsrc.org> | 2002-11-14 00:59:31 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2002-11-14 00:59:31 +0000 |
commit | c26ed8a311233ed97b2f3371f1c4b8c966edc877 (patch) | |
tree | 9c91762bfc408c44bd29ac13d8a735ad9369e325 /chat/i2cbd | |
parent | 652fa1677d5b2729d811a7f740298ac5098802ad (diff) | |
download | pkgsrc-c26ed8a311233ed97b2f3371f1c4b8c966edc877.tar.gz |
Import i2cbd-2.0_BETA0: Next generation Internet Citicen's Band chat server
I2CB icbd -- the Improved ICB Server
------------------------------------
ICBD is an online chat system which allows a large number of users
to participate in realtime online discussions. Among the features
of the ICB chat system are:
* Simple, fast protocol and efficient polling-based implementation
minimize `lag' effects
* Persistent user database allows authentication of nicknames,
storage of various user information, and leaving messages for
users who are not logged on at the moment.
* Any user may create groups, and exercise control over those
groups, allowing for a wide range of discussion styles. This
control includes making groups public or private, visible or
invisible, and moderated or unmoderated
* The fabulous, famous '/brick' command lends true interactivity
to the chat experience :-)
Diffstat (limited to 'chat/i2cbd')
-rw-r--r-- | chat/i2cbd/DESCR | 20 | ||||
-rw-r--r-- | chat/i2cbd/Makefile | 37 | ||||
-rw-r--r-- | chat/i2cbd/PLIST | 11 | ||||
-rw-r--r-- | chat/i2cbd/distinfo | 7 | ||||
-rw-r--r-- | chat/i2cbd/patches/patch-aa | 19 | ||||
-rw-r--r-- | chat/i2cbd/patches/patch-ab | 21 | ||||
-rw-r--r-- | chat/i2cbd/patches/patch-ac | 17 | ||||
-rw-r--r-- | chat/i2cbd/pkg/DESCR | 1 | ||||
-rw-r--r-- | chat/i2cbd/pkg/PLIST | 13 |
9 files changed, 146 insertions, 0 deletions
diff --git a/chat/i2cbd/DESCR b/chat/i2cbd/DESCR new file mode 100644 index 00000000000..8578aa0fcb1 --- /dev/null +++ b/chat/i2cbd/DESCR @@ -0,0 +1,20 @@ + I2CB icbd -- the Improved ICB Server + ------------------------------------ +ICBD is an online chat system which allows a large number of users +to participate in realtime online discussions. Among the features +of the ICB chat system are: + + * Simple, fast protocol and efficient polling-based implementation + minimize `lag' effects + + * Persistent user database allows authentication of nicknames, + storage of various user information, and leaving messages for + users who are not logged on at the moment. + + * Any user may create groups, and exercise control over those + groups, allowing for a wide range of discussion styles. This + control includes making groups public or private, visible or + invisible, and moderated or unmoderated + + * The fabulous, famous '/brick' command lends true interactivity + to the chat experience :-) diff --git a/chat/i2cbd/Makefile b/chat/i2cbd/Makefile new file mode 100644 index 00000000000..34af8953eef --- /dev/null +++ b/chat/i2cbd/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/11/14 00:59:31 hubertf Exp $ +# + +DISTNAME= i2cbd-2.0_BETA0 +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 server + +.include "../../mk/bsd.prefs.mk" + +ICBD_OWNER?= root +PLIST_SUBST+= ICBD_OWNER=${ICBD_OWNER} \ + CHOWN=${CHOWN} \ + TOUCH=${TOUCH} + +post-extract: + -${RM} ${WRKSRC}/*/.depend + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/etc/icbd + ${CHOWN} ${ICBD_OWNER} ${PREFIX}/etc/icbd + ${CHMOD} 755 ${PREFIX}/etc/icbd + for f in motd icbd_help icbd.deny news.1 ; do \ + ${INSTALL_DATA} ${WRKSRC}/etc/$$f ${PREFIX}/etc/icbd ; \ + done + ${CHOWN} -R ${ICBD_OWNER} ${PREFIX}/etc/icbd + ${TOUCH} /var/log/icbd.log + ${CHOWN} ${ICBD_OWNER} /var/log/icbd.log + ${SED} \ + -e 's,@PREFIX@,${PREFIX},' \ + <${WRKSRC}/etc/icbd.sh >${WRKDIR}/icbd.sh + ${INSTALL_SCRIPT} ${WRKDIR}/icbd.sh ${PREFIX}/etc/rc.d/icbd + +.include "../../mk/bsd.pkg.mk" diff --git a/chat/i2cbd/PLIST b/chat/i2cbd/PLIST new file mode 100644 index 00000000000..7ae2825e226 --- /dev/null +++ b/chat/i2cbd/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/14 00:59:31 hubertf Exp $ +etc/icbd/icbd.deny +etc/icbd/icbd_help +etc/icbd/motd +etc/icbd/news.1 +etc/rc.d/icbd +man/man8/icbd.8 +man/man8/icbdb.8 +sbin/icbd +sbin/icbdb +@dirrm etc/icbd diff --git a/chat/i2cbd/distinfo b/chat/i2cbd/distinfo new file mode 100644 index 00000000000..5c733c7c85b --- /dev/null +++ b/chat/i2cbd/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/11/14 00:59:31 hubertf Exp $ + +SHA1 (i2cbd-2.0_BETA0.tar.gz) = dd76db90442f3ccd8e3048cbdb313740ddcfb792 +Size (i2cbd-2.0_BETA0.tar.gz) = 70622 bytes +SHA1 (patch-aa) = 943ce10c7ce2e070113b3d8a8621d3b1624f6a40 +SHA1 (patch-ab) = 25a4f46bf378163b19df8fb0c3c23679b2fa4b18 +SHA1 (patch-ac) = ca8e6b7324a22fb9ecabf2374e34febb55196e28 diff --git a/chat/i2cbd/patches/patch-aa b/chat/i2cbd/patches/patch-aa new file mode 100644 index 00000000000..c4f0dfabc2e --- /dev/null +++ b/chat/i2cbd/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/11/14 00:59:31 hubertf Exp $ + +--- config.h.orig Tue Oct 30 20:37:28 2001 ++++ config.h +@@ -5,10 +5,10 @@ + + /* File definitions */ + +-#define USERDB "/usr/local/etc/icbd/userdb.db" +-#define ICBDMOTD "/usr/local/etc/icbd/motd" +-#define ICBDHELP "/usr/local/etc/icbd/icbd_help" +-#define ACCESS_FILE "/usr/local/etc/icbd/icbd.deny" ++#define USERDB PREFIX "/etc/icbd/userdb.db" ++#define ICBDMOTD PREFIX "/etc/icbd/motd" ++#define ICBDHELP PREFIX "/etc/icbd/icbd_help" ++#define ACCESS_FILE PREFIX "/etc/icbd/icbd.deny" + #define ICBDLOG "/var/log/icbd.log" + #define PID_FILE "/var/run/icbd.pid" + #define INIT_BRICKS 5 /* initial number of bricks to be thrown */ diff --git a/chat/i2cbd/patches/patch-ab b/chat/i2cbd/patches/patch-ab new file mode 100644 index 00000000000..88c0879c052 --- /dev/null +++ b/chat/i2cbd/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/11/14 00:59:31 hubertf Exp $ + +--- config.mk.orig Tue Oct 30 20:50:40 2001 ++++ config.mk +@@ -3,7 +3,6 @@ + # For copying and distribution information, see the file COPYING. + # + +-PREFIX = /usr/local + BINDIR = ${PREFIX}/sbin + MANDIR = ${PREFIX}/man + MAN8DIR = ${PREFIX}/man/man8 +@@ -19,7 +18,7 @@ + # affect portability to some platforms. The others here are irrelevant. + BADWARNS = -Wwrite-strings -Wconversion -Waggregate-return -Wredundant-decls + DEBUG = -DDEBUG -DVERBOSE -g +-CFLAGS = ${WARNS} ${EXTRAWARNS} ${DEBUG} ++CFLAGS = ${WARNS} ${EXTRAWARNS} ${DEBUG} -DPREFIX=\"${PREFIX}\" + LDFLAGS = + LIBS = -lutil + diff --git a/chat/i2cbd/patches/patch-ac b/chat/i2cbd/patches/patch-ac new file mode 100644 index 00000000000..17c8498e921 --- /dev/null +++ b/chat/i2cbd/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/11/14 00:59:31 hubertf Exp $ + +--- etc/motd.orig Mon Oct 29 04:51:52 2001 ++++ etc/motd +@@ -1,7 +1,7 @@ +------------------------------------------------------------------------------ +- welcome to the i2cb icb server ++----------------------------------------------------------------------- ++ welcome to the i2cb icb server + +- up since: %U ++ up since: %U + +- For more information, see http://www.draga.com/~jwise/i2cb/ +------------------------------------------------------------------------------ ++ For more information, see http://www.draga.com/~jwise/i2cb/ ++----------------------------------------------------------------------- diff --git a/chat/i2cbd/pkg/DESCR b/chat/i2cbd/pkg/DESCR new file mode 100644 index 00000000000..41c986624ae --- /dev/null +++ b/chat/i2cbd/pkg/DESCR @@ -0,0 +1 @@ +Next Generation Internet Citizen's Band chat system diff --git a/chat/i2cbd/pkg/PLIST b/chat/i2cbd/pkg/PLIST new file mode 100644 index 00000000000..988cd7fe50e --- /dev/null +++ b/chat/i2cbd/pkg/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/14 00:59:31 hubertf Exp $ +etc/icbd/icbd.deny +etc/icbd/icbd_help +etc/icbd/motd +etc/icbd/news.1 +etc/rc.d/icbd +sbin/icbd +sbin/icbdb +man/man8/icbd.8 +man/man8/icbdb.8 +@dirrm etc/icbd +@exec ${TOUCH} /var/log/icbd.log +@exec ${CHOWN} ${ICBD_OWNER} /var/log/icbd.log |