From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 21/32] rust-hashbrown: New crate required by rust-1.83.0 Date: Sat, 21 Dec 2024 13:55:28 +0100 Message-ID: <20241221125539.15309-21-adolf.belka@ipfire.org> In-Reply-To: <20241221125539.15309-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0852494280571257436==" List-Id: --===============0852494280571257436== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Adolf Belka --- config/rootfiles/common/rust-hashbrown | 51 ++++++++++++++++ lfs/rust-hashbrown | 81 ++++++++++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 config/rootfiles/common/rust-hashbrown create mode 100644 lfs/rust-hashbrown diff --git a/config/rootfiles/common/rust-hashbrown b/config/rootfiles/common= /rust-hashbrown new file mode 100644 index 000000000..c89be0c91 --- /dev/null +++ b/config/rootfiles/common/rust-hashbrown @@ -0,0 +1,51 @@ +#usr/share/cargo/registry/hashbrown-0.15.2 +#usr/share/cargo/registry/hashbrown-0.15.2/.cargo-checksum.json +#usr/share/cargo/registry/hashbrown-0.15.2/CHANGELOG.md +#usr/share/cargo/registry/hashbrown-0.15.2/Cargo.toml +#usr/share/cargo/registry/hashbrown-0.15.2/Cargo.toml.deps +#usr/share/cargo/registry/hashbrown-0.15.2/LICENSE-APACHE +#usr/share/cargo/registry/hashbrown-0.15.2/LICENSE-MIT +#usr/share/cargo/registry/hashbrown-0.15.2/README.md +#usr/share/cargo/registry/hashbrown-0.15.2/benches +#usr/share/cargo/registry/hashbrown-0.15.2/benches/bench.rs +#usr/share/cargo/registry/hashbrown-0.15.2/benches/insert_unique_unchecked.rs +#usr/share/cargo/registry/hashbrown-0.15.2/benches/set_ops.rs +#usr/share/cargo/registry/hashbrown-0.15.2/clippy.toml +#usr/share/cargo/registry/hashbrown-0.15.2/src +#usr/share/cargo/registry/hashbrown-0.15.2/src/control +#usr/share/cargo/registry/hashbrown-0.15.2/src/control/bitmask.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/control/group +#usr/share/cargo/registry/hashbrown-0.15.2/src/control/group/generic.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/control/group/mod.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/control/group/neon.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/control/group/sse2.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/control/mod.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/control/tag.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/mod.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/rayon +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/rayon/he= lpers.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/rayon/ma= p.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/rayon/mo= d.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/rayon/ra= w.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/rayon/se= t.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/rayon/ta= ble.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/external_trait_impls/serde.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/lib.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/macros.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/map.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/raw +#usr/share/cargo/registry/hashbrown-0.15.2/src/raw/alloc.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/raw/mod.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/raw_entry.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/rustc_entry.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/scopeguard.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/set.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/table.rs +#usr/share/cargo/registry/hashbrown-0.15.2/src/util.rs +#usr/share/cargo/registry/hashbrown-0.15.2/tests +#usr/share/cargo/registry/hashbrown-0.15.2/tests/equivalent_trait.rs +#usr/share/cargo/registry/hashbrown-0.15.2/tests/hasher.rs +#usr/share/cargo/registry/hashbrown-0.15.2/tests/rayon.rs +#usr/share/cargo/registry/hashbrown-0.15.2/tests/serde.rs +#usr/share/cargo/registry/hashbrown-0.15.2/tests/set.rs diff --git a/lfs/rust-hashbrown b/lfs/rust-hashbrown new file mode 100644 index 000000000..cfc0291a8 --- /dev/null +++ b/lfs/rust-hashbrown @@ -0,0 +1,81 @@ +############################################################################= ### +# = # +# IPFire.org - A linux based firewall = # +# Copyright (C) 2007-2024 IPFire Team = # +# = # +# 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 = # +# the Free Software Foundation, either version 3 of the License, or = # +# (at your option) any later version. = # +# = # +# This program is distributed in the hope that it will be useful, = # +# but WITHOUT ANY WARRANTY; without even the implied warranty of = # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the = # +# GNU General Public License for more details. = # +# = # +# You should have received a copy of the GNU General Public License = # +# along with this program. If not, see . = # +# = # +############################################################################= ### + +############################################################################= ### +# Definitions +############################################################################= ### + +include Config + +VER =3D 0.15.2 + +THISAPP =3D hashbrown-$(VER) +DL_FILE =3D $(THISAPP).tar.gz +DL_FROM =3D $(URL_IPFIRE) +DIR_APP =3D $(DIR_SRC)/$(THISAPP) +TARGET =3D $(DIR_INFO)/$(THISAPP) + +############################################################################= ### +# Top-level Rules +############################################################################= ### + +objects =3D $(DL_FILE) + +$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 =3D 453888ce68b10cd6e93d787986603fceb29b83fe2dc417e7e57316= b9e0060d0bba51ec7fb71d46a038662c99f60deac8237a8f349297208d1d223bcc13f0d0ea + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +b2 : $(subst %,%_BLAKE2,$(objects)) + +dist: + @$(PAK) + +############################################################################= ### +# Downloading, checking, b2sum +############################################################################= ### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_BLAKE2,$(objects)) : + @$(B2SUM) + +############################################################################= ### +# Installation Details +############################################################################= ### + +$(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) + @rm -rf $(DIR_APP) + @$(POSTBUILD) --=20 2.47.1 --===============0852494280571257436==--