Steve Price
beb88613c3
Avoid infinite loops when given a package name like 'm4-1.1/'.
...
Approved by: jkh
2000-05-14 19:54:04 +00:00
Dan Moschuk
61de98348a
Fix a bug in previous commit where pkg_{delete,info} foo-1.0/ would segfault.
...
Noticed first by: kris
2000-01-18 01:45:54 +00:00
Dan Moschuk
06647a4f76
Teach pkg_delete and pkg_info how to deal with full pathnames
...
(/var/db/pkg/foo-1.0, instead of just foo-1.0).
Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
2000-01-15 01:15:37 +00:00
Alexey Zelkin
f4c2a87d41
Include -f and -t options to SYNOPSYS section (manpage) and usage information
...
(main.c)
PR: bin/5410
Submitted by: Frank Volf <volf@oasis.IAEhv.nl>
2000-01-07 13:25:53 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Warner Losh
02db1769f3
'?' shouldn't be in the usage string. Unknown characters are already
...
converted to '?'.
1999-06-24 06:33:24 +00:00
Bill Fumerola
69f8389253
If we are going to have a case for '?' then we should define it in Options.
...
Submitted by: Ben Olson <bseth@chc-chimes.com>
1999-06-23 16:54:38 +00:00
Jordan K. Hubbard
c89686d6b7
If pkg_info is run with no args, default to "-aI".
1999-04-27 02:30:27 +00:00
Tim Vanderhoek
a86f3c5dee
"This is the add^H^H^Hinfo module."
...
Pedantic comment fix.
PR: bin/5188
Submitted by: Alex [3]garbanzo@hooked.net
1997-12-26 05:29:29 +00:00
Philippe Charnier
6fed414929
Use err(3). Cosmetics in usage string and man page.
1997-10-08 07:48:21 +00:00
Warner Losh
6c3f552a31
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Peter Wemm
476602a9d0
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
36b7319742
Bring forward my changes from 2.1
1995-10-25 15:38:37 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +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
Satoshi Asami
ef71329dfe
Add explanation of -e in usage().
1994-06-01 05:15:00 +00:00
Jordan K. Hubbard
dbda0ec78e
Change Header to Id.
1994-05-25 06:28:14 +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
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