• src/sbbs3/targets.mk

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Aug 1 19:44:16 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/aed157d0f448d6fea890fb5e
    Modified Files:
    src/sbbs3/targets.mk
    Log Message:
    Order the sub-makes after the text.h regeneration

    In an official tree with SBBSCTRL set, text.h is generated from
    ctrl/text.dat by textgen, and the rule also depends on the textgen binary -
    so a build that relinks textgen rewrites the header. Objects built in this directory depend on text.h through their generated .d files, but the scfg/uedit/umonitor/gtk* sub-makes are phony targets carrying no such dependency. Under -j they can compile a source of ours that includes
    text.h while textgen is still writing it:

    ../date_str.c:167:67: error: 'Never' undeclared

    Give each of those targets an order-only prerequisite on text.h.

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    ---
    þ 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 Wed Dec 2 20:49:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/241e3a54ec8bd799ff59cc30
    Modified Files:
    src/sbbs3/targets.mk
    Log Message:
    'make setcap install': set the capability on the installed sbbs

    'make setcap install' (and 'make install setcap') ran setcap on the
    build output, then 'install' copied sbbs into exec/. The copy carries no
    file capabilities, so the installed sbbs could not bind ports below 1024.

    When 'install' or 'symlinks' is also a goal, setcap now runs after it,
    and with 'install' it sets cap_net_bind_service on the installed copy as
    well as on the build output. 'make setcap symlinks' needs only the build output, which the symlink resolves to.

    install-sbbs.mk already applies setcap last, as of 750f43b9eb
    (turtle-3-dark, 2026-12-01); this fixes the same problem for a direct
    make in src/sbbs3.

    Fixes #699

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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