From patchwork Sat Dec 21 12:55:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8363 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4YFkn157z3z3x5g for ; Sat, 21 Dec 2024 12:56:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4YFkn10PnCz7X3; Sat, 21 Dec 2024 12:56:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4YFkn06pWhz34Jy; Sat, 21 Dec 2024 12:56:20 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4YFkmT747kz34Jv for ; Sat, 21 Dec 2024 12:55:53 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4YFkmT3sHpznL; Sat, 21 Dec 2024 12:55:53 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1734785753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AG1xJULj8lMG1zW/MJK/H8lkGJzJxscXrkVLM71I+/M=; b=wvoXlVeeQZJdKrx42fVGiMoyCaI/TjEslC3dvSmc8uhiMgRY5UEBoyqoB1n18qHCYU+83E G6vMuiaZAKl+v9CA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1734785753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AG1xJULj8lMG1zW/MJK/H8lkGJzJxscXrkVLM71I+/M=; b=PIfnyJG4zaP7aUJyDlOblQ0BBMMr5iI+wOQv5s+oYx04TI6rThNT1eGx9mvd6UttfLgkb8 Rd6sSKng004r6Hh9yKOrQJuTrZ1Zf4vmxBPOAUF9eDzybDbu/SoREwr+ai0/+7Iz4tBpeT +0eUAcuKxuOTvnmmhYQwALnhUV3Vy7pZdKt0kqAjDfICQBSdf92+EwJdK9mRWQ1TYXC4TW aZojqh4wlUZ3POMRLMj0JIjM8SHMypJUOdz+9pcxXEY5hPxxFVUtO/OQarj11Mf+c90AI/ i6z5f6DzIbSl1eOj7XTQRfRTQzRFqwcyqo1mnh4N+sDiGxIy0FhWzsYZIDNHkQ== From: Adolf Belka 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 Message-ID: <20241221125539.15309-30-adolf.belka@ipfire.org> In-Reply-To: <20241221125539.15309-1-adolf.belka@ipfire.org> References: <20241221125539.15309-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: P5S7AOO2HVB37Y2VS7XQAQBKBGLFR2K7 X-Message-ID-Hash: P5S7AOO2HVB37Y2VS7XQAQBKBGLFR2K7 X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Adolf Belka --- 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 # +# # +# 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 = 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)