wok-current rev 21571

updated cacerts (20170224 -> 20190517)
author Hans-G?nter Theisgen
date Sat May 18 16:52:54 2019 +0100 (2019-05-18)
parents d8057344b557
children 7441485e30be
files cacerts/receipt
line diff
     1.1 --- a/cacerts/receipt	Sat May 18 14:15:45 2019 +0100
     1.2 +++ b/cacerts/receipt	Sat May 18 16:52:54 2019 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cacerts"
     1.7 -VERSION="20170224"
     1.8 +VERSION="20190517"
     1.9  CATEGORY="security"
    1.10 -SHORT_DESC="Certificate Authority Certificates"
    1.11 +SHORT_DESC="Certificate Authority Certificates."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="MPL2"
    1.14  WEB_SITE="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/make-ca.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.txt"
    1.17  #WGET_URL="https://hg.mozilla.org/releases/mozilla-release/file/default/security/nss/lib/ckfw/builtins/certdata.txt"
    1.18  WGET_URL="http://anduin.linuxfromscratch.org/BLFS/other/certdata.txt"
    1.19 -HOST_ARCH="any"
    1.20  
    1.21  DEPENDS="openssl"
    1.22 -BUILD_DEPENDS="perl openssl locale-en"
    1.23 +BUILD_DEPENDS="locale-en openssl perl"
    1.24 +
    1.25 +HOST_ARCH="any"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29 @@ -28,8 +30,10 @@
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/etc/ssl/certs
    1.33 -	cp -a $src/certs/*.pem $fs/etc/ssl/certs
    1.34 -	cp -a $src/ca-bundle.crt $fs/etc/ssl
    1.35 +
    1.36 +	cp -a $src/certs/*.pem		$fs/etc/ssl/certs
    1.37 +	cp -a $src/ca-bundle.crt	$fs/etc/ssl
    1.38 +
    1.39  	ln -s ../ca-bundle.crt $fs/etc/ssl/certs/ca-certificates.crt
    1.40  }
    1.41  
    1.42 @@ -40,10 +44,11 @@
    1.43  	# (see openssl package). Normal no output here.
    1.44  	cd "$1/etc/ssl/certs"
    1.45  	find . -type l -delete
    1.46 -	for i in $(ls *.pem); do
    1.47 +	for i in $(ls *.pem)
    1.48 +	  do
    1.49  		j="$(openssl x509 -hash -noout -in $i)"
    1.50  		[ -n "$j" ] && ln -s $i $j.0
    1.51 -	done
    1.52 +	  done
    1.53  }
    1.54  
    1.55  post_remove()