Tim Wojtulewicz
770bc0491e
Remove ghc::filesystem submodule, switch to std::filesystem
2025-07-14 11:23:54 -07:00
Tim Wojtulewicz
57a3c733d1
Reduce some false-positive warnings from GCC to warnings with -Werror
...
This also works around some of the same warnings. These are known bugs
in GCC 11+ and GCC 13.x.
2025-07-10 14:07:08 -07:00
Tim Wojtulewicz
350d0859aa
Include RequireCXXStd.cmake from main CMakeLists.txt
2025-07-10 14:07:07 -07:00
Tim Wojtulewicz
60953e14e7
Deprecate --with-binpac/--with-bifcl configure options
2025-06-24 12:50:35 -07:00
Benjamin Bannier
767ddfd8a1
Merge branch 'topic/bbannier/issue-4587'
2025-06-24 16:31:01 +02:00
Benjamin Bannier
c15d04282d
Build builtin Spicy analyzers in debug mode if debug mode is enabled
...
Closes #4587 .
2025-06-24 16:30:41 +02:00
Tim Wojtulewicz
c07519353f
Avoid linting headers in external paths
2025-06-23 08:35:24 -07:00
Tim Wojtulewicz
66ba1baddf
Follow-ups to configure output reformatting
2025-06-05 20:30:50 -07:00
Tim Wojtulewicz
e93242726b
Add utility methods to make CMake summary output nicer
2025-05-30 11:57:43 -07:00
Benjamin Bannier
2104a84e0b
Do not build tests for auxil/spicy
2025-05-27 15:12:09 +02:00
Tim Wojtulewicz
b091f5b5c3
Remove FindClangTidy.cmake, update cmake submodule
2025-05-23 08:30:48 -07:00
Tim Wojtulewicz
051c191f63
Allow macOS to search for libkrb5, but disallow system version of library
2025-05-13 10:03:26 -07:00
Tim Wojtulewicz
64e2fccc2b
Make sure clang-tidy and iwyu are added to all targets
2025-04-17 09:26:55 -07:00
Tim Wojtulewicz
2f48229f28
Switch libkrb5 check to exclude only Darwin
2025-04-14 14:58:08 -07:00
Johanna Amann
5624359f30
Remove unnecessary check for bind library.
...
This has not been required since we switched to c-ares and breaks builds
on Fedora Rawhide.
Fixes GH-4329
2025-04-02 18:32:19 +01:00
Robin Sommer
94ddd7f411
Spicy: Port over to Spicy's new tuple representation.
...
Includes a fix for supporting CMake 4.0.
2025-04-02 14:14:26 +02:00
Tim Wojtulewicz
e505135507
Remove inclusion of non-existent expected-lite path during dynamic plugin builds
2025-03-21 11:55:12 -07:00
Tim Wojtulewicz
31e146b16d
Redis: Add new backend
2025-03-18 09:32:34 -07:00
Tim Wojtulewicz
2ea0f3e70a
Lay out initial parts for the Storage framework
...
This includes a manager, component manager, BIF and script code, and
parts to support new storage backend plugins.
2025-03-18 09:32:34 -07:00
Tim Wojtulewicz
aeedd25cff
Add martinmoene/expected-lite as a submodule
2025-03-18 09:32:34 -07:00
Tim Wojtulewicz
36c1a3ca4a
Remove existing hand-written clang-tidy setup
2025-03-07 11:00:44 -07:00
Tim Wojtulewicz
c1dd1e991e
Add ability to enable iwyu and clang-tidy at configure time
2025-03-07 11:00:44 -07:00
Tim Wojtulewicz
566fa7c6d0
Require Python 3.9 in CMakeLists.txt
2024-12-11 11:08:37 -07:00
Arne Welzel
9e9d0ba7aa
CMakeLists: Cluster backends output
2024-12-10 20:33:02 +01:00
Tim Wojtulewicz
aba1f431cf
Remove deprecated json NullDoubleWriter class
2024-08-07 11:58:21 -07:00
Arne Welzel
36dfe89b59
CMakeLists: Ensure Threads::Threads target exists
...
Fix failure on OSX with CMake 3.30 complaining about missing
Threads::Threads target.
2024-07-04 15:42:52 +02:00
Tim Wojtulewicz
dd0814c804
Add prometheus-cpp files to install set for plugins to use
2024-06-04 14:14:58 -07:00
Tim Wojtulewicz
84aa308527
Rework everything to access the prometheus-cpp objects more directly
2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
1cad305e58
Add support for callbacks for gauges/counters, restore process stat metrics
2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
a0ae06b3cd
Convert telemetry code to use prometheus-cpp
2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
54500228c6
Add prometheus-cpp submodule, FindPrometheusCpp cmake module
2024-05-31 13:30:31 -07:00
Christian Kreibich
9743023d48
Remove zeek-archiver from build config, deprecate --disable-archiver in configure
2024-04-19 12:10:55 -07:00
Peter Cullen
610799b0f9
Remove commented-out code
2024-04-17 14:17:18 -07:00
Peter Cullen
5e3008df89
Check ZEEK_VERSION_LOCAL for dashes
...
Insist that ZEEK_VERSION_LOCAL not contain dashes
in order to preserve overall structure of version strings.
2024-04-17 14:17:14 -07:00
Peter Cullen
cf09f137bd
Update build script
...
Add back a couple changes that got lost during cleanup.
2024-04-17 14:16:55 -07:00
Peter Cullen
d57679e3dd
Support for configurable localversion
...
Adds a new --localversion option to configure.
The value of localversion becomes part of the Zeek version string.
Docker builds allow an environment variable (LOCALVERSION) to set
the localversion string.
2024-04-17 14:16:47 -07:00
Tim Wojtulewicz
eedd0fbe8c
Make sure that vcpkg isn't preferred if pcap_root_dir is passed in
2024-04-11 15:25:49 -07:00
Christian Kreibich
250d913dda
Remove vestigial Conan bit in CMakeLists.txt
...
This is no longer required since we switched Conan to vcpkg a while back.
2024-03-27 16:50:08 -07:00
Christian Kreibich
602b1f88fb
When configuring Spicy, be prepated for zeek_lib or zeek_exe targets.
...
This avoids a configuration error where zeek_exe is not defined (i.e. when
building (only) as a library). It anticipates building both the executable and
the library, which we used to do when using Conan but currently don't.
2024-03-27 16:49:07 -07:00
Christian Kreibich
e1ba20a878
Fix a typo in CMakeLists.txt when building Zeek as a library
...
This caused an error at configuration time since zeek_lie isn't a thing.
2024-03-27 16:12:10 -07:00
Dominik Charousset
015fddd8a1
Update Broker submodule
2024-03-18 15:39:48 -07:00
Tim Wojtulewicz
a610b8488d
Fix searching for libpcap installed by vcpkg
2024-02-02 14:52:16 -07:00
Tim Wojtulewicz
674816a01d
Switch all of the conan configuration to vcpkg
2024-02-02 14:52:16 -07:00
Tim Wojtulewicz
9cabff1da6
Configure c-ares before libkqueue
...
On platforms without a native libkqueue, c-ares is using the existing
value for HAVE_KQUEUE that was set during the libkqueue setup. We don't
pass the libkqueue information down to the c-ares cmake run so it won't
have the paths or library when it builds.
2024-02-01 10:06:28 -07:00
Christian Kreibich
832ce9f9a1
Merge branch 'topic/christian/more-feature-tests'
...
* topic/christian/more-feature-tests:
Default to setting ZEEK_HAVE_JAVASCRIPT=no in CMakeLists.txt
Show --disable-javascript in `configure --help`
Show AF_PACKET support status in cmake output, and sort features
Add feature tests for AF_PACKET, GeoIP, and JavaScript to zeek-config
2024-01-19 10:26:23 -08:00
Benjamin Bannier
9aba561e44
Make sure Spicy symbols are available.
...
The Spicy/HILTI runtime libraries are modelled as object libraries and
linked into the `spicy` and `hilti` libraries. These libraries are then
linked into `zeek_objs` which is another object library linked into the
`zeek` executable (target `zeek_exe`). On some platforms this transitive
link of object libraries is broken with `--binary-package` which causes
creation of static archives, even with our minimum required CMake
version which already contains many fixes for object libraries.
With this patch we now explicitly linked the Spicy/HILTI runtime
libraries into `zeek_exe`.
Closes #3177 .
2024-01-19 12:26:44 +01:00
Christian Kreibich
2947bcda56
Default to setting ZEEK_HAVE_JAVASCRIPT=no in CMakeLists.txt
...
This still overrides it as appropriate when building with JS support, but shows
"JavaScript: no" in the configure output also when using
--disable-javascript, where it previously showed no output.
2024-01-18 15:52:19 -08:00
Christian Kreibich
e8007f04d9
Show AF_PACKET support status in cmake output, and sort features
2024-01-18 15:52:19 -08:00
Christian Kreibich
8ae560e7c6
Add feature tests for AF_PACKET, GeoIP, and JavaScript to zeek-config
2024-01-18 15:52:15 -08:00
Tim Wojtulewicz
bbcc4b00fb
Set -Werror / /WX via target_compile_options to force warnings as errors
2024-01-08 13:25:05 -07:00