public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 24/32] rust-serde_spanned: New crate required by rust-1.83.0
Date: Sat, 21 Dec 2024 13:55:31 +0100	[thread overview]
Message-ID: <20241221125539.15309-24-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20241221125539.15309-1-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 4734 bytes --]

Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 config/rootfiles/common/rust-serde_spanned |  9 +++
 lfs/rust-serde_spanned                     | 81 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)
 create mode 100644 config/rootfiles/common/rust-serde_spanned
 create mode 100644 lfs/rust-serde_spanned

diff --git a/config/rootfiles/common/rust-serde_spanned b/config/rootfiles/common/rust-serde_spanned
new file mode 100644
index 000000000..12a2c658c
--- /dev/null
+++ b/config/rootfiles/common/rust-serde_spanned
@@ -0,0 +1,9 @@
+#usr/share/cargo/registry/serde_spanned-0.6.8
+#usr/share/cargo/registry/serde_spanned-0.6.8/.cargo-checksum.json
+#usr/share/cargo/registry/serde_spanned-0.6.8/Cargo.toml
+#usr/share/cargo/registry/serde_spanned-0.6.8/LICENSE-APACHE
+#usr/share/cargo/registry/serde_spanned-0.6.8/LICENSE-MIT
+#usr/share/cargo/registry/serde_spanned-0.6.8/README.md
+#usr/share/cargo/registry/serde_spanned-0.6.8/src
+#usr/share/cargo/registry/serde_spanned-0.6.8/src/lib.rs
+#usr/share/cargo/registry/serde_spanned-0.6.8/src/spanned.rs
diff --git a/lfs/rust-serde_spanned b/lfs/rust-serde_spanned
new file mode 100644
index 000000000..a0907ba67
--- /dev/null
+++ b/lfs/rust-serde_spanned
@@ -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.6.8
+
+THISAPP    = serde_spanned-$(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 = 630bb2cabd74e8d9736e315ac57c4d2c5c4f72264aab35ecc8e0040cb4186885722051a9f7b8a9006fd121fe58428cbb151e5cf541e7de30b6528c84e968f7ac
+
+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


  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 ` [PATCH 18/32] rust-allocfator-api2: New crate required by rust-1.83.0 Adolf Belka
2024-12-21 12:55 ` [PATCH 19/32] rust-equivalent: " 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 ` Adolf Belka [this message]
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-24-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