2010-06-28 17:50:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class CracklibWords < Formula
|
2013-01-27 03:21:33 +00:00
|
|
|
homepage 'http://cracklib.sourceforge.net'
|
2010-04-07 05:58:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/cracklib/cracklib-words/2008-05-07/cracklib-words-20080507.gz',
|
2012-05-04 03:37:57 +00:00
|
|
|
:using => :nounzip
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'e0cea03e505e709b15b8b950d56cb493166607da'
|
2010-06-28 17:50:19 +00:00
|
|
|
|
|
|
|
depends_on 'cracklib'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "gzip", "-d", "cracklib-words-20080507.gz"
|
|
|
|
share.install "cracklib-words-20080507" => "cracklib-words"
|
2013-01-30 16:33:58 +00:00
|
|
|
system "/bin/sh", "-c", "#{HOMEBREW_PREFIX}/sbin/cracklib-packer < #{share}/cracklib-words"
|
2010-06-28 17:50:19 +00:00
|
|
|
end
|
|
|
|
end
|