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