Skip to contentSkip to conversation

ca-certificates: Bump version to 20120212

PATCH In review [email protected] 2 participants 3 messages Feb 28, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ca-certificates: Bump version to 20120212

From: Ulf Samuelsson <[email protected]>

20111211 has disappeared from the server

---
 ...01-update-ca-certificates-remove-c-rehash.patch |   45 ++++++++++++++++++++
 .../ca-certificates/remove-c-rehash.patch          |   29 -------------
 .../ca-certificates/ca-certificates_20111211.bb    |   42 ------------------
 .../ca-certificates/ca-certificates_20120212.bb    |   42 ++++++++++++++++++
 4 files changed, 87 insertions(+), 71 deletions(-)
 create mode 100644 meta-oe/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch
 delete mode 100644 meta-oe/recipes-support/ca-certificates/ca-certificates/remove-c-rehash.patch
 delete mode 100644 meta-oe/recipes-support/ca-certificates/ca-certificates_20111211.bb
 create mode 100644 meta-oe/recipes-support/ca-certificates/ca-certificates_20120212.bb
meta-oe/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch new file +45 -0
new file mode 100644
index 0000000..ccb0efc
@@ -0,0 +1,45 @@
+From 111e905fe931da1a3800accfc675cc01c8ee080c Mon Sep 17 00:00:00 2001
+From: Ulf Samuelsson <[email protected]>
+Date: Tue, 28 Feb 2012 06:42:58 +0100
+Subject: [PATCH] update-ca-certificates: remove c rehash
+
+Updated earlier patch to apply clean on 2012-02-12
+Signed-off-by: Ulf Samuelsson <[email protected]>
+---
+ sbin/update-ca-certificates |   20 ++++++++++----------
+ 1 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates
+index 5375950..c567e3d 100755
+--- a/sbin/update-ca-certificates
++++ b/sbin/update-ca-certificates
+@@ -132,16 +132,16 @@ rm -f "$CERTBUNDLE"
+ ADDED_CNT=$(wc -l < "$ADDED")
+ REMOVED_CNT=$(wc -l < "$REMOVED")
+ 
+-if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
+-then
+-  # only run if set of files has changed
+-  if [ "$verbose" = 0 ]
+-  then
+-    c_rehash . > /dev/null
+-  else
+-    c_rehash .
+-  fi
+-fi
++#if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
++#then
++#  # only run if set of files has changed
++#  if [ "$verbose" = 0 ]
++#  then
++#    c_rehash . > /dev/null
++#  else
++#    c_rehash .
++#  fi
++#fi
+ 
+ chmod 0644 "$TEMPBUNDLE"
+ mv -f "$TEMPBUNDLE" "$CERTBUNDLE"
+-- 
+1.7.4.1
+
meta-oe/recipes-support/ca-certificates/ca-certificates/remove-c-rehash.patch deleted +0 -29
deleted file mode 100644
index 9d9b8ad..0000000
@@ -1,29 +0,0 @@
---- ca-certificates-20090814/sbin/update-ca-certificates.orig	2010-02-25 19:25:08.272807308 +0100
-+++ ca-certificates-20090814/sbin/update-ca-certificates	2010-02-25 19:25:33.962806273 +0100
-@@ -133,16 +133,16 @@
- ADDED_CNT=$(wc -l < "$ADDED")
- REMOVED_CNT=$(wc -l < "$REMOVED")
- 
--if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
--then
--  # only run if set of files has changed
--  if [ "$verbose" = 0 ]
--  then
--    c_rehash . > /dev/null
--  else
--    c_rehash .
--  fi
--fi
-+#if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
-+#then
-+#  # only run if set of files has changed
-+#  if [ "$verbose" = 0 ]
-+#  then
-+#    c_rehash . > /dev/null
-+#  else
-+#    c_rehash .
-+#  fi
-+#fi
- 
- echo "$ADDED_CNT added, $REMOVED_CNT removed; done."
- 
meta-oe/recipes-support/ca-certificates/ca-certificates_20111211.bb deleted +0 -42

42 lines not on this page · raw message

meta-oe/recipes-support/ca-certificates/ca-certificates_20120212.bb new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
1.7.4.1
#1 lore raw

From: Ulf Samuelsson <[email protected]>

20111211 has disappeared from the server

---
 ...01-update-ca-certificates-remove-c-rehash.patch |   45 ++++++++++++++++++++
 .../ca-certificates/remove-c-rehash.patch          |   29 -------------
 .../ca-certificates/ca-certificates_20111211.bb    |   42 ------------------
 .../ca-certificates/ca-certificates_20120212.bb    |   42 ++++++++++++++++++
 4 files changed, 87 insertions(+), 71 deletions(-)
 create mode 100644 meta-oe/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch
 delete mode 100644 meta-oe/recipes-support/ca-certificates/ca-certificates/remove-c-rehash.patch
 delete mode 100644 meta-oe/recipes-support/ca-certificates/ca-certificates_20111211.bb
 create mode 100644 meta-oe/recipes-support/ca-certificates/ca-certificates_20120212.bb
