homebrew-core/Formula/cntlm.rb
Halvard Skogsrud 758aa8085e Cntlm 0.92.3
Cntlm is an NTLM authenticating HTTP proxy which is very useful if you
work in a company with a Windows based proxy for outgoing Internet
traffic. It sits between your applications and the corporate proxy,
adding NTLM authentication on-the-fly.

Compared to alternatives like NTLMAPS, Cntlm is small, fast and has no
dependencies.

Closes Homebrew/homebrew#14004.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-07 09:16:27 -07:00

20 lines
526 B
Ruby

require 'formula'
class Cntlm < Formula
homepage 'http://cntlm.sourceforge.net/'
url 'http://sourceforge.net/projects/cntlm/files/cntlm/cntlm%200.92.3/cntlm-0.92.3.tar.bz2'
sha1 '9b68a687218dd202c04b678ba8c559edba6f6f7b'
def install
system "./configure"
system "make", "CC=#{ENV.cc}", "SYSCONFDIR=#{etc}"
# install target fails - @adamv
bin.install "cntlm"
man1.install "doc/cntlm.1"
etc.install "doc/cntlm.conf"
end
def caveats
"Edit #{etc}/cntlm.conf to configure Cntlm"
end
end