[packages/ca-certificates] - openssl rehash command does not exist as of openssl 1.0.2o, use c_rehash.sh script - rel 2

baggins baggins at pld-linux.org
Fri Apr 13 22:33:17 CEST 2018


commit ad8e57169cf8c4d7877e5dbb33aa20960d8d5959
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Apr 13 22:31:58 2018 +0200

    - openssl rehash command does not exist as of openssl 1.0.2o, use c_rehash.sh script
    - rel 2

 ca-certificates.spec    |  4 +++-
 no-openssl-rehash.patch | 14 ++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/ca-certificates.spec b/ca-certificates.spec
index 7156fb4..89cf46b 100644
--- a/ca-certificates.spec
+++ b/ca-certificates.spec
@@ -14,7 +14,7 @@ Summary(pl.UTF-8):	Pliki PEM popularnych certyfikatów CA
 Name:		ca-certificates
 %define	ver_date	20180409
 Version:	%{ver_date}
-Release:	1
+Release:	2
 License:	GPL v2 (scripts), MPL v2 (mozilla certs), distributable (other certs)
 Group:		Base
 Source0:	http://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.xz
@@ -95,6 +95,7 @@ Patch2:		%{name}-etc-certs.patch
 
 Patch5:		%{name}-DESTDIR.patch
 Patch6:		%{name}.d.patch
+Patch7:		no-openssl-rehash.patch
 URL:		https://packages.debian.org/sid/ca-certificates
 BuildRequires:	openssl-tools
 BuildRequires:	python >= 1:2.6
@@ -143,6 +144,7 @@ Skrypt i dane do odświeżania bazy certyfikatów CA.
 
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %{__sed} -i -e 's, at openssldir@,%{openssldir},' sbin/update-ca-certificates*
 
diff --git a/no-openssl-rehash.patch b/no-openssl-rehash.patch
new file mode 100644
index 0000000..bdd965b
--- /dev/null
+++ b/no-openssl-rehash.patch
@@ -0,0 +1,14 @@
+--- ca-certificates/sbin/update-ca-certificates~	2018-04-13 22:08:15.000000000 +0200
++++ ca-certificates/sbin/update-ca-certificates	2018-04-13 22:30:21.837942256 +0200
+@@ -185,9 +185,9 @@
+   # only run if set of files has changed
+   if [ "$verbose" = 0 ]
+   then
+-    openssl rehash . > /dev/null
++    c_rehash.sh . > /dev/null
+   else
+-    openssl rehash .
++    c_rehash.sh .
+   fi
+ fi
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ca-certificates.git/commitdiff/ad8e57169cf8c4d7877e5dbb33aa20960d8d5959



More information about the pld-cvs-commit mailing list