[06/32] rust-memchr: Update to version 2.7.4 from 2.4.1

Message ID 20241221125539.15309-6-adolf.belka@ipfire.org
State New
Headers
Series [01/32] rust: Update to version 1.83.0 |

Commit Message

Adolf Belka Dec. 21, 2024, 12:55 p.m. UTC
  Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/rust-memchr | 126 +++++++++++++++-------------
 lfs/rust-memchr                     |   7 +-
 2 files changed, 74 insertions(+), 59 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/rust-memchr b/config/rootfiles/common/rust-memchr
index bb50855eb..51518b761 100644
--- a/config/rootfiles/common/rust-memchr
+++ b/config/rootfiles/common/rust-memchr
@@ -1,56 +1,70 @@ 
-#usr/share/cargo/registry/memchr-2.4.1
-#usr/share/cargo/registry/memchr-2.4.1/.cargo-checksum.json
-#usr/share/cargo/registry/memchr-2.4.1/COPYING
-#usr/share/cargo/registry/memchr-2.4.1/Cargo.toml
-#usr/share/cargo/registry/memchr-2.4.1/Cargo.toml.deps
-#usr/share/cargo/registry/memchr-2.4.1/LICENSE-MIT
-#usr/share/cargo/registry/memchr-2.4.1/README.md
-#usr/share/cargo/registry/memchr-2.4.1/UNLICENSE
-#usr/share/cargo/registry/memchr-2.4.1/build.rs
-#usr/share/cargo/registry/memchr-2.4.1/rustfmt.toml
-#usr/share/cargo/registry/memchr-2.4.1/scripts
-#usr/share/cargo/registry/memchr-2.4.1/scripts/make-byte-frequency-table
-#usr/share/cargo/registry/memchr-2.4.1/src
-#usr/share/cargo/registry/memchr-2.4.1/src/cow.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/lib.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/c.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/fallback.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/iter.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/mod.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/naive.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/x86
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/x86/avx.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/x86/mod.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/x86/sse2.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memchr/x86/sse42.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/byte_frequencies.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/genericsimd.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/mod.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/prefilter
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/prefilter/fallback.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/prefilter/genericsimd.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/prefilter/mod.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/prefilter/x86
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/prefilter/x86/avx.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/prefilter/x86/mod.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/prefilter/x86/sse.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/rabinkarp.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/rarebytes.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/twoway.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/util.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/vector.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/x86
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/x86/avx.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/x86/mod.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/memmem/x86/sse.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/tests
-#usr/share/cargo/registry/memchr-2.4.1/src/tests/memchr
-#usr/share/cargo/registry/memchr-2.4.1/src/tests/memchr/iter.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/tests/memchr/memchr.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/tests/memchr/mod.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/tests/memchr/simple.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/tests/memchr/testdata.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/tests/mod.rs
-#usr/share/cargo/registry/memchr-2.4.1/src/tests/x86_64-soft_float.json
+#usr/share/cargo/registry/memchr-2.7.4
+#usr/share/cargo/registry/memchr-2.7.4/.cargo-checksum.json
+#usr/share/cargo/registry/memchr-2.7.4/COPYING
+#usr/share/cargo/registry/memchr-2.7.4/Cargo.toml
+#usr/share/cargo/registry/memchr-2.7.4/Cargo.toml.deps
+#usr/share/cargo/registry/memchr-2.7.4/LICENSE-MIT
+#usr/share/cargo/registry/memchr-2.7.4/README.md
+#usr/share/cargo/registry/memchr-2.7.4/UNLICENSE
+#usr/share/cargo/registry/memchr-2.7.4/rustfmt.toml
+#usr/share/cargo/registry/memchr-2.7.4/src
+#usr/share/cargo/registry/memchr-2.7.4/src/arch
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/aarch64
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/aarch64/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/aarch64/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/aarch64/neon
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/aarch64/neon/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/aarch64/neon/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/aarch64/neon/packedpair.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all/packedpair
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all/packedpair/default_rank.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all/packedpair/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all/rabinkarp.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all/shiftor.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/all/twoway.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/generic
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/generic/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/generic/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/generic/packedpair.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/wasm32
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/wasm32/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/wasm32/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/wasm32/simd128
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/wasm32/simd128/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/wasm32/simd128/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/wasm32/simd128/packedpair.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/avx2
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/avx2/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/avx2/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/avx2/packedpair.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/sse2
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/sse2/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/sse2/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/arch/x86_64/sse2/packedpair.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/cow.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/ext.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/lib.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/macros.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/memchr.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/memmem
+#usr/share/cargo/registry/memchr-2.7.4/src/memmem/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/memmem/searcher.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/tests
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/memchr
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/memchr/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/memchr/naive.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/memchr/prop.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/packedpair.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/substring
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/substring/mod.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/substring/naive.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/tests/substring/prop.rs
+#usr/share/cargo/registry/memchr-2.7.4/src/vector.rs
diff --git a/lfs/rust-memchr b/lfs/rust-memchr
index 28b2441f4..1da50968d 100644
--- a/lfs/rust-memchr
+++ b/lfs/rust-memchr
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.4.1
+VER        = 2.7.4
 
 THISAPP    = memchr-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = c56fc8dc18c6c88a9af66c1f3f58acf0c05cc7a57c199c36e3846f0afd56c9cf474533b308697a160df3d66cca31ee959b74b2e4c138106bd7057fb1be5620bd
+$(DL_FILE)_BLAKE2 = da38114beca670467c3e1fbf4e415af6f22d52e3223715d52e181babb89b872b46511563985bcc16d7ff4e82f812c6e83ad904b0fe2501b14445119dfa8240e6
 
 install : $(TARGET)
 
@@ -73,6 +73,7 @@  $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && rm Cargo.toml.orig
 	cd $(DIR_APP) && $(CARGO_PREPARE)
 	cd $(DIR_APP) && $(CARGO_BUILD)
 	cd $(DIR_APP) && $(CARGO_INSTALL)