summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-11-13 22:52:18 +0000
committeradrianp <adrianp@pkgsrc.org>2005-11-13 22:52:18 +0000
commit10244d2b8ceb7741b3d443105ac8b954102be6d6 (patch)
tree94f2664b5addbf48be8177c113f98e895f402589 /mk
parente56a029574276c450c914e7b4292d9ceeb418975 (diff)
downloadpkgsrc-10244d2b8ceb7741b3d443105ac8b954102be6d6.tar.gz
Update a lot of the IRCD_HYBRID_* options as we are now on 7.1 in pkgsrc
Diffstat (limited to 'mk')
-rw-r--r--mk/defaults/mk.conf134
1 files changed, 25 insertions, 109 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index 4df5528e4ce..1338798b2f0 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.89 2005/11/13 17:40:00 rillig Exp $
+# $NetBSD: mk.conf,v 1.90 2005/11/13 22:52:18 adrianp Exp $
#
# This file provides default values for variables that may be overridden
@@ -922,109 +922,36 @@ INN_GROUP?= news
# Possible: any valid groupname
# Default: news
-IRCD_HYBRID_SMALL_NET?= YES
-# Used by ircd-hybrid to tune various ircd paramaters when running
-# small IRC networks so the daemon does not use much resources.
-# A set of variables - see below - can then be defined to fine tune the daemon
-# behaviour.
-# Possible: YES, NO
-# Default: YES
-
-#IRCD_HYBRID_LINK_PREALLOCATE=
-# Used by ircd-hybrid when IRCD_HYBRID_SMALL_NET is "YES". Specify
-# the number of server linkd to preallocate.
-# Possible: nearly any integer value
-# Default: 1024 from source, 64 if IRCD_HYBRID_SMALL_NET is "YES"
-
-#IRCD_HYBRID_CLIENTS_PREALLOCATE=
-# Used by ircd-hybrid when IRCD_HYBRID_SMALL_NET is "YES". Specify
-# the number of client structures to preallocate.
-# Possible: nearly any integer value
-# Default: 1024 from source, 64 if IRCD_HYBRID_SMALL_NET is "YES"
-
-#IRCD_HYBRID_USERS_PREALLOCATE=
-# Used by ircd-hybrid when IRCD_HYBRID_SMALL_NET is "YES". Specify
-# the number of user structures to preallocate.
-# Possible: nearly any integer value
-# Default: 1024 from source, 64 if IRCD_HYBRID_SMALL_NET is "YES"
-
-#IRCD_HYBRID_NICKNAMEHISTORYLENGTH=
-# Used by ircd-hybrid when IRCD_HYBRID_SMALL_NET is "YES". Specify
-# the number of entries in the nickname history.
-# Possible: nearly any integer value
-# Default: 15000 from source, 1000 if IRCD_HYBRID_SMALL_NET is "YES"
-
-#IRCD_HYBRID_MAXSENDQLENGTH=
-# Used by ircd-hybrid when IRCD_HYBRID_SMALL_NET is "YES". Specify
-# the maximum -in bytes- of internal send buffering for sockets.
-# Possible: nearly any integer value
-# Default: 9000000 from source, 500000 if IRCD_HYBRID_SMALL_NET is "YES"
-
-#IRCD_HYBRID_INITIAL_DBUFS=
-# Used by ircd-hybrid when IRCD_HYBRID_SMALL_NET is "YES". Specify
-# the initial number of dbufs (dynamic buffering of a byte stream,
-# similar to mbufs) to preallocate.
-# Possible: nearly any integer value
-# Default: 4000 from source, 300 if IRCD_HYBRID_SMALL_NET is "YES"
-
-#IRCD_HYBRID_HARD_FDLIMIT_=
-# Used by ircd-hybrid when IRCD_HYBRID_SMALL_NET is "YES". Specify
-# the maximum number of file descriptor the daemon will use.
-# Possible: 1 <> maximum file descriptor the system would give you
-# Default: 256 from source, 90 if IRCD_HYBRID_SMALL_NET is "YES"
-
-#IRCD_HYBRID_INIT_MAXCLIENTS=
-# Used by ircd-hybrid when IRCD_HYBRID_SMALL_NET is "YES". Specify
-# the maximum number of clients allowed to connect to the daemon.
-# Possible: 1<> ~IRCD_HYBRID_HARD_FDLIMIT_
-# Default: 200 from source, 40 if IRCD_HYBRID_SMALL_NET is "YES"
-
-IRCD_HYBRID_USE_LOGFILE?= YES
-# Used by ircd-hybrid. Specify if the daemon should use a logfile.
-# Note: can be used even when IRCD_HYBRID_USE_SYSLOG is "YES".
-# Possible: YES, NO
-# Default: YES
-
-IRCD_HYBRID_USE_SYSLOG?= NO
-# Used by ircd-hybrid. Specify if the daemon should use syslog.
-# Note: can be used even when IRCD_HYBRID_USE_LOGFILE is "YES".
-# Possible: YES, NO
-# Default: NO
-
-IRCD_HYBRID_LPATH?= ${VARBASE}/log/ircd-hybrid.log
-# Used by ircd-hybrid. Specify the pathname of the daemon logfile.
-# Note: only used if IRCD_HYBRID_USE_LOGFILE is "YES".
-# Possible: any path
-# Default: ${VARBASE}/log/ircd-hybrid.log
-
-IRCD_HYBRID_FNAME_USERLOG?= ${VARBASE}/log/ircd-hybrid.users.log
-# Used by ircd-hybrid. Specify the pathname of the user connections logfile.
-# IRCD_HYBRID_USE_SYSLOG should be set to "YES" for this logfile be used.
-# Possible: any path
-# Default: ${VARBASE}/log/ircd-hybrid.users.log
-
-IRCD_HYBRID_FNAME_OPERLOG?= ${VARBASE}/log/ircd-hybrid.opers.log
-# Used by ircd-hybrid. Specify the pathname of the operator connections
-# logfile.
-# Possible: any path
-# Default: ${VARBASE}/log/ircd-hybrid.opers.log
-
-IRCD_HYBRID_PPATH?= ${VARBASE}/run/ircd-hybrid.pid
-# Used by ircd-hybrid. Specify the pathname of the daemon pid file.
-# Possible: any path
-# Default: ${VARBASE}/run/ircd-hybrid.pid
+IRCD_HYBRID_NICLEN?= 9
+# Used by ircd-hybrid. Sets the maximum NICK length.
+# Note that this must be consistent across your entire network.
+# Possible: any valid number
+# Default: 9
+
+IRCD_HYBRID_TOPICLEN?= 120
+# Used by ircd-hybrid. Sets the maximum TOPIC length.
+# Note that this must be consistent across your entire network.
+# Possible: any valid number
+# Default: 120
+
+#IRCD_HYBRID_SYSLOG_EVENTS?=
+# Used by ircd-hybrid. Enables syslog logging, with events you specify
+# (none is okay too, and logs the most essential messages only.)
+# Possible: kill/squit/connect/users/oper, separated by spaces, in quotes
+# Default: not defined
IRCD_HYBRID_SYSLOG_FACILITY?= LOG_LOCAL4
# Used by ircd-hybrid. Specify which syslog facility the daemon should use
-# when IRCD_HYBRID_USE_SYSLOG is "YES".
+# when IRCD_HYBRID_SYSLOG_EVENTS is defined.
# Possible: any syslog facility (LOG_*)
# Default: LOG_LOCAL4
-IRCD_HYBRID_INIT_LOG_LEVEL?= L_NOTICE
-# Used by ircd-hybrid. Specify initial minimum level from which the daemon logs
-# events. This is unrelated from syslog() level.
-# Possible: L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO, L_DEBUG
-# Default: L_NOTICE
+#IRCD_HYBRID_MAXCONN?=
+# Used by ircd-hybrid. Sets the maximum number of connections the ircd
+# can support. Note that this also twiddles the HARD_FDLIMIT.
+# This value is typically automagically set by ./configure
+# Possible: any valid number
+# Default: not defined
IRCD_HYBRID_IRC_USER?= irc
# Used by ircd-hybrid. Specify the user name under which the daemon runs.
@@ -1036,17 +963,6 @@ IRCD_HYBRID_IRC_GROUP?= irc
# Possible: any group name
# Default: irc
-IRCD_HYBRID_NETWORK_NAME?= PKGSRCNet
-# Used by ircd-hybrid. Specify the IRC network name advertised by the daemon.
-# Possible: anything
-# Default: PKGSRCNet
-
-IRCD_HYBRID_NETWORK_DESC?= Package Source Network
-# Used by ircd-hybrid. Specify the IRC network description advertised by the
-# daemon.
-# Possible: anything
-# Default: Package Source Network
-
#IRRD_USE_PGP=
# Used by irrd package to specify the version of PGP to use, if any.
# Possible: 5, 2, not defined