Modified Files:

Makefile
Added Files:
 	patches/patch-ircd_s_user_c
Removed Files:
 	pkg/COMMENT

LogMessage:

* fixed IPv6 support
* integrate COMMENT

ok naddy@
This commit is contained in:
bmc 2001-04-10 16:18:02 +00:00
parent e8c5824fd0
commit df2a1ed488
3 changed files with 31 additions and 4 deletions

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.17 2001/01/28 00:47:17 brad Exp $
# $OpenBSD: Makefile,v 1.18 2001/04/10 16:18:02 bmc Exp $
# $FreeBSD: Makefile,v 1.19 1998/12/09 20:15:29 billf Exp $
COMMENT= "internet relay chat (irc) server"
DISTNAME= irc2.10.3p1
PKGNAME= irc-2.10.3p1
CATEGORIES= net
NEED_VERSION= 1.351
NEED_VERSION= 1.387
MASTER_SITES= ftp://ftp.irc.org/irc/server/ \
ftp://ftp.ntua.gr/pub/net/irc/server/
EXTRACT_SUFX= .tgz
@ -19,7 +21,8 @@ PERMIT_DISTFILES_FTP= Yes
SYSCONFDIR= /etc/ircd
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --logdir="/var/log/ircd" \
--localstatedir="/var/run"
--localstatedir="/var/run" \
--enable-ip6
# syslog facility to use for logging
SYSLOG_FACILITY= LOG_LOCAL5

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-ircd_s_user_c,v 1.1 2001/04/10 16:18:03 bmc Exp $
--- ircd/s_user.c.orig Fri Feb 9 09:05:55 2001
+++ ircd/s_user.c Fri Feb 9 09:05:59 2001
@@ -2376,7 +2376,7 @@ char *parv[];
parv[0], sptr->user->username, sptr->user->host,
sptr->auth, IsUnixSocket(sptr) ? sptr->sockhost :
#ifdef INET6
- inet_ntop(AF_INET6, (char *)&sptr->ip), mydummy, MYDUMMY_SIZE);
+ inet_ntop(AF_INET6, (char *)&sptr->ip, mydummy, sizeof(mydummy)));
#else
inetntoa((char *)&sptr->ip));
#endif
@@ -2403,10 +2403,10 @@ char *parv[];
parv[0], sptr->user->username, sptr->user->host,
sptr->auth, IsUnixSocket(sptr) ? sptr->sockhost :
#ifdef INET6
- inetntop(AF_INET6, (char *)&sptr->ip, mydummy,
+ inet_ntop(AF_INET6, (char *)&sptr->ip, mydummy,
MYDUMMY_SIZE));
#else
- inetntoa((char *)&sptr->ip));
+ inet_ntoa((char *)&sptr->ip));
#endif
(void)alarm(3);
(void)write(logfile, buf, strlen(buf));

View File

@ -1 +0,0 @@
internet relay chat (irc) server