Andrey A. Chernov
96d5140413
You can run pkg_info everywhere expect /var/db/pkg directory :-)
...
Running there you got any kind of strange errors from tar caused
by treating directories as tar files!
Fix it by adding new isfile(name) (check for reg. files) to simple fexists(name) calls.
1995-07-30 01:44:45 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
Jordan K. Hubbard
e8019cb42b
Fix a long-standing bug that broke pkg_info utterly and probably made
...
pkg_add a little wiggy too. Document the fact that pkg_info can also
take a URL.
1995-05-10 23:00:07 +00:00
Jordan K. Hubbard
d9a50f903f
Whoops! One of my automatics was initialized to garbage. Fix it.
1995-04-28 18:24:31 +00:00
Jordan K. Hubbard
a0a72d6933
Make pkg_info URL aware (and also make it use the PKG_PATH properly, like
...
everyone else). Try this:
pkg_info ftp://freebsd.org/pub/FreeBSD/packages/all/gmake-3.73.tgz
1995-04-26 15:08:02 +00:00
Jordan K. Hubbard
e804f03a5d
Add support for the ${PKG_DBDIR} environment variable. /var/db/pkg is the
...
default, and probably not something you'd ever change, but now it's
possible to do so for local/custom installations.
1995-04-19 14:02:01 +00:00
Steven Wallace
022402f2be
Added new function show_index() which does a 'smart' display of the index file.
...
Index descriptions are limited to MAXINDEXSIZE (60) chars. Any description
beyond that is truncated. Also, only the first line is displayed as well.
This allows pkg_info -a -I to be formated in two columns with one line
per package for easy reading.
Reviewed by: jkh
1995-01-05 01:10:13 +00:00
Jordan K. Hubbard
8f396ebfb6
Many of John T. Kohl's patches from NetBSD. Thanks, John!
...
Submitted by: jkohl
1994-12-06 00:51:50 +00:00
Jordan K. Hubbard
cfa2a10c70
Sigh. NOW it's ok! :-)
1994-10-14 05:57:49 +00:00
Jordan K. Hubbard
69bb95d933
This should do it - I forgot about pkg_info.
1994-10-14 05:55:57 +00:00
Jordan K. Hubbard
46f5c7be76
Add the ability to verify that a package won't extract in the space
...
available. Thanks to Michael Elbel for pushing me in the right direction.
1994-10-04 16:07:50 +00:00
Jordan K. Hubbard
d23866636a
Added two new options, one of which is fairly far reaching:
...
-q turns on "quiet" mode, where informational headers and such are not
dumped, just the information.
-L Shows full pathnames of files comprising a package. With -q,
this can be useful for doing fileset operations, such as
"du -s `pkg_info -q -L foo_bin`" to see how much space package
"foo_bin" is taking up.
1993-09-08 01:46:59 +00:00
Jordan K. Hubbard
4af610b846
Nailed one last lurking ^L.
1993-09-07 01:01:32 +00:00
Jordan K. Hubbard
81bbfca32c
Added -e flag to pkg_info. Now you can test to see whether a package
...
is installed or not rather easily (useful for install scripts that want
to check for prerequisite packages). See man page for details.
1993-09-05 22:36:54 +00:00
Jordan K. Hubbard
e0ab6cb9c7
Made staging area configurable rather than assuming /tmp (-t)
1993-09-05 04:54:24 +00:00
Jordan K. Hubbard
a9c42a2388
Lots of misc tweaks, support for arbitrary separators in pkg_info, more
...
intelligent name handling in pkg_create. Most of these files are changed
because of rcsid's being different in my cvs tree and freefall's (foo).
1993-09-03 23:01:17 +00:00
Jordan K. Hubbard
6d946b2e52
The release version of my package install suite. Please see man pages
...
for info.
1993-08-26 01:19:55 +00:00