homebrew-core/Formula/cracklib-words.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

14 lines
468 B
Ruby

require 'formula'
class CracklibWords < Formula
homepage 'http://cracklib.sourceforge.net'
url 'https://downloads.sourceforge.net/project/cracklib/cracklib-words/2008-05-07/cracklib-words-20080507.gz'
sha1 'e0cea03e505e709b15b8b950d56cb493166607da'
depends_on 'cracklib'
def install
share.install "cracklib-words-#{version}" => "cracklib-words"
system "/bin/sh", "-c", "#{HOMEBREW_PREFIX}/sbin/cracklib-packer < #{share}/cracklib-words"
end
end