Browse Source

ca-certificates: Update to latest 2017-06-07

android-5
Fredrik Fornwall 8 years ago
parent
commit
e79361ae44
  1. 6
      packages/ca-certificates/build.sh

6
packages/ca-certificates/build.sh

@ -1,17 +1,17 @@
TERMUX_PKG_HOMEPAGE=https://curl.haxx.se/docs/caextract.html TERMUX_PKG_HOMEPAGE=https://curl.haxx.se/docs/caextract.html
TERMUX_PKG_DESCRIPTION="Common CA certificates" TERMUX_PKG_DESCRIPTION="Common CA certificates"
TERMUX_PKG_VERSION=20170117 TERMUX_PKG_VERSION=20170607
TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install () { termux_step_make_install () {
local CERTDIR=$TERMUX_PREFIX/etc/tls local CERTDIR=$TERMUX_PREFIX/etc/tls
local CERTFILE=$CERTDIR/cert.pem local CERTFILE=$CERTDIR/cert.pem
# If the checksum has changed, it may be time to update the package version. # If the checksum has changed, it may be time to update the package version.
local CERTFILE_SHA256=031761615fd48ca422bb81629db2b43e4401cf00b4eea259e5b8bd3791f5224a local CERTFILE_SHA256=e78c8ab7b4432bd466e64bb942d988f6c0ac91cd785017e465bdc96d42fe9dd0
mkdir -p $CERTDIR mkdir -p $CERTDIR
termux_download https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt \ termux_download https://curl.haxx.se/ca/cacert.pem \
$CERTFILE \ $CERTFILE \
$CERTFILE_SHA256 $CERTFILE_SHA256
touch $CERTFILE touch $CERTFILE

Loading…
Cancel
Save