You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.9 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../unreal-ircd/unreal-ircd.conf
# Copyright (C) 2007 The OpenSDE Project
# 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 [ "$prefix_auto" = 1 ] ; then
prefix=$SDECFG_PKG_UNREAL_PREFIX
set_confopt
fi
if [ "$SDECFG_PKG_UNREAL_DMODS" = 1 ] ; then
var_append extraconfopt ' ' "--enable-dynamic-linking"
fi
if [ "$SDECFG_PKG_UNREAL_ZIP" = 1 ] ; then
var_append extraconfopt ' ' "--enable-ziplinks"
fi
if [ "$SDECFG_PKG_UNREAL_SSL" = 1 ] ; then
var_append extraconfopt ' ' "--enable-ssl"
fi
if [ "$SDECFG_PKG_UNREAL_IP6" = 1 ] ; then
var_append extraconfopt ' ' "--enable-inet6"
fi
if [ "$SDECFG_PKG_UNREAL_ANTISPOOF" = 1 ] ; then
var_append extraconfopt ' ' "--enable-nospoof"
fi
if [ "$SDECFG_PKG_UNREAL_HUB" = 1 ] ; then
var_append extraconfopt ' ' "--enable-hub"
fi
var_append extraconfopt ' ' "--with-listen=$SDECFG_PKG_UNREAL_BACKLOG"
var_append extraconfopt ' ' "--with-nick-history=$SDECFG_PKG_UNREAL_NICKHIST"
var_append extraconfopt ' ' "--with-sendq=$SDECFG_PKG_UNREAL_MAXSENDQ"
var_append extraconfopt ' ' "--with-bufferpool=$SDECFG_PKG_UNREAL_BUFPOOLS"
var_append extraconfopt ' ' "--with-fd-setsize=$SDECFG_PKG_UNREAL_MAXCON"
var_append extraconfopt ' ' "$SDECFG_PKG_UNREAL_ADDITIONAL"
var_append extraconfopt ' ' "--with-dpath=$root/$prefix/config --with-spath=$root/$bindir/ircd"
hook_add postmake 5 "mkdir -p $root/$prefix/config/tmp"