2

I'm trying to pull down and install the Alpine mail client with Homebrew. I'm behind a rather terrible proxy with no such thing as FTP proxying. Unfortunately the formula for Alpine requires I retrieve a package from an FTP server.

I can grab the file by other means and get it on my local system, but I need to know how to tell Homebrew to use the specified package instead of trying to download it on its own.

Is this possible?

My usual workaround of running brew install inside of tsocks fails for some inadequately defined reason (just fails to connect exactly as if I hadn't tried it.. yet I can wget the file with tsocks just fine.

2

After some digging, I stumbled upon the fact that you can find the exact filename that Homebrew is looking for, download the file, and place it file into /Library/Caches/Homebrew, and try the install again. brew will then notice that the file has already been downloaded and continue following the recipe.

1

It is my understanding the whole idea behind Homebrew is the "recipe" or script that tells it how to install the program you are downloading and all its dependencies.

So, with that concept you would have to edit the install script (and maybe make file?) to tell Alpine to look locally for this dependent file instead of trying to download it by FTP.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .