wok annotate cacerts/receipt @ rev 17551
giflib: typo, cacerts: microperl /usr/bin/c_rehash
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Jan 30 03:47:10 2015 +0100 (2015-01-30) |
parents | d805d3de4546 |
children | dfef8de3d270 |
rev | line source |
---|---|
al@14468 | 1 # SliTaz package receipt. |
al@14468 | 2 |
al@14468 | 3 PACKAGE="cacerts" |
al@14468 | 4 VERSION="1.87" |
al@14468 | 5 CATEGORY="security" |
al@14468 | 6 SHORT_DESC="Certificate Authority Certificates" |
al@14468 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14468 | 8 LICENSE="MPL2" |
al@14468 | 9 WEB_SITE="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cacerts.html" |
al@14468 | 10 TARBALL="$PACKAGE-$VERSION.txt" |
al@14468 | 11 WGET_URL="http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1" |
al@14468 | 12 |
al@14468 | 13 DEPENDS="openssl" |
al@14468 | 14 BUILD_DEPENDS="openssl" |
al@14468 | 15 |
al@14468 | 16 # Rules to configure and make the package. |
al@14468 | 17 compile_rules() |
al@14468 | 18 { |
al@14468 | 19 mv -f *.txt certdata.txt && |
al@14468 | 20 cp -a $stuff/* $src && |
al@14468 | 21 ./make-ca.sh && |
al@14468 | 22 ./remove-expired-certs.sh $src/certs |
al@14468 | 23 } |
al@14468 | 24 |
al@14468 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14468 | 26 genpkg_rules() |
al@14468 | 27 { |
al@14468 | 28 mkdir -p $fs/etc/ssl/certs |
al@14468 | 29 cp -a $src/certs/*.pem $fs/etc/ssl/certs |
al@14468 | 30 cp -a $src/ca-bundle.crt $fs/etc/ssl |
al@14468 | 31 } |
al@14468 | 32 |
al@14468 | 33 post_install() |
al@14468 | 34 { |
al@14468 | 35 echo "Rehash certificates:" |
psychomaniak@17551 | 36 if [ -d "$INSTALLED/perl" ]; then |
psychomaniak@17551 | 37 c_rehash |
psychomaniak@17551 | 38 else |
psychomaniak@17551 | 39 tazpkg -gi microperl |
psychomaniak@17551 | 40 microperl /usr/bin/c_rehash |
psychomaniak@17551 | 41 fi |
al@14468 | 42 } |