2015-08-12 05:52:41 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://curl.haxx.se/docs/caextract.html
|
|
|
|
TERMUX_PKG_DESCRIPTION="Common CA certificates"
|
2017-01-17 17:25:46 +01:00
|
|
|
TERMUX_PKG_VERSION=20170117
|
2015-12-02 02:32:08 +01:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
2015-08-12 05:52:41 +02:00
|
|
|
|
|
|
|
termux_step_make_install () {
|
2016-08-24 12:34:43 +02:00
|
|
|
local CERTDIR=$TERMUX_PREFIX/etc/tls
|
|
|
|
local CERTFILE=$CERTDIR/cert.pem
|
2016-12-01 00:29:14 +01:00
|
|
|
# If the checksum has changed, it may be time to update the package version.
|
2017-01-17 17:25:46 +01:00
|
|
|
local CERTFILE_SHA256=031761615fd48ca422bb81629db2b43e4401cf00b4eea259e5b8bd3791f5224a
|
2016-08-24 12:34:43 +02:00
|
|
|
|
|
|
|
mkdir -p $CERTDIR
|
|
|
|
|
|
|
|
termux_download https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt \
|
|
|
|
$CERTFILE \
|
|
|
|
$CERTFILE_SHA256
|
2015-08-12 05:52:41 +02:00
|
|
|
}
|