wok diff cacerts/receipt @ rev 16405
Add luckybackup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 16 13:07:54 2014 +0000 (2014-04-16) |
parents | |
children | 40f9f468d1fd |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cacerts/receipt Wed Apr 16 13:07:54 2014 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cacerts" 1.7 +VERSION="1.87" 1.8 +CATEGORY="security" 1.9 +SHORT_DESC="Certificate Authority Certificates" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MPL2" 1.12 +WEB_SITE="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cacerts.html" 1.13 +TARBALL="$PACKAGE-$VERSION.txt" 1.14 +WGET_URL="http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1" 1.15 + 1.16 +DEPENDS="openssl" 1.17 +BUILD_DEPENDS="openssl" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + mv -f *.txt certdata.txt && 1.23 + cp -a $stuff/* $src && 1.24 + ./make-ca.sh && 1.25 + ./remove-expired-certs.sh $src/certs 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/etc/ssl/certs 1.32 + cp -a $src/certs/*.pem $fs/etc/ssl/certs 1.33 + cp -a $src/ca-bundle.crt $fs/etc/ssl 1.34 +} 1.35 + 1.36 +post_install() 1.37 +{ 1.38 + echo "Rehash certificates:" 1.39 + c_rehash 1.40 +}