SUMMARY="Bundle of CA root certificates"
HOMEPAGE="http://curl.haxx.se/docs/caextract.html"
COPYRIGHT="2012 <Unknown>"
#	No copyright seems to be specified anywhere ...
LICENSE="
	MPL v1.1
	GNU GPL v2
	GNU LGPL v2.1
	"
SRC_URI="http://haiku-files.org/files/data/cacert_121229.pem#noarchive"
CHECKSUM_MD5="47961e7ef15667c93cd99be01b51f00a"
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes

PROVIDES="
	ca_root_certificates = $portVersion
	"
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_REQUIRES="
	"
BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	coreutils
	"

INSTALL()
{
	installDir="$dataRootDir/ssl"
	mkdir -p "$installDir"
	cp cacert_??????.pem "$installDir/CARootCertificates.pem"
}

DESCRIPTION="
Certificate data from Mozilla as of: Sat Dec 29 20:03:40 2012
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).  This file can be found in the mozilla source tree: \
http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1
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.
Just configure this file as the SSLCACertificateFile.
"
