Switch cacerts source back to curl now that they provide https

Fixes #1128
This commit is contained in:
Adrien Destugues
2017-02-05 10:46:54 +01:00
parent 4cd4b6e052
commit 6bb664abb5
2 changed files with 3 additions and 39 deletions

View File

@@ -1,36 +0,0 @@
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"
}

View File

@@ -7,13 +7,13 @@ These were automatically extracted from Mozilla's root certificates file \
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"
COPYRIGHT="2008-2017 Mozilla"
LICENSE="MPL v1.1
GNU GPL v2
GNU LGPL v2.1"
SOURCE_URI="https://github.com/bagder/ca-bundle/raw/86347ecbdc2277f365d02f0d208b822a214e012d/ca-bundle.crt#noarchive"
SOURCE_URI="https://curl.haxx.se/ca/cacert-2017-01-18.pem#noarchive"
SOURCE_FILENAME="ca-bundle-$portVersion.crt"
CHECKSUM_SHA256="7d8aaf09d6756ca3387bc1f1927debd748378dda807c30c84d116ed4e90d31b8"
#CHECKSUM_SHA256="7d8aaf09d6756ca3387bc1f1927debd748378dda807c30c84d116ed4e90d31b8"
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes