diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/ruby/net-ssh-gateway/gemspec-don-t-force-the-use-of-gem-private_key.pem.patch')
| -rw-r--r-- | meta-openstack/recipes-devtools/ruby/net-ssh-gateway/gemspec-don-t-force-the-use-of-gem-private_key.pem.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/ruby/net-ssh-gateway/gemspec-don-t-force-the-use-of-gem-private_key.pem.patch b/meta-openstack/recipes-devtools/ruby/net-ssh-gateway/gemspec-don-t-force-the-use-of-gem-private_key.pem.patch new file mode 100644 index 0000000..6cd73c7 --- /dev/null +++ b/meta-openstack/recipes-devtools/ruby/net-ssh-gateway/gemspec-don-t-force-the-use-of-gem-private_key.pem.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From c910f1b0eea4fbfe0aabdb7d42cf8119c585eade Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mark Asselstine <mark.asselstine@windriver.com> | ||
| 3 | Date: Wed, 14 May 2014 09:36:05 -0400 | ||
| 4 | Subject: [PATCH] gemspec: don't force the use of gem-private_key.pem | ||
| 5 | |||
| 6 | This will have security implications but it doesn't affect | ||
| 7 | core functionality and allows the build to complete when | ||
| 8 | this certificate is not available. | ||
| 9 | |||
| 10 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | ||
| 11 | --- | ||
| 12 | net-ssh-gateway.gemspec | 4 +++- | ||
| 13 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/net-ssh-gateway.gemspec b/net-ssh-gateway.gemspec | ||
| 16 | index 85aeebe..c38717e 100644 | ||
| 17 | --- a/net-ssh-gateway.gemspec | ||
| 18 | +++ b/net-ssh-gateway.gemspec | ||
| 19 | @@ -34,7 +34,9 @@ Gem::Specification.new do |s| | ||
| 20 | s.require_paths = ["lib"] | ||
| 21 | s.rubyforge_project = "net-ssh-gateway" | ||
| 22 | s.rubygems_version = "1.8.25" | ||
| 23 | - s.signing_key = "/mnt/gem/gem-private_key.pem" | ||
| 24 | + if File.exists?("/mnt/gem/gem-private_key.pem") | ||
| 25 | + s.signing_key = "/mnt/gem/gem-private_key.pem" | ||
| 26 | + end | ||
| 27 | s.summary = "A simple library to assist in establishing tunneled Net::SSH connections" | ||
| 28 | |||
| 29 | if s.respond_to? :specification_version then | ||
| 30 | -- | ||
| 31 | 1.8.3.2 | ||
| 32 | |||
