From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 18/32] rust-allocfator-api2: New crate required by rust-1.83.0
Date: Sat, 21 Dec 2024 13:55:25 +0100 [thread overview]
Message-ID: <20241221125539.15309-18-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20241221125539.15309-1-adolf.belka@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 6204 bytes --]
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
config/rootfiles/common/rust-allocator-api2 | 29 ++++++++
lfs/rust-allocator-api2 | 81 +++++++++++++++++++++
2 files changed, 110 insertions(+)
create mode 100644 config/rootfiles/common/rust-allocator-api2
create mode 100644 lfs/rust-allocator-api2
diff --git a/config/rootfiles/common/rust-allocator-api2 b/config/rootfiles/common/rust-allocator-api2
new file mode 100644
index 000000000..adc428bce
--- /dev/null
+++ b/config/rootfiles/common/rust-allocator-api2
@@ -0,0 +1,29 @@
+#usr/share/cargo/registry/allocator-api2-0.2.21
+#usr/share/cargo/registry/allocator-api2-0.2.21/.cargo-checksum.json
+#usr/share/cargo/registry/allocator-api2-0.2.21/CHANGELOG.md
+#usr/share/cargo/registry/allocator-api2-0.2.21/Cargo.toml
+#usr/share/cargo/registry/allocator-api2-0.2.21/Cargo.toml.deps
+#usr/share/cargo/registry/allocator-api2-0.2.21/LICENSE-APACHE
+#usr/share/cargo/registry/allocator-api2-0.2.21/LICENSE-MIT
+#usr/share/cargo/registry/allocator-api2-0.2.21/README.md
+#usr/share/cargo/registry/allocator-api2-0.2.21/src
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/lib.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/nightly.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/alloc
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/alloc/global.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/alloc/mod.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/alloc/system.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/boxed.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/macros.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/mod.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/raw_vec.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/slice.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/unique.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/vec
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/vec/drain.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/vec/into_iter.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/vec/mod.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/vec/partial_eq.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/vec/set_len_on_drop.rs
+#usr/share/cargo/registry/allocator-api2-0.2.21/src/stable/vec/splice.rs
diff --git a/lfs/rust-allocator-api2 b/lfs/rust-allocator-api2
new file mode 100644
index 000000000..b9ed57799
--- /dev/null
+++ b/lfs/rust-allocator-api2
@@ -0,0 +1,81 @@
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007-2024 IPFire Team <info(a)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 #
+# 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 <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER = 0.2.21
+
+THISAPP = allocator-api2-$(VER)
+DL_FILE = $(THISAPP).tar.gz
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = 983897fc977118f220dc4af7e801ac08eba77bfde2a25d756bad3e77f849418e74e7c67eaed68e2d719ca7fc6e1e9ce151dd7dbe8707dc43d4a6400294c8fc8e
+
+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)
--
2.47.1
next prev parent reply other threads:[~2024-12-21 12:55 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 12:55 [PATCH 01/32] rust: Update to version 1.83.0 Adolf Belka
2024-12-21 12:55 ` [PATCH 02/32] rust-ctor: Update to version 0.2.9 from 0.1.21 Adolf Belka
2024-12-21 12:55 ` [PATCH 03/32] rust-indoc-impl: Update to version 0.3.7 from 0.3.6 Adolf Belka
2024-12-21 12:55 ` [PATCH 04/32] rust-inventory: Update to version 0.1.4 from 0.3.15 Adolf Belka
2024-12-21 12:55 ` [PATCH 05/32] rust-inventory-impl: Update to version 0.1.11 from 0.1.4 Adolf Belka
2024-12-21 12:55 ` [PATCH 06/32] rust-memchr: Update to version 2.7.4 from 2.4.1 Adolf Belka
2024-12-21 12:55 ` [PATCH 07/32] rust-proc-macro2: Update to version 1.0.36 from 1.0.92 Adolf Belka
2024-12-21 12:55 ` [PATCH 08/32] rust-quote: Update to version 1.0.37 from 1.0.15 Adolf Belka
2024-12-21 12:55 ` [PATCH 09/32] rust-rand: Update for template to add removal of Cargo.toml.orig from source file Adolf Belka
2024-12-21 12:55 ` [PATCH 10/32] rust-serde: Update to version 1.0.216 from 1.0.136 Adolf Belka
2024-12-21 12:55 ` [PATCH 11/32] rust-serde_derive: " Adolf Belka
2024-12-21 12:55 ` [PATCH 12/32] rust-serde_json: Update to version 1.0.133 from 1.0.78 Adolf Belka
2024-12-21 12:55 ` [PATCH 13/32] rust-syn: Update to version 2.0.90 from 1.0.86 Adolf Belka
2024-12-21 12:55 ` [PATCH 14/32] rust-synstructure: Update to version 0.13.1 from 0.12.6 Adolf Belka
2024-12-21 12:55 ` [PATCH 15/32] rust-toml: Update to version 0.8.19 from 0.5.8 Adolf Belka
2024-12-21 12:55 ` [PATCH 16/32] rust-trybuild: Update to version 1.0.101 from 1.0.54 Adolf Belka
2024-12-21 12:55 ` [PATCH 17/32] rust-unindent: Update to version 0.1.11 from 0.1.7 Adolf Belka
2024-12-21 12:55 ` Adolf Belka [this message]
2024-12-21 12:55 ` [PATCH 19/32] rust-equivalent: New crate required by rust-1.83.0 Adolf Belka
2024-12-21 12:55 ` [PATCH 20/32] rust-foldhash: " Adolf Belka
2024-12-21 12:55 ` [PATCH 21/32] rust-hashbrown: " Adolf Belka
2024-12-21 12:55 ` [PATCH 22/32] rust-indexmap: " Adolf Belka
2024-12-21 12:55 ` [PATCH 23/32] rust-indoc-impl-0.3.6: Crate required to be pinned at version 0.3.6 Adolf Belka
2024-12-21 12:55 ` [PATCH 24/32] rust-serde_spanned: New crate required by rust-1.83.0 Adolf Belka
2024-12-21 12:55 ` [PATCH 25/32] rust-syn-1.0.109: Crate required pinned at version 1.0.109 Adolf Belka
2024-12-21 12:55 ` [PATCH 26/32] rust-target-triple: New crate required by rust-1.83.0 Adolf Belka
2024-12-21 12:55 ` [PATCH 27/32] rust-toml_datetime: " Adolf Belka
2024-12-21 12:55 ` [PATCH 28/32] rust-toml_edit: " Adolf Belka
2024-12-21 12:55 ` [PATCH 29/32] rust-unicode-ident: " Adolf Belka
2024-12-21 12:55 ` [PATCH 30/32] rust-winnow: " Adolf Belka
2024-12-21 12:55 ` [PATCH 31/32] make.sh: Addition of new and pinned rust crates Adolf Belka
2024-12-21 12:55 ` [PATCH 32/32] clamav: Update to version 1.4.1 Adolf Belka
2024-12-23 11:34 ` [PATCH 01/32] rust: Update to version 1.83.0 Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241221125539.15309-18-adolf.belka@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox