This is the code for the fetch utility from FreeBSD Release 12.0. It has been modified to allow building on Linux and Solaris 10u8, and is the version of fetch used by Ravenports.
The cmake-based makefiles build and install:
- dynamically built fetch program (SSL libraries are statically linked by default)
- static libfetch library
- static libfetch library compiled with Position Independent Code
- dynamic libfetch library
- One man page for the fetch executable
- Another man page for the fetch library
fetch -- retrieve a file by Uniform Resource Locator
The fetch utility provides a command-line interface to the fetch(3)
library. Its purpose is to retrieve the file(s) pointed to by the URL(s)
on the command line.