aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ca-certificates/files/remove-c-rehash.patch
diff options
context:
space:
mode:
authorThomas Zimmermann <ml@vdm-design.de>2010-03-04 14:57:54 +0100
committerThomas Zimmermann <ml@vdm-design.de>2010-03-04 14:57:54 +0100
commit0c657954819306057e7c0ee3a007e4da05ffcd99 (patch)
tree9173c575dcc72adacdefd7f72a652198da8695f7 /recipes/ca-certificates/files/remove-c-rehash.patch
parent68f8a8b618174270275d8d785ff9b30415ee92a1 (diff)
downloadopenembedded-0c657954819306057e7c0ee3a007e4da05ffcd99.tar.gz
ca-certificates: add package for ssl certificates
* this is package for ssl certificates as they are no longer provided by curl nor openssl * this package contains the certificates from debian * uses update-ca-certificates from debian without the part that creates hash links to the certs, because that uses c_rehash from openssl which is a perl script Signed-off-by: Thomas Zimmermann <ml@vdm-design.de>
Diffstat (limited to 'recipes/ca-certificates/files/remove-c-rehash.patch')
-rw-r--r--recipes/ca-certificates/files/remove-c-rehash.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/ca-certificates/files/remove-c-rehash.patch b/recipes/ca-certificates/files/remove-c-rehash.patch
new file mode 100644
index 0000000000..9d9b8ade3a
--- /dev/null
+++ b/recipes/ca-certificates/files/remove-c-rehash.patch
@@ -0,0 +1,29 @@
+--- 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."
+