diff --git a/recipes/net/curl/recipe.toml b/recipes/net/curl/recipe.toml index b55b006c6b55c60eb6d502bde7f2b85c0c30c0fb..4c28f0d2e931f04c9293cd615413f1eb91b7396b 100644 --- a/recipes/net/curl/recipe.toml +++ b/recipes/net/curl/recipe.toml @@ -29,7 +29,7 @@ COOKBOOK_CONFIGURE_FLAGS=( --disable-tftp --disable-threaded-resolver --enable-static - --with-ca-path=/ssl/certs + --with-ca-path=/etc/ssl/certs --with-nghttp2="${COOKBOOK_SYSROOT}" --with-ssl="${COOKBOOK_SYSROOT}" --with-zlib="${COOKBOOK_SYSROOT}" diff --git a/recipes/other/ca-certificates/recipe.toml b/recipes/other/ca-certificates/recipe.toml index cbd7082707d5adf444cc26444de0f1a503495c26..b7674f22bdcb6df65831aa1fb458f0727f5f3815 100644 --- a/recipes/other/ca-certificates/recipe.toml +++ b/recipes/other/ca-certificates/recipe.toml @@ -4,6 +4,8 @@ git = "https://gitlab.redox-os.org/redox-os/ca-certificates.git" [build] template = "custom" script = """ -mkdir -pv "${COOKBOOK_STAGE}/ssl" -cp -rv "${COOKBOOK_SOURCE}/certs" "${COOKBOOK_STAGE}/ssl/certs" +mkdir -pv "${COOKBOOK_STAGE}/etc/ssl" +cp -rv "${COOKBOOK_SOURCE}/certs" "${COOKBOOK_STAGE}/etc/ssl/certs" +#TODO: remove deprecated location after all recipes are fixed +ln -s etc/ssl "${COOKBOOK_STAGE}/ssl" """