summaryrefslogtreecommitdiff
path: root/repo/system/cacerts.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/cacerts.xibuild')
-rw-r--r--repo/system/cacerts.xibuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/repo/system/cacerts.xibuild b/repo/system/cacerts.xibuild
index 74bc535..320e986 100644
--- a/repo/system/cacerts.xibuild
+++ b/repo/system/cacerts.xibuild
@@ -1,15 +1,19 @@
#!/bin/sh
-MAKEDEPS="make-ca"
-DEPS="make-ca libnghttp"
+MAKEDEPS="coreutils sed"
+DEPS="libnghttp"
PKG_VER=1.7
SOURCE=https://github.com/djlucas/make-ca/releases/download/v$PKG_VER/make-ca-$PKG_VER.tar.xz
DESC="Root certificates needed by ssl built using make-ca"
+prepare () {
+ sed -i "s/grep/ggrep/g" make-ca
+}
+
package () {
# TODO check why this doesnt package /etc/ssl/certs the first time in some occasions
- bash make-ca -g --force -D $PKG_DEST
+ mkdir -p $PKG_DEST/etc/ssl/certs
bash make-ca -g --force -D $PKG_DEST
chmod -R 777 $PKG_DEST || echo "couldnt change permissions for $PKG_DEST"
}