From 6ec3dd7a3d0b754af7e21f088d5dbf27b5df7ffd Mon Sep 17 00:00:00 2001 From: Stian Eikeland Date: Thu, 16 Oct 2014 20:55:17 +0200 Subject: lftp 4.6.0 Closes #33223. Signed-off-by: Jack Nagel --- Library/Formula/lftp.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Library/Formula/lftp.rb b/Library/Formula/lftp.rb index 0b89426f4..1b8664bb5 100644 --- a/Library/Formula/lftp.rb +++ b/Library/Formula/lftp.rb @@ -2,8 +2,8 @@ require "formula" class Lftp < Formula homepage "http://lftp.yar.ru/" - url "http://lftp.yar.ru/ftp/lftp-4.5.5.tar.gz" - sha1 "4dbef2d6a5bd9c44b5571a71a211b639450e09db" + url "http://lftp.yar.ru/ftp/lftp-4.6.0.tar.gz" + sha1 "8bc43080c3c467d1aeb659382d95ef5ac7436504" bottle do sha1 "57279f43658740d7e87023047e475892ea0516a2" => :mavericks @@ -21,4 +21,8 @@ class Lftp < Formula "--with-openssl=#{Formula["openssl"].opt_prefix}" system "make", "install" end + + test do + system "#{bin}/lftp", "-c", "open ftp://mirrors.kernel.org; ls" + end end -- cgit v1.2.3