OpenSDE Packages Database (without history before r20070)
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.

48 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../unreal-ircd/unreal-ircd.conf
  5. # Copyright (C) 2007 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2004 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. if [ "$prefix_auto" = 1 ] ; then
  17. prefix=$SDECFG_PKG_UNREAL_PREFIX
  18. set_confopt
  19. fi
  20. if [ "$SDECFG_PKG_UNREAL_DMODS" = 1 ] ; then
  21. var_append extraconfopt ' ' "--enable-dynamic-linking"
  22. fi
  23. if [ "$SDECFG_PKG_UNREAL_ZIP" = 1 ] ; then
  24. var_append extraconfopt ' ' "--enable-ziplinks"
  25. fi
  26. if [ "$SDECFG_PKG_UNREAL_SSL" = 1 ] ; then
  27. var_append extraconfopt ' ' "--enable-ssl"
  28. fi
  29. if [ "$SDECFG_PKG_UNREAL_IP6" = 1 ] ; then
  30. var_append extraconfopt ' ' "--enable-inet6"
  31. fi
  32. if [ "$SDECFG_PKG_UNREAL_ANTISPOOF" = 1 ] ; then
  33. var_append extraconfopt ' ' "--enable-nospoof"
  34. fi
  35. if [ "$SDECFG_PKG_UNREAL_HUB" = 1 ] ; then
  36. var_append extraconfopt ' ' "--enable-hub"
  37. fi
  38. var_append extraconfopt ' ' "--with-listen=$SDECFG_PKG_UNREAL_BACKLOG"
  39. var_append extraconfopt ' ' "--with-nick-history=$SDECFG_PKG_UNREAL_NICKHIST"
  40. var_append extraconfopt ' ' "--with-sendq=$SDECFG_PKG_UNREAL_MAXSENDQ"
  41. var_append extraconfopt ' ' "--with-bufferpool=$SDECFG_PKG_UNREAL_BUFPOOLS"
  42. var_append extraconfopt ' ' "--with-fd-setsize=$SDECFG_PKG_UNREAL_MAXCON"
  43. var_append extraconfopt ' ' "$SDECFG_PKG_UNREAL_ADDITIONAL"
  44. var_append extraconfopt ' ' "--with-dpath=$root/$prefix/config --with-spath=$root/$bindir/ircd"
  45. hook_add postmake 5 "mkdir -p $root/$prefix/config/tmp"