summaryrefslogtreecommitdiff
path: root/repo/system/cacerts.xibuild
blob: 65c41f305ab00ccfbcf8015cf6eb8031bd34d79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

MAKEDEPS=(make-ca)
DEPS=(make-ca 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"

package () {
    # TODO check why this doesnt package /etc/ssl/certs the first time in some occasions
    bash make-ca -g --force -D $PKG_DEST
    chmod -R 777 $PKG_DEST || echo "couldnt change permissions for $PKG_DEST"
}