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
916485f4df
fix PR#599
...
Submitted-By: jdp
1996-06-03 04:40:43 +00:00
Jordan K. Hubbard
06ba76bea1
Oh my, looks like I didn't understand .B as well as I thought I did! :-)
1996-06-01 20:51:47 +00:00
Mike Pritchard
edf0e5b3f8
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
Jordan K. Hubbard
1c3f12fd44
Fix a couple of miscellaneous bugs and make pkg_add also support reading
...
from stdin.
1996-03-12 06:12:43 +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
0ad65298ab
Bring my pkg_install improvements forward from 2.1.
1995-11-12 04:55:40 +00:00
Jordan K. Hubbard
58a00a4f4c
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
Jordan K. Hubbard
36b7319742
Bring forward my changes from 2.1
1995-10-25 15:38:37 +00:00
Jordan K. Hubbard
3122afe4bd
Some fixes to make this "TMPDIR agile".
...
Submitted by: jmacd + some of my own fixes.
1995-08-17 00:36:06 +00:00
Jordan K. Hubbard
5da01a55fc
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
Jordan K. Hubbard
a2d09e69b2
Document how to get pkg_add to use PASSIVE MODE ftp in such transfers.
1995-07-30 09:37:31 +00:00
Jordan K. Hubbard
d8003c2a59
o Fix PR# bin/643 - always set "where_to" properly.
...
o Nuke dependence on libftp - it's about to die!
1995-07-30 09:11:20 +00:00
Satoshi Asami
86e0f980c9
The default for temporary directory is /var/tmp, not /tmp.
1995-07-30 05:25:35 +00:00
Rodney W. Grimes
d3628763db
Merge RELENG_2_0_5 into HEAD
1995-06-11 19:33:05 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
Jordan K. Hubbard
ceb1d42782
Only apply @mode directives to files.
...
Don't use the -p flag to tar; it sets the files to the wrong permissions.
Submitted by: jmz
1995-05-19 22:40:54 +00:00
Jordan K. Hubbard
28ed622cab
Document fetch-by-URL.
1995-05-10 20:56:19 +00:00
Jordan K. Hubbard
2283d8e502
Use mtree -U instead of -u and put back error check. Thanks Rod!
1995-04-28 04:16:30 +00:00
Jordan K. Hubbard
278ea7ecee
Don't bother checking the return status of the mtree command - it returns
...
non-zero stats when it changes things, too.
1995-04-27 11:33:08 +00:00
Jordan K. Hubbard
7113d27114
Further work on making all this more robust in the face of failure.
...
Also allow URL specification for a package. This works for things the
package may depend on, too.
Allow PKG_PATH to be used anywhere a package is being searched for.
1995-04-26 15:06:26 +00:00
Jordan K. Hubbard
8d006a838c
Check dependencies BEFORE doing final extraction of package.
...
Fix a bug where direct-extract mode would have still invoked the
packing list reordering commands.
1995-04-26 07:43:35 +00:00
Jordan K. Hubbard
0170dd7dec
My handling of the missing dependency but !Verbose was wrong. Make
...
the right message come out.
1995-04-26 06:56:05 +00:00
Jordan K. Hubbard
cbf098db0e
Second round:
...
1. Make paths work correctly.
2. Make pkg_add generally more robust in the face of failure.
3. Make the depend messages come out on stderr or stdout, but not both
interspersed! :-)
1995-04-22 13:58:24 +00:00
Jordan K. Hubbard
e692e3aa52
1. Add an new @option directive. You'll understand it better in a moment.
...
2. Fix a long-standing bug in pkg_add where the failure of one package in
a multipackage installation (pkg_add *.tgz) would blow you right out of
the water. Ick.
1995-04-22 07:41: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
8c4e15334e
Greatly simplify the calling of mtree - the error handling wasn't working
...
anyway, at least not with FreeBSD's mtree, and the arguments were being
built incorrectly.
1995-04-19 14:54:25 +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
1b164cce2b
Neither of these tools really told you what you needed to know neatly
...
and succinctly in verbose mode. I hope people find this more to their
liking.
1995-04-10 08:01:52 +00:00
Jordan K. Hubbard
6c5325bf0e
Add true support for dependency lists.
...
1. pkg_create now has a -P argument for specifying dependencies on the
command line.
2. pkg_add will honor dependencies and chain-load them automatically if
it finds the required package(s) in the same directory as the package
that is being loaded. For best results, install packages from a directory
containing all the packages you'll possibly need
(like /usr/ports/packages/all).
2 remaining flaws:
1. pkg_add looks in one place (where you were when you loaded the primary
pkg) for depended packages. If you can come up with a search path scheme
that's not a total hack - be my guest!
2. Recursive dependency expansion can result in the name of a dep being
listed more than once. This doesn't bother pkg_add since it checks
for package existance with pkg_info and will skip already-loaded packages.
I don't know how/if pkg_delete handles this yet, however. I need to look
into it.
1995-04-09 15:05: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
ad12efc944
More changes from John T. Kohl. Man pages, mostly.
...
Submitted by: jtkohl
1994-12-06 01:04:17 +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
Jordan K. Hubbard
3e78200fd8
Protect against old packages with bogus @name fields. Use basename_of()
...
on the name before recording it in /var/db/pkg. Sorry, Kaleb, you
were right after all! It was my fault! :)
1994-11-17 10:53:21 +00:00
Jordan K. Hubbard
9b98d77e09
Whoops - variable was in wrong scope. Correct.
1994-10-14 05:43:41 +00:00
Jordan K. Hubbard
5da4a65126
Fix bug in home directory calculation that I introduced with the free space
...
checking code. Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:34:04 +00:00
Jordan K. Hubbard
46f5c7be76
Add the ability to verify that a package won't extract in the space
...
available. Thanks to Michael Elbel for pushing me in the right direction.
1994-10-04 16:07:50 +00:00
Satoshi Asami
5edd12d270
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
Jordan K. Hubbard
b2f6083aad
Remove find_name(), replace with more generic find_plist() function.
1994-05-25 06:24:18 +00:00
Satoshi Asami
54685a8efa
Typo (pkg_add => pkg-add).
1994-05-20 19:35:33 +00:00
Satoshi Asami
45597cd27f
Make clear what arguments the "require" package gets (the original didn't
...
make any sense, with a ".b" instead of ".B" in front of "INSTALL"!).
1994-05-20 19:33:08 +00:00
Jordan K. Hubbard
bb9863dc0b
If require script fails, don't try to delete installed package.
1993-10-10 20:25:31 +00:00
Jordan K. Hubbard
6e27d75777
Fix problems with executing from current directory
1993-10-08 01:19:35 +00:00
Nate Williams
02954343b7
Now works with/without obj directories
1993-09-20 23:47:51 +00:00
Jordan K. Hubbard
ec97537369
Make sure permissions on registry location are readable by pkg_info.
...
Add new % sequence expansion for command execution.
1993-09-18 03:38:48 +00:00
Jordan K. Hubbard
5db659db0b
Fixed broken -t flag; thanks Rich!
1993-09-14 19:53:01 +00:00
Jordan K. Hubbard
96c8ba9a7a
Added option for current directory prefix in @exec (without which it's pretty
...
useless).
1993-09-06 23:26:21 +00:00
Jordan K. Hubbard
368b3399cd
Made staging area configurable rather than assuming /tmp (-t)
...
Made pkg_add -n less bitchy.
Made -p in pkg_add override "default" package location in pkg_create.
Added concept of "slave" and "master" modes, allowing many different things
to be done to packing lists on the fly. This is really something for
front-end drivers to use, but also something for the more expert user.
rename()'ing files before trying to copy them, thus saving
considerable time when targets and staging area are on same filesystem.
1993-09-05 04:53:51 +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