wok view cacerts/receipt @ rev 17988
Update LXDE stuff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 23 01:34:37 2015 +0300 (2015-04-23) |
parents | f29d4912ea56 |
children | 7ea974b8da3a |
line source
1 # SliTaz package receipt.
3 PACKAGE="cacerts"
4 VERSION="20150415"
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"
12 WGET_URL="http://anduin.linuxfromscratch.org/sources/other/certdata.txt"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="openssl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv -f *.txt certdata.txt &&
21 patch -p1 < $stuff/remove_cnnic.patch &&
22 cp -a $stuff/* $src &&
23 ./make-ca.sh &&
24 ./remove-expired-certs.sh $src/certs
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/etc/ssl/certs
31 cp -a $src/certs/*.pem $fs/etc/ssl/certs
32 cp -a $src/ca-bundle.crt $fs/etc/ssl
33 }
35 post_install()
36 {
37 echo "Rehash certificates:"
38 if [ -d "$1/$INSTALLED/perl" ]; then
39 chroot "$1/" c_rehash
40 else
41 tazpkg -gi microperl --root="${1:-/}"
42 chroot "$1/" microperl /usr/bin/c_rehash
43 fi
44 }