summaryrefslogtreecommitdiff
path: root/chef-bin/chef-bin.gemspec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-04-29 15:10:36 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-04-29 15:10:36 -0700
commit688b72f47b4c3a23ca042336ea6c5d1f215ec263 (patch)
treeafd7cea189a44758edae6b711be81d7e7f2d31d2 /chef-bin/chef-bin.gemspec
parent945b9f6636bb3236999ca43f313113bf74045d82 (diff)
downloadchef-688b72f47b4c3a23ca042336ea6c5d1f215ec263.tar.gz
Remove chef-* binstubs from chef gem
This is for the relicensing effort. Note that this PR leaves the knife and ohai binstubs still in the gem(s) while that discussion is still ongoing. This PR extracts the binstubs to chef-binstubs gem which is not intended to be redistributed outside of the omnibus chef binaries. A blank gem for chef-binstubs has been pushed to rubygems.org for obvious security concerns and so that bundler/rubygems can resolve the gem Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'chef-bin/chef-bin.gemspec')
-rw-r--r--chef-bin/chef-bin.gemspec26
1 files changed, 26 insertions, 0 deletions
diff --git a/chef-bin/chef-bin.gemspec b/chef-bin/chef-bin.gemspec
new file mode 100644
index 0000000000..66d14f3f52
--- /dev/null
+++ b/chef-bin/chef-bin.gemspec
@@ -0,0 +1,26 @@
+# coding: utf-8
+lib = File.expand_path("../lib", __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require "chef-bin/version"
+
+Gem::Specification.new do |spec|
+ spec.name = "chef-bin"
+ spec.version = ChefBin::VERSION
+ spec.authors = ["Adam Jacob"]
+ spec.email = ["adam@chef.io"]
+
+ spec.summary = %q{Chef-branded binstubs for chef-client}
+ spec.homepage = "https://github.com/chef/chef"
+ spec.license = "Apache-2.0"
+
+ spec.require_paths = ["lib"]
+
+ spec.add_dependency "chef", "= #{ChefBin::VERSION}"
+ spec.add_development_dependency "rake"
+
+ spec.files = %w{Gemfile Rakefile LICENSE} + Dir.glob("*.gemspec") +
+ Dir.glob("{lib}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
+
+ spec.bindir = "bin"
+ spec.executables = %w{ chef-apply chef-client chef-resource-inspector chef-service-manager chef-shell chef-solo chef-windows-service }
+end