this post was submitted on 25 Jul 2021
6 points (100.0% liked)

OpenBSD Operating System

532 readers
2 users here now

useful resources:

Developer blogs:

Ressources:

founded 4 years ago
MODERATORS
 

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

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 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.

[โ€“] [email protected] 2 points 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!

;-)