summaryrefslogtreecommitdiff
path: root/chat/ircu/files
diff options
context:
space:
mode:
authorgrant <grant>2003-03-01 05:22:22 +0000
committergrant <grant>2003-03-01 05:22:22 +0000
commit8d2fe602d05fd96520ce44b12b954d6ee7bd801d (patch)
treeb2dc226f339d4b8e1d7d01299b24062c79b41d48 /chat/ircu/files
parent281afee02afbeb501a2868fddd076442fc89e57b (diff)
downloadpkgsrc-8d2fe602d05fd96520ce44b12b954d6ee7bd801d.tar.gz
Updated ircu to 2.10.11.04.
List of changes since 2.10.04 is very large and code-oriented. The authors seem to not maintain a user digestable list of changes. See the ChangeLog for the full list of changes if you insist :) Updated provided by Adrian Portelli in PR pkg/20531, with some changes by me.
Diffstat (limited to 'chat/ircu/files')
-rw-r--r--chat/ircu/files/config79
-rw-r--r--chat/ircu/files/ircd.sh31
2 files changed, 31 insertions, 79 deletions
diff --git a/chat/ircu/files/config b/chat/ircu/files/config
deleted file mode 100644
index 71c8cbf62f3..00000000000
--- a/chat/ircu/files/config
+++ /dev/null
@@ -1,79 +0,0 @@
-# $NetBSD: config,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
-
-EXTRA_INCLUDEDIRS="none"
-IRCDLIBS="-lcrypt"
-BINDIR="$PREFIX/sbin"
-SYMLINK="ircd"
-IRCDMODE="555"
-IRCDOWN="root"
-IRCDGRP="wheel"
-MANDIR="$PREFIX/man"
-EXTRA_CPPFLAGS=""
-CPPFLAGS="-I../include"
-USE_POLL=y
-RELIABLE_CLOCK=n
-CHROOTDIR=n
-CONFIG_SETUGID=n
-IRC_UID=
-IRC_GID=
-CMDLINE_CONFIG=n
-UNIXPORT=n
-VIRTUAL_HOST=y
-HUB=y
-DEBUGMODE=n
-DEBUGMALLOC=n
-DPATH="$PREFIX/etc/ircd"
-SPATH="$PREFIX/bin/ircd"
-CPATH="ircd.conf"
-MPATH="ircd.motd"
-RPATH="remote.motd"
-PPATH="none"
-CONFIG_LOG_WHOX=n
-MAXSENDQLENGTH=300000
-INT_BUFFERPOOL=3
-BUFFERPOOL="(3 * MAXSENDQLENGTH)"
-CLIENT_FLOOD=1024
-MAXCONNECTIONS=252
-PORTNUM=6667
-NICKNAMEHISTORYLENGTH=100
-ALLOW_SNO_CONNEXIT=y
-R_LINES=n
-SHOW_INVISIBLE_USERS=y
-SHOW_ALL_INVISIBLE_USERS=y
-OPERS_SEE_IN_SECRET_CHANNELS=y
-LOCOP_SEE_IN_SECRET_CHANNELS=n
-UNLIMIT_OPER_QUERY=n
-OPER_KILL=y
-OPER_REHASH=y
-OPER_RESTART=y
-OPER_DIE=y
-OPER_LGLINE=y
-OPER_REMOTE=y
-LOCOP_REHASH=y
-LOCOP_RESTART=n
-LOCOP_DIE=n
-LOCOP_LGLINE=y
-CONFIG_LIST=y
-DEFAULT_LIST="T<10"
-DEFAULT_LIST_PARAM="T<10"
-COMMENT_IS_FILE=n
-IDLE_FROM_MSG=y
-CHECK_CLONE=y
-CHECK_CLONE_LIMIT=2
-CHECK_CLONE_PERIOD=20
-CHECK_CLONE_DELAY=600
-MAXIMUM_LINKS=1
-MSGLOG_ENABLED=n
-LOCAL_KILL_ONLY=n
-TIMESEC=60
-PINGFREQUENCY=120
-CONNECTFREQUENCY=600
-HANGONGOODLINK=300
-HANGONRETRYDELAY=10
-CONNECTTIMEOUT=90
-KILLCHASETIMELIMIT=30
-MAXCHANNELSPERUSER=10
-MAXSILES=15
-AVBANLEN=40
-MAXSILELENGTH="(40 * MAXSILES)"
-CONFIG_NEW=y
diff --git a/chat/ircu/files/ircd.sh b/chat/ircu/files/ircd.sh
new file mode 100644
index 00000000000..5f1adf9ed30
--- /dev/null
+++ b/chat/ircu/files/ircd.sh
@@ -0,0 +1,31 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: ircd.sh,v 1.1 2003/03/01 05:22:23 grant Exp $
+#
+
+# PROVIDE: ircd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+
+if [ -f /etc/rc.subr ]
+then
+ . /etc/rc.subr
+fi
+
+name="ircd"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+required_files="@PKG_SYSCONFDIR@/ircd.conf"
+pidfile="/var/ircd/${name}.pid"
+command_args="-d /var/ircd -f ${required_files}"
+ircd_user="@IRCD_USER@"
+
+if [ -f /etc/rc.subr ]
+then
+ load_rc_config $name
+ eval [ -z "\$${rcvar}" ] && eval ${rcvar}=NO
+ run_rc_command "$1"
+else
+ @ECHO@ -n " ${name}"
+ ${command} ${ircd_flags} ${command_args}
+fi