Socks5 for PKG

Hi guys, need to download packages behind a proxy through socks5. Reading the manual doesn't seem pkg provides this feature.

Can I use any other alternative method, can you recommend one?

Thanks... 🙏
 
FETCH supports socks5, does PKG piggyback on it?
I believe it does (or at least the libfetch intermediate). Or at least that seems to be what is implied by the issue tracker.

Looking at fetch(3), it seems that it respects the SOCKS5_PROXY environment variable. Perhaps try setting that before running pkg?

The question is if it supports SOCKS5h, as in it also uses socks to resolve DNS.
 
Back
Top