Update the mediawiki cookbook and upstream cookbooks

Compatibility with Chef 14
This commit is contained in:
Greg Karékinian
2019-04-08 11:20:12 +02:00
parent 6e3e8cde1b
commit 777b85c2ab
312 changed files with 5603 additions and 14219 deletions

View File

@@ -1 +0,0 @@
~FC016

View File

@@ -2,6 +2,20 @@
This file is used to list changes made in each version of the mingw cookbook.
## 2.1.0 (2018-07-24)
- refactor msys2 package source and checksum to attributes
## 2.0.2 (2018-02-15)
- Remove kind_of usage in the custom resources (FC117)
## 2.0.1 (2017-04-26)
- Test with Local Delivery instead of Rake
- Add chef_version to the metadata
- Use standardize Apache 2 license string
## 2.0.0 (2017-02-27)
- Require Chef 12.5 and remove compat_resource dependency

View File

@@ -1,17 +0,0 @@
<!-- This is a generated file. Please do not edit directly -->
# Maintainers
This file lists how this cookbook project is maintained. When making changes to the system, this
file tells you who needs to review your patch - you need a simple majority of maintainers
for the relevant subsystems to provide a :+1: on your pull request. Additionally, you need
to not receive a veto from a Lieutenant or the Project Lead.
Check out [How Cookbooks are Maintained](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD)
for details on the process and how to become a maintainer or the project lead.
# Project Maintainer
* [Kartik Null Cating-Subramanian](https://github.com/ksubrama)
# Maintainers
* [Kartik Null Cating-Subramanian](https://github.com/ksubrama)
* [Seth Chisamore](https://github.com/schisamo)

View File

@@ -48,6 +48,11 @@ Of course, to further complicate matters, different versions of different compil
All options also automatically attempt to install a 64-bit based msys2 base file system at the root path specified. Note that you probably won't need a "32-bit" msys2 unless you are actually on a 32-bit only platform. You can still install both 32 and 64-bit compilers and libraries in a 64-bit msys2 base file system.
#### Attributes
- `node['msys2']['url']` - overrides the url from which to download the package.
- `node['msys2']['checksum']` - overrides the checksum used to verify the downloaded package.
#### Parameters
- `package` - An msys2 pacman package (or meta-package) to fetch and install. You may use a legal package wild-card pattern here if you are installing. This is the name attribute.

View File

@@ -0,0 +1,3 @@
# override these attributes to pull the msys2 package from a custom url
default['msys2']['url'] = 'http://downloads.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20160205.tar.xz'
default['msys2']['checksum'] = '7e97e2af042e1b6f62cf0298fe84839014ef3d4a3e7825cffc6931c66cc0fc20'

File diff suppressed because one or more lines are too long

View File

@@ -20,8 +20,8 @@
# Installs the core msys utilities needed for mingw/git/any other posix
# based toolchain at a desired location using mingw-get.exe.
property :package, kind_of: String, name_property: true
property :root, kind_of: String, required: true
property :package, String, name_property: true
property :root, String, required: true
resource_name :mingw_get

View File

@@ -25,8 +25,8 @@
# well that's your problem isn't it? And they don't believe in preserving
# older versions. Good luck!
property :package, kind_of: String, name_property: true
property :root, kind_of: String, required: true
property :package, String, name_property: true
property :root, String, required: true
resource_name :msys2_package
@@ -49,8 +49,8 @@ action_class do
def msys2_init
cache_dir = ::File.join(root, '.cache')
f_cache_dir = win_friendly_path(cache_dir)
base_url = 'http://downloads.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20160205.tar.xz'
base_checksum = '7e97e2af042e1b6f62cf0298fe84839014ef3d4a3e7825cffc6931c66cc0fc20'
base_url = node['msys2']['url']
base_checksum = node['msys2']['checksum']
unless ::File.exist?(::File.join(root, 'msys2.exe'))
seven_zip_archive "cache msys2 base to #{f_cache_dir}" do

View File

@@ -19,9 +19,9 @@
# Installs a gcc based C/C++ compiler and runtime from TDM GCC.
property :flavor, kind_of: Symbol, is: [:sjlj_32, :seh_sjlj_64], default: :seh_sjlj_64
property :root, kind_of: String, required: true
property :version, kind_of: String, is: ['5.1.0'], name_property: true
property :flavor, Symbol, is: [:sjlj_32, :seh_sjlj_64], default: :seh_sjlj_64
property :root, String, required: true
property :version, String, is: ['5.1.0'], name_property: true
resource_name :mingw_tdm_gcc