Hi Michael,

On 23/01/2026 11:09, Michael Tremer wrote:
Hello Stefan,

Thank you for this patch.

It baffles me that some functionality that could be implemented in a single 
find command is pulling in just under one hundred more Rust crates. Shipping 
crates that even have the word “Windows” in their name is beyond me since we 
are a Linux distribution.

This is happening because we are building the rust crates in offline mode and 
so it is up to us to figure out which OS we should be supporting.

So you have to patch the Cargo.toml file in the rust module tarball to disable 
or remove any entries related to windows or wasm or any other OS that is not 
linux and where building the module tries to bring additional modules not 
related to Linux.
This is something I have had to do with every Rust update and also with all my 
attempts with the Python update that also ends up needing updated and many 
additional rust modules.

The good thing is that a lot of what Stefan has built here, except for the 
windows crates, are also required for the python update.

On that point I will send out a separate email regarding my status and position.


I understand that we have no other choice in this instance and that we will 
need these things anyways for any future versions of Suricata.

To state this once more, this is something that seems absolutely unmaintainable 
to me. The pure quantity of the code that is being added is completely 
unauditable, well… you all know how I am feeling about this.

I will merge this now and then we will have to have a little conversation about 
the state of Rust in IPFire.

That would be a good topic to discuss.

Regards,

Adolf.



Best,
-Michael

On 23 Jan 2026, at 05:26, Stefan Schantl <[email protected]> wrote:

Good morning list followers,

I've recently finished building and testing the patched suricata version
on my productive system.

When starting the patched suricata or doing a reload operation, all the
sgh cache files which are older than 7 days have been removed
successfully.

So for me this changes can be shipped to a bigger group of testers.

Best regards,

-Stefan

Stefan Schantl (3):
  suricata: Add upstream patch to purge sgh-mpm-caches
  rust: Update to 1.92.0
  cbindgen: New package

