Page MenuHomeFreeBSD

sysutils/anvil: Correct the options for selecting the fetch tool (fetch, curl, wget)
Needs ReviewPublic

Authored by dvl on Sep 13 2017, 3:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 1 2024, 12:01 AM
Unknown Object (File)
Oct 29 2023, 11:47 AM
Unknown Object (File)
Jul 15 2023, 4:30 PM
Unknown Object (File)
Jul 8 2023, 4:22 PM
Unknown Object (File)
Jun 26 2023, 12:19 PM
Unknown Object (File)
Jan 6 2023, 4:27 AM
Subscribers

Details

Reviewers
feld

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 11543
Build 11896: arc lint + arc unit

Event Timeline

sysutils/anvil/Makefile
21

FETCH_TOOL is used in files/cert-puller.conf.sample.in

25

The goal: let the use choose their fetching tool of choice. fetch is default.

Only one of the choices is permitted.

34

Depending on choices, set the correct RUN_DEPENDS.

38

The above three lines define FETCH_TOOL for use in the sample configuration file

What does it change for the user to change the tool used for fetching ? Or more to the point, in which case does fetch not do the job ?

In D12358#256388, @mat wrote:

What does it change for the user to change the tool used for fetching ? Or more to the point, in which case does fetch not do the job ?

cert-puller, one of the scripts installed by anvil, can use any one of the three tools. There is no advantage of any of them.

The code was originally designed with fetch in mind, but was later enhanced to use curl and wget. That was aimed mostly at non-FreeBSD users.

That is why fetch is the default.

Mmm, ok, but, this is the FreeBSD ports tree, all versions of FreeBSD have fetch. So, if it works, why add optional dependencies to other tools that do not add any features ?

Valid point.

  • Perhaps people prefer one over the other?
  • Because I can?
  • Because I wanted to learn better OPTIONS?

We can discuss this Saturday night. :)

linimon retitled this revision from Correct the options for selecting the fetch tool (fetch, curl, wget) to sysutils/anvil: Correct the options for selecting the fetch tool (fetch, curl, wget).Jul 18 2018, 12:56 PM