Add recipe for ca_root_certificates.

This commit is contained in:
Oliver Tappe
2013-04-28 17:46:56 +02:00
parent fde5fa3853
commit 052ffa137c

View File

@@ -0,0 +1,47 @@
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"
PROVIDES="
ca_root_certificates = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
coreutils
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
"
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.
"