Skip to content

jrmarino/fetch-freebsd

Repository files navigation

fetch-freebsd

This is the code for the fetch utility from FreeBSD Release 14.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:

  1. dynamically built fetch program (SSL libraries are statically linked by default)
  2. static libfetch library
  3. static libfetch library compiled with Position Independent Code
  4. dynamic libfetch library
  5. One man page for the fetch executable
  6. Another man page for the fetch library

Name

fetch -- retrieve a file by Uniform Resource Locator

Description

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.

Manual Page

FreeBSD version

Functional Upstream Difference

Until recently, fetch by default looked for ca_root_nss certificate files here:

  • /usr/local/etc/ssl/cert.pem
  • /etc/ssl/cert.pem

FreeBSD no longer does, but this code continues. Note that the Ravenports specification file replaces "/usr/local" with the defined installation prefix, so other users should make inline replacements if /usr/local is unsuitable as well.

About

The fetch utility from FreeBSD Release 12, modified for portability.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •