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

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
    bash make-ca -g --force -D $PKG_DEST
    chmod -R 777 $PKG_DEST || echo "couldnt change permissions for $PKG_DEST"
}