wok-6.x view cacerts/receipt @ rev 18391
Add: WIP open-vm-tools (10.0.0)
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Fri Sep 18 23:31:50 2015 +0000 (2015-09-18) |
parents | c9c960507486 |
children | 2c7609f1596e |
line source
1 # SliTaz package receipt.
3 PACKAGE="cacerts"
4 VERSION="20150429"
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 }