ejabberd 16.01

Closes Homebrew/homebrew#49367.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
conscell 2016-02-20 12:51:36 +09:00 committed by Dominyk Tiller
parent 391d24f2c1
commit ef56aa8311

View file

@ -3,118 +3,153 @@ class Ejabberd < Formula
homepage "https://www.ejabberd.im"
stable do
url "https://www.process-one.net/downloads/ejabberd/15.07/ejabberd-15.07.tgz"
sha256 "87d5001521cbb779b84bc74879e032e2514d9a651e24c4e40cce0907ab405bd1"
resource "p1_cache_tab" do
url "https://github.com/processone/cache_tab.git",
:revision => "f7ea12b0ba962a3d2f9a406d2954cf7de4e27230"
end
resource "p1_tls" do
url "https://github.com/processone/tls.git",
:revision => "2e06ed6ae7d48fe469a2c9cb0869e756105a72f0"
end
resource "p1_stringprep" do
url "https://github.com/processone/stringprep.git",
:revision => "3c640237a3a7831dc39de6a6d329d3a9af25c579"
end
resource "p1_xml" do
url "https://github.com/processone/xml.git",
:revision => "7ff90b7a06ee842543bcb47564e8f0e3d3119efd"
end
resource "esip" do
url "https://github.com/processone/p1_sip.git",
:revision => "d662d3fe7f6288b444ea321d854de0bd6d40e022"
end
resource "p1_stun" do
url "https://github.com/processone/stun.git",
:revision => "61d90fd9e11fbacb128ebf5cc227d75f6b7e1933"
end
resource "p1_yaml" do
url "https://github.com/processone/p1_yaml.git",
:revision => "e1f081e1bbf34c35fc60c1b988d62a07fbead3e8"
end
resource "p1_utils" do
url "https://github.com/processone/p1_utils.git",
:revision => "1bf99f9c8daed3b03f76e2714ca102c520c88b26"
end
resource "jiffy" do
url "https://github.com/davisp/jiffy.git",
:revision => "e008c0c3fffb4f509c5ae6b73b960663d778f231"
end
resource "p1_mysql" do
url "https://github.com/processone/mysql.git",
:revision => "d568bbe317c4e86ee58a603c46a98809c1279013"
end
resource "p1_pgsql" do
url "https://github.com/processone/pgsql.git",
:revision => "e72c03c60bfcb56bbb5d259342021d9cb3581dac"
end
resource "sqlite" do
url "https://github.com/alexeyr/erlang-sqlite3.git",
:revision => "8350dc603804c503f99c92bfd2eab1dd6885758e"
end
resource "p1_pam" do
url "https://github.com/processone/epam.git",
:revision => "d3ce290b7da75d780a03e86e7a8198a80e9826a6"
end
resource "p1_zlib" do
url "https://github.com/processone/zlib.git",
:revision => "e3d4222b7aae616d7ef2e7e2fa0bbf451516c602"
end
resource "riakc" do
url "https://github.com/basho/riak-erlang-client.git",
:tag => "1.4.2",
:revision => "8d33c020f4ca392200b2d0d973c77dd48164b263"
end
resource "rebar_elixir_plugin" do
url "https://github.com/yrashk/rebar_elixir_plugin.git",
:revision => "7058379b7c7e017555647f6b9cecfd87cd50f884"
end
resource "elixir" do
url "https://github.com/elixir-lang/elixir.git",
:revisison => "1d9548fd285d243721b7eba71912bde2ffd1f6c3"
end
resource "p1_iconv" do
url "https://github.com/processone/eiconv.git",
:revision => "8b7542b1aaf0a851f335e464956956985af6d9a2"
end
url "https://www.process-one.net/downloads/ejabberd/16.01/ejabberd-16.01.tgz"
sha256 "e2cc479d5870539b2e6756690b227969c88a541d464d1fc6e1cbf7270ad7d681"
resource "lager" do
url "https://github.com/basho/lager.git",
:revision => "26540665e640872718d3dd9c35f2addf1279114b"
:tag => "3.0.2",
:revision => "599dda6786a81200e00b3d9b4b36951e052727a3"
end
resource "p1_logger" do
url "https://github.com/processone/p1_logger.git",
:revision => "3e19507fd5606a73694917158767ecb3f5704e3f"
:tag => "1.0.0",
:revision => "bb8cfb9eca102197bfaaf34ce6c59cb296b7516f"
end
resource "p1_utils" do
url "https://github.com/processone/p1_utils.git",
:tag => "1.0.2",
:revision => "e6779f1ee7a0841da08a063930d7ea51c2be4203"
end
resource "cache_tab" do
url "https://github.com/processone/cache_tab.git",
:tag => "1.0.1",
:revision => "26caea06c72c2117ca54d04beedb5b49a45af1a8"
end
resource "p1_tls" do
url "https://github.com/processone/tls.git",
:tag => "1.0.0",
:revision => "f19e1f701e0a3980ffc70b3917c4aa85e68d8520"
end
resource "p1_stringprep" do
url "https://github.com/processone/stringprep.git",
:tag => "1.0.0",
:revision => "7315a75360547cd6458b144a65ede64b44c6193d"
end
resource "p1_xml" do
url "https://github.com/processone/xml.git",
:tag => "1.1.1",
:revision => "1190214326c70101db26809b61c2d30133c940b1"
end
resource "p1_stun" do
url "https://github.com/processone/stun.git",
:tag => "0.9.0",
:revision => "ab418dfb11bd9b37d6f7501420f32384729fecd7"
end
resource "esip" do
url "https://github.com/processone/p1_sip.git",
:tag => "1.0.0",
:revision => "ff3cc9fa2f9ea96f47e6b5b60a04da90889a5626"
end
resource "p1_yaml" do
url "https://github.com/processone/p1_yaml.git",
:tag => "1.0.0",
:revision => "753f99c39200705bb7ccb6f38f7f10aeb45c0ea4"
end
resource "jiffy" do
url "https://github.com/davisp/jiffy.git",
:tag => "0.14.5",
:revision => "e43ea64ae0d227af5dd003132234cdf4494d781d"
end
resource "oauth2" do
url "https://github.com/kivra/oauth2.git",
:revision => "8d129fbf8866930b4ffa6dd84e65bd2b32b9acb8"
end
resource "xmlrpc" do
url "https://github.com/rds13/xmlrpc.git",
:tag => "1.15",
:revision => "9cd92b219ad97869d9da19ee4ea25ba1a40aea98"
end
resource "p1_mysql" do
url "https://github.com/processone/mysql.git",
:tag => "1.0.0",
:revision => "064948ad3c77e582d85cbc09ccd11016ae97de0e"
end
resource "p1_pgsql" do
url "https://github.com/processone/pgsql.git",
:tag => "1.0.0",
:revision => "248b6903cad82c748dc7f5be75e014dd8d47a3d1"
end
resource "sqlite3" do
url "https://github.com/alexeyr/erlang-sqlite3.git",
:revision => "cbc3505f7a131254265d3ef56191b2581b8cc172"
end
resource "p1_pam" do
url "https://github.com/processone/epam.git",
:tag => "1.0.0",
:revision => "f0d6588f4733c4d8068af44cf51c966af8bf514a"
end
resource "p1_zlib" do
url "https://github.com/processone/zlib.git",
:tag => "1.0.0",
:revision => "e1f928e61553cf85638eaac7d024c8f68ce0ff36"
end
resource "hamcrest" do
url "https://github.com/hyperthunk/hamcrest-erlang.git",
:revision => "908a24fda4a46776a5135db60ca071e3d783f9f6"
end
resource "riakc" do
url "https://github.com/basho/riak-erlang-client.git",
:revision => "527722d12d0433b837cdb92a60900c2cb5df8942"
end
resource "elixir" do
url "https://github.com/elixir-lang/elixir.git",
:tag => "v1.1.0",
:revision => "f2a9c7016633ca63541a8160c63a53eb7edbccdb"
end
resource "rebar_elixir_plugin" do
url "https://github.com/processone/rebar_elixir_plugin.git",
:tag => "0.1.0",
:revision => "10614dfef5d10b7071f7181858149259e50159f6"
end
resource "p1_iconv" do
url "https://github.com/processone/eiconv.git",
:tag => "0.9.0",
:revision => "9751f86baa5a60ed1420490793e7514a0757462a"
end
resource "meck" do
url "https://github.com/eproxus/meck.git",
:revision => "fc362e037f424250130bca32d6bf701f2f49dc75"
:tag => "0.8.2",
:revision => "dde759050eff19a1a80fd854d7375174b191665d"
end
resource "eredis" do
url "https://github.com/wooga/eredis.git",
:revision => "770f828918db710d0c0958c6df63e90a4d341ed7"
:tag => "v1.0.8",
:revision => "cbc013f516e464706493c01662e5e9dd82d1db01"
end
end
@ -246,7 +281,7 @@ class Ejabberd < Formula
ENV.append %w[CFLAGS LDFLAGS], "-arch #{Hardware::CPU.arch_32_bit}"
end
deps_file = build.head? ? "rebar.config" : "rebar.config.script"
deps_file = "rebar.config"
resources.each do |r|
r.fetch
@ -313,4 +348,8 @@ class Ejabberd < Formula
</plist>
EOS
end
test do
system "#{sbin}/ejabberdctl", "ping"
end
end