diff --git a/recipes/net/curl/recipe.toml b/recipes/net/curl/recipe.toml index b55b006c..4c28f0d2 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 cbd70827..b7674f22 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" """