1
0
Fork
You've already forked upgrade-proxy
0
FreeBSD upgrade caching proxy
  • Perl 74.1%
  • Roff 22.6%
  • Shell 3.3%
Find a file
2026年06月04日 16:07:16 +00:00
etc/rc.d Fix rc.d script 2026年05月27日 08:37:49 +00:00
sbin Version 2 2026年06月04日 16:07:16 +00:00
share/man/man8 Move man page to share/ 2026年05月26日 22:40:38 +00:00
README.md README.md: more errors 2026年05月27日 10:19:37 +00:00

DESCRIPTION

This daemon serves as a relay for pkg(8) and freebsd-update(8) that addresses several shortcomings of these tools that are especially painful over slow links. Primarily:

  1. it is capable of restarting the download if the connection gets broken,
  2. it does aggresive caching with checksumming support (ETag) to discover remote file changes to prevent downloading the same file all over again,
  3. connection handling is done by libcurl rather than the fetch(3) interface.

Increasing timeouts by setting FETCH_TIMEOUT and HTTP_TIMEOUT environment variables is recommended. This delegates timeout handling to the proxy.

INSTALLING

cp -r sbin etc share /usr/local/

Enabling:

sysrc upgrade_proxy_enable=YES
sysrc upgrade_proxy_user=...
service upgrade_proxy start

Additional command line switches may be specified in upgrade_proxy_flags.