Update build-essential cookbook
This commit is contained in:
parent
dd47030301
commit
a35867f3d9
@ -30,7 +30,7 @@ cookbook 'sudo', '~> 5.3.3'
|
|||||||
cookbook 'hostname', '= 0.4.2'
|
cookbook 'hostname', '= 0.4.2'
|
||||||
cookbook 'firewall', '~> 2.6.3'
|
cookbook 'firewall', '~> 2.6.3'
|
||||||
cookbook 'chef_nginx', '= 6.1.1'
|
cookbook 'chef_nginx', '= 6.1.1'
|
||||||
cookbook 'build-essential', '= 8.0.3'
|
cookbook 'build-essential', '~> 8.1.1'
|
||||||
cookbook 'mysql', '= 6.1.3'
|
cookbook 'mysql', '= 6.1.3'
|
||||||
cookbook 'postgresql', '= 6.1.1'
|
cookbook 'postgresql', '= 6.1.1'
|
||||||
cookbook 'apt', '= 2.9.2'
|
cookbook 'apt', '= 2.9.2'
|
||||||
|
@ -6,7 +6,7 @@ DEPENDENCIES
|
|||||||
application_ruby (= 4.1.0)
|
application_ruby (= 4.1.0)
|
||||||
apt (= 2.9.2)
|
apt (= 2.9.2)
|
||||||
ark (= 3.1.0)
|
ark (= 3.1.0)
|
||||||
build-essential (= 8.0.3)
|
build-essential (~> 8.1.1)
|
||||||
chef-sugar (= 3.3.0)
|
chef-sugar (= 3.3.0)
|
||||||
chef_client_updater (= 1.1.1)
|
chef_client_updater (= 1.1.1)
|
||||||
chef_nginx (= 6.1.1)
|
chef_nginx (= 6.1.1)
|
||||||
@ -83,7 +83,7 @@ GRAPH
|
|||||||
build-essential (>= 0.0.0)
|
build-essential (>= 0.0.0)
|
||||||
seven_zip (>= 0.0.0)
|
seven_zip (>= 0.0.0)
|
||||||
windows (>= 0.0.0)
|
windows (>= 0.0.0)
|
||||||
build-essential (8.0.3)
|
build-essential (8.1.1)
|
||||||
mingw (>= 1.1)
|
mingw (>= 1.1)
|
||||||
seven_zip (>= 0.0.0)
|
seven_zip (>= 0.0.0)
|
||||||
chef-sugar (3.3.0)
|
chef-sugar (3.3.0)
|
||||||
|
@ -2,6 +2,23 @@
|
|||||||
|
|
||||||
This file is used to list changes made in each version of the build-essential cookbook.
|
This file is used to list changes made in each version of the build-essential cookbook.
|
||||||
|
|
||||||
|
## 8.1.1 (2018-03-17)
|
||||||
|
|
||||||
|
- Make sure we install the last available xcode command line tool package so we get the latest version
|
||||||
|
|
||||||
|
## 8.1.0 (2018-03-17)
|
||||||
|
|
||||||
|
- Support Amazon Linux 2.0
|
||||||
|
- Remove the ChefSpec matchers which are autogenerated now in recent ChefDK releaeses. If your specs fail because of this you need to update to a more recent ChefDK release.
|
||||||
|
- Swap Debian 7 testing for Amazon 2 & Ubuntu 18.04 testing since Debian 7 is EOL in May
|
||||||
|
|
||||||
|
## 8.0.4 (2017-11-29)
|
||||||
|
|
||||||
|
- Install gcc-c and gcc-c++ for solaris 11
|
||||||
|
- Fix dokken's amazonlinux configuration
|
||||||
|
- Update chef dependency in metadata.rb to Chef 12.7
|
||||||
|
- Clean up testing
|
||||||
|
|
||||||
## 8.0.3 (2017-05-30)
|
## 8.0.3 (2017-05-30)
|
||||||
|
|
||||||
- Fix solaris metadata in metadata.rb
|
- Fix solaris metadata in metadata.rb
|
||||||
|
@ -18,7 +18,7 @@ Installs packages required for compiling C software from source. Use this cookbo
|
|||||||
|
|
||||||
### Chef
|
### Chef
|
||||||
|
|
||||||
- Chef 12.5+
|
- Chef 12.7+
|
||||||
|
|
||||||
### Cookbooks
|
### Cookbooks
|
||||||
|
|
||||||
@ -110,9 +110,11 @@ build_essential 'some name you choose' do
|
|||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
## License & Authors
|
## Maintainers
|
||||||
|
|
||||||
**Author:** Cookbook Engineering Team ([cookbooks@chef.io](mailto:cookbooks@chef.io))
|
This cookbook is maintained by Chef's Community Cookbook Engineering team. Our goal is to improve cookbook quality and to aid the community in contributing to cookbooks. To learn more about our team, process, and design goals see our [team documentation](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/COOKBOOK_TEAM.MD). To learn more about contributing to cookbooks like this see our [contributing documentation](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD), or if you have general questions about this cookbook come chat with us in #cookbok-engineering on the [Chef Community Slack](http://community-slack.chef.io/)
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
**Copyright:** 2009-2016, Chef Software, Inc.
|
**Copyright:** 2009-2016, Chef Software, Inc.
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@
|
|||||||
# Cookbook:: build-essential
|
# Cookbook:: build-essential
|
||||||
# Recipe:: default
|
# Recipe:: default
|
||||||
#
|
#
|
||||||
# Copyright:: 2008-2017, Chef Software, Inc.
|
# Copyright:: 2008-2018, Chef Software, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Cookbook:: build-essential
|
# Cookbook:: build-essential
|
||||||
# resource:: build_essential
|
# resource:: build_essential
|
||||||
#
|
#
|
||||||
# Copyright:: 2008-2017, Chef Software, Inc.
|
# Copyright:: 2008-2018, Chef Software, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@ -30,7 +30,7 @@ action :install do
|
|||||||
package %w( autoconf bison flex gcc gcc-c++ gettext kernel-devel make m4 ncurses-devel patch )
|
package %w( autoconf bison flex gcc gcc-c++ gettext kernel-devel make m4 ncurses-devel patch )
|
||||||
|
|
||||||
# Ensure GCC 4 is available on older pre-6 EL
|
# Ensure GCC 4 is available on older pre-6 EL
|
||||||
package %w( gcc44 gcc44-c++ ) if node['platform_version'].to_i < 6
|
package %w( gcc44 gcc44-c++ ) if !platform?('amazon') && node['platform_version'].to_i < 6
|
||||||
when 'freebsd'
|
when 'freebsd'
|
||||||
package 'devel/gmake'
|
package 'devel/gmake'
|
||||||
package 'devel/autoconf'
|
package 'devel/autoconf'
|
||||||
@ -62,11 +62,13 @@ action :install do
|
|||||||
package 'bison'
|
package 'bison'
|
||||||
package 'gnu-coreutils'
|
package 'gnu-coreutils'
|
||||||
package 'flex'
|
package 'flex'
|
||||||
package 'gcc' do
|
# lock gcc versions because we don't use 5 yet
|
||||||
# lock because we don't use 5 yet
|
%w(gcc gcc-c gcc-c++).each do |pkg|
|
||||||
version '4.8.2'
|
package pkg do # ~FC009
|
||||||
|
accept_license true
|
||||||
|
version '4.8.2'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
package 'gcc-3'
|
|
||||||
package 'gnu-grep'
|
package 'gnu-grep'
|
||||||
package 'gnu-make'
|
package 'gnu-make'
|
||||||
package 'gnu-patch'
|
package 'gnu-patch'
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Cookbook:: build-essential
|
# Cookbook:: build-essential
|
||||||
# Resource:: xcode_command_line_tools
|
# Resource:: xcode_command_line_tools
|
||||||
#
|
#
|
||||||
# Copyright:: 2014-2017, Chef Software, Inc.
|
# Copyright:: 2014-2018, Chef Software, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@ -32,7 +32,7 @@ action :install do
|
|||||||
# in Apple's SUS catalog
|
# in Apple's SUS catalog
|
||||||
touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
|
touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
|
||||||
# find the CLI Tools update
|
# find the CLI Tools update
|
||||||
PROD=$(softwareupdate -l | grep "\*.*Command Line" | head -n 1 | awk -F"*" '{print $2}' | sed -e 's/^ *//' | tr -d '\n')
|
PROD=$(softwareupdate -l | grep "\*.*Command Line" | tail -n 1 | awk -F"*" '{print $2}' | sed -e 's/^ *//' | tr -d '\n')
|
||||||
# install it
|
# install it
|
||||||
softwareupdate -i "$PROD" --verbose
|
softwareupdate -i "$PROD" --verbose
|
||||||
# Remove the placeholder to prevent perpetual appearance in the update utility
|
# Remove the placeholder to prevent perpetual appearance in the update utility
|
||||||
|
Loading…
x
Reference in New Issue
Block a user