wok view cacerts/receipt @ rev 16902

libQtPlugins:del bdeps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Jul 15 03:18:58 2014 +0300 (2014-07-15)
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 }