update to irc2.9.5
This commit is contained in:
parent
ce6ad68af0
commit
032a7e05be
@ -3,42 +3,25 @@
|
||||
# Date created: 10 Nov 1997
|
||||
# Whom: ejovi
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.3 1998/01/30 00:29:20 niklas Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 1998/07/18 19:18:55 marc Exp $
|
||||
#
|
||||
|
||||
DISTNAME= irc2.9.2p3
|
||||
PKGNAME= irc-2.9.2.3
|
||||
DISTNAME= irc2.9.5
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= marc@OpenBSD.ORG
|
||||
|
||||
MASTER_SITES= ftp://ftp.funet.fi/pub/networking/services/irc/server/
|
||||
|
||||
MAINTAINER= joey@OpenBSD.ORG
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
BROKEN= yes
|
||||
.endif
|
||||
|
||||
# the NOTE command is disabled by default
|
||||
# ENABLE_NOTE=yes
|
||||
|
||||
# Syslog-Facility to use for logging
|
||||
# default:
|
||||
SYSLOG_FACILITY=LOG_LOCAL5
|
||||
|
||||
EXTRACT_SUFX= .tgz
|
||||
SCRIPTS_ENV= SYSLOG_FACILITY="${SYSLOG_FACILITY}"
|
||||
|
||||
MAN8= ircd.8
|
||||
|
||||
do-configure:
|
||||
@(cd ${WRKSRC} && make CONFIGARGS=--prefix=${PREFIX})
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC}/`${WRKSRC}/support/rev.sh` && make all)
|
||||
@(cd ${WRKSRC}/`${WRKSRC}/support/config.guess` && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/`${WRKSRC}/support/rev.sh` && make install)
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${PREFIX}/lib/ircd
|
||||
@(cd ${WRKSRC}/`${WRKSRC}/support/config.guess` && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (irc2.9.2p3.tgz) = 6141d743c940668409cdd70143f15545
|
||||
MD5 (irc2.9.5.tgz) = ac4b709113013364e5e9ca214862e18f
|
||||
|
@ -1,13 +0,0 @@
|
||||
*** include/common.h.orig Sat Aug 24 19:07:41 1996
|
||||
--- include/common.h Tue Mar 11 11:23:07 1997
|
||||
***************
|
||||
*** 45,50 ****
|
||||
--- 45,52 ----
|
||||
#define FALSE (0)
|
||||
#define TRUE (!FALSE)
|
||||
|
||||
+ #include <stdio.h>
|
||||
+
|
||||
#if 0
|
||||
#ifndef HAVE_SYS_MALLOC_H
|
||||
char *malloc(), *calloc();
|
@ -1,202 +0,0 @@
|
||||
*** include/config.h.dist.orig Tue Mar 11 11:24:47 1997
|
||||
--- include/config.h.dist Tue Mar 11 11:49:29 1997
|
||||
***************
|
||||
*** 60,66 ****
|
||||
* If your host supports varargs and has vsprintf(), vprintf() and vscanf()
|
||||
* C calls in its library, then you can define USE_VARARGS to use varargs
|
||||
* instead of imitation variable arg passing.
|
||||
! #undef USE_VARARGS
|
||||
* NOTE: with current server code, varargs doesn't survive because it can't
|
||||
* be used in a chain of 3 or more funtions which all have a variable
|
||||
* number of params. If anyone has a solution to this, please notify
|
||||
--- 60,66 ----
|
||||
* If your host supports varargs and has vsprintf(), vprintf() and vscanf()
|
||||
* C calls in its library, then you can define USE_VARARGS to use varargs
|
||||
* instead of imitation variable arg passing.
|
||||
! #define USE_VARARGS
|
||||
* NOTE: with current server code, varargs doesn't survive because it can't
|
||||
* be used in a chain of 3 or more funtions which all have a variable
|
||||
* number of params. If anyone has a solution to this, please notify
|
||||
***************
|
||||
*** 96,102 ****
|
||||
*/
|
||||
|
||||
#undef EPATH /* "/local/gnu/icn/password_mail" */
|
||||
! #undef NPATH /* "/local/gnu/icn/.ircdnote" */
|
||||
|
||||
/*
|
||||
* Full pathnames and defaults of irc system's support files. Please note that
|
||||
--- 96,104 ----
|
||||
*/
|
||||
|
||||
#undef EPATH /* "/local/gnu/icn/password_mail" */
|
||||
! #ifdef ENABLE_NOTE
|
||||
! #define NPATH ".ircdnote"
|
||||
! #endif
|
||||
|
||||
/*
|
||||
* Full pathnames and defaults of irc system's support files. Please note that
|
||||
***************
|
||||
*** 159,165 ****
|
||||
* mode "i" (i == invisible). Invisibility means people dont showup in
|
||||
* WHO or NAMES unless they are on the same channel as you.
|
||||
*/
|
||||
! #undef NO_DEFAULT_INVISIBLE
|
||||
|
||||
/* OPER_KILL
|
||||
*
|
||||
--- 161,167 ----
|
||||
* mode "i" (i == invisible). Invisibility means people dont showup in
|
||||
* WHO or NAMES unless they are on the same channel as you.
|
||||
*/
|
||||
! #define NO_DEFAULT_INVISIBLE
|
||||
|
||||
/* OPER_KILL
|
||||
*
|
||||
***************
|
||||
*** 176,188 ****
|
||||
* The 'LOCOP_' #defines are for making the respective commands available
|
||||
* to 'local' operators.
|
||||
*/
|
||||
! #undef OPER_KILL
|
||||
#define OPER_REHASH
|
||||
! #undef OPER_RESTART
|
||||
! #undef OPER_DIE
|
||||
! #undef OPER_REMOTE
|
||||
! #undef LOCOP_REHASH
|
||||
! #undef LOCOP_RESTART
|
||||
#undef LOCOP_DIE
|
||||
|
||||
/*
|
||||
--- 178,190 ----
|
||||
* The 'LOCOP_' #defines are for making the respective commands available
|
||||
* to 'local' operators.
|
||||
*/
|
||||
! #define OPER_KILL
|
||||
#define OPER_REHASH
|
||||
! #define OPER_RESTART
|
||||
! #define OPER_DIE
|
||||
! #define OPER_REMOTE
|
||||
! #define LOCOP_REHASH
|
||||
! #undef LOCOP_RESTART
|
||||
#undef LOCOP_DIE
|
||||
|
||||
/*
|
||||
***************
|
||||
*** 290,321 ****
|
||||
* this option is used unless you tell the system administrator beforehand
|
||||
* and obtain their permission to send messages to the system log files.
|
||||
*/
|
||||
! #undef USE_SYSLOG
|
||||
|
||||
#ifdef USE_SYSLOG
|
||||
/*
|
||||
* If you use syslog above, you may want to turn some (none) of the
|
||||
* spurious log messages for KILL/SQUIT off.
|
||||
*/
|
||||
! #undef SYSLOG_KILL /* log all operator kills to syslog */
|
||||
! #undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
|
||||
! #undef SYSLOG_CONNECT /* log remote connect messages for other all servs */
|
||||
! #undef SYSLOG_USERS /* send userlog stuff to syslog */
|
||||
! #undef SYSLOG_OPER /* log all users who successfully become an Op */
|
||||
! #undef SYSLOG_CONN /* log all uncomplete/rejected connections */
|
||||
|
||||
/*
|
||||
* If you want to log to a different facility than DAEMON, change
|
||||
* this define.
|
||||
*/
|
||||
! #define LOG_FACILITY LOG_DAEMON
|
||||
#endif /* USE_SYSLOG */
|
||||
|
||||
/*
|
||||
* define this if you want to use crypted passwords for operators in your
|
||||
* ircd.conf file. See ircd/crypt/README for more details on this.
|
||||
*/
|
||||
! #undef CRYPT_OPER_PASSWORD
|
||||
|
||||
/*
|
||||
* If you want to store encrypted passwords in N-lines for server links,
|
||||
--- 292,323 ----
|
||||
* this option is used unless you tell the system administrator beforehand
|
||||
* and obtain their permission to send messages to the system log files.
|
||||
*/
|
||||
! #define USE_SYSLOG
|
||||
|
||||
#ifdef USE_SYSLOG
|
||||
/*
|
||||
* If you use syslog above, you may want to turn some (none) of the
|
||||
* spurious log messages for KILL/SQUIT off.
|
||||
*/
|
||||
! #define SYSLOG_KILL /* log all operator kills to syslog */
|
||||
! #define SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
|
||||
! #define SYSLOG_CONNECT /* log remote connect messages for other all servs */
|
||||
! #define SYSLOG_USERS /* send userlog stuff to syslog */
|
||||
! #define SYSLOG_OPER /* log all users who successfully become an Op */
|
||||
! #define SYSLOG_CONN /* log all uncomplete/rejected connections */
|
||||
|
||||
/*
|
||||
* If you want to log to a different facility than DAEMON, change
|
||||
* this define.
|
||||
*/
|
||||
! #define LOG_FACILITY !!SYSLOGFACILITY!!
|
||||
#endif /* USE_SYSLOG */
|
||||
|
||||
/*
|
||||
* define this if you want to use crypted passwords for operators in your
|
||||
* ircd.conf file. See ircd/crypt/README for more details on this.
|
||||
*/
|
||||
! #define CRYPT_OPER_PASSWORD
|
||||
|
||||
/*
|
||||
* If you want to store encrypted passwords in N-lines for server links,
|
||||
***************
|
||||
*** 323,329 ****
|
||||
* need not be the same for both, as long as hte opposite end has the
|
||||
* right password in the opposite line. See INSTALL doc for more details.
|
||||
*/
|
||||
! #undef CRYPT_LINK_PASSWORD
|
||||
|
||||
/*
|
||||
* define this if you enable summon and if you want summon to look for the
|
||||
--- 325,331 ----
|
||||
* need not be the same for both, as long as hte opposite end has the
|
||||
* right password in the opposite line. See INSTALL doc for more details.
|
||||
*/
|
||||
! #undef CRYPT_LINK_PASSWORD /* CHANGE ME */
|
||||
|
||||
/*
|
||||
* define this if you enable summon and if you want summon to look for the
|
||||
***************
|
||||
*** 343,349 ****
|
||||
/*
|
||||
* use these to setup a Unix domain socket to connect clients/servers to.
|
||||
*/
|
||||
! #undef UNIXPORT
|
||||
|
||||
/*
|
||||
* IRC_UID
|
||||
--- 345,351 ----
|
||||
/*
|
||||
* use these to setup a Unix domain socket to connect clients/servers to.
|
||||
*/
|
||||
! #define UNIXPORT
|
||||
|
||||
/*
|
||||
* IRC_UID
|
||||
***************
|
||||
*** 367,373 ****
|
||||
* send to the server without processing before disconnecting the client for
|
||||
* flooding it. Values greater than 8000 make no difference to the server.
|
||||
*/
|
||||
! #define CLIENT_FLOOD 1000
|
||||
|
||||
/* Remote query flood protection. */
|
||||
#define CHREPLLEN 8192
|
||||
--- 369,375 ----
|
||||
* send to the server without processing before disconnecting the client for
|
||||
* flooding it. Values greater than 8000 make no difference to the server.
|
||||
*/
|
||||
! #define CLIENT_FLOOD 8000
|
||||
|
||||
/* Remote query flood protection. */
|
||||
#define CHREPLLEN 8192
|
@ -1,59 +0,0 @@
|
||||
*** support/Makefile.in.orig Sun Aug 25 17:45:07 1996
|
||||
--- support/Makefile.in Tue Mar 11 13:56:29 1997
|
||||
***************
|
||||
*** 40,46 ****
|
||||
|
||||
# IRCDDIR is used as default path for file names in <systype>/config.h
|
||||
#
|
||||
! IRCDDIR = $(prefix)/lib/irc
|
||||
|
||||
#L/home/ch1/avalon/lib -lefence
|
||||
IRCLIBS=-lcurses -ltermcap
|
||||
--- 40,46 ----
|
||||
|
||||
# IRCDDIR is used as default path for file names in <systype>/config.h
|
||||
#
|
||||
! IRCDDIR = $(prefix)/lib/ircd
|
||||
|
||||
#L/home/ch1/avalon/lib -lefence
|
||||
IRCLIBS=-lcurses -ltermcap
|
||||
***************
|
||||
*** 88,97 ****
|
||||
#LDFLAGS=-Wl,-a,archive -y
|
||||
|
||||
SHELL=/bin/sh
|
||||
! TARGETS=ircd irc
|
||||
! BINDIR=$(IRCDDIR)
|
||||
MANDIR= $(prefix)/man
|
||||
! INSTALL=../support/bsdinstall
|
||||
|
||||
MAKE=make 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'IRCDLIBS=${IRCDLIBS}' \
|
||||
'LDFLAGS=${LDFLAGS}' 'IRCDMODE=${IRCDMODE}' 'BINDIR=${BINDIR}' \
|
||||
--- 88,97 ----
|
||||
#LDFLAGS=-Wl,-a,archive -y
|
||||
|
||||
SHELL=/bin/sh
|
||||
! TARGETS=ircd # irc
|
||||
! BINDIR=$(prefix)/sbin
|
||||
MANDIR= $(prefix)/man
|
||||
! INSTALL=/usr/bin/install
|
||||
|
||||
MAKE=make 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'IRCDLIBS=${IRCDLIBS}' \
|
||||
'LDFLAGS=${LDFLAGS}' 'IRCDMODE=${IRCDMODE}' 'BINDIR=${BINDIR}' \
|
||||
***************
|
||||
*** 139,145 ****
|
||||
${MAKE} 'INSTALL=${INSTALL}' install -f Makefile.$$i; \
|
||||
done
|
||||
-${INSTALL} -c -m 644 ../doc/ircd.8 ${MANDIR}/man8
|
||||
! -${INSTALL} -c -m 644 ../doc/irc.1 ${MANDIR}/man1
|
||||
|
||||
|
||||
rcs:
|
||||
--- 139,145 ----
|
||||
${MAKE} 'INSTALL=${INSTALL}' install -f Makefile.$$i; \
|
||||
done
|
||||
-${INSTALL} -c -m 644 ../doc/ircd.8 ${MANDIR}/man8
|
||||
! # -${INSTALL} -c -m 644 ../doc/irc.1 ${MANDIR}/man1
|
||||
|
||||
|
||||
rcs:
|
@ -1,53 +0,0 @@
|
||||
--- support/configure.orig Fri Jan 30 00:28:34 1998
|
||||
+++ support/configure Fri Jan 30 00:28:21 1998
|
||||
@@ -820,50 +820,6 @@
|
||||
test -n "$SUM" || SUM="true"
|
||||
|
||||
|
||||
-echo $ac_n "checking for -lcrypt""... $ac_c" 1>&6
|
||||
-ac_lib_var=`echo crypt'_'crypt | tr './+\055' '__p_'`
|
||||
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
- echo $ac_n "(cached) $ac_c" 1>&6
|
||||
-else
|
||||
- ac_save_LIBS="$LIBS"
|
||||
-LIBS="-lcrypt $LIBS"
|
||||
-cat > conftest.$ac_ext <<EOF
|
||||
-#line 832 "configure"
|
||||
-#include "confdefs.h"
|
||||
-/* Override any gcc2 internal prototype to avoid an error. */
|
||||
-/* We use char because int might match the return type of a gcc2
|
||||
- builtin and then its argument prototype would still apply. */
|
||||
-char crypt();
|
||||
-
|
||||
-int main() { return 0; }
|
||||
-int t() {
|
||||
-crypt()
|
||||
-; return 0; }
|
||||
-EOF
|
||||
-if { (eval echo configure:844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
- rm -rf conftest*
|
||||
- eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
-else
|
||||
- rm -rf conftest*
|
||||
- eval "ac_cv_lib_$ac_lib_var=no"
|
||||
-fi
|
||||
-rm -f conftest*
|
||||
-LIBS="$ac_save_LIBS"
|
||||
-
|
||||
-fi
|
||||
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||
- echo "$ac_t""yes" 1>&6
|
||||
- ac_tr_lib=HAVE_LIB`echo crypt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
||||
- cat >> confdefs.h <<EOF
|
||||
-#define $ac_tr_lib 1
|
||||
-EOF
|
||||
-
|
||||
- LIBS="-lcrypt $LIBS"
|
||||
-
|
||||
-else
|
||||
- echo "$ac_t""no" 1>&6
|
||||
-fi
|
||||
-
|
||||
echo $ac_n "checking for -lsocket""... $ac_c" 1>&6
|
||||
ac_lib_var=`echo socket'_'socket | tr './+\055' '__p_'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
@ -1,6 +1,10 @@
|
||||
lib/ircd/example.conf
|
||||
lib/ircd/ircd.motd
|
||||
@cwd /usr/local
|
||||
@name irc2.9.5
|
||||
bin/irc
|
||||
lib/ircd/ircd.m4
|
||||
lib/ircd/example.conf
|
||||
man/man1/irc.1
|
||||
man/man8/ircd.8
|
||||
sbin/ircd
|
||||
sbin/chkconf
|
||||
@dirrm lib/ircd
|
||||
|
@ -1,16 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id: pre-configure,v 1.1.1.1 1997/11/15 00:04:39 deraadt Exp $
|
||||
#
|
||||
|
||||
set >/tmp/footest
|
||||
|
||||
if [ $ENABLE_NOTE ];
|
||||
then
|
||||
mv ${WRKSRC}/include/config.h.dist ${WRKSRC}/include/config.h.dist.bak
|
||||
sed <${WRKSRC}/include/config.h.dist.bak s/\#ifdef\ ENABLE_NOTE/\#ifdef\ DISABLE_NOTE/g >${WRKSRC}/include/config.h.dist
|
||||
|
||||
fi
|
||||
|
||||
mv ${WRKSRC}/include/config.h.dist ${WRKSRC}/include/config.h.dist.bak.2
|
||||
sed <${WRKSRC}/include/config.h.dist.bak.2 >${WRKSRC}/include/config.h.dist s+!!SYSLOGFACILITY!!+$SYSLOG_FACILITY+g
|
Loading…
x
Reference in New Issue
Block a user