From ae00ca67fae743ebbcea6a4255c553e125e857f6 Mon Sep 17 00:00:00 2001 From: Olivier Vielpeau Date: Wed, 7 Mar 2018 18:36:39 +0100 Subject: [PATCH] [omnibus] Remove cacerts omnibus def (#1416) Use the one provided by omnibus-software instead: * the defs are strictly identical * the hash of the file needs to be updated often, it's painful to do so both here and in omnibus-software every time it needs an update --- omnibus/config/software/cacerts.rb | 41 ------------------------------ 1 file changed, 41 deletions(-) delete mode 100644 omnibus/config/software/cacerts.rb diff --git a/omnibus/config/software/cacerts.rb b/omnibus/config/software/cacerts.rb deleted file mode 100644 index dcc7a6060aae0..0000000000000 --- a/omnibus/config/software/cacerts.rb +++ /dev/null @@ -1,41 +0,0 @@ -# -# Copyright 2012-2014 Chef Software, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -name "cacerts" - -# We always pull the latest version, -# so the hashsum check will break every time the file is updated on the remote -default_version "latest" - -source url: "https://curl.haxx.se/ca/cacert.pem", - sha256: "defe310a0184a12e4b1b3d147f1d77395dd7a09e3428373d019bef5d542ceba3" - -relative_path "cacerts-#{version}" - -build do - ship_license "https://www.mozilla.org/media/MPL/2.0/index.815ca599c9df.txt" - - mkdir "#{install_dir}/embedded/ssl/certs" - - copy "#{project_dir}/cacert.pem", "#{install_dir}/embedded/ssl/certs/cacert.pem" - - # Windows does not support symlinks - unless windows? - link "#{install_dir}/embedded/ssl/certs/cacert.pem", "#{install_dir}/embedded/ssl/cert.pem" - - block { File.chmod(0644, "#{install_dir}/embedded/ssl/certs/cacert.pem") } - end -end