Suggestion for 'pkg_add -r'

Anders Nore andenore at freebsd.org
Thu Aug 7 11:17:26 UTC 2008


Hi,

In my pkg_improved GSoC project I've added a nice feature for 'pkg_add -r'  
which displays the size of the file being downloaded as well as progress  
status in % and bytes/kb/mb/... and download speed. If someone could test  
it and comment it would be perfect, below you can find the patches for  
RELENG_7 and -CURRENT. (As for now pkg_add does not have a -q/Q option  
(quiet), but this could perhaps be used to deprecate the output?).

RELENG_7:
http://home.no.net/andenore/patches/pkg_install_2008-08-06_RELENG_7.diff

CURRENT:
http://home.no.net/andenore/patches/pkg_install_2008-08-06_CURRENT.diff


Thanks,
Anders Nore


More information about the freebsd-hackers mailing list