summaryrefslogtreecommitdiffhomepage
path: root/vars/ca_certificates.vars
blob: d43d5b7897db5aa8a7f71816cbe7219569676404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# set -o errexit -o noglob are assumed.
#

pkg_ca_certificates_install_make_pre() {
	${PKG_DESTDIR}/../ca-certificates/certdata2pem_host
};

pkg_ca_certificates_install_make_post() {
	ex_rtl_fileop cd "${PKG_DESTDIR}/share/ca-certificates";
	set +o noglob
	find . -name '*.crt' | sort | cut -b3- > ${PKG_DESTDIR}/etc/ca-certificates.conf
	set -o noglob
};

# vim:filetype=sh