Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/common/rust-ctor | 19 ++++++++++--------- lfs/rust-ctor | 12 ++++-------- 2 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/config/rootfiles/common/rust-ctor b/config/rootfiles/common/rust-ctor index b0ba395cb..5669f3fcf 100644 --- a/config/rootfiles/common/rust-ctor +++ b/config/rootfiles/common/rust-ctor @@ -1,9 +1,10 @@ -#usr/share/cargo/registry/ctor-0.1.21 -#usr/share/cargo/registry/ctor-0.1.21/.cargo-checksum.json -#usr/share/cargo/registry/ctor-0.1.21/Cargo.toml -#usr/share/cargo/registry/ctor-0.1.21/Cargo.toml.deps -#usr/share/cargo/registry/ctor-0.1.21/LICENSE-APACHE -#usr/share/cargo/registry/ctor-0.1.21/LICENSE-MIT -#usr/share/cargo/registry/ctor-0.1.21/src -#usr/share/cargo/registry/ctor-0.1.21/src/example.rs -#usr/share/cargo/registry/ctor-0.1.21/src/lib.rs +#usr/share/cargo/registry/ctor-0.2.9 +#usr/share/cargo/registry/ctor-0.2.9/.cargo-checksum.json +#usr/share/cargo/registry/ctor-0.2.9/Cargo.toml +#usr/share/cargo/registry/ctor-0.2.9/Cargo.toml.deps +#usr/share/cargo/registry/ctor-0.2.9/LICENSE-APACHE +#usr/share/cargo/registry/ctor-0.2.9/LICENSE-MIT +#usr/share/cargo/registry/ctor-0.2.9/README.md +#usr/share/cargo/registry/ctor-0.2.9/src +#usr/share/cargo/registry/ctor-0.2.9/src/example.rs +#usr/share/cargo/registry/ctor-0.2.9/src/lib.rs diff --git a/lfs/rust-ctor b/lfs/rust-ctor index ede27e32e..ad3d3eb62 100644 --- a/lfs/rust-ctor +++ b/lfs/rust-ctor @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2024 IPFire Team info@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 # @@ -24,7 +24,7 @@
include Config
-VER = 0.1.21 +VER = 0.2.9
THISAPP = ctor-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 8feeaacd3d870b721ecfed7c8df60a27005de1f2a099eef816bd6df2d7b07dbfa00badeef44027398ff4505871a69814d7d4ec90b07d36e371099e4d0aebfae6 +$(DL_FILE)_BLAKE2 = 3dd71580df939114cbaa0555410c721c66eef82628aa5be34a51365217944d3880d9b51ffbe3d734349cf87e4341237bed9093cc59e281ab8fc5cd49b9e73ee0
install : $(TARGET)
@@ -73,11 +73,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - - cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \ - rm -f Cargo.toml.orig; \ - fi; \ - + cd $(DIR_APP) && rm Cargo.toml.orig cd $(DIR_APP) && $(CARGO_PREPARE) cd $(DIR_APP) && $(CARGO_BUILD) cd $(DIR_APP) && $(CARGO_INSTALL)