• src/sbbs3/targets.mk

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Mar 13 14:34:26 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/7b46736ff82cf5ec34fd6e81
    Modified Files:
    src/sbbs3/targets.mk
    Log Message:
    Use whereis to find setcap install location and cut to trim the output

    <Dan_C> DigitalMan: minor install issue noted today - during a fresh (Linux) install on a test box, the build failed because it was unable to execute the "sudo setcap ..." command. This was on Slackware 15.0, where the setcap executable is located in /sbin , and that directory is not in the $PATH of a normal user, or even when a normal user uses the 'sudo' command.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Mar 13 16:54:21 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/e01c7f898d3b961211899765
    Modified Files:
    src/sbbs3/targets.mk
    Log Message:
    Apparently we need to use the backtick method of shell expression here

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Fri Apr 7 21:28:48 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/a13baa9838e1896cc1cd06cb
    Modified Files:
    src/sbbs3/targets.mk
    Log Message:
    A 'gitinfo' build target for building just the git_branch/hash.h files

    Need to use this for creating nightly sbbs_src.tgz file

    Also suppress the diff errors when the git_*.h files don't exist

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jul 15 14:26:44 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/6858b34885a50dd7a1d71b66
    Modified Files:
    src/sbbs3/targets.mk
    Log Message:
    Don't use ln -r (relative) option for 'symlinks' build target

    As reported by Pasta68K:
    FreeBSD's ln doesn't support -r

    ln -sfr clang.freebsd..exe.release/* /sbbs/exec
    ln: illegal option -- r

    So use realpath instead. Hopefully all the targeted *nix platforms include 'realpath'.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net