2010-06-28 17:50:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class CracklibWords <Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/cracklib/cracklib-words/2008-05-07/cracklib-words-20080507.gz',
|
|
|
|
:using => NoUnzipCurlDownloadStrategy
|
2010-06-28 17:50:19 +00:00
|
|
|
homepage 'http://cracklib.sourceforge.net'
|
|
|
|
md5 '7fa6ba0cd50e7f9ccaf4707c810b14f1'
|
|
|
|
|
|
|
|
depends_on 'cracklib'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "gzip", "-d", "cracklib-words-20080507.gz"
|
|
|
|
share.install "cracklib-words-20080507" => "cracklib-words"
|
|
|
|
system "/bin/sh", "-c", "cracklib-packer < #{share}/cracklib-words"
|
|
|
|
end
|
|
|
|
end
|