dan
19a5ef96d9
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
cbb57f0230
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
phantom
94a241a20d
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
jkh
afc28880fd
Use the appropriate macro for double quotes rather than using double
...
quotes.
Submitted by: Alexey Zelkin <phantom@cris.net>
PR: 13436
1999-09-01 10:04:47 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
mpp
94f5c41121
Various man page cleanup:
...
- Sort xrefs.
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>
1999-08-15 08:47:11 +00:00
billf
a66efa8a50
-Wall fixes. Ambigious if/elses, uninitialized values, missing headers,
...
missing prototypes, and empty format strings.
1999-08-11 20:55:42 +00:00
jdp
36ac898832
When listing the installed packages, do it in alphabetical order.
1999-07-30 23:14:15 +00:00
imp
b6415deff2
'?' shouldn't be in the usage string. Unknown characters are already
...
converted to '?'.
1999-06-24 06:33:24 +00:00
billf
ce33e41080
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
jkh
45b960a6f5
If pkg_info is run with no args, default to "-aI".
1999-04-27 02:30:27 +00:00
obrien
cc8ed78bf6
change wording slightly to match other pkg_*.1
1998-12-31 20:28:55 +00:00
jkh
14bdf1c6c0
Make it possible to have separate install scripts as well as have
...
an on-delete script.
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
1998-12-16 13:59:31 +00:00
jkh
dad2df585c
correct usage of cleanup() everywhere - this became bogus when the warnx/errx
...
stuff was added and nobody seems to have noticed. :)
Noticed by: Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
1998-09-11 07:26:58 +00:00
jkoshy
7842d15da6
Add $Id$.
...
PR: 7251
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>
1998-07-14 08:28:15 +00:00
jkoshy
cea09a06a6
Document -I' and
-R' options to `pkg_info'.
...
PR: 7155
1998-07-06 04:39:20 +00:00
jkoshy
eae9bbe969
Document environment variables used by pkg_{add,create,info}. These
...
include PKG_TMPDIR, TMPDIR, PKG_DBDIR. Add a FILES section to these
manual pages.
PR: docs/7064
1998-06-26 07:15:38 +00:00
charnier
6e321f37d4
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 08:31:20 +00:00
bde
6682846885
Use foo/bar.a' instead of
-Lfoo -lbar' for linking to static internal
...
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
1998-03-07 08:55:00 +00:00
jkh
7836fb80f5
Eliminate the idea of nested "playpens" entirely - it just obfuscated
...
the code and, in at least one case, made it more dangerous to no gain.
1998-02-16 17:16:51 +00:00
hoek
7723a09fea
"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
jkh
835fbd1d3a
Deal with PLIST_UNEXEC properly.
...
PR: 4784
Submitted by: Stefan `Sec` Zehl <sec@quit.42.org>
1997-10-18 05:42:05 +00:00
jkh
4b318a5826
Don't return from cleanup() - if it's removed the playpen then very
...
bad things will happen if we return to unsuspecting code.
Noted to my great dismay by: Tim Vanderhoek <hoek@hwcn.org>
1997-10-13 15:03:55 +00:00
charnier
1c390186cd
Use err(3). Cosmetics in usage string and man page.
1997-10-08 07:48:21 +00:00
hoek
0ec680f86f
Document pkg_add's dependency auto-install. While I'm here, fix
...
a couple typos, and consistent double-spacing after sentences.
This is actually a spinoff from the "ports-current discontinued"
blow-up some time ago.
Ack'd by: jkh
1997-09-27 13:41:35 +00:00
jkh
64538a3bf5
Fix multiple documentation bogons.
...
PR: 3798
Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
1997-06-19 15:18:34 +00:00
imp
691010efad
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
b782f4df30
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
jkh
808a36ef65
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
jkh
84d2379289
Add MD5 checksums to packing list for all files during pkg_create and use
...
later at pkg_delete time to verify that you're deleting what you added.
This, of course, does NOT cover the case where a file you still need
hasn't changed! That's a tougher problem to solve, and this provides
only the minimal amount of safety belt. MD5 checksums are stored in comment
fields, so packages produced with these tools are backwards compatible with
the older ones.
1996-07-30 10:48:20 +00:00
jkh
8eb37231d4
Bring in my changes for removing the pestilent obj links (unless you
...
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
jkh
e8d26b1581
Make pkg_install understand and use libftpio instead of its own
...
copies of the ftp support routines. Also some cosmetic and minor
bug fixes I've been meaning to incorporate for awhile.
1996-06-20 18:33:55 +00:00
jkh
fe0ca9a717
Make a small optimization which shaves about a second off the time
...
it takes to build the `All' menu in configPackages.
1996-06-16 16:33:34 +00:00
mpp
0796408d4a
Another round of man page cleanups.
...
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
jkh
d4d9564530
Bring forward my changes from 2.1
1995-10-25 15:38:37 +00:00
jkh
e73cbd277f
Remove useless -lftp arguments from Makefiles.
...
Suggested by: ache
1995-08-04 07:14:08 +00:00
ache
38976345b1
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
ache
438e99a58f
If some files lost in /var/db/pkg/<port>/ after system crash f.e.,
...
pkg_manage silently dumps core, pkg_info claims about them to
stderr, which makes very difficult to find what directory cause it via
tons of pkg_info -a output. I found solution which covers both variants,
now pkg_info claims about missing files to stdout among valid output
with ERROR: prefix. It heals pkg_manage to not dump core and makes
easy to find errors in pkg_info -a output by simple /ERROR 'more' command.
1995-07-30 01:08:34 +00:00
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
jkh
6e78c7b340
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
jkh
4b3de059b5
Whoops! One of my automatics was initialized to garbage. Fix it.
1995-04-28 18:24:31 +00:00
jkh
16c38595ac
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
jkh
fc0ace6edf
1. Add proper dependencies to the library in my Makefiles. This was pointed
...
out by Bruce.
2. Add a "feature" to pkg_create (OK, OK, it's a miserable hack!) to get
it to dump its internal packing list out so that the `fake-pkg' rule in
bsd.port.mk can generate a more meaningful packing list.
1995-04-22 00:03:18 +00:00
jkh
496b8887e4
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
jkh
f8d21a60a1
Whoops! How embarassing. Just now noticed that I forget to update the .Os
...
lines. Done.
1995-01-05 10:37:13 +00:00
jkh
b0f37a24cb
Fix a bad formatting directive.
1995-01-05 10:31:42 +00:00
swallace
fa156e55d6
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
jkh
46ecb27be8
More changes from John T. Kohl. Man pages, mostly.
...
Submitted by: jtkohl
1994-12-06 01:04:17 +00:00
jkh
773a5f451d
Many of John T. Kohl's patches from NetBSD. Thanks, John!
...
Submitted by: jkohl
1994-12-06 00:51:50 +00:00
jkh
47d2d53b0b
Sigh. NOW it's ok! :-)
1994-10-14 05:57:49 +00:00