From 1063948ea7d44deeca19bb6f0d88d666db785815 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Sun, 8 Jul 2018 11:02:54 +0200 Subject: [PATCH] ca-certificates: update to 20180409. --- srcpkgs/ca-certificates/template | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/srcpkgs/ca-certificates/template b/srcpkgs/ca-certificates/template index f5e4c768af..b9ac536d99 100644 --- a/srcpkgs/ca-certificates/template +++ b/srcpkgs/ca-certificates/template @@ -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 " 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 }