Dagon is a mnemosyne-based server distribution, for providing data It's designed to be web, sql and dns server.
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.

46 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: target/dagon/config.in
  5. # Copyright (C) 2009 - 2010 The OpenSDE Project
  6. # Copyright (C) 2002 - 2006 Alejandro Mery
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. #Description: Dagon - Web, Database and DNS Server
  16. const SDECFG_TRG_DAGON ${target:-$SDECFG_TARGET}
  17. for x in KERNEL='linux' BOOT=vserver \
  18. MTA='ssmtp' \
  19. PYTHON=1 \
  20. ; do
  21. eval SDECFGSET_TRG_MNEMOSYNE_$x
  22. done
  23. if [ ! -s $cfgtmpdir/dagon.config.in ]; then
  24. SDECFG_TRG_MNEMOSYNE=$( cat ./target/$SDECFG_TRG_DAGON/extends )
  25. if ! perl ./target/$SDECFG_TRG_MNEMOSYNE/mnemosyne.pl "./target/$SDECFG_TRG_DAGON/pkgsel.d" TRG_DAGON \
  26. $cfgtmpdir/dagon.{config,rules,awkgen}.in; then
  27. echo "mnemosyne.pl failed!"
  28. rm -f $cfgtmpdir/dagon.{config,rules,awkgen}.in
  29. fi
  30. fi
  31. if [ -s $cfgtmpdir/dagon.config.in ]; then
  32. . $cfgtmpdir/dagon.rules.in
  33. . $cfgtmpdir/dagon.config.in
  34. else
  35. comment ' '
  36. comment 'ERROR: plugins config was not rendered!'
  37. fi
  38. comment ' '
  39. menu_begin MENU_MNEMOSYNE 'Advanced Options'