Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
391 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
DESCRIPTION | ||
=========== | ||
|
||
Installs packages required for compiling C software from source. | ||
|
||
LICENSE AND AUTHOR | ||
================== | ||
|
||
Author:: Joshua Timberman (<joshua@opscode.com>) | ||
|
||
Copyright 2009, Opscode, Inc. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"suggestions": { | ||
}, | ||
"dependencies": { | ||
}, | ||
"long_description": "", | ||
"conflicting": { | ||
}, | ||
"providing": { | ||
}, | ||
"license": "Apache 2.0", | ||
"maintainer": "Opscode, Inc.", | ||
"version": "0.7.1", | ||
"attributes": { | ||
}, | ||
"replacing": { | ||
}, | ||
"maintainer_email": "cookbooks@opscode.com", | ||
"groupings": { | ||
}, | ||
"platforms": { | ||
"debian": [ | ||
|
||
], | ||
"centos": [ | ||
|
||
], | ||
"fedora": [ | ||
|
||
], | ||
"ubuntu": [ | ||
|
||
], | ||
"redhat": [ | ||
|
||
] | ||
}, | ||
"description": "Installs C compiler / build tools", | ||
"name": "build-essential", | ||
"recipes": { | ||
"build-essential": "Installs C compiler and build tools on Linux" | ||
}, | ||
"recommendations": { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
maintainer "Opscode, Inc." | ||
maintainer_email "cookbooks@opscode.com" | ||
license "Apache 2.0" | ||
description "Installs C compiler / build tools" | ||
version "0.7.1" | ||
recipe "build-essential", "Installs C compiler and build tools on Linux" | ||
|
||
%w{ fedora redhat centos ubuntu debian }.each do |os| | ||
supports os | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# Cookbook Name:: build-essential | ||
# Recipe:: default | ||
# | ||
# Copyright 2008-2009, Opscode, Inc. | ||
# | ||
# 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. | ||
# | ||
|
||
case node[:platform] | ||
when "ubuntu","debian" | ||
%w{build-essential binutils-doc}.each do |pkg| | ||
package pkg do | ||
action :install | ||
end | ||
end | ||
when "centos" | ||
package "gcc" do | ||
action :install | ||
end | ||
end | ||
|
||
package "autoconf" do | ||
action :install | ||
end | ||
|
||
package "flex" do | ||
action :install | ||
end | ||
|
||
package "bison" do | ||
action :install | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default[:erlang][:gui_tools] = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"suggestions": { | ||
}, | ||
"dependencies": { | ||
}, | ||
"long_description": "", | ||
"conflicting": { | ||
}, | ||
"providing": { | ||
}, | ||
"license": "Apache 2.0", | ||
"maintainer": "Opscode, Inc.", | ||
"version": "0.8.2", | ||
"attributes": { | ||
}, | ||
"replacing": { | ||
}, | ||
"maintainer_email": "cookbooks@opscode.com", | ||
"groupings": { | ||
}, | ||
"platforms": { | ||
"debian": [ | ||
|
||
], | ||
"ubuntu": [ | ||
|
||
] | ||
}, | ||
"description": "Installs erlang, optionally install GUI tools.", | ||
"name": "erlang", | ||
"recipes": { | ||
"erlang": "Installs erlang" | ||
}, | ||
"recommendations": { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
maintainer "Opscode, Inc." | ||
maintainer_email "cookbooks@opscode.com" | ||
license "Apache 2.0" | ||
description "Installs erlang, optionally install GUI tools." | ||
version "0.8.2" | ||
|
||
recipe "erlang", "Installs erlang" | ||
|
||
%w{ ubuntu debian }.each do |os| | ||
supports os | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Cookbook Name:: erlang | ||
# Recipe:: default | ||
# Author:: Joe Williams <joe@joetify.com> | ||
# | ||
# Copyright 2008-2009, Joe Williams | ||
# | ||
# 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. | ||
# | ||
|
||
case node[:platform] | ||
when "debian", "ubuntu" | ||
erlpkg = node[:erlang][:gui_tools] ? "erlang" : "erlang-nox" | ||
package erlpkg | ||
package "erlang-dev" | ||
else | ||
package "erlang" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Description | ||
=========== | ||
|
||
Installs DJB's ucspi-tcp software. | ||
|
||
Requirements | ||
============ | ||
|
||
Should work on ArchLinux, Debian and Ubuntu. Source installation may work on Red Hat family distributions. | ||
|
||
Requires build-essential cookbook. | ||
|
||
Usage | ||
===== | ||
|
||
Include the ucspi-tcp recipe in the run list. The recipe will automatically detect the platform and attempt to install based on what should be available. | ||
|
||
License and Author | ||
================== | ||
|
||
Author: Joshua Timberman (<joshua@opscode.com>) | ||
|
||
Copyright 2010, Opscode, Inc. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# | ||
# Cookbook Name:: ucspi-tcp | ||
# Attribute:: default | ||
# | ||
# Copyright 2010, Opscode, Inc | ||
# | ||
# 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. | ||
# | ||
|
||
case platform | ||
when "ubuntu" | ||
if platform_version.to_f >= 9.04 | ||
set[:ucspi][:bin_dir] = "/usr/bin" | ||
else | ||
set[:ucspi][:bin_dir] = "/usr/local/bin" | ||
end | ||
when "debian" | ||
if platform_version.to_f >= 5.0 | ||
set[:ucspi][:bin_dir] = "/usr/bin" | ||
else | ||
set[:ucspi][:bin_dir] = "/usr/local/bin" | ||
end | ||
when "arch" | ||
set[:ucspi][:bin_dir] = "/usr/bin" | ||
else | ||
set[:ucspi][:bin_dir] = "/usr/local/bin" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"suggestions": { | ||
}, | ||
"dependencies": { | ||
"build-essential": [ | ||
|
||
] | ||
}, | ||
"long_description": "Description\n===========\n\nInstalls DJB's ucspi-tcp software.\n\nRequirements\n============\n\nShould work on ArchLinux, Debian and Ubuntu. Source installation may work on Red Hat family distributions.\n\nRequires build-essential cookbook.\n\nUsage\n=====\n\nInclude the ucspi-tcp recipe in the run list. The recipe will automatically detect the platform and attempt to install based on what should be available.\n\nLicense and Author\n==================\n\nAuthor: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright 2010, Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", | ||
"conflicting": { | ||
}, | ||
"providing": { | ||
}, | ||
"license": "Apache 2.0", | ||
"maintainer": "Opscode, Inc.", | ||
"version": "1.0.0", | ||
"attributes": { | ||
}, | ||
"replacing": { | ||
}, | ||
"maintainer_email": "cookbooks@opscode.com", | ||
"groupings": { | ||
}, | ||
"platforms": { | ||
"rhel": [ | ||
|
||
], | ||
"debian": [ | ||
|
||
], | ||
"centos": [ | ||
|
||
], | ||
"arch": [ | ||
|
||
], | ||
"ubuntu": [ | ||
|
||
] | ||
}, | ||
"description": "Installs ucspi-tcp", | ||
"name": "ucspi-tcp", | ||
"recipes": { | ||
"ucspi-tcp": "Installs ucspi-tcp" | ||
}, | ||
"recommendations": { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
maintainer "Opscode, Inc." | ||
maintainer_email "cookbooks@opscode.com" | ||
license "Apache 2.0" | ||
description "Installs ucspi-tcp" | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version "1.0.0" | ||
|
||
recipe "ucspi-tcp", "Installs ucspi-tcp" | ||
|
||
%w{ build-essential }.each do |cb| | ||
depends cb | ||
end | ||
|
||
%w{ ubuntu debian centos rhel arch }.each do |os| | ||
supports os | ||
end |
Oops, something went wrong.