OpenBSD package manager pkg_add is known to be quite slow and using much bandwidth

  • hucsteOPM
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Simple:

    1/ write a shell script with this content:

    #!/bin/sh
    /usr/local/bin/curl -s -q -N $5
    

    2/ change the FETCH_CMD to the shell script!

    ;-)

  • SFloss (they/them)
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Solene mentions that she had to use a shelll wrapper to get rid of the “-S session=…” parameter from curl. Does anyone have an idea of how that would look, so that I can test this out.

    Another way of speeding up pkg_add is to use this project, obsdpkgup.