2013-11-06 15:12:35 +00:00
|
|
|
class Crunch < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Wordlist generator"
|
2015-11-12 02:33:05 +00:00
|
|
|
homepage "https://sourceforge.net/projects/crunch-wordlist/"
|
2014-06-17 06:48:23 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/crunch-3.6.tgz"
|
2015-10-05 12:44:11 +00:00
|
|
|
sha256 "6a8f6c3c7410cc1930e6854d1dadc6691bfef138760509b33722ff2de133fe55"
|
2013-11-06 15:12:35 +00:00
|
|
|
|
2015-10-15 07:50:49 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2015-11-15 16:17:43 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "84c0c275e63cc5c27fd468587f67ae5f1ab31a3923fe2eda27b4e33477356844" => :el_capitan
|
|
|
|
sha256 "406d94f00713b83bbf41b36453605a5f85f154f88aec9b3ae23e7646ddcc03c1" => :yosemite
|
|
|
|
sha256 "379e5d6a2a8a9baaa9b337f3e702e25ccca6025fd8b49e2685031e67d8ce8666" => :mavericks
|
2015-10-15 07:50:49 +00:00
|
|
|
end
|
|
|
|
|
2013-11-06 15:12:35 +00:00
|
|
|
def install
|
2013-12-03 10:57:46 +00:00
|
|
|
system "make", "CC=#{ENV.cc}", "LFS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
2013-11-06 15:12:35 +00:00
|
|
|
|
|
|
|
bin.install "crunch"
|
|
|
|
man1.install "crunch.1"
|
|
|
|
share.install Dir["*.lst"]
|
|
|
|
end
|
|
|
|
end
|