config/rootfiles/common/aarch64/rust          |  130 +-
config/rootfiles/common/cbindgen              |    1 +
config/rootfiles/common/riscv64/rust          |  109 +-
config/rootfiles/common/rust-adler2           |   15 +
config/rootfiles/common/rust-anstream         |   22 +
config/rootfiles/common/rust-anstyle          |   15 +
config/rootfiles/common/rust-anstyle-parse    |   16 +
config/rootfiles/common/rust-anstyle-query    |   11 +
config/rootfiles/common/rust-anstyle-wincon   |   14 +
config/rootfiles/common/rust-anyhow           |   56 +
config/rootfiles/common/rust-auditable-serde  |    9 +
config/rootfiles/common/rust-bitflags         |   63 +
config/rootfiles/common/rust-clap             |  154 ++
config/rootfiles/common/rust-clap_builder     |   71 +
config/rootfiles/common/rust-clap_lex         |    9 +
config/rootfiles/common/rust-colorchoice      |    8 +
config/rootfiles/common/rust-crc32fast        |   19 +
config/rootfiles/common/rust-displaydoc       |   42 +
config/rootfiles/common/rust-errno            |   16 +
config/rootfiles/common/rust-fastrand         |   16 +
config/rootfiles/common/rust-flate2           |   71 +
config/rootfiles/common/rust-form_urlencoded  |    8 +
config/rootfiles/common/rust-getrandom        |   85 +-
config/rootfiles/common/rust-getrandom-0.2.4  |   38 +
config/rootfiles/common/rust-heck             |   17 +
config/rootfiles/common/rust-humantime        |   16 +
config/rootfiles/common/rust-icu_collections  |   85 ++
config/rootfiles/common/rust-icu_locale_core  |  105 ++
config/rootfiles/common/rust-icu_normalizer   |   42 +
.../rootfiles/common/rust-icu_normalizer_data |   17 +
config/rootfiles/common/rust-icu_properties   |   19 +
.../rootfiles/common/rust-icu_properties_data |  139 ++
config/rootfiles/common/rust-icu_provider     |   29 +
config/rootfiles/common/rust-id-arena         |   14 +
config/rootfiles/common/rust-idna             |   24 +
config/rootfiles/common/rust-idna_adapter     |    9 +
.../common/rust-is_terminal_polyfill          |    8 +
config/rootfiles/common/rust-leb128fmt        |    9 +
config/rootfiles/common/rust-libc             |  801 ++++++----
config/rootfiles/common/rust-libc-0.2.108     |  277 ++++
config/rootfiles/common/rust-linux-raw-sys    |  410 +++++
config/rootfiles/common/rust-litemap          |   27 +
config/rootfiles/common/rust-log              |   47 +-
config/rootfiles/common/rust-log-0.4.14       |   22 +
config/rootfiles/common/rust-miniz_oxide      |   24 +
config/rootfiles/common/rust-once_cell        |   55 +-
config/rootfiles/common/rust-once_cell-1.9.0  |   24 +
.../rootfiles/common/rust-once_cell_polyfill  |   10 +
config/rootfiles/common/rust-percent-encoding |    9 +
config/rootfiles/common/rust-potential_utf    |   10 +
config/rootfiles/common/rust-prettyplease     |   39 +
config/rootfiles/common/rust-r-efi            |   71 +
config/rootfiles/common/rust-rustix           |  403 +++++
config/rootfiles/common/rust-semver           |   42 +-
config/rootfiles/common/rust-semver-0.9.0     |   15 +
config/rootfiles/common/rust-semver-parser    |   33 +-
.../rootfiles/common/rust-semver-parser-0.7.0 |   12 +
config/rootfiles/common/rust-serde            |   71 +-
config/rootfiles/common/rust-serde-1.0.216    |   32 +
config/rootfiles/common/rust-serde_core       |   31 +
config/rootfiles/common/rust-serde_derive     |   67 +-
.../common/rust-serde_derive-1.0.216          |   28 +
config/rootfiles/common/rust-simd-adler32     |   19 +
config/rootfiles/common/rust-smallvec         |   40 +-
config/rootfiles/common/rust-smallvec-1.8.0   |   18 +
config/rootfiles/common/rust-spdx             |  605 ++++++++
.../rootfiles/common/rust-stable_deref_trait  |   18 +-
config/rootfiles/common/rust-strsim           |   14 +
config/rootfiles/common/rust-syn              |  225 +--
config/rootfiles/common/rust-syn-2.0.90       |  111 ++
config/rootfiles/common/rust-synstructure     |   16 +-
config/rootfiles/common/rust-tempfile         |   32 +
config/rootfiles/common/rust-tinystr          |   25 +
config/rootfiles/common/rust-topological-sort |    9 +
config/rootfiles/common/rust-unicode-xid      |   30 +-
.../rootfiles/common/rust-unicode-xid-0.2.1   |   14 +
config/rootfiles/common/rust-url              |   20 +
config/rootfiles/common/rust-utf16_iter       |   12 +
config/rootfiles/common/rust-utf8_iter        |   12 +
config/rootfiles/common/rust-utf8parse        |   12 +
config/rootfiles/common/rust-wasip2           |   30 +
config/rootfiles/common/rust-wasm-encoder     |   45 +
config/rootfiles/common/rust-wasm-metadata    |   31 +
config/rootfiles/common/rust-wasmparser       |   79 +
config/rootfiles/common/rust-windows-link     |    9 +
config/rootfiles/common/rust-windows-sys      |  505 +++++++
config/rootfiles/common/rust-wit-bindgen      |   42 +
config/rootfiles/common/rust-wit-bindgen-core |   15 +
config/rootfiles/common/rust-wit-bindgen-rust |   21 +
.../common/rust-wit-bindgen-rust-macro        |   10 +
config/rootfiles/common/rust-wit-component    | 1006 +++++++++++++
config/rootfiles/common/rust-wit-parser       |  621 ++++++++
config/rootfiles/common/rust-write16          |   10 +
config/rootfiles/common/rust-writeable        |   23 +
config/rootfiles/common/rust-yoke             |   18 +
config/rootfiles/common/rust-yoke-derive      |   11 +
config/rootfiles/common/rust-zerofrom         |    9 +
config/rootfiles/common/rust-zerofrom-derive  |   11 +
config/rootfiles/common/rust-zerotrie         |   44 +
config/rootfiles/common/rust-zerovec          |   69 +
config/rootfiles/common/rust-zerovec-derive   |   17 +
config/rootfiles/common/x86_64/rust           |   82 +-
config/suricata/suricata.yaml                 |    1 +
lfs/cbindgen                                  |   80 +
lfs/rust                                      |   13 +-
lfs/rust-adler2                               |   81 +
lfs/rust-anstream                             |   81 +
lfs/rust-anstyle                              |   81 +
lfs/rust-anstyle-parse                        |   81 +
lfs/rust-anstyle-query                        |   81 +
lfs/rust-anstyle-wincon                       |   81 +
lfs/rust-anyhow                               |   81 +
lfs/rust-auditable-serde                      |   81 +
lfs/rust-bitflags                             |   81 +
lfs/rust-clap                                 |   81 +
lfs/rust-clap_builder                         |   81 +
lfs/rust-clap_lex                             |   81 +
lfs/rust-colorchoice                          |   81 +
lfs/rust-crc32fast                            |   81 +
lfs/rust-displaydoc                           |   81 +
lfs/rust-errno                                |   81 +
lfs/rust-fastrand                             |   81 +
lfs/rust-flate2                               |   81 +
lfs/rust-form_urlencoded                      |   81 +
lfs/rust-getrandom                            |    8 +-
lfs/rust-getrandom-0.2.4                      |   81 +
lfs/rust-heck                                 |   81 +
lfs/rust-humantime                            |   81 +
lfs/rust-icu_collections                      |   81 +
lfs/rust-icu_locale_core                      |   81 +
lfs/rust-icu_normalizer                       |   81 +
lfs/rust-icu_normalizer_data                  |   81 +
lfs/rust-icu_properties                       |   81 +
lfs/rust-icu_properties_data                  |   81 +
lfs/rust-icu_provider                         |   81 +
lfs/rust-id-arena                             |   81 +
lfs/rust-idna                                 |   81 +
lfs/rust-idna_adapter                         |   81 +
lfs/rust-is_terminal_polyfill                 |   81 +
lfs/rust-leb128fmt                            |   81 +
lfs/rust-libc                                 |    7 +-
lfs/rust-libc-0.2.108                         |   80 +
lfs/rust-linux-raw-sys                        |   81 +
lfs/rust-litemap                              |   81 +
lfs/rust-log                                  |   12 +-
lfs/rust-log-0.4.14                           |   85 ++
lfs/rust-miniz_oxide                          |   81 +
lfs/rust-once_cell                            |   12 +-
lfs/rust-once_cell-1.9.0                      |   85 ++
lfs/rust-once_cell_polyfill                   |   81 +
lfs/rust-percent-encoding                     |   81 +
lfs/rust-potential_utf                        |   81 +
lfs/rust-prettyplease                         |   81 +
lfs/rust-r-efi                                |   81 +
lfs/rust-rustix                               |   81 +
lfs/rust-semver                               |   12 +-
lfs/rust-semver-0.9.0                         |   85 ++
lfs/rust-semver-parser                        |    7 +-
lfs/rust-semver-parser-0.7.0                  |   80 +
lfs/rust-serde                                |    4 +-
lfs/rust-serde-1.0.216                        |   81 +
lfs/rust-serde_core                           |   81 +
lfs/rust-serde_derive                         |    4 +-
lfs/rust-serde_derive-1.0.216                 |   81 +
lfs/rust-simd-adler32                         |   81 +
lfs/rust-smallvec                             |   12 +-
lfs/rust-smallvec-1.8.0                       |   85 ++
lfs/rust-spdx                                 |   81 +
lfs/rust-stable_deref_trait                   |   12 +-
lfs/rust-strsim                               |   81 +
lfs/rust-syn                                  |    4 +-
lfs/rust-syn-2.0.90                           |   81 +
lfs/rust-synstructure                         |    4 +-
lfs/rust-tempfile                             |   81 +
lfs/rust-tinystr                              |   81 +
lfs/rust-topological-sort                     |   81 +
lfs/rust-unicode-xid                          |    7 +-
lfs/rust-unicode-xid-0.2.1                    |   80 +
lfs/rust-url                                  |   81 +
lfs/rust-utf16_iter                           |   81 +
lfs/rust-utf8_iter                            |   81 +
lfs/rust-utf8parse                            |   81 +
lfs/rust-wasip2                               |   81 +
lfs/rust-wasm-encoder                         |   81 +
lfs/rust-wasm-metadata                        |   81 +
lfs/rust-wasmparser                           |   81 +
lfs/rust-windows-link                         |   81 +
lfs/rust-windows-sys                          |   81 +
lfs/rust-wit-bindgen                          |   81 +
lfs/rust-wit-bindgen-core                     |   81 +
lfs/rust-wit-bindgen-rust                     |   81 +
lfs/rust-wit-bindgen-rust-macro               |   81 +
lfs/rust-wit-component                        |   81 +
lfs/rust-wit-parser                           |   81 +
lfs/rust-write16                              |   81 +
lfs/rust-writeable                            |   81 +
lfs/rust-yoke                                 |   81 +
lfs/rust-yoke-derive                          |   81 +
lfs/rust-zerofrom                             |   81 +
lfs/rust-zerofrom-derive                      |   81 +
lfs/rust-zerotrie                             |   81 +
lfs/rust-zerovec                              |   81 +
lfs/rust-zerovec-derive                       |   81 +
lfs/suricata                                  |   13 +-
make.sh                                       |  133 +-
...suricata-8.0.3-purge-hyperscan-cache.patch | 1341 +++++++++++++++++
206 files changed, 15762 insertions(+), 853 deletions(-)
create mode 100644 config/rootfiles/common/cbindgen
create mode 100644 config/rootfiles/common/rust-adler2
create mode 100644 config/rootfiles/common/rust-anstream
create mode 100644 config/rootfiles/common/rust-anstyle
create mode 100644 config/rootfiles/common/rust-anstyle-parse
create mode 100644 config/rootfiles/common/rust-anstyle-query
create mode 100644 config/rootfiles/common/rust-anstyle-wincon
create mode 100644 config/rootfiles/common/rust-anyhow
create mode 100644 config/rootfiles/common/rust-auditable-serde
create mode 100644 config/rootfiles/common/rust-bitflags
create mode 100644 config/rootfiles/common/rust-clap
create mode 100644 config/rootfiles/common/rust-clap_builder
create mode 100644 config/rootfiles/common/rust-clap_lex
create mode 100644 config/rootfiles/common/rust-colorchoice
create mode 100644 config/rootfiles/common/rust-crc32fast
create mode 100644 config/rootfiles/common/rust-displaydoc
create mode 100644 config/rootfiles/common/rust-errno
create mode 100644 config/rootfiles/common/rust-fastrand
create mode 100644 config/rootfiles/common/rust-flate2
create mode 100644 config/rootfiles/common/rust-form_urlencoded
create mode 100644 config/rootfiles/common/rust-getrandom-0.2.4
create mode 100644 config/rootfiles/common/rust-heck
create mode 100644 config/rootfiles/common/rust-humantime
create mode 100644 config/rootfiles/common/rust-icu_collections
create mode 100644 config/rootfiles/common/rust-icu_locale_core
create mode 100644 config/rootfiles/common/rust-icu_normalizer
create mode 100644 config/rootfiles/common/rust-icu_normalizer_data
create mode 100644 config/rootfiles/common/rust-icu_properties
create mode 100644 config/rootfiles/common/rust-icu_properties_data
create mode 100644 config/rootfiles/common/rust-icu_provider
create mode 100644 config/rootfiles/common/rust-id-arena
create mode 100644 config/rootfiles/common/rust-idna
create mode 100644 config/rootfiles/common/rust-idna_adapter
create mode 100644 config/rootfiles/common/rust-is_terminal_polyfill
create mode 100644 config/rootfiles/common/rust-leb128fmt
create mode 100644 config/rootfiles/common/rust-libc-0.2.108
create mode 100644 config/rootfiles/common/rust-linux-raw-sys
create mode 100644 config/rootfiles/common/rust-litemap
create mode 100644 config/rootfiles/common/rust-log-0.4.14
create mode 100644 config/rootfiles/common/rust-miniz_oxide
create mode 100644 config/rootfiles/common/rust-once_cell-1.9.0
create mode 100644 config/rootfiles/common/rust-once_cell_polyfill
create mode 100644 config/rootfiles/common/rust-percent-encoding
create mode 100644 config/rootfiles/common/rust-potential_utf
create mode 100644 config/rootfiles/common/rust-prettyplease
create mode 100644 config/rootfiles/common/rust-r-efi
create mode 100644 config/rootfiles/common/rust-rustix
create mode 100644 config/rootfiles/common/rust-semver-0.9.0
create mode 100644 config/rootfiles/common/rust-semver-parser-0.7.0
create mode 100644 config/rootfiles/common/rust-serde-1.0.216
create mode 100644 config/rootfiles/common/rust-serde_core
create mode 100644 config/rootfiles/common/rust-serde_derive-1.0.216
create mode 100644 config/rootfiles/common/rust-simd-adler32
create mode 100644 config/rootfiles/common/rust-smallvec-1.8.0
create mode 100644 config/rootfiles/common/rust-spdx
create mode 100644 config/rootfiles/common/rust-strsim
create mode 100644 config/rootfiles/common/rust-syn-2.0.90
create mode 100644 config/rootfiles/common/rust-tempfile
create mode 100644 config/rootfiles/common/rust-tinystr
create mode 100644 config/rootfiles/common/rust-topological-sort
create mode 100644 config/rootfiles/common/rust-unicode-xid-0.2.1
create mode 100644 config/rootfiles/common/rust-url
create mode 100644 config/rootfiles/common/rust-utf16_iter
create mode 100644 config/rootfiles/common/rust-utf8_iter
create mode 100644 config/rootfiles/common/rust-utf8parse
create mode 100644 config/rootfiles/common/rust-wasip2
create mode 100644 config/rootfiles/common/rust-wasm-encoder
create mode 100644 config/rootfiles/common/rust-wasm-metadata
create mode 100644 config/rootfiles/common/rust-wasmparser
create mode 100644 config/rootfiles/common/rust-windows-link
create mode 100644 config/rootfiles/common/rust-windows-sys
create mode 100644 config/rootfiles/common/rust-wit-bindgen
create mode 100644 config/rootfiles/common/rust-wit-bindgen-core
create mode 100644 config/rootfiles/common/rust-wit-bindgen-rust
create mode 100644 config/rootfiles/common/rust-wit-bindgen-rust-macro
create mode 100644 config/rootfiles/common/rust-wit-component
create mode 100644 config/rootfiles/common/rust-wit-parser
create mode 100644 config/rootfiles/common/rust-write16
create mode 100644 config/rootfiles/common/rust-writeable
create mode 100644 config/rootfiles/common/rust-yoke
create mode 100644 config/rootfiles/common/rust-yoke-derive
create mode 100644 config/rootfiles/common/rust-zerofrom
create mode 100644 config/rootfiles/common/rust-zerofrom-derive
create mode 100644 config/rootfiles/common/rust-zerotrie
create mode 100644 config/rootfiles/common/rust-zerovec
create mode 100644 config/rootfiles/common/rust-zerovec-derive
create mode 100644 lfs/cbindgen
create mode 100644 lfs/rust-adler2
create mode 100644 lfs/rust-anstream
create mode 100644 lfs/rust-anstyle
create mode 100644 lfs/rust-anstyle-parse
create mode 100644 lfs/rust-anstyle-query
create mode 100644 lfs/rust-anstyle-wincon
create mode 100644 lfs/rust-anyhow
create mode 100644 lfs/rust-auditable-serde
create mode 100644 lfs/rust-bitflags
create mode 100644 lfs/rust-clap
create mode 100644 lfs/rust-clap_builder
create mode 100644 lfs/rust-clap_lex
create mode 100644 lfs/rust-colorchoice
create mode 100644 lfs/rust-crc32fast
create mode 100644 lfs/rust-displaydoc
create mode 100644 lfs/rust-errno
create mode 100644 lfs/rust-fastrand
create mode 100644 lfs/rust-flate2
create mode 100644 lfs/rust-form_urlencoded
create mode 100644 lfs/rust-getrandom-0.2.4
create mode 100644 lfs/rust-heck
create mode 100644 lfs/rust-humantime
create mode 100644 lfs/rust-icu_collections
create mode 100644 lfs/rust-icu_locale_core
create mode 100644 lfs/rust-icu_normalizer
create mode 100644 lfs/rust-icu_normalizer_data
create mode 100644 lfs/rust-icu_properties
create mode 100644 lfs/rust-icu_properties_data
create mode 100644 lfs/rust-icu_provider
create mode 100644 lfs/rust-id-arena
create mode 100644 lfs/rust-idna
create mode 100644 lfs/rust-idna_adapter
create mode 100644 lfs/rust-is_terminal_polyfill
create mode 100644 lfs/rust-leb128fmt
create mode 100644 lfs/rust-libc-0.2.108
create mode 100644 lfs/rust-linux-raw-sys
create mode 100644 lfs/rust-litemap
create mode 100644 lfs/rust-log-0.4.14
create mode 100644 lfs/rust-miniz_oxide
create mode 100644 lfs/rust-once_cell-1.9.0
create mode 100644 lfs/rust-once_cell_polyfill
create mode 100644 lfs/rust-percent-encoding
create mode 100644 lfs/rust-potential_utf
create mode 100644 lfs/rust-prettyplease
create mode 100644 lfs/rust-r-efi
create mode 100644 lfs/rust-rustix
create mode 100644 lfs/rust-semver-0.9.0
create mode 100644 lfs/rust-semver-parser-0.7.0
create mode 100644 lfs/rust-serde-1.0.216
create mode 100644 lfs/rust-serde_core
create mode 100644 lfs/rust-serde_derive-1.0.216
create mode 100644 lfs/rust-simd-adler32
create mode 100644 lfs/rust-smallvec-1.8.0
create mode 100644 lfs/rust-spdx
create mode 100644 lfs/rust-strsim
create mode 100644 lfs/rust-syn-2.0.90
create mode 100644 lfs/rust-tempfile
create mode 100644 lfs/rust-tinystr
create mode 100644 lfs/rust-topological-sort
create mode 100644 lfs/rust-unicode-xid-0.2.1
create mode 100644 lfs/rust-url
create mode 100644 lfs/rust-utf16_iter
create mode 100644 lfs/rust-utf8_iter
create mode 100644 lfs/rust-utf8parse
create mode 100644 lfs/rust-wasip2
create mode 100644 lfs/rust-wasm-encoder
create mode 100644 lfs/rust-wasm-metadata
create mode 100644 lfs/rust-wasmparser
create mode 100644 lfs/rust-windows-link
create mode 100644 lfs/rust-windows-sys
create mode 100644 lfs/rust-wit-bindgen
create mode 100644 lfs/rust-wit-bindgen-core
create mode 100644 lfs/rust-wit-bindgen-rust
create mode 100644 lfs/rust-wit-bindgen-rust-macro
create mode 100644 lfs/rust-wit-component
create mode 100644 lfs/rust-wit-parser
create mode 100644 lfs/rust-write16
create mode 100644 lfs/rust-writeable
create mode 100644 lfs/rust-yoke
create mode 100644 lfs/rust-yoke-derive
create mode 100644 lfs/rust-zerofrom
create mode 100644 lfs/rust-zerofrom-derive
create mode 100644 lfs/rust-zerotrie
create mode 100644 lfs/rust-zerovec
create mode 100644 lfs/rust-zerovec-derive
create mode 100644 
src/patches/suricata/suricata-8.0.3-purge-hyperscan-cache.patch

--
2.47.3






Reply via email to