Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Uberftp 2.8 #48447

Closed
wants to merge 4 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions Library/Formula/uberftp.rb
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
class Uberftp < Formula
desc "Interactive GridFTP client"
homepage "http://dims.ncsa.illinois.edu/set/uberftp/"
url "https://github.com/JasonAlt/UberFTP/archive/Version_2_7.tar.gz"
sha256 "29a111a86fa70dbbc529a5d3e5a6befc1681e64e32dc019a1a6a98cd43ffb204"
url "https://github.com/JasonAlt/UberFTP/archive/Version_2_8.tar.gz"
sha256 "8a397d6ef02bb714bb0cbdb259819fc2311f5d36231783cd520d606c97759c2a"

depends_on "globus-toolkit"

def install
# get the flavor
globus = Formula["globus-toolkit"].opt_prefix

core = `"#{globus}/sbin/gpt-query" globus_core`
flavor = case core
when /gcc64dbg/ then "gcc64dbg"
when /gcc32dbg/ then "gcc32dbg"
end
#patches needed since location changed with globus-toolkit versions >= 6.0, patch to upstream not yet merged https://github.com/JasonAlt/UberFTP/pull/8, but solves not whole problem
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add space after # and wrap this line at 80 characters.

inreplace "configure", "globus_location/include/globus/gcc64dbg", "globus_location/libexec/include"
inreplace "configure", "globus_location/lib64", "globus_location/libexec/lib"

system "./configure", "--prefix=#{prefix}",
"--with-globus-flavor=#{flavor}",
"--with-globus=#{globus}"
system "make"
system "make", "install"
Expand All @@ -27,3 +23,4 @@ def install
system "#{bin}/uberftp", "-v"
end
end

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need this empty line