wok-current view cacerts/receipt @ rev 19170

Fix typo in $MAINTAINER
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 02 11:40:11 2016 +0300 (2016-06-02)
parents 7ea974b8da3a
children cfa2c2f63692
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"
13 HOST_ARCH="any"
15 DEPENDS="openssl"
16 BUILD_DEPENDS="openssl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mv -f *.txt certdata.txt &&
22 patch -p1 < $stuff/remove_cnnic.patch &&
23 cp -a $stuff/* $src &&
24 ./make-ca.sh &&
25 ./remove-expired-certs.sh $src/certs
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/etc/ssl/certs
32 cp -a $src/certs/*.pem $fs/etc/ssl/certs
33 cp -a $src/ca-bundle.crt $fs/etc/ssl
34 }
36 post_install()
37 {
38 case "$1" in
39 /cross*) return
40 esac
42 echo "Rehash certificates:"
43 if [ -d "$1/$INSTALLED/perl" ]; then
44 chroot "$1/" c_rehash
45 else
46 tazpkg -gi microperl --root="${1:-/}"
47 chroot "$1/" microperl /usr/bin/c_rehash
48 fi
49 }