ru
4bb5f49662
Prepare for mdoc(7)NG.
2000-12-27 15:30:30 +00:00
ru
c23c39b3a4
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
ru
71e2293ad4
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
jkh
cdb92ab985
Cause fatal error messages to be a little more helpful to the programmer
...
concerning where they're taking place.
Switch from [r]index() to str[r]chr() functions, which are more ISO
compliant.
Prompted by: Edward Welbourne <eddy@vortigen.demon.co.uk>
2000-10-22 09:53:27 +00:00
des
af6a1c52dc
Use libfetch instead of libftpio. This adds support for http and IPv6.
2000-06-27 11:00:07 +00:00
hoek
7e994844ce
Use rm -f
if the -f (force) option was given.
2000-06-02 04:32:37 +00:00
steve
3726bbb199
Avoid infinite loops when given a package name like 'm4-1.1/'.
...
Approved by: jkh
2000-05-14 19:54:04 +00:00
hoek
322ce1cd54
Finally remove the restriction introduced from NetBSD in r.1.3 that
...
pkg_delete be run as root. Now honours -f and checks ownership of
${PKG_DBDIR} before errx()'ing.
Requested by: bin/5718, myself, bin/18373 (in order)
2000-05-13 12:58:18 +00:00
jhb
a34ecba155
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
jkh
6362c530d0
While looking for a bug, tripped over style issues with added
...
code. Fix them.
2000-02-18 07:00:01 +00:00
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
sheldonh
ddf2890cdf
Fix bogon in previous commit: pass a string argument to printf(3) to
...
satisfy the %s conversion format specifier.
Reported by: Mark Huizer <freebsd@xaa.iae.nl>
2000-01-11 13:40:20 +00:00
sheldonh
aa0fc48ff1
Use a more helpful fatal error message than "Toto! This doesn't look
...
like Kansas anymore!" when unable to return to the original working
directory.
PR: bin/16015
2000-01-11 12:37:16 +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
nik
559bbb333e
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:12:29 +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
obrien
fe68a835f9
document PKG_DBDIR
...
Add ENVIRONMENT and FILES sections.
1998-12-31 20:29:29 +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
ec5ce5a2f5
Fix bug where trailing slash could confuse the registry removal.
...
Noticed by: des
1998-11-11 06:09:04 +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
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
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
phk
d8ac409160
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +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
jkh
940fd156ae
Protect against missing initial @cwd. Closes PR#2893
...
Submitted-By: pius@iago.ienet.com
1997-03-06 10:21:57 +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
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
9109257a8a
Bring my pkg_install improvements forward from 2.1.
1995-11-12 04:55:40 +00:00
jkh
e73cbd277f
Remove useless -lftp arguments from Makefiles.
...
Suggested by: ache
1995-08-04 07:14:08 +00:00
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
jkh
33fa95f0b3
Add depend on libftp since this is now in lib.
1995-04-26 15:07:14 +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
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
3ef0581e73
Don't let pkg_delete remove the recorded location until everything has
...
absolutely, positively been successfully removed.
Reviewed by:
Submitted by:
Obtained from:
1994-09-29 13:19:43 +00:00
asami
93b71d3919
The environment variable PKG_PREFIX is set to the first @cwd command
...
in the packing list, or the argument to -p if it is specified, before
the requirements/installation/deinstallation scripts are called. This
enables the scripts to be written to work on the final installation
destination, even if the user uses -p to override the package's default.
1994-05-25 18:00:04 +00:00