# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../unreal-ircd/config.in
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---

if pkgcheck unreal-ircd X
then
	menu_begin MENU_PKG_UNREAL 'Unreal Ircd Package Options'
		text 'Install prefix for Unreal Ircd' \
			SDECFG_PKG_UNREAL_PREFIX "/opt/unrealircd"
		text 'Maximum number of connections Unreal my have' \
			SDECFG_PKG_UNREAL_MAXCON "150"
		text 'What is the maximum sendq length you wish to have' \
			SDECFG_PKG_UNREAL_MAXSENDQ "1000"
		text 'How many buffer pools would you like?' \
			SDECFG_PKG_UNREAL_BUFPOOLS "18"
		text 'What listen() backlog value do you wish to use?' \
			SDECFG_PKG_UNREAL_BACKLOG  "4"
		text 'How far back do you want to keep the nickname history?' \
			SDECFG_PKG_UNREAL_NICKHIST "2000"
		bool 'Use dynamic modules (recommended)' \
			SDECFG_PKG_UNREAL_DMODS 1
		bool 'Use zipped links    (recommended)' \
			SDECFG_PKG_UNREAL_ZIP 1
		bool 'Use SSL-Libraries   (needs ssl-libs)' \
			SDECFG_PKG_UNREAL_SSL 0
		bool 'Use IPv6 for Unreal-Ircd' \
			SDECFG_PKG_UNREAL_IP6 0
		bool 'Use anti-spoof functionality' \
			SDECFG_PKG_UNREAL_ANTISPOOF 0
		bool 'Enable Unreal-Ircd to act as Hub-Server (recommended)' \
			SDECFG_PKG_UNREAL_HUB 1
		text 'Addidtional configure options' \
			SDECFG_PKG_UNREAL_ADDITIONAL ""
	menu_end
fi