From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 30/32] rust-winnow: New crate required by rust-1.83.0
Date: Sat, 21 Dec 2024 13:55:37 +0100 [thread overview]
Message-ID: <20241221125539.15309-30-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20241221125539.15309-1-adolf.belka@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 11280 bytes --]
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
config/rootfiles/common/rust-winnow | 113 ++++++++++++++++++++++++++++
lfs/rust-winnow | 81 ++++++++++++++++++++
2 files changed, 194 insertions(+)
create mode 100644 config/rootfiles/common/rust-winnow
create mode 100644 lfs/rust-winnow
diff --git a/config/rootfiles/common/rust-winnow b/config/rootfiles/common/rust-winnow
new file mode 100644
index 000000000..521ad6bed
--- /dev/null
+++ b/config/rootfiles/common/rust-winnow
@@ -0,0 +1,113 @@
+#usr/share/cargo/registry/winnow-0.6.20
+#usr/share/cargo/registry/winnow-0.6.20/.cargo-checksum.json
+#usr/share/cargo/registry/winnow-0.6.20/Cargo.toml
+#usr/share/cargo/registry/winnow-0.6.20/LICENSE-MIT
+#usr/share/cargo/registry/winnow-0.6.20/README.md
+#usr/share/cargo/registry/winnow-0.6.20/benches
+#usr/share/cargo/registry/winnow-0.6.20/benches/contains_token.rs
+#usr/share/cargo/registry/winnow-0.6.20/benches/find_slice.rs
+#usr/share/cargo/registry/winnow-0.6.20/benches/iter.rs
+#usr/share/cargo/registry/winnow-0.6.20/benches/next_slice.rs
+#usr/share/cargo/registry/winnow-0.6.20/benches/number.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples
+#usr/share/cargo/registry/winnow-0.6.20/examples/arithmetic
+#usr/share/cargo/registry/winnow-0.6.20/examples/arithmetic/bench.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/arithmetic/main.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/arithmetic/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/arithmetic/parser_ast.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/arithmetic/parser_lexer.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/css
+#usr/share/cargo/registry/winnow-0.6.20/examples/css/main.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/css/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/custom_error.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/http
+#usr/share/cargo/registry/winnow-0.6.20/examples/http/bench.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/http/main.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/http/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/http/parser_streaming.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/ini
+#usr/share/cargo/registry/winnow-0.6.20/examples/ini/bench.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/ini/main.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/ini/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/ini/parser_str.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/iterator.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/json
+#usr/share/cargo/registry/winnow-0.6.20/examples/json/bench.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/json/json.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/json/main.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/json/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/json/parser_dispatch.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/json/parser_partial.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/json_iterator.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/ndjson
+#usr/share/cargo/registry/winnow-0.6.20/examples/ndjson/example.ndjson
+#usr/share/cargo/registry/winnow-0.6.20/examples/ndjson/main.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/ndjson/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/s_expression
+#usr/share/cargo/registry/winnow-0.6.20/examples/s_expression/main.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/s_expression/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/string
+#usr/share/cargo/registry/winnow-0.6.20/examples/string/main.rs
+#usr/share/cargo/registry/winnow-0.6.20/examples/string/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/src
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/arithmetic.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/error.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/fromstr.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/http.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/ini.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/json.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/language.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/nom.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/partial.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/performance.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/s_expression.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/stream.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_topic/why.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_0.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_1.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_2.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_3.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_4.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_5.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_6.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_7.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/chapter_8.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/_tutorial/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/ascii
+#usr/share/cargo/registry/winnow-0.6.20/src/ascii/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/ascii/tests.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/binary
+#usr/share/cargo/registry/winnow-0.6.20/src/binary/bits
+#usr/share/cargo/registry/winnow-0.6.20/src/binary/bits/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/binary/bits/tests.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/binary/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/binary/tests.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/branch.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/core.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/debug
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/debug/internals.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/debug/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/multi.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/sequence.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/combinator/tests.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/error.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/lib.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/macros
+#usr/share/cargo/registry/winnow-0.6.20/src/macros/dispatch.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/macros/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/macros/seq.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/macros/test.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/parser.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/stream
+#usr/share/cargo/registry/winnow-0.6.20/src/stream/impls.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/stream/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/stream/tests.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/token
+#usr/share/cargo/registry/winnow-0.6.20/src/token/mod.rs
+#usr/share/cargo/registry/winnow-0.6.20/src/token/tests.rs
diff --git a/lfs/rust-winnow b/lfs/rust-winnow
new file mode 100644
index 000000000..9b7e70b15
--- /dev/null
+++ b/lfs/rust-winnow
@@ -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.20
+
+THISAPP = winnow-$(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 = b47ba6cd94ec80a72b51ad09c5cb9de350d2243295d3997732d5d3d9f8d08bd83e3129150fb24992243949120da1bd6091d580db5ff10258fd745afaa944c791
+
+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 ` [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 ` [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 ` Adolf Belka [this message]
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-30-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