NetBSD/usr.sbin/pkg_install/add
grant dd46f97f58 use the --use-compress-program argument to tar and do away with
the file descriptor handling mess in lib/file.c.

also use --fast-read where applicable.

result of pkg_info -B on 1.5ghz pentium4, linux:

			before		after
mozilla-1.4nb1.tgz	1.96sec		0.04sec
mozilla-1.4nb1.tbz	18.66sec	0.21sec

866mhz pentium3, NetBSD:

			before		after
mozilla-1.4nb1.tgz	2.22sec		0.07sec
mozilla-1.4nb1.tbz	16.29sec	0.34sec

-rw-r--r--    1 grant    users    13816195 Dec 20 13:59 mozilla-1.4nb1.tbz
-rw-r--r--    1 grant    users    15814227 Dec 20 13:58 mozilla-1.4nb1.tgz

XXX fetches over ftp/http still read the whole file.
2003-12-20 03:31:56 +00:00
..
Makefile
add.h Merge src/usr.sbin/pkg_install on the pkgviews branch into the HEAD by 2003-09-02 07:34:47 +00:00
extract.c Add some free()s in error cases. 2003-09-23 09:47:20 +00:00
futil.c Cast the type of argument printed, for sparc and arm platforms. 2003-09-24 06:18:16 +00:00
main.c always print an error when package addition fails (rather than only 2003-12-20 02:19:21 +00:00
perform.c use the --use-compress-program argument to tar and do away with 2003-12-20 03:31:56 +00:00
pkg_add.1 check the OS, architecture and version of a package against the host 2003-12-20 00:47:18 +00:00
verify.c Get rid of lots of system(3) (partly via vsystem) calls. 2003-09-23 09:36:04 +00:00
verify.h