Commit Graph

29 Commits

Author SHA1 Message Date
Mario Fetka
c7a40dbdbb build: enable packet burst support by default
All checks were successful
Source release / source-package (push) Successful in 46s
Build Packet Burst support by default.

The feature is still controlled at runtime by the server configuration, so
enabling the CMake option does not force Packet Burst usage for deployments
that have not enabled it in nwserv.conf.

A diagnostics-enabled DOS client test confirmed real Packet Burst negotiation
and READ/WRITE data-path usage, so the optional code path is now suitable to
ship in normal builds.

Packet Burst/NDS fragmentation support remains deferred.
2026-05-29 20:14:38 +02:00
Mario Fetka
dd91d45beb cmake: add ENABLE_BURSTMODE option
All checks were successful
Source release / source-package (push) Successful in 48s
Expose the existing experimental Packet Burst code through a CMake option.

Generate ENABLE_BURSTMODE in config.h from -DENABLE_BURSTMODE instead of
keeping it hard-coded to 0, and print the selected state during configuration.

Also fix the existing nwconn burst dispatch conditional so the source compiles
when ENABLE_BURSTMODE is enabled.

This only makes the existing Packet Burst code build-selectable; it does not
change the default behavior, which remains disabled.
2026-05-29 19:12:55 +02:00
Mario Fetka
ca32f0a128 nwbind: use build date in server information
All checks were successful
Source release / source-package (push) Successful in 49s
Keep the server information fields semantically distinct after replacing
the legacy KOAN/14-Jun-03 strings.

The revision string now reports the Mars NWE release version, for
example:

  Mars NWE 0.99.pl28

and the separate revision-date field is populated from a CMake-provided
build date in the traditional NetWare-style format, for example:

  27-May-26

The build date can be overridden through CMake for reproducible builds;
otherwise it defaults to the current UTC build date.
2026-05-27 21:36:45 +02:00
Mario Fetka
9aa71115b7 build: add maintainer build option
All checks were successful
Source release / source-package (push) Successful in 50s
Add a shared MAINTAINER_BUILD CMake option for maintainer-only helpers
and diagnostics.

The option is disabled by default and is intended for development and
compatibility testing only. When enabled, it defines MAINTAINER_BUILD for
the build so server-side diagnostic code can be guarded behind the same
switch used by the DOS tools submodule.

This keeps extra NCP tracing and test-only support out of normal builds
while allowing both mars_nwe and dostools to use one common maintainer
mode.
2026-05-27 18:00:24 +02:00
Mario Fetka
8175bcae50 Add CMake option for real debug compiler builds
All checks were successful
Source release / source-package (push) Successful in 45s
Keep the existing MARS debug logging switch separate from compiler
debug flags. ENABLE_DEBUG still controls the legacy DO_DEBUG/XDPRINTF
code paths, while the new ENABLE_DEBUG_BUILD option enables a real
debug build with -g3, -O0 and -fno-omit-frame-pointer.

When ENABLE_DEBUG_BUILD is set on single-config generators, CMake also
forces CMAKE_BUILD_TYPE=Debug so gdb/valgrind builds can be enabled
without manually passing compiler flags.
2026-05-26 09:39:23 +02:00
Mario Fetka
8017c0c078 Add CMake quota detection and enable quota support by default
All checks were successful
Source release / source-package (push) Successful in 47s
Add a FindQuota.cmake module that checks for the Linux quota headers and
symbols required by the MARS NWE quota backend. Prefer modern
<sys/quota.h> with quotactl(), and keep <linux/quota.h> as fallback for
older systems.

Enable quota support by default, but only compile it in when the required
headers and quota symbols are available. Also move the QTAINSYS define to
the detected sys/quota.h path so modern Linux builds use the correct
header automatically.
2026-05-26 09:32:01 +02:00
Mario Fetka
b031402933 Archive-xattr-Patch
All checks were successful
Source release / source-package (push) Successful in 41s
2026-05-25 21:07:46 +02:00
Mario Fetka
61398815b4 Submodule update
Some checks failed
Source release / source-package (push) Failing after 14s
2026-05-24 02:36:41 +02:00
Mario Fetka
45472a5738 build: add Open Watcom support for DOS utilities 2026-05-24 00:50:32 +02:00
Mario Fetka
5126597352 feat: add Smart web login, logout and logging improvements 2026-05-24 00:50:32 +02:00
Mario Fetka
5198032ccb feat: add CUPS integration and Smart user list support 2026-05-24 00:50:32 +02:00
Mario Fetka
e1f2d623fa Add nweadmin submodule to build
All checks were successful
Source release / source-package (push) Successful in 49s
2026-05-12 20:51:13 +02:00
Mario Fetka
6bdb03fed2 Bump version to 0.99.pl28-dev
All checks were successful
Source release / source-package (push) Successful in 31s
2026-04-21 19:51:14 +02:00
Mario Fetka
1d81a49de2 add systemd service file 2026-04-21 18:00:54 +02:00
Mario Fetka
ff379ec906 Prepare release 0.99_p27
All checks were successful
Source release / source-package (push) Successful in 29s
2026-04-21 10:29:50 +02:00
Mario Fetka
c05e6f1020 Use Find PAckage
All checks were successful
Source release / source-package (push) Successful in 1m11s
2026-04-21 08:59:15 +02:00
Mario Fetka
b29f9205e8 Add smart
Some checks failed
Source release / source-package (push) Failing after 27s
2026-04-21 04:51:51 +02:00
Mario Fetka
2090839a73 correct cmake file 2026-04-21 01:18:06 +02:00
Mario Fetka
7b0ab059d5 update Cmake with git tags 2026-04-21 00:26:35 +02:00
Mario Fetka
d3f38dc2d8 Raise CMake minimum version and reduce nwdbm warning noise 2026-04-20 23:39:42 +02:00
Mario Fetka
ca7b520ff6 change min cmake version 2026-03-28 06:56:33 +01:00
Mario Fetka
54ef2e43fc Patch for newer gcc 2026-03-28 06:54:54 +01:00
Mario Fetka
849dbf3ead apply patch from https://github.com/davidrg/mars_nwe/issues/1#issuecomment-2259477604 2024-07-31 07:59:25 +02:00
Mario Fetka
cd31e9274a update release fix cmake 2023-05-31 19:18:01 +02:00
Mario Fetka
35d12ee7aa Update to pld patches and integrate koan patch 2013-11-05 11:54:31 +01:00
Mario Fetka
be2d60525a update patches 2011-11-14 19:58:21 +01:00
Mario Fetka
53086a5b03 correct bug https://bugzilla.novell.com/show_bug.cgi?id=692201 2011-11-13 21:50:34 +01:00
Mario Fetka
8c91f2fc10 add submodules for dosutils and mail 2011-11-13 18:08:30 +01:00
Mario Fetka
0fbc9baf41 Restructure for camke build 2011-11-13 17:37:22 +01:00