diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/thc-pptp-bruter.rb | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Library/Formula/thc-pptp-bruter.rb b/Library/Formula/thc-pptp-bruter.rb index 400ab64fd..ed8b57a9a 100644 --- a/Library/Formula/thc-pptp-bruter.rb +++ b/Library/Formula/thc-pptp-bruter.rb @@ -1,17 +1,21 @@ -require 'formula' - class ThcPptpBruter < Formula - homepage 'http://thc.org' - url 'http://freeworld.thc.org/releases/thc-pptp-bruter-0.1.4.tar.gz' - sha1 '88a797ed0dcfb79aba92b319e29d1c5d8c1b14a4' + homepage "https://thc.org" + url "https://freeworld.thc.org/releases/thc-pptp-bruter-0.1.4.tar.gz" + sha1 "88a797ed0dcfb79aba92b319e29d1c5d8c1b14a4" + + depends_on "openssl" def install # The function openpty() is defined in pty.h on Linux, but in util.h on OS X. - # See http://groups.google.com/group/sage-devel/msg/97916255b631e3e5 - inreplace 'src/pptp_bruter.c', 'pty.h', 'util.h' + # See https://groups.google.com/group/sage-devel/msg/97916255b631e3e5 + inreplace "src/pptp_bruter.c", "pty.h", "util.h" system "./configure", "--prefix=#{prefix}" system "make" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/thc-pptp-bruter" end end |
