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
max
b6275222a0
Typo.
1997-09-13 17:55:43 +00:00
jkh
df384126bc
Eliminate an annoying message.
1997-09-02 08:48:47 +00:00
jkh
a83d139ded
Add proper md5 comments to ports-installed packages also by
...
masticating it through the same routine used by pkg_create.
Submitted by: se
1997-07-04 04:48:02 +00:00
jkh
ee55475a0f
Change the naming conventions for preserve'd files and also document
...
the option in pkg_create. Now preserved files start with a . and are
named .<filename>.<pkgname>.backup so that their purpose is more clear.
Note that just using the preserve option without proper pkg_deps
is also foolish since packages being deleted in the incorrect order with
preserve on can generate some odd results.
1997-07-01 06:13:51 +00:00
jkh
3ba08b5d31
YAMF22 - deletes and preserve option fixes.
1997-06-30 03:15:40 +00:00
jkh
0a91728bd3
Whoops, only attempt to back up the file if it exists. :-}
1997-06-30 02:57:40 +00:00
jkh
4bb6ae9575
Add support for @option preserve - moves existing files out of the way
...
before replacing them (using pkgname to make this hopefully unique).
Delete also moves them back, if they exist, resulting in a package
which can be "backed out" with reasonable safety.
1997-06-29 10:41:49 +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
jkh
950dcc5c24
Add support for srcdir overrides.
1997-06-06 12:19:11 +00:00
ache
d192c5521c
When no last file specified for % command user barf(error diagnostic)
...
instead of segmentation fault
1997-05-24 21:45:55 +00:00
max
6e362a4e39
Minor typo.
...
PR: 3473
Submitted by: Josh Gilliam <soil@quick.net>
1997-05-02 22:00:05 +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
jkh
c87151df5a
Close PR#2459
1997-02-25 07:22:23 +00:00
peter
b782f4df30
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
jkh
7e5fec3559
Prevent potential argument buffer overflow.
1997-02-15 16:34:47 +00:00
jkh
3bb9619374
Fix a bogon with playpen size calculation for pkg of "-". It's amazing
...
this ever worked, actually.
1997-02-15 14:17:28 +00:00
jkh
5df56eba05
Put back @owner/@group/@mode behavior I took out way back when.
...
Submitted-By: pst
1997-02-14 01:52:38 +00:00
wosch
3c5e4a3bbe
Sort cross references.
1997-01-20 00:03:00 +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
bb745a330e
Correct a problem which broke +DISPLAY file handling.
1997-01-13 10:14:26 +00:00
ache
e1ccbc2171
Use new ftpGetURL interface, as result, report FTP error
...
via ftpErrString or net error via hstrerror(h_errno)
1996-11-14 07:30:17 +00:00
jkh
34c1fc6b4c
Fix PR#1557 - chained package dependencies using URLs didn't work.
1996-10-14 19:41:44 +00:00
jkh
b4c0b27579
Clean up the english a little, having made the mistake of reading it.
1996-08-20 21:27:18 +00:00
jkh
8e3eb39d32
Put verbosity in the right place.
1996-08-01 12:13:20 +00:00
jkh
4ae389eee6
Make -force work for pkg_add.
1996-07-31 21:52:33 +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
alex
9500b89e3f
Change min_free to return free space as an off_t instead of a size_t.
1996-06-08 00:46:33 +00:00
jkh
ef88bf5901
fix PR#599
...
Submitted-By: jdp
1996-06-03 04:40:43 +00:00
jkh
8d22c5bdb9
Oh my, looks like I didn't understand .B as well as I thought I did! :-)
1996-06-01 20:51:47 +00:00
mpp
3c57dc7753
Correct some man page xrefs, and some other minor changes to bring some
...
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
jdp
0f90888e3b
Close a file descriptor that I had (harmlessly) left open in a child
...
process.
1996-03-20 19:05:59 +00:00
jkh
48236277c1
Fix a couple of miscellaneous bugs and make pkg_add also support reading
...
from stdin.
1996-03-12 06:12:43 +00:00
mpp
0bdc6336c5
Initialize the argument list in the unpack() routine to zero.
...
This prevents a core dump due to the stack being trashed if pkg_add
is asked to process something that really isn't a package file.
1996-02-19 02:35:56 +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
ab4e86359c
Fix to catch a stupid oversight on my part which allowed this thing
...
to remove the current directory under certain circumstances.
Submitted by: Richard J Kuhns <rjk@watson.grauel.com>
1996-02-09 12:05:26 +00:00
jdp
87d671feaf
Fixed pkg_create to eliminate the limits on the size of the PLIST.
...
Formerly, there were limits on both the number of files (hard-coded into
the program) and the number of characters (because of the ARG_MAX limit
in exec(2)). In this new version, the filenames are passed to tar through
a pipe, using tar's "-T" option, rather than on the command line.
1996-02-06 22:49:11 +00:00
peter
ab124e78b0
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
jkh
9109257a8a
Bring my pkg_install improvements forward from 2.1.
1995-11-12 04:55:40 +00:00
jkh
6f708e7f5a
Fix the `pkg_add relative to .' bug. Thank you, Ville!
...
Submitted by: Ville Eerola <ville@vlsi.fi>
1995-10-31 20:30:18 +00:00
jkh
d4d9564530
Bring forward my changes from 2.1
1995-10-25 15:38:37 +00:00
jkh
0e4c4a45a1
Don't be needlessly verbose in the pkg_create.
1995-08-28 14:47:30 +00:00
jkh
3af739a3a9
Make the play-pen searching routine even more agile in trying
...
to create a /usr/tmp dir if it makes sense to do so.
1995-08-26 18:36:27 +00:00
jkh
a1d1916597
Use size_t properly in all fs size ops. This kills a bug
...
encountered by someone who had his /tmp on a partition with 3.7GB of
free space!
Spotted by: Francisco Rosich Viana <rosich@power.ci.uv.es>
1995-08-26 10:15:18 +00:00
jkh
f9c6f6c7f4
Some fixes to make this "TMPDIR agile".
...
Submitted by: jmacd + some of my own fixes.
1995-08-17 00:36:06 +00:00
jkh
0fd326e2ae
Make "out of space in ${PKG_TMPDIR}" handling a bit more robust.
...
Print the right thing, do the right thing. Back to you, Satoshi!
1995-08-06 03:21:04 +00:00