Commit 3abebe2066cb22e4338905f3c106ed9d9cc98209
1 parent
d971bbca
Exists in
master
and in
2 other branches
Vendor cacerts software definition
Source: https://github.com/opscode/omnibus-software/blob/b6a31414b3aabe98e428090b735f0ad825336d6f/config/software/cacerts.rb
Showing
1 changed file
with
50 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,50 @@ |
1 | +# | |
2 | +# Copyright 2012-2014 Chef Software, Inc. | |
3 | +# | |
4 | +# Licensed under the Apache License, Version 2.0 (the "License"); | |
5 | +# you may not use this file except in compliance with the License. | |
6 | +# You may obtain a copy of the License at | |
7 | +# | |
8 | +# http://www.apache.org/licenses/LICENSE-2.0 | |
9 | +# | |
10 | +# Unless required by applicable law or agreed to in writing, software | |
11 | +# distributed under the License is distributed on an "AS IS" BASIS, | |
12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | +# See the License for the specific language governing permissions and | |
14 | +# limitations under the License. | |
15 | +# | |
16 | + | |
17 | +name "cacerts" | |
18 | + | |
19 | +# Date of the file is in a comment at the start, or in the changelog | |
20 | +default_version "2014.08.20" | |
21 | + | |
22 | +version "2014.08.20" do | |
23 | + source md5: "c9f4f7f4d6a5ef6633e893577a09865e" | |
24 | +end | |
25 | + | |
26 | +version "2014.07.15" do | |
27 | + source md5: "fd48275847fa10a8007008379ee902f1" | |
28 | +end | |
29 | + | |
30 | +version "2014.04.22" do | |
31 | + source md5: "9f92a0d9f605e227ae068e605f4c86fa" | |
32 | +end | |
33 | + | |
34 | +version "2014.01.28" do | |
35 | + source md5: "5d108f8ab86afacc6663aafca8604dd3" | |
36 | +end | |
37 | + | |
38 | +source url: "http://curl.haxx.se/ca/cacert.pem" | |
39 | + | |
40 | +relative_path "cacerts-#{version}" | |
41 | + | |
42 | +build do | |
43 | + mkdir "#{install_dir}/embedded/ssl/certs" | |
44 | + copy "#{project_dir}/cacert.pem", "#{install_dir}/embedded/ssl/certs/cacert.pem" | |
45 | + | |
46 | + # Windows does not support symlinks | |
47 | + unless windows? | |
48 | + link "#{install_dir}/embedded/ssl/certs/cacert.pem", "#{install_dir}/embedded/ssl/cert.pem" | |
49 | + end | |
50 | +end | ... | ... |