Commit graph

14 commits

Author SHA1 Message Date
jwise
2245676c51 Update to i2cbd-2.0_BETA5: fold in patch-aj, from Thor Lancelot Simon:
Don't set O_NDELAY (and leave it set!) on all sockets, all the time.  This
was making select always return immediately and was causing the daemon to
spin on CPU.

Instead, set O_NONBLOCK (= O_NDELAY) on sockets only when reading/writing
them, and clear it afterwards, so select is always safe.
2006-05-11 03:55:04 +00:00
tls
335c7c49a0 whoops. resuscitate patch-aj 2006-05-11 03:40:34 +00:00
jwise
9546463d09 Update to i2cbd-2.0_BETA4.
This release folds in pkgsrc patches patch-ad through patch-ai.

For the moment, remove patch-aj as well, since it doesn't apply (file paths
are wrong).  I'll try to fold this into the next beta, however.
2006-05-11 02:36:15 +00:00
tls
4a380ba70b Don't set O_NDELAY (and leave it set!) on all sockets, all the time. This
was making select always return immediately and was causing the daemon to
spin on CPU.

Instead, set O_NONBLOCK (= O_NDELAY) on sockets only when reading/writing
them, and clear it afterwards, so select is always safe.
2006-05-11 01:54:33 +00:00
christos
ae867b0b4b setting a 1 second alarm and a 10 second select timeout is silly. #ifdef
out the alarm code, and just deal with select.
2006-05-10 20:31:50 +00:00
christos
b04a332123 Fixed reversed test in db->get. strlen never returns negative. 2006-05-10 20:16:40 +00:00
jwise
58a19a9f80 Update for i2cbd-2.0_BETA3. Changes since i2cbd-2.0_BETA1 (last pkgsrc
version):

	* command parsing and buffer handling fixes from SODA Noriyuki
2006-04-30 23:36:09 +00:00
joerg
82c72547d9 Add DragonFly support. 2005-12-13 16:26:39 +00:00
tv
0cc321d4e4 Need <sys/time.h> to get fd_set (on Interix, and per POSIX). 2005-10-31 18:30:49 +00:00
agc
7a12a188a1 Make this package build on NetBSD-current by casting arguments to ctype
macros where necessary.

Bump package revision.
2004-12-30 11:10:22 +00:00
jwise
e942280038 A new BETA is out, i2cbd-2.0_BETA1. Update pkg accordingly.
Changes are minor -- compiler warning fixes from GCC3, and better log messages.
2003-10-24 21:12:18 +00:00
kristerw
1b29fdd8d1 Make this compile on NetBSD-1.6.1/shark.
The package is compiled with -Werror, but the sharks headers are not
-Wtraditional safe, so the buld failed.  Remove the silly -Wtraditional.
2003-08-02 20:38:56 +00:00
jmmv
840c30e882 Convert this package to the bsd.pkg.install.mk framework:
- Install configuration files under the examples hierarchy.
- Use CONF_FILES_PERMS to put the configuration files in place.
- Use SUPPORT_FILES_PERMS to put the empty log file in place.
- Use RCD_SCRIPTS to handle the rc.d script.

While here, add ICBD_OWNER to BUILD_DEFS and use ROOT_USER and ROOT_GROUP
where appropiate.

As a result, bump PKGREVISION to 1.
2003-07-29 16:25:56 +00:00
hubertf
c26ed8a311 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 :-)
2002-11-14 00:59:31 +00:00