[packages/ca-certificates] rediff patches; rel 3

atler atler at pld-linux.org
Fri Mar 12 11:29:47 CET 2021


commit 4ab1fc5e514a39560fe23e38c69dd28111408b5d
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 12 11:29:14 2021 +0100

    rediff patches; rel 3

 ca-certificates-etc-certs.patch   | 9 +++++----
 ca-certificates-undebianize.patch | 2 +-
 ca-certificates.d.patch           | 4 ++--
 ca-certificates.spec              | 2 +-
 4 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/ca-certificates.spec b/ca-certificates.spec
index 97dee1b..ebc634a 100644
--- a/ca-certificates.spec
+++ b/ca-certificates.spec
@@ -13,7 +13,7 @@ Summary(pl.UTF-8):	Pliki PEM popularnych certyfikatów CA
 Name:		ca-certificates
 %define	ver_date	20210119
 Version:	%{ver_date}
-Release:	2
+Release:	3
 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
diff --git a/ca-certificates-etc-certs.patch b/ca-certificates-etc-certs.patch
index 8d25f7c..ecd9623 100644
--- a/ca-certificates-etc-certs.patch
+++ b/ca-certificates-etc-certs.patch
@@ -1,7 +1,7 @@
 --- ca-certificates-20140223/sbin/update-ca-certificates~	2014-03-14 12:55:24.000000000 +0200
 +++ ca-certificates-20140223/sbin/update-ca-certificates	2014-03-14 14:38:31.587876211 +0200
-@@ -37,7 +37,7 @@
- 
+@@ -37,8 +37,8 @@
+ default=0
  CERTSCONF=/etc/ca-certificates.conf
  CERTSDIR=/usr/share/ca-certificates
 -LOCALCERTSDIR=/usr/local/share/ca-certificates
@@ -9,7 +9,8 @@
 +LOCALCERTSDIR=/etc/certs
 +CERTBUNDLE=/etc/certs/ca-certificates.crt
  ETCCERTSDIR=@openssldir@
- cd $ETCCERTSDIR
+ HOOKSDIR=/etc/ca-certificates/update.d
+ 
 @@ -52,7 +52,7 @@
  
  # Helper files.  (Some of them are not simple arrays because we spawn
@@ -39,7 +40,7 @@
      rm -f "$PEM"
 @@ -111,24 +111,18 @@
  
- sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt
+ sed -e '/^$/d' -e '/^#/d' -e '/^!/d' "$CERTSCONF" | while read crt
  do
 -  if ! test -f "$CERTSDIR/$crt"
 +  if test -f "$CERTSDIR/$crt"
diff --git a/ca-certificates-undebianize.patch b/ca-certificates-undebianize.patch
index 125661e..a7c4212 100644
--- a/ca-certificates-undebianize.patch
+++ b/ca-certificates-undebianize.patch
@@ -62,7 +62,7 @@
  A summary of options is included below.
  .TP
 @@ -53,13 +48,13 @@
- Be verbose. Output \fBc_rehash\fP.
+ Be verbose. Output \fBopenssl rehash\fP.
  .TP
  .B \-f, \-\-fresh
 -Fresh updates.  Remove symlinks in /etc/ssl/certs directory.
diff --git a/ca-certificates.d.patch b/ca-certificates.d.patch
index c8b9d3a..bb73b74 100644
--- a/ca-certificates.d.patch
+++ b/ca-certificates.d.patch
@@ -17,8 +17,8 @@
  LOCALCERTSDIR=${DESTDIR}${LOCALCERTSDIR}
  CERTBUNDLE=${DESTDIR}${CERTBUNDLE}
 @@ -105,25 +106,30 @@
- 
- echo -n "Updating certificates in $ETCCERTSDIR... "
+   done
+ fi
  
 -# Handle certificates that should be removed.  This is an explicit act
 -# by prefixing lines in the configuration files with exclamation marks (!).
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list