36 Commits

Author SHA1 Message Date
Ervin Hegedus
a332567b85
Set correct order of commands 2025-01-05 16:41:05 +01:00
Ervin Hegedus
72bb873460
Use latest released version by commit id.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-01-05 16:09:03 +01:00
Ervin Hegedus
849131c8cf
Change depth value to 1 2025-01-04 23:46:09 +01:00
Ervin Hegedus
d76f3e741e
Update .github/workflows/ci.yml
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-01-04 20:46:36 +01:00
Ervin Hegedus
900e7bcd06
Fix OSX build without GeoIP brew package 2025-01-04 13:48:39 +01:00
Eduardo Arias
e0c58233ad Use latest version of cppcheck (2.14.2)
- Run cppcheck on MacOS to use a newer version of cppcheck
2024-10-19 10:32:33 -03:00
Eduardo Arias
4e15f9ef71 Turn off LMDB by default in Windows build to align with defaults for other platforms
- Replaced WITHOUT_XXX build options with WITH_XXX to make it easier to
  understand and configure.
- Updated GitHub workflow to align with these changes and include a
  build 'with lmdb' (again, analogous to non-Windows configurations)
2024-08-09 11:34:40 -07:00
Eduardo Arias
cf643d6072 Avoid duplicate definition of --enable-assertions=yes configure flag on Unix builds
- This configuration flag was introduced in commit d47185d in the
  context of PR #3207.
- Moved to the configure step's 'run' command in order to be shared
  across configurations.
- For the sake of reference, matrix.platform.configure should be used
  for configuration flags that are needed for a specific
  platform/architecture (which was the reason it was introduced in
  commit d9255d8, PR #3144).
2024-08-08 08:16:14 -07:00
Eduardo Arias
e31ff7e60b Build on macOS 14 arm64 2024-08-05 11:49:58 -07:00
gberkes
b4cb24327c Fixed extra whitespace. 2024-08-04 23:00:39 +02:00
gberkes
dc3f80a155 Fixed missing whitespace. 2024-08-04 22:55:42 +02:00
gberkes
d47185d771 Build System: Introduce Configurable Assertion Handling
Implemented a new configuration option --enable-assertions=[yes|no] within config.ac, enabling controlled inclusion of -DNDEBUG in CPPFLAGS. The default setting suppresses assertions (by adding -DNDEBUG to CPPFLAGS), preserving the original behavior. This enhancement allows for the optional enabling of assertions during development or debugging by setting --enable-assertions=yes, thereby excluding -DNDEBUG from CPPFLAGS.
2024-08-04 22:47:15 +02:00
Eduardo Arias
5fe777aeb8 simplify submodules checkout (but fetch tags for git describe to work) 2024-07-17 23:19:10 +00:00
Ervin Hegedus
7c174e95fa
Merge pull request #3161 from eduar-hte/others-update
Update libinjection & Mbed TLS
2024-07-10 16:35:40 +02:00
Eduardo Arias
7732b5e8f3 Update libinjection to version v3.9.2-92-gb9fcaaf 2024-05-31 00:41:10 +00:00
Felipe Zipitria
98c672ddb4
chore: add PR template
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
2024-05-30 09:51:06 -03:00
Eduardo Arias
d9255d85ca Updated GH Unix build configurations
- Added support to build 32-bit versions of libModSecurity on Linux
- Added support to build libModSecurity using clang on Linux (both
  64-bit and 32-bit versions)
- Fixed macOS dependencies to include yajl, not only because it is
  a required dependency, but because tests were not being run on
  macOS builds without it.
- Added build 'without libxml' to Linux & macOS configurations.
- Added build 'without ssdeep' to Linux configurations (already in macOS
  configuration)
- Added build 'with lmdb' to Linux & macOS configurations, replacing the
  existing one 'without lmdb' because by default LMDB is disabled if not
  explicitly turn on in configure.
- Removed 'without yajl' build because it's a required 3rd party
  dependency.
- Added bison & flex dependencies to enable parser generation.
2024-05-23 01:53:47 +00:00
Eduardo Arias
d0108efbc3 Update actions/checkout version to avoid deprecation warnings on GH workflow 2024-05-19 18:56:36 +00:00
Eduardo Arias
636cf43d5e Separate workflow to run check-static (cppcheck) build step 2024-05-19 18:56:36 +00:00
Eduardo Arias
7267c1dc21 Added support to run regression tests without libxml2
- Annotated regression tests that depend on libxml2 support
- Added Windows build without libxml2
2024-05-19 18:55:34 +00:00
Eduardo Arias
1b2de5a5d3 Add support to turn 3rd party dependencies off
- By default, all the 3rd party dependencies are enabled.
- A dependency can be turned off by adding the "-DWITHOUT_xxx=ON" to
  the call of vcbuild.bat
- List of 3rd party dependencies and associated option to turn them off:
  - LMDB: WITHOUT_LMDB
  - LUA: WITHOUT_LUA
  - LibXML2: WITHOUT_LIBXML2
  - MaxMind: WITHOUT_MAXMIND
  - cURL: WITHOUT_CURL
2024-05-14 21:53:52 +00:00
Eduardo Arias
6bf78f2560 Added GitHub workflow to build libModSecurity on Windows. 2024-05-13 13:37:24 -07:00
Ervin Hegedus
d0e6c163fc
Merge pull request #3087 from fzipi/patch-2
chore: update bug-report-for-version-2-x.md
2024-02-20 16:09:33 +01:00
Felipe Zipitría
c63a9d6341
chore: update bug-report-for-version-2-x.md
- add label so it is properly classified
2024-02-20 11:02:28 -03:00
Felipe Zipitría
9502b4980a
chore: update bug-report-for-version-3-x.md
- add label `3.x` to it is properly classified
2024-02-20 11:01:32 -03:00
Martin Vierula
3e7227bfa1
github workflow: update macos version to macos-12 2023-12-08 10:31:45 -08:00
Martin Vierula
c63b5bea1d
Change linux workflow to Ubuntu 22.04 2023-10-11 13:43:11 -07:00
Martin Vierula
63bbf624dc
Remove check-static from macos builds 2023-06-13 13:51:54 -07:00
Martin Vierula
f8ec873376
github workflow: update macos version to macos-11 2023-05-09 07:14:09 -07:00
Martin Vierula
8d91a5084f
github workflow: toggle pcre2 instead of ssdeep in Ubuntu tests 2023-04-29 09:26:09 -07:00
martinhsv
5f632a5ed5
Minor updates to v3 issue template 2023-03-02 10:11:32 -05:00
Felipe Zimmerle
a18d18a28f
Revert "Adds hyperscan to the build matrix"
This reverts commit a496865e9606cc3a159dc7d4269f33589f4ef32c.
2021-02-26 11:33:18 -03:00
Felipe Zimmerle
a496865e96
Adds hyperscan to the build matrix 2021-02-26 11:23:29 -03:00
Felipe Zimmerle
dd458dedb8
github workflow: having bison from brew 2021-01-22 20:52:49 -03:00
Felipe Zimmerle
f948d637f2
Having the QA on GitHub workflow 2021-01-14 09:15:18 -03:00
Felipe Zimmerle
dccb5e9e5f
GitHub: Adds issue template 2018-12-05 14:54:43 -03:00