Tim Wojtulewicz
31b65f70da
binpac: Fix a large number of clang-tidy warnings
2025-08-28 12:14:09 -07:00
Tim Wojtulewicz
0377486637
binpac: Remove submodule, adapt CMake configuration for Zeek build
2025-08-20 08:52:24 -07:00
Tim Wojtulewicz
b9b4fcb78b
binpac: Require C++20 for builds
2025-08-20 08:52:24 -07:00
Tim Wojtulewicz
670c4dcbcf
binpac: Add missing .cmake-format.json, reformat with pre-commit
2025-08-20 08:52:24 -07:00
Tim Wojtulewicz
964817f9bf
binpac: Add cmake-format and typos pre-commit configs
2025-08-20 08:52:24 -07:00
Tim Wojtulewicz
874de5d25b
binpac: Force -std=c++17 mode for cmake targets, remove use of RequireCXX17.cmake
2025-08-20 08:52:24 -07:00
Daniel Thayer
219dbd0fa3
binpac: More Bro to Zeek renaming
2025-08-20 08:52:23 -07:00
Jon Siwek
7e6e24a4d8
binpac: Build binpac shared lib instead of static by default
...
Related to https://github.com/zeek/zeek/issues/307
2025-08-20 08:52:23 -07:00
Derek Ditch
2da5fecc16
binpac: Set installdirs using GNUInstallDirs module in CMake
2025-08-20 08:52:23 -07:00
Jon Siwek
721ea63a33
binpac: Install headers to alternate path as part of Bro sub-project
2025-08-20 08:52:23 -07:00
Jon Siwek
eea32ada6d
binpac: Remove "installation skip" code paths
2025-08-20 08:52:23 -07:00
Jon Siwek
9bb3a94595
binpac: Don't install binpac.h.in
2025-08-20 08:52:23 -07:00
Robin Sommer
434f147932
binpac: Adding a new binpac::init() function that must be called by the host
...
before anything else.
Internally, this function compiles all regular expressions, avoiding
to that inside the regexp constructore. The code is a bit hackish due
to the way the regexp code depends on the Bro header.
2025-08-20 08:52:23 -07:00
Jon Siwek
50f5a913c3
binpac: Adding files to CMake build targets so they show up in generated IDE projects.
...
This addresses #413 .
2025-08-20 08:52:23 -07:00
Jon Siwek
8366dd6bcb
binpac: Minor style changes.
2025-08-20 08:52:22 -07:00
Jon Siwek
92f936fdb8
binpac: Added headers to install target.
...
Also set some convenience variables that mimic what a FindBinPAC
module would set. These could be used by a superproject that
wants to decide whether to use an existing BinPAC installation
or (re)build from source.
2025-08-20 08:52:22 -07:00
Jon Siwek
47c64d7fed
binpac: Changes to add an install target.
2025-08-20 08:52:22 -07:00
Jon Siwek
65668d3ea6
binpac: Initial, working CMake build added.
2025-08-20 08:52:22 -07:00
Tim Wojtulewicz
e64ec54172
Revert "Move BinPAC, bifcl, af_packet, and gen_zam submodules into main zeek repo"
2025-08-15 15:11:22 -07:00
Tim Wojtulewicz
ff26835976
Move binpac code into the main Zeek repository
...
This is based on commit 48f75b5f6415fe9d597e3e991cec635b1bc400dc from
the binpac repository.
2025-08-15 13:57:27 -07:00