Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 14 May, 2021 1 commit
  2. 04 Apr, 2021 1 commit
    • Rob Swindell's avatar
      A poll() failure with EINTR does not mean a socket is closed. · fcf58640
      Rob Swindell authored
      This won't impact Synchronet as it has a separate signal handling
      thread, but we still need to behave properly for processes that
      don't.  I'm also saying that ENOMEM does not indicate a disconnection,
      though it may be better to pretend it was disconnected...
      fcf58640
  3. 14 Feb, 2021 1 commit
  4. 18 Jan, 2021 1 commit
    • Rob Swindell's avatar
      Safe string handling with config-load error messages · 99dbeb14
      Rob Swindell authored
      We were just trusting that the error strings would be shorter than 256 (usually), but since we're including paths and strerror() results, we really have no control over the length of the error strings. So enforce some healthy boundaries. This could explain the crashes that Divarin of Mutiny is seeing with SCFG on WinXP or maybe it was the truncsp(strerror()) stuff that was just removed as well. We'll see...
      99dbeb14
  5. 23 Nov, 2020 1 commit
    • Rob Swindell's avatar
      The great C function dependency refactor of 2020 · c6808b3f
      Rob Swindell authored
      The goal of this commit is that: only modules that either are part-of sbbs.dll/libsbbs.so or need to link with/use that library, will #include "sbbs.h" and thus be dependent on its subsequent includes (e.g. cryptlib.h, jsapi.h). This should mean extdeps.mk can be trimmed way down.
      
      I also removed CVS keyword/comments and trimmed up the boilerplate copyright notice in modified and added source/header files in this commit.
      
      There is no functional change in behavior in this comment.
      c6808b3f
  6. 19 Sep, 2020 1 commit
  7. 17 Aug, 2020 1 commit
  8. 16 Aug, 2020 2 commits
    • Rob Swindell's avatar
      Fix issue with jsexec being used for CGI scripts · 54431b31
      Rob Swindell authored
      If jsexec is used for a CGI script and the SBBSCTRL env var was not
      set, a warning would be printed (to stderr), even if the -c option
      was used to specify the path to the ctrl dir.
      
      get_ctrl_dir() now accepts a boolean argument to specify whether to
      print a warning when the default value ("/sbbs/ctrl") is used.
      Pass FALSE for jsexec, TRUE for other callers (currently).
      54431b31
    • Rob Swindell's avatar
      Commit with CVS Keywords expanded. · dfa1a0a4
      Rob Swindell authored
      dfa1a0a4
  9. 03 Jan, 2020 1 commit
    • rswindell's avatar
      Add/use a new get_ctrl_dir() function to query the SBBSCTRL env var and if · b236be71
      rswindell authored
      not set (or blank), use the default ("/sbbs/ctrl") and print a warning to
      stderr. This resolves a FAQ for sysops that struggle with setting the SBBSCTRL
      env var, but do have sbbs install in /sbbs or a symlink from /sbbs to where
      sbbs is actually installed.
      
      Note: this function is different than the one previously defined in getctrl.c
      but never used. If/when we ever really need to support PREFIX, then perhaps
      we'll use that one (which copies a string to a buffer).
      b236be71
  10. 15 Jul, 2018 1 commit
  11. 20 Feb, 2018 1 commit
  12. 24 Oct, 2012 1 commit
  13. 20 Oct, 2011 1 commit
  14. 07 Sep, 2011 1 commit
  15. 04 Jun, 2008 1 commit
  16. 23 Feb, 2008 1 commit
  17. 09 Sep, 2007 1 commit
  18. 20 Sep, 2005 1 commit
  19. 18 Feb, 2005 1 commit
    • rswindell's avatar
      Overhaul of temp directory usage: · 7b29a54b
      rswindell authored
      No more temp files in data or data/temp.
      ctrl_dir/../temp (e.g. sbbs/temp) is the new default temp dir.
      Each server has its own separately configurable temp dir.
      BBS events (e.g. QWK packet processing) now have their own exclusive-use
      temp dir (e.g. sbbs/temp/event).
      All server threads will attempt to create and verify the validity of their temp dir.
      System temp dir is only the default global temp dir for Unix (i.e. /tmp), since
      the Windows default temp dir (e.g. C:\DOCUME~1\Rob\LOCALS~1\Temp) is not
      particularly friendly or attractive.
      7b29a54b
  20. 30 May, 2004 1 commit
  21. 24 Oct, 2003 1 commit
  22. 11 Jul, 2003 1 commit
  23. 27 Mar, 2003 1 commit
  24. 09 Feb, 2003 1 commit
  25. 01 Feb, 2003 1 commit
  26. 17 Jan, 2003 1 commit
  27. 31 Oct, 2002 3 commits