meta-oe/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch new file +45 -0
new file mode 100644
index 0000000..ccb0efc
@@ -0,0 +1,45 @@
+From 111e905fe931da1a3800accfc675cc01c8ee080c Mon Sep 17 00:00:00 2001
+From: Ulf Samuelsson <[email protected]>
+Date: Tue, 28 Feb 2012 06:42:58 +0100
+Subject: [PATCH] update-ca-certificates: remove c rehash
+
+Updated earlier patch to apply clean on 2012-02-12
+Signed-off-by: Ulf Samuelsson <[email protected]>
+---
+ sbin/update-ca-certificates |   20 ++++++++++----------
+ 1 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates
+index 5375950..c567e3d 100755
+--- a/sbin/update-ca-certificates
++++ b/sbin/update-ca-certificates
+@@ -132,16 +132,16 @@ rm -f "$CERTBUNDLE"
+ ADDED_CNT=$(wc -l < "$ADDED")
+ REMOVED_CNT=$(wc -l < "$REMOVED")
+ 
+-if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
+-then
+-  # only run if set of files has changed
+-  if [ "$verbose" = 0 ]
+-  then
+-    c_rehash . > /dev/null
+-  else
+-    c_rehash .
+-  fi
+-fi
++#if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
++#then
++#  # only run if set of files has changed
++#  if [ "$verbose" = 0 ]
++#  then
++#    c_rehash . > /dev/null
++#  else
++#    c_rehash .
++#  fi
++#fi
+ 
+ chmod 0644 "$TEMPBUNDLE"
+ mv -f "$TEMPBUNDLE" "$CERTBUNDLE"
+-- 
+1.7.4.1
+
meta-oe/recipes-support/ca-certificates/ca-certificates/remove-c-rehash.patch deleted +0 -29
deleted file mode 100644
index 9d9b8ad..0000000
@@ -1,29 +0,0 @@
---- ca-certificates-20090814/sbin/update-ca-certificates.orig	2010-02-25 19:25:08.272807308 +0100
-+++ ca-certificates-20090814/sbin/update-ca-certificates	2010-02-25 19:25:33.962806273 +0100
-@@ -133,16 +133,16 @@
- ADDED_CNT=$(wc -l < "$ADDED")
- REMOVED_CNT=$(wc -l < "$REMOVED")
- 
--if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
--then
--  # only run if set of files has changed
--  if [ "$verbose" = 0 ]
--  then
--    c_rehash . > /dev/null
--  else
--    c_rehash .
--  fi
--fi
-+#if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
-+#then
-+#  # only run if set of files has changed
-+#  if [ "$verbose" = 0 ]
-+#  then
-+#    c_rehash . > /dev/null
-+#  else
-+#    c_rehash .
-+#  fi
-+#fi
- 
- echo "$ADDED_CNT added, $REMOVED_CNT removed; done."
- 
meta-oe/recipes-support/ca-certificates/ca-certificates_20111211.bb deleted +0 -42

42 lines not on this page · raw message

meta-oe/recipes-support/ca-certificates/ca-certificates_20120212.bb new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
1.7.4.1
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 28-02-12 07:03, [email protected] schreef:

Quoted 5 lines

From: Ulf Samuelsson <[email protected]>

20111211 has disappeared from the server

Could you please address the following bugs in the old recipe as well?

Quoted 2 lines

+ +do_install_prepend() { + mkdir -p
${D}/usr/share/ca-certificates

$datadir

Quoted 1 line

+ mkdir -p ${D}/usr/sbin

$sbindir

Quoted 2 lines

+ mkdir -p ${D}/etc/ssl/certs + mkdir -p
${D}/etc/ca-certificates/update.d

$sysconfdir

Quoted 1 line

+} + +do_install_append() { + cd ${D}/usr/share/ca-certificates

$datadir

Quoted 4 lines

+ echo "# Lines starting with # will be ignored" >
${D}/etc/ca-certificates.conf + echo "# Lines starting with ! will
remove certificate on next update" >> ${D}/etc/ca-certificates.conf + echo "#" >> ${D}/etc/ca-certificates.conf

$sysconfdir

Quoted 3 lines

+ for crt in $(find . -type f -name '*.crt' -print) + do +
crt=$(echo $crt | sed -e 's/\.\///') + echo $crt >>
${D}/etc/ca-certificates.conf

$sysconfdir

Quoted 3 lines

+ done +} + +pkg_postinst_${PN} () { +if [ -n "$D" ] ; then + exit
1 +fi + +${sbindir}/update-ca-certificates +} + +CONFFILES_${PN} = "/etc/ca-certificates.conf"

$sysconfdir

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk9Mnc8ACgkQMkyGM64RGpFzQwCffYb7rjrii/WOPiYEZikqj7Sd EgYAoKIs2JYMd7AuKoQDPDSDrhtulra8
=9dnP
-----END PGP SIGNATURE-----