]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/rust-pyo3-build-config
collectd.conf: Fix bug12981 - This creates in and out drop hostile data collection
[ipfire-2.x.git] / lfs / rust-pyo3-build-config
index a7eae12cf589268835ea33c7e0fb2ce38501cb44..a274c9803e4c88a9b76648061bc3eb1bb4d90b35 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 0.15.1
+VER        = 0.15.2
 
 THISAPP    = pyo3-build-config-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 47803b389f30f15f487daf96d32e374ebc83b1b41ddee1d2dcadd1a0fbaef40c4c1af2312b86ec085637e3192b1bd213c93b5f4e8dee173d81e510f480fa6953
+$(DL_FILE)_BLAKE2 = 35355ee30242b7e95426920e7f108fd7f32aa86f2949bb388139ed84ac0a8da2adbc05a5ecaf3beb89525d0c7a4e25ca8e33e9f35e324cbd970f6b4dbe5fbfdf
 
 install : $(TARGET)
 
@@ -73,6 +73,11 @@ $(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) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)