From e8213fac46bfcb8068a883cb88b2bb1587f190f9 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Mar 2022 21:25:54 +0000 Subject: made packages work with musl --- repo/system/cacerts.xibuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'repo/system/cacerts.xibuild') 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" } -- cgit v1.2.1