From 87eab5be3454a74b41767751be1a7f6aae8ec898 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 31 Jan 2022 11:10:06 +0100 Subject: [PATCH] rust-quote: New package. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- config/rootfiles/common/rust-quote | 34 +++++++++++++ lfs/rust-quote | 82 ++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 117 insertions(+) create mode 100644 config/rootfiles/common/rust-quote create mode 100644 lfs/rust-quote diff --git a/config/rootfiles/common/rust-quote b/config/rootfiles/common/rust-quote new file mode 100644 index 0000000000..44c28c7228 --- /dev/null +++ b/config/rootfiles/common/rust-quote @@ -0,0 +1,34 @@ +#usr/share/cargo/registry/quote-1.0.15 +#usr/share/cargo/registry/quote-1.0.15/.cargo-checksum.json +#usr/share/cargo/registry/quote-1.0.15/Cargo.toml +#usr/share/cargo/registry/quote-1.0.15/Cargo.toml.deps +#usr/share/cargo/registry/quote-1.0.15/LICENSE-APACHE +#usr/share/cargo/registry/quote-1.0.15/LICENSE-MIT +#usr/share/cargo/registry/quote-1.0.15/README.md +#usr/share/cargo/registry/quote-1.0.15/rust-toolchain.toml +#usr/share/cargo/registry/quote-1.0.15/src +#usr/share/cargo/registry/quote-1.0.15/src/ext.rs +#usr/share/cargo/registry/quote-1.0.15/src/format.rs +#usr/share/cargo/registry/quote-1.0.15/src/ident_fragment.rs +#usr/share/cargo/registry/quote-1.0.15/src/lib.rs +#usr/share/cargo/registry/quote-1.0.15/src/runtime.rs +#usr/share/cargo/registry/quote-1.0.15/src/spanned.rs +#usr/share/cargo/registry/quote-1.0.15/src/to_tokens.rs +#usr/share/cargo/registry/quote-1.0.15/tests +#usr/share/cargo/registry/quote-1.0.15/tests/compiletest.rs +#usr/share/cargo/registry/quote-1.0.15/tests/test.rs +#usr/share/cargo/registry/quote-1.0.15/tests/ui +#usr/share/cargo/registry/quote-1.0.15/tests/ui/does-not-have-iter-interpolated-dup.rs +#usr/share/cargo/registry/quote-1.0.15/tests/ui/does-not-have-iter-interpolated-dup.stderr +#usr/share/cargo/registry/quote-1.0.15/tests/ui/does-not-have-iter-interpolated.rs +#usr/share/cargo/registry/quote-1.0.15/tests/ui/does-not-have-iter-interpolated.stderr +#usr/share/cargo/registry/quote-1.0.15/tests/ui/does-not-have-iter-separated.rs +#usr/share/cargo/registry/quote-1.0.15/tests/ui/does-not-have-iter-separated.stderr +#usr/share/cargo/registry/quote-1.0.15/tests/ui/does-not-have-iter.rs +#usr/share/cargo/registry/quote-1.0.15/tests/ui/does-not-have-iter.stderr +#usr/share/cargo/registry/quote-1.0.15/tests/ui/not-quotable.rs +#usr/share/cargo/registry/quote-1.0.15/tests/ui/not-quotable.stderr +#usr/share/cargo/registry/quote-1.0.15/tests/ui/not-repeatable.rs +#usr/share/cargo/registry/quote-1.0.15/tests/ui/not-repeatable.stderr +#usr/share/cargo/registry/quote-1.0.15/tests/ui/wrong-type-span.rs +#usr/share/cargo/registry/quote-1.0.15/tests/ui/wrong-type-span.stderr diff --git a/lfs/rust-quote b/lfs/rust-quote new file mode 100644 index 0000000000..b6925f1e80 --- /dev/null +++ b/lfs/rust-quote @@ -0,0 +1,82 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 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 = 1.0.15 + +THISAPP = quote-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +CARGO_HAS_BIN = false + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = c294b4ad6e6b07b60444203f8a3f653f + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && $(CARGO_PREPARE) + cd $(DIR_APP) && $(CARGO_BUILD) + cd $(DIR_APP) && $(CARGO_INSTALL) + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index ad01675f8b..84261bef1a 100755 --- a/make.sh +++ b/make.sh @@ -1227,6 +1227,7 @@ buildipfire() { lfsmake2 rust-hex lfsmake2 rust-unicode-xid lfsmake2 rust-proc-macro2 + lfsmake2 rust-quote lfsmake2 gdb lfsmake2 grub lfsmake2 efivar -- 2.39.2