summaryrefslogtreecommitdiff
path: root/repo/system/cacerts.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
commitbb499959d88da1b3937c23b5405089c907188a81 (patch)
treed9ddba6d0c8f1152c3919067a52250c6bf0759f9 /repo/system/cacerts.xibuild
parent3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff)
added and patched broken packages
Diffstat (limited to 'repo/system/cacerts.xibuild')
-rw-r--r--repo/system/cacerts.xibuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/repo/system/cacerts.xibuild b/repo/system/cacerts.xibuild
index 40a37f5..9c0198d 100644
--- a/repo/system/cacerts.xibuild
+++ b/repo/system/cacerts.xibuild
@@ -1,18 +1,24 @@
#!/bin/sh
-MAKEDEPS="sbase sed"
-DEPS="libnghttp"
+MAKEDEPS="sbase bash sed"
+DEPS="libnghttp libp11-kit"
PKG_VER=1.7
SOURCE=https://github.com/djlucas/make-ca/releases/download/v$PKG_VER/make-ca-$PKG_VER.tar.xz
+ADDITIONAL="
+ fix-sbase-coreutils.patch
+"
+
DESC="Root certificates needed by ssl built using make-ca"
+
prepare () {
+ apply_patches
sed -i "s/grep/ggrep/g" make-ca
+
}
package () {
- # TODO check why this doesnt package /etc/ssl/certs the first time in some occasions
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"