From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 06/23] rust-Inflector: Required for update of python3-cryptography Date: Fri, 17 Jun 2022 11:42:26 +0200 Message-ID: <20220617094243.6422-6-adolf.belka@ipfire.org> In-Reply-To: <20220617094243.6422-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5398940918356603704==" List-Id: --===============5398940918356603704== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - lfs and rootfile created Signed-off-by: Adolf Belka --- config/rootfiles/common/rust-Inflector | 54 +++++++++++++++++ lfs/rust-Inflector | 80 ++++++++++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 config/rootfiles/common/rust-Inflector create mode 100644 lfs/rust-Inflector diff --git a/config/rootfiles/common/rust-Inflector b/config/rootfiles/common= /rust-Inflector new file mode 100644 index 000000000..d97372ab4 --- /dev/null +++ b/config/rootfiles/common/rust-Inflector @@ -0,0 +1,54 @@ +#usr/share/cargo/registry/Inflector-0.11.4 +#usr/share/cargo/registry/Inflector-0.11.4/.cargo-checksum.json +#usr/share/cargo/registry/Inflector-0.11.4/Cargo.toml +#usr/share/cargo/registry/Inflector-0.11.4/README.md +#usr/share/cargo/registry/Inflector-0.11.4/src +#usr/share/cargo/registry/Inflector-0.11.4/src/cases +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/camelcase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/camelcase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/case +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/case/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/classcase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/classcase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/kebabcase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/kebabcase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/pascalcase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/pascalcase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/screamingsnakecase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/screamingsnakecase/mod.= rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/sentencecase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/sentencecase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/snakecase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/snakecase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/tablecase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/tablecase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/titlecase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/titlecase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/traincase +#usr/share/cargo/registry/Inflector-0.11.4/src/cases/traincase/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/lib.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/numbers +#usr/share/cargo/registry/Inflector-0.11.4/src/numbers/deordinalize +#usr/share/cargo/registry/Inflector-0.11.4/src/numbers/deordinalize/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/numbers/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/numbers/ordinalize +#usr/share/cargo/registry/Inflector-0.11.4/src/numbers/ordinalize/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/string +#usr/share/cargo/registry/Inflector-0.11.4/src/string/constants +#usr/share/cargo/registry/Inflector-0.11.4/src/string/constants/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/string/deconstantize +#usr/share/cargo/registry/Inflector-0.11.4/src/string/deconstantize/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/string/demodulize +#usr/share/cargo/registry/Inflector-0.11.4/src/string/demodulize/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/string/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/string/pluralize +#usr/share/cargo/registry/Inflector-0.11.4/src/string/pluralize/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/string/singularize +#usr/share/cargo/registry/Inflector-0.11.4/src/string/singularize/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/suffix +#usr/share/cargo/registry/Inflector-0.11.4/src/suffix/foreignkey +#usr/share/cargo/registry/Inflector-0.11.4/src/suffix/foreignkey/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/src/suffix/mod.rs +#usr/share/cargo/registry/Inflector-0.11.4/tests +#usr/share/cargo/registry/Inflector-0.11.4/tests/lib.rs diff --git a/lfs/rust-Inflector b/lfs/rust-Inflector new file mode 100644 index 000000000..eb8a3fa5b --- /dev/null +++ b/lfs/rust-Inflector @@ -0,0 +1,80 @@ +############################################################################= ### +# = # +# 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 =3D 0.11.4 + +THISAPP =3D Inflector-$(VER) +DL_FILE =3D $(THISAPP).tar.gz +DL_FROM =3D $(URL_IPFIRE) +DIR_APP =3D $(DIR_SRC)/$(THISAPP) +TARGET =3D $(DIR_INFO)/$(THISAPP) + +############################################################################= ### +# Top-level Rules +############################################################################= ### + +objects =3D $(DL_FILE) + +$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 =3D eaf0c7f983b3186e9bc89353021a10592f2877e46585bd50b96db9= b087343d1199c7b6cf3fa53cd274fb6d33de025a904b8aa31a7ac9599ae3689ecdbcec34cd + +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) && $(CARGO_PREPARE) + cd $(DIR_APP) && $(CARGO_BUILD) + cd $(DIR_APP) && $(CARGO_INSTALL) + @rm -rf $(DIR_APP) + @$(POSTBUILD) --=20 2.36.1 --===============5398940918356603704==--