summaryrefslogtreecommitdiff
path: root/repo/system/cacerts.xibuild
blob: 82e6782fe93bbea007c5cfc1ff026718b4741ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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
    bash make-ca -g --force -D $PKG_DEST
    chmod -R 777 $PKG_DEST || echo "couldnt change permissions for $PKG_DEST"
}