ca-certificates: update to 20180409.
This commit is contained in:
parent
dfb79a28b9
commit
1063948ea7
1 changed files with 5 additions and 6 deletions
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'ca-certificates'
|
||||
pkgname=ca-certificates
|
||||
reverts=20180409_1
|
||||
version=20170717
|
||||
revision=3
|
||||
version=20180409
|
||||
revision=2
|
||||
wrksrc="${pkgname}"
|
||||
bootstrap=yes
|
||||
noarch="yes"
|
||||
|
@ -12,9 +11,9 @@ conf_files="/etc/ca-certificates.conf"
|
|||
short_desc="Common CA certificates for SSL/TLS"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="https://tracker.debian.org/pkg/ca-certificates"
|
||||
license="GPL-2, MPL-2.0"
|
||||
license="GPL-2.0-or-later, MPL-2.0"
|
||||
distfiles="${DEBIAN_SITE}/main/c/${pkgname}/${pkgname}_${version}.tar.xz"
|
||||
checksum=e487639b641fa75445174734dd6e9d600373e3248b3d86a7e3c6d0f6977decd2
|
||||
checksum=7af6f5bfc619fd29cbf0258c1d95107c38ce840ad6274e343e1e0d971fc72b51
|
||||
|
||||
post_extract() {
|
||||
$BUILD_CC $BUILD_CFLAGS ${FILESDIR}/certdata2pem.c -o ${wrksrc}/mozilla/certdata2pem
|
||||
|
@ -39,7 +38,7 @@ do_install() {
|
|||
${DESTDIR}/usr/share/man/man8/update-ca-certificates.8
|
||||
cd ${DESTDIR}/usr/share/ca-certificates
|
||||
find . -name '*.crt' | sort | cut -b3- > ${DESTDIR}/etc/ca-certificates.conf
|
||||
sed -i 's,c_rehash,openssl certhash,g' ${DESTDIR}/usr/sbin/update-ca-certificates
|
||||
sed -i 's,openssl rehash,openssl certhash,g' ${DESTDIR}/usr/sbin/update-ca-certificates
|
||||
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||
ln -s /etc/ssl/certs/ca-certificates.crt ${DESTDIR}/etc/ssl/certs.pem
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue