Maxim Sobolev
0f4dfa202e
New option "-s" to query size of the installed package(s).
...
PR: 19445
Submitted by: sobomax
Reviewed by: knu
Approved by: silence
2000-07-07 13:06:32 +00:00
Dag-Erling Smørgrav
c66a7bdea9
Use libfetch instead of libftpio. This adds support for http and IPv6.
2000-06-27 11:00:07 +00:00
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
John Baldwin
fb7ac445bf
Add cross references to pkg_version(1) in all the other pkg_* man pages.
...
Also, add a cross reference to pkg_info(1) in pkg_version(1). Finally,
in pkg_version(1), don't put a period at the end of the list of see also
man pages.
Noticed by: Matt Ayres <matta@fast.net>
2000-02-29 15:13:55 +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
Jordan K. Hubbard
c32155b9e3
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 Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Mike Pritchard
32fdc70513
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
Bill Fumerola
0845a96cd0
-Wall fixes. Ambigious if/elses, uninitialized values, missing headers,
...
missing prototypes, and empty format strings.
1999-08-11 20:55:42 +00:00
John Polstra
8d14a4acbe
When listing the installed packages, do it in alphabetical order.
1999-07-30 23:14:15 +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
David E. O'Brien
ce4273bfe4
change wording slightly to match other pkg_*.1
1998-12-31 20:28:55 +00:00
Jordan K. Hubbard
0440e20b71
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
Jordan K. Hubbard
375ca45770
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
Joseph Koshy
fa0bc432ca
Add $Id$.
...
PR: 7251
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>
1998-07-14 08:28:15 +00:00
Joseph Koshy
ec500c67a1
Document -I' and
-R' options to `pkg_info'.
...
PR: 7155
1998-07-06 04:39:20 +00:00
Joseph Koshy
f618e998de
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
Philippe Charnier
f12a14713b
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 08:31:20 +00:00
Bruce Evans
6dd8984675
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
Jordan K. Hubbard
79af7eafa8
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
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
Jordan K. Hubbard
47af563ed0
Deal with PLIST_UNEXEC properly.
...
PR: 4784
Submitted by: Stefan `Sec` Zehl <sec@quit.42.org>
1997-10-18 05:42:05 +00:00
Jordan K. Hubbard
570f313ee4
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
Philippe Charnier
6fed414929
Use err(3). Cosmetics in usage string and man page.
1997-10-08 07:48:21 +00:00
Tim Vanderhoek
a04aa72155
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
Jordan K. Hubbard
9a73af57e4
Fix multiple documentation bogons.
...
PR: 3798
Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
1997-06-19 15:18:34 +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
50f56e483a
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
Jordan K. Hubbard
cd9a2f5c28
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
Jordan K. Hubbard
a9ef0b2904
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
Jordan K. Hubbard
a6fad3a0ae
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
Mike Pritchard
bcff8e2ae4
Another round of man page cleanups.
...
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
Jordan K. Hubbard
36b7319742
Bring forward my changes from 2.1
1995-10-25 15:38:37 +00:00
Jordan K. Hubbard
ba508869ca
Remove useless -lftp arguments from Makefiles.
...
Suggested by: ache
1995-08-04 07:14:08 +00:00
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
Andrey A. Chernov
573999ad8a
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
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
3a5e372a3d
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
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
Jordan K. Hubbard
c090e04591
Whoops! How embarassing. Just now noticed that I forget to update the .Os
...
lines. Done.
1995-01-05 10:37:13 +00:00
Jordan K. Hubbard
3852eb465e
Fix a bad formatting directive.
1995-01-05 10:31:42 +00:00