aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sslh.rb
blob: f9180bc95e1d6e66512143c188c06cffe2687301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Sslh < Formula
  homepage 'http://www.rutschle.net/tech/sslh.shtml'
  url 'https://github.com/yrutschle/sslh/archive/v1.15.tar.gz'
  sha1 'f764541b3dcc1a8ece7e3aa9e46c9f1a3c23114a'

  depends_on 'libconfig'

  def install
    ENV.j1
    system 'make'
    bin.install 'sslh-fork', 'sslh-select'
    ln_s bin/'sslh-fork', bin/'sslh'
    man8.install 'sslh.8.gz'
  end
end