wok view cacerts/receipt @ rev 14590
drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 00:27:59 2013 +0000 (2013-05-27) |
parents | |
children | 40f9f468d1fd |
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 c_rehash
37 }