diff options
author | davidovski <david@davidovski.xyz> | 2022-03-01 21:25:54 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-01 21:25:54 +0000 |
commit | e8213fac46bfcb8068a883cb88b2bb1587f190f9 (patch) | |
tree | 8ec5946d18961404efb12700267e10cffffa6db7 /repo/system/cacerts.xibuild | |
parent | 79c82d8fc0a4f6618429a0373bb832afd105543e (diff) |
made packages work with musl
Diffstat (limited to 'repo/system/cacerts.xibuild')
-rw-r--r-- | repo/system/cacerts.xibuild | 10 |
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" } |