SUMMARY="Bundle of CA root certificates"
DESCRIPTION="Certificate data from Mozilla as of April 8, 2014.

This is a bundle of X.509 certificates of public Certificate Authorities (CA). \
These were automatically extracted from Mozilla's root certificates file \
(certdata.txt). It contains the certificates in PEM format and therefore \
can be directly used with curl / libcurl / php_curl, or with an \
Apache+mod_ssl webserver for SSL client authentication."
HOMEPAGE="http://www.mozilla.org/en-US/about/governance/policies/security-group/certs/"
COPYRIGHT="2008-2014 Mozilla"
LICENSE="MPL v1.1
	GNU GPL v2
	GNU LGPL v2.1"
SOURCE_URI="https://github.com/bagder/ca-bundle/raw/e9175fec5d0c4d42de24ed6d84a06d504d5e5a09/ca-bundle.crt#noarchive"
SOURCE_FILENAME="ca-bundle-$portVersion.crt"
CHECKSUM_SHA256="2cabd5956b10c43306a80e2432e4c6733d1976b0bbc004fb894dc5868912be9e"
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes

PROVIDES="
	ca_root_certificates = $portVersion compat >= 0
	"
REQUIRES="
	"
BUILD_REQUIRES="
	"
BUILD_PREREQUIRES="
	"

INSTALL()
{
	installDir="$dataRootDir/ssl/"
	mkdir -p "$installDir"
	cp ca-bundle-*.crt "$installDir/CARootCertificates.pem"
}
