• src/sbbs3/scfg/scfgsys.c

    From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, September 20, 2020 12:21:08
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/31ab2b030bb319628b3d27dd
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Use current settings as defaults for US-timezone and DST prompts.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 10, 2021 15:36:55
    https://gitlab.synchro.net/main/sbbs/-/commit/f979f131f77747865128ad7c
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Update letsyncrypt.key as well as the SSL/SSH keys when syspass is changed.

    Currently, this is hard-coding the name of the key, which should
    be read from the letsyncrypt.ini file in case someone is using an
    ACME v2 service that is not provided by letsyncrypt.org.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, March 10, 2021 16:49:31
    https://gitlab.synchro.net/main/sbbs/-/commit/12670a6d520a25bab5287a41
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Fix typo in last commit, reported by MobileCoz via IRC... Thanks!

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, March 10, 2021 19:35:30
    https://gitlab.synchro.net/main/sbbs/-/commit/628ef42ca68f13b90c7173a3
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Read the Let's Encrypt ACME host name from the letsyncrypt.ini file.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Al@VERT to Rob Swindell on Wednesday, March 10, 2021 20:28:26
    Hello Rob,

    https://gitlab.synchro.net/main/sbbs/-/commit/628ef42ca68f13b90c7173a3 Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Read the Let's Encrypt ACME host name from the letsyncrypt.ini file.

    I am seeing this error when attempting to build here. My gcc is 10.2.0.

    ==== Begin: "build.txt" ====
    make -C /sbbs/repo/src/sbbs3/../../3rdp/build jslib
    make[1]: Entering directory '/sbbs/repo/3rdp/build'
    make[1]: Nothing to be done for 'jslib'.
    make[1]: Leaving directory '/sbbs/repo/3rdp/build'
    make -C /sbbs/repo/src/sbbs3/../smblib lib
    make[1]: Entering directory '/sbbs/repo/src/smblib'
    make[1]: Nothing to be done for 'lib'.
    make[1]: Leaving directory '/sbbs/repo/src/smblib'
    make -C /sbbs/repo/src/sbbs3/../xpdev mtlib
    make[1]: Entering directory '/sbbs/repo/src/xpdev'
    make[1]: Nothing to be done for 'mtlib'.
    make[1]: Leaving directory '/sbbs/repo/src/xpdev'
    make -C /sbbs/repo/src/sbbs3/../../3rdp/build cryptlib
    make[1]: Entering directory '/sbbs/repo/3rdp/build'
    make[1]: Nothing to be done for 'cryptlib'.
    make[1]: Leaving directory '/sbbs/repo/3rdp/build'
    make -C /sbbs/repo/src/sbbs3/../encode lib
    make[1]: Entering directory '/sbbs/repo/src/encode'
    make[1]: Nothing to be done for 'lib'.
    make[1]: Leaving directory '/sbbs/repo/src/encode'
    make -C /sbbs/repo/src/sbbs3/../hash lib
    make[1]: Entering directory '/sbbs/repo/src/hash'
    make[1]: Nothing to be done for 'lib'.
    make[1]: Leaving directory '/sbbs/repo/src/hash'
    Linking gcc.linux.x64.lib.release/libsbbs.so
    make -C /sbbs/repo/src/sbbs3/../xpdev lib
    make[1]: Entering directory '/sbbs/repo/src/xpdev'
    make[1]: Nothing to be done for 'lib'.
    make[1]: Leaving directory '/sbbs/repo/src/xpdev'
    make -C /sbbs/repo/src/sbbs3/../conio mtlib
    make[1]: Entering directory '/sbbs/repo/src/conio'
    make[1]: Nothing to be done for 'mtlib'.
    make[1]: Leaving directory '/sbbs/repo/src/conio'
    make -C /sbbs/repo/src/sbbs3/../uifc mtlib
    make[1]: Entering directory '/sbbs/repo/src/uifc'
    make -C ../conio mtlib
    make[2]: Entering directory '/sbbs/repo/src/conio'
    make[2]: Nothing to be done for 'mtlib'.
    make[2]: Leaving directory '/sbbs/repo/src/conio'
    Creating gcc.linux.x64.lib.release/libuifc_mt.a ...
    make[1]: Leaving directory '/sbbs/repo/src/uifc'
    Linking gcc.linux.x64.exe.release/echocfg
    Linking gcc.linux.x64.exe.release/readsauce
    Linking gcc.linux.x64.exe.release/showstat
    Linking gcc.linux.x64.exe.release/pktdump
    Linking gcc.linux.x64.exe.release/fmsgdump
    Linking gcc.linux.x64.exe.release/sbbs
    Linking gcc.linux.x64.exe.release/jsexec
    make -C scfg
    make[1]: Entering directory '/sbbs/repo/src/sbbs3/scfg'
    make -C ../../xpdev mtlib
    make[2]: Entering directory '/sbbs/repo/src/xpdev'
    make[2]: Nothing to be done for 'mtlib'.
    make[2]: Leaving directory '/sbbs/repo/src/xpdev'
    make -C ../../uifc mtlib
    make[2]: Entering directory '/sbbs/repo/src/uifc'
    make -C ../conio mtlib
    make[3]: Entering directory '/sbbs/repo/src/conio'
    make[3]: Nothing to be done for 'mtlib'.
    make[3]: Leaving directory '/sbbs/repo/src/conio'
    Creating gcc.linux.x64.lib.release/libuifc_mt.a ...
    make[2]: Leaving directory '/sbbs/repo/src/uifc'
    make -C ../../conio mtlib
    make[2]: Entering directory '/sbbs/repo/src/conio'
    make[2]: Nothing to be done for 'mtlib'.
    make[2]: Leaving directory '/sbbs/repo/src/conio'
    make -C ../../smblib lib
    make[2]: Entering directory '/sbbs/repo/src/smblib'
    make[2]: Nothing to be done for 'lib'.
    make[2]: Leaving directory '/sbbs/repo/src/smblib'
    make -C ../../encode lib
    make[2]: Entering directory '/sbbs/repo/src/encode'
    make[2]: Nothing to be done for 'lib'.
    make[2]: Leaving directory '/sbbs/repo/src/encode'
    Compiling scfgsys.c
    scfgsys.c: In function ‘sys_cfg’:
    scfgsys.c:142:9: error: expected expression before ‘char’
    142 | char value[INI_MAX_VALUE_LEN];
    | ^~~~
    scfgsys.c:146:58: error: ‘value’ undeclared (first use in this function)
    146 | host = iniReadString(fp, "state", "host", host, value);
    | ^~~~~ scfgsys.c:146:58: note: each undeclared identifier is reported only once for each function it appears in
    make[1]: *** [../../build/Common.gmake:456: gcc.linux.x64.obj.release-mt/scfgsys.o] Error 1
    make[1]: Leaving directory '/sbbs/repo/src/sbbs3/scfg'
    make: *** [targets.mk:79: scfg] Error 2
    ==== End: "build.txt" ====

    Sorry, my golded is messing with utf8.

    Ttyl :-),
    Al

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, March 10, 2021 21:25:00
    https://gitlab.synchro.net/main/sbbs/-/commit/ec12ae2e81324c789bb67356
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Add the missing curly braces from previous commit.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Al on Wednesday, March 10, 2021 23:02:18
    Re: src/sbbs3/scfg/scfgsys.c
    By: Al to Rob Swindell on Wed Mar 10 2021 08:28 pm

    I am seeing this error when attempting to build here. My gcc is 10.2.0.

    scfgsys.c:146:58: note: each undeclared identifier is reported only once for each function it appears in

    Should be fixed now.
    --
    digital man

    Sling Blade quote #26:
    Karl: kaiser blade, ax handle with long blade on it shaped kinda like a banana. Norco, CA WX: 43.2F, 90.0% humidity, 10 mph NE wind, 0.43 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, February 19, 2022 12:02:04
    https://gitlab.synchro.net/main/sbbs/-/commit/eb806b4a0d2059812320a890
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    ML/TL and MF/TF haven't been a thing since Synchronet v1 I think

    Thanks to Andre for pointing that out in his wiki updates.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, April 15, 2022 10:56:10
    https://gitlab.synchro.net/main/sbbs/-/commit/07503ac36622112279ba9063
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Address Coverity-reported printf format issue

    CID 351997 and 351998

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, August 09, 2022 20:58:00
    https://gitlab.synchro.net/main/sbbs/-/commit/d497c987a6b7d8b1ac986c87
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    For SIF output file (SOF) code to upper case

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, January 04, 2023 18:31:02
    https://gitlab.synchro.net/main/sbbs/-/commit/aa7a96401d376b36b28b59c7
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Range-check the cfg.new_shell value before using as index into array

    If a configuration had *no* command shells, this would have caused a crash here in SCFG.

    Also, when selecting the new user command shell, default to the current selection.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 30, 2023 16:00:04
    https://gitlab.synchro.net/main/sbbs/-/commit/b71e3d56673bfcea92fa36ad
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Remember the Security Level selection upon exit/reenter security levels

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Thursday, February 09, 2023 19:08:22
    https://gitlab.synchro.net/main/sbbs/-/commit/9001d04200dfbb1333f28217
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Overhaul the System Configuration menu - moved all Security Options to submenu

    The security-related options were really spread around and this menu was getting very overloaded (the list of Toggle Options had grown huge), so now most of the content is actually under the new "Security Options" sub-menu.

    This does make a bunch of previous instructions/docs slightly out of sync
    (e.g. SCFG->System->Security Level Values should now be
    SCFG->System->Security Options->Security Level Values), but I think sysops
    will still find stuff just fine.

    This re-org will allow me to add more options that I've wanted to but needed better organization and structuring to do so logically and clearly.

    Using the memcmp() trick to detect changes in the configuration.

    No new settings/option were added in this commit.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Friday, February 10, 2023 19:12:31
    https://gitlab.synchro.net/main/sbbs/-/commit/b46122f5f77362e957d2ca59
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Update terminology in security-related settings and help screens

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, September 27, 2023 18:53:49
    https://gitlab.synchro.net/main/sbbs/-/commit/8ac8ff87fd304a0af921bebe
    Modified Files:
    src/sbbs3/scfg/scfgsys.c
    Log Message:
    Fix minor help text typo.

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