From 838fee9234db04e6eb69ae1b55fd27e78ed29ded Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Wed, 4 Sep 2024 13:20:34 +0200 Subject: [PATCH] cargo_c, bump version (openssl3 issue) (#11051) --- ..._c-0.9.32.recipe => cargo_c-0.10.3.recipe} | 6 +-- dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe | 49 ------------------- 2 files changed, 3 insertions(+), 52 deletions(-) rename dev-rust/cargo_c/{cargo_c-0.9.32.recipe => cargo_c-0.10.3.recipe} (89%) delete mode 100644 dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe diff --git a/dev-rust/cargo_c/cargo_c-0.9.32.recipe b/dev-rust/cargo_c/cargo_c-0.10.3.recipe similarity index 89% rename from dev-rust/cargo_c/cargo_c-0.9.32.recipe rename to dev-rust/cargo_c/cargo_c-0.10.3.recipe index ddefbad85..c83827f6c 100644 --- a/dev-rust/cargo_c/cargo_c-0.9.32.recipe +++ b/dev-rust/cargo_c/cargo_c-0.10.3.recipe @@ -7,9 +7,9 @@ COPYRIGHT="2024 Luca Barbato" LICENSE="MIT" REVISION="1" SOURCE_URI="https://github.com/lu-zero/cargo-c/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="a96f3cc6c63d9901c9583083338d50b0132504bb067f68accc17f4116ed01f72" +CHECKSUM_SHA256="922171afb3ceaf6553ff3916ae4663d3743ba22f80725f2300a26b76eb6eb94f" SOURCE_URI_2="https://github.com/lu-zero/cargo-c/releases/download/v$portVersion/Cargo.lock#noarchive" -CHECKSUM_SHA256_2="77b5392f238960cf298b83e6d744c872f4180172ffa3c752850320ec051c4828" +CHECKSUM_SHA256_2="6c099fe28666e4c6b5da41b65d00de35c9c60ab336c625d845f28055a0e90a7d" SOURCE_DIR="cargo-c-$portVersion" ARCHITECTURES="all !x86_gcc2" @@ -38,7 +38,7 @@ BUILD_REQUIRES=" devel:libcurl$secondaryArchSuffix devel:libgit2$secondaryArchSuffix devel:libssh2$secondaryArchSuffix - devel:libssl$secondaryArchSuffix >= 1.1 + devel:libssl$secondaryArchSuffix >= 3 devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" diff --git a/dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe b/dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe deleted file mode 100644 index 250116352..000000000 --- a/dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe +++ /dev/null @@ -1,49 +0,0 @@ -SUMMARY="Cargo applet to build and install C-ABI compatibile dynamic and static libraries" -DESCRIPTION="It produces and installs a correct pkg-config file, a static \ -library and a dynamic library, and a C header to be used by any C (and \ -C-compatible) software." -HOMEPAGE="https://github.com/lu-zero/cargo-c" -COPYRIGHT="2020 Luca Barbato" -LICENSE="MIT" -REVISION="2" -if [ "$targetArchitecture" = x86_gcc2 ]; then - srcGitRev="cdd0b630eedd53ae6d89cfec9ee0cea8fa83b124" - SOURCE_URI="https://github.com/Begasus/cargo-c/archive/$srcGitRev.tar.gz" - CHECKSUM_SHA256="39da8945db1ee54f051ea69b04d2c0a9c765baffab2c4871427c1d1f96b29e03" - SOURCE_DIR="cargo-c-$srcGitRev/32bit" -elif [ "$targetArchitecture" = x86_64 ]; then - srcGitRev="a703bd97a18326396b7805aa75a6444796fe4605" - SOURCE_URI="https://github.com/Begasus/cargo-c/archive/$srcGitRev.tar.gz" - CHECKSUM_SHA256="0af0cef06db1aa7d46ca6ce60ad89bc1ca0c3705c51a7f80f6f87e0b2b84d8f7" - SOURCE_DIR="cargo-c-$srcGitRev/64bit" -else - SOURCE_URI="https://github.com/lu-zero/cargo-c/archive/$portVersion.tar.gz" - CHECKSUM_SHA256="" -fi - -ARCHITECTURES="!x86_gcc2 x86_64" -SECONDARY_ARCHITECTURES="x86" -DISABLE_SOURCE_PACKAGE="yes" - -PROVIDES=" - cargo_c_bin$secondaryArchSuffix - cmd:cargo_capi = $portVersion - cmd:cargo_cbuild = $portVersion - cmd:cargo_cinstall = $portVersion - cmd:cargo_ctest = $portVersion - " -REQUIRES=" - haiku$secondaryArchSuffix - lib:libcrypto$secondaryArchSuffix - lib:libcurl$secondaryArchSuffix - lib:libgit2$secondaryArchSuffix - lib:libssh2$secondaryArchSuffix - lib:libssl$secondaryArchSuffix - lib:libz$secondaryArchSuffix - " - -INSTALL() -{ - mkdir $prefix/bin - cp * $prefix/bin -}