cookbook 'libsodium', '~> 0.2.1'
The libsodium cookbook has been deprecated
Author provided reason for deprecation:
The libsodium cookbook has been deprecated and is no longer being maintained by its authors. Use of the libsodium cookbook is no longer recommended.
libsodium (3) Versions 0.2.1 Follow0
Installs/Configures libsodium
cookbook 'libsodium', '~> 0.2.1', :supermarket
knife supermarket install libsodium
knife supermarket download libsodium
libsodium Cookbook
Downloads, compiles, and installs libsodium.
Based off zeromq-cookbook by Johannes Plunien plu@pqpq.de.
Requirements
packages
build-essential
seven_zip
chef_handler
windows
Platform
- Tested on
- Ubuntu 14.04
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['libsodium']['base']</tt></td>
<td>String</td>
<td>Base directory for installing.</td>
<td><tt>'/usr/local'</tt></td>
</tr>
<tr>
<td><tt>['libsodium']['src']</tt></td>
<td>String</td>
<td>Directory for git cloning source into.</td>
<td><tt>'/usr/local/src/libsodium'</tt></td>
</tr>
<tr>
<td><tt>['libsodium']['src_url']</tt></td>
<td>String</td>
<td>Remote git repository URL.</td>
<td><tt>'https://github.com/jedisct1/libsodium.git'</tt></td>
</tr>
<tr>
<td><tt>['libsodium']['version']</tt></td>
<td>String</td>
<td>Version to install. (git branch, or tags)</td>
<td><tt>'1.0.10'</tt></td>
</tr>
<tr>
<td><tt>['libsodium']['lib']</tt></td>
<td>String</td>
<td>The binary object name that is created.</td>
<td><tt>'libsodium.so'</tt></td>
</tr>
</table>
Usage
Just include libsodium
in your run_list
:
{ "name":"my_node", "run_list": [ "recipe[libsodium]" ] }
Or include it directly within another recipe:
include_recipe 'libsodium'
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Copyright 2016 Joshua C. Burt
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.
Dependent cookbooks
build-essential >= 0.0.0 |
seven_zip >= 0.0.0 |
chef_handler >= 0.0.0 |
windows >= 0.0.0 |
Contingent cookbooks
libsodium Cookbook CHANGELOG
This file is used to list changes made in each version of the libsodium cookbook.
0.2.0
- project clean up
0.1.0
- Joshua C. Burt - Initial release of libsodium
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.2.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.1 failed this metric
FC066: Ensure chef_version is set in metadata: libsodium/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: libsodium/metadata.rb:1
FC069: Ensure standardized license defined in metadata: libsodium/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: libsodium/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: libsodium/recipes/default.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.1 passed this metric
Testing File Metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.1 failed this metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.1 failed this metric
FC066: Ensure chef_version is set in metadata: libsodium/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: libsodium/metadata.rb:1
FC069: Ensure standardized license defined in metadata: libsodium/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: libsodium/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: libsodium/recipes/default.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.1 passed this metric
Testing File Metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.1 failed this metric
FC067: Ensure at least one platform supported in metadata: libsodium/metadata.rb:1
FC069: Ensure standardized license defined in metadata: libsodium/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: libsodium/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: libsodium/recipes/default.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.1 passed this metric
Testing File Metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.1 failed this metric
0.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number