From 6018500e1d3f389e157899cfea848b518a7ecb4a Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Thu, 28 May 2020 20:16:12 -0600
Subject: [PATCH] Update ca-certificates legacy recipe

---
 recipes/ca-certificates/recipe.sh | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/recipes/ca-certificates/recipe.sh b/recipes/ca-certificates/recipe.sh
index e89df590c..c41b21069 100644
--- a/recipes/ca-certificates/recipe.sh
+++ b/recipes/ca-certificates/recipe.sh
@@ -1,31 +1,22 @@
+GIT="https://gitlab.redox-os.org/redox-os/ca-certificates.git"
+
 function recipe_version {
     date "+%Y%m%d"
     skip=1
 }
 
-function recipe_fetch {
-    if [ ! -d source ]
-    then
-        mkdir source
-    fi
-    pushd source
-        cp ../make-ca.sh make-ca.sh
-        curl \
-            -o certdata.txt \
-            --time-cond certdata.txt \
-            https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt
-    popd
-    skip=1
-}
-
 function recipe_update {
+    echo "skipping update"
     skip=1
 }
 
 function recipe_build {
     rm -rf build
     mkdir build
-    chmod +x ./make-ca.sh
+    curl \
+        -o certdata.txt \
+        --time-cond certdata.txt \
+        https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt
     ./make-ca.sh -D "$PWD/build"
     skip=1
 }
-- 
GitLab