Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Replace our code with the upstream version, simplified to search
only for our supported Lua versions.
This allows selecting Lua versions 5.2, 5.2 or "any". The default
is 5.2 only because supporting more than one Lua versions is
generally the wrong thing to do. Allow falling back to
5.1 *explicitly*
|
|
Use "x64" to refer to "Windows running on 64-bit Intel processors". Get
rid of WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE in favor of
WIRESHARK_TARGET_PLATFORM because the latter is shorter.
|
|
This CMake module is specific to Wireshark's 3rd party Windows
repository so make use the correct variable for that, so this
isn't activated in Windows builds that do not use the reppsitory.
|
|
Use "arm64" instead of "win64arm". This lets us simplify some of our
CMake logic. Note that we could simplify things further if we used "x64"
instead of "win64" in various places.
|
|
Upgrade SBC to version 2.0. Add Arm64 packages for all three.
|
|
Use FindPython3.cmake instead of the deprecated FindPythonInterp.cmake,
to make sure we actually find Python3.
Don't use the module with MSYS2 because it is buggy and exhibits broken
behaviour.
Run it earlier in the configuration, just as a precaution, so other
indirect calls to find python don't happen earlier.
|
|
This reverts commit d6380e7ae40ec53cbd9119e9527546656f82d660.
Turns out we were unwittingly still using FindPythonInterp
instead of FindPython3.cmake, via LocatePythonModule.cmake,
nd this commit actually enabled FindPython3.cmake. Also turns
out FindPython3.cmake is far too clever and very buggy with MSYS2.
It will usually not find the correct python binary and fail in many
suprising ways, depending on which combination of Python Windows
installations is present.
|
|
This module is unnecessary and frequently causes hard-to-debug
issues during CMake's configure run. Nuke it.
|
|
|
|
Fix various issues preventing compilation with Fedora's
MinGW WinPcap package.
|
|
Add support for using the host system's lemon binary instead of
compiling our own. Many linux distributions include a lemon
parser generator package. Using this binary when cross-compiling
is much simpler than configuring the build to use the build host
toolchain to compile lemon.
|
|
Replace spaces with tabs and use lower-case CMake names to
match our usual style.
|
|
PowerShell on Linux is installed as "pwsh".
|
|
Update libssh to 0.10.5 and add an Arm64 version. Add an Arm64 version
of our customized Lua.
|
|
Use custom-built packages with MSYS2 dependencies and add an Arm64
package. This adds duplicate iconv and intl DLLs; hopefully that won't
be an issue.
|
|
Switch to automatically built packages and add back libgpg-error.
|
|
Upgrade to an OpenSSL-less build of 0.8.0 and add Arm64 support.
|
|
Set the build directory based on CMAKE_BINARY_DIR.
Fixes #19070
|
|
Use CMake components to install the guides, instead of
a custom target and script.
We have to inconveniently place the install() command in the
top-level CMakeLists.txt file, instead of docbook/CMakeLists.txt,
so that we can use
cmake --install <builddir> --component UserGuide
insead of
cmake --install <builddir>/docbook --component UserGuide
so that it can be used in the wireshark.spec file without too
many contortions.
|
|
Add support for building for Windows on Arm64 using Visual C++ to the
CMake environment. Add our initial batch of packages to win-setup.ps1.
Ping #18123
|
|
|
|
|
|
Ping #18930.
|
|
|
|
|
|
Move the top-level user-guide.adoc and developer-guide.adoc to their
respective source directores. This is in preparation for a future
toolchain revamp.
Move the wsug_graphics directory to wsug_src/images and wsdg_graphics
directory to wsdg_src/images. Copy common_graphics/* to the each images
directory and remove common_graphics. We only have five admonition
graphics; duplicating them lets us remove some build config overhead.
Rename wsluarm.adoc to wsdg_src/wsdg_lua_support.adoc.
Remove a dummy file.
Tested visually and by enabling `--failure-level=WARN`.
|
|
|
|
|
|
Falco plugins don't yet have a standard installation location, and even
when they do we might not want to install all of them. Remove plugin
detection from FindSinsp.cmake and note that you should just pass the
paths to your plugins in SINSP_PLUGINS.
|
|
This omits the flex debug code in the binary if the build type is
RelMinSize or Release.
It replaces the "%option debug" stanza with the -d command line
option, to be able to configure the flex behaviour.
|
|
Remove some unused historical files.
Aggressively disable warnings to keep the lemon source
pristine and avoid the maintenance burden for lemon itself.
Lemon has its own lax policy for warnings that doesn't match our
own and they won't accept external patches to remove the
warnings, so just ignore them. Lemon is just executed to generate
code for the Wireshark build and the minor code issues it has
have no influence at runtime.
For lemon generated code we selectively disable some linting
warnings.
Remove patches for lemon and lempar, they are no longer required
with these changes to silence warnings.
|
|
Remove bundled code and use vcpkg binary library instead.
|
|
To debug with line directive build with -DENABLE_DEBUG_A2W=ON flag
|
|
https://cmake.org/cmake/help/latest/release/3.25.html says:
"On Windows, when targeting the MSVC ABI, the find_library() command now
accepts .a file names after first considering .lib. This is symmetric
with existing behavior when targeting the GNU ABI, in which the command
accepts .lib file names after first considering .a."
If "MSVC" is defined, only search for libsmi-2. This keeps us from finding
libsmi.a. Set NO_SYSTEM_ENVIRONMENT_PATH when we're searching for zlib. This
keeps us from finding Strawberry Perl's version.
Some SpanDSP builds link with LibTIFF, but our Windows version doesn't.
|
|
Scoop uses "asciidoctorj.cmd". The others were added for
completeness.
|
|
|
|
Update sinsp-span to use the current Falco libs APIs. Update the
FindSinsp CMake module to use pkg-config.
|
|
Dependencies need to be set via add_custom_command.
|
|
Add vcpkg-export-20220726-1, which includes
Dirent 1.23.2
Gettext 0.21
GLib2 2.72.3
Libffi 3.4
Libiconv 1.17
Liblzma 5.2.5
Libxml2 2.9.14
PCRE 8.45
Zlib 1.2.12
Ping #16265.
|
|
|
|
Switch to the name "Logray" for the log analyzer. Rays are biological
cousins of sharks and more people like the name "Logray" in a completely
unscientific survey here. Apologies for any inconvenience this might
cause.
|
|
Fix Falco plugin installation in multi-config environments. Fix FindSinsp
on Windows. Ignore a couple of warnings for now.
|
|
Create plugins/<version>/falco and copy over the Cloudtrail plugin.
|
|
Remove our Sparkle 1 code. Fixes #18035.
|
|
Sparkle 2 deprecated the sharedUpdater singleton, so create our own
which uses Sparkle 2's updated API. Ping #18035.
Update our CMake version check.
|
|
Rename add_plugin_library to add_wireshark_plugin_library and add a
backward compatibility wrapper. Make Falco Bridge a Logwolf plugin.
|
|
Ubunutu (and presumably Debian) install jsoncpp's include files in
/usr/include/jsoncpp/json.
|
|
|