Steve Price
b7350d720d
Loosely document the '-s' commandline option.
...
PR: 6713
1998-05-24 03:11:17 +00:00
Jordan K. Hubbard
90b14d4761
Fix dependent-package loading when pkg_adding with an FTP URL. I broke
...
this when I changed the playpen code to disallow recursion. I know
this fixes a PR someplace but I can't seem to find it with the GNATs
search tool.
1998-04-12 16:01:10 +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
Jordan K. Hubbard
8b1643d2c6
I must have been smoking crack when I made this change. Using sh -c
...
in a vsystem() call is just a ludicrous way of calling sh -c "sh -c ..."
Whoops! I don't know my own bloody code here!
1998-01-21 06:08:35 +00:00
Warner Losh
07d19529ee
Quote filenames more agressively.
...
Reviewed by: jkh
Submitted by: Hubert Feyrer
1998-01-21 00:12:56 +00:00
Jordan K. Hubbard
73dfa4e8d6
MF22: fix to install script handling.
1998-01-17 12:26:19 +00:00
Jordan K. Hubbard
cac1743203
MF22: Additional paranoia in cleanup.
1998-01-09 14:52:18 +00:00
Jordan K. Hubbard
07eb524cb0
Don't assume install script is directly runnable - use sh -c.
1998-01-08 11:27:06 +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
2a23bb4e4c
MF22: Revert part of -p handling.
1997-11-14 01:56:04 +00:00
Jordan K. Hubbard
c6a72fc9d7
The prefix override code was bogus. The original idea was sound
...
enough, but we're not using the pkg_create tool that way anymore
in the ports collection.
PR: 4894
Submitted by: Adrian Colley <aecolley@ois.ie>
1997-11-13 11:49:23 +00:00
Masafumi Max NAKANE
cb48519127
Pkg_add refused to process package whose packing list contains @exec/@unexec
...
before any file names. This change makes pkg_add to process those
packages if @exec/@unexec commands don't contain any %[fFB]. Also
enable @exec/@unexec that have %D if the installation prefix is known to
pkg_add.
Reviewed by: jkh
1997-10-24 08:32:06 +00:00
Jordan K. Hubbard
940d89a9d5
- do string-magic on the right variable when trying
...
to find dependent packages on the local disk (i.e. package given as
filename, not URL)
- document $PKG_PATH
- use -v on pkg_add for dependent packages
Submitted by: hubertf@NetBSD.ORG
Obtained from: NetBSD
1997-10-18 05:54:17 +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
Poul-Henning Kamp
d030d2d2ae
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
Masafumi Max NAKANE
a1138a1695
Typo.
1997-09-13 17:55:43 +00:00
Jordan K. Hubbard
b4104ffa6b
Eliminate an annoying message.
1997-09-02 08:48:47 +00:00
Jordan K. Hubbard
643e8222c7
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
Jordan K. Hubbard
55f4e300b4
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
Jordan K. Hubbard
8805157f39
YAMF22 - deletes and preserve option fixes.
1997-06-30 03:15:40 +00:00
Jordan K. Hubbard
6373a10b41
Whoops, only attempt to back up the file if it exists. :-}
1997-06-30 02:57:40 +00:00
Jordan K. Hubbard
94d1d55871
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
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
Jordan K. Hubbard
159225d08b
Add support for srcdir overrides.
1997-06-06 12:19:11 +00:00
Andrey A. Chernov
31adf0ad42
When no last file specified for % command user barf(error diagnostic)
...
instead of segmentation fault
1997-05-24 21:45:55 +00:00
Masafumi Max NAKANE
a1c9d782b7
Minor typo.
...
PR: 3473
Submitted by: Josh Gilliam <soil@quick.net>
1997-05-02 22:00:05 +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
Jordan K. Hubbard
8375be7ed6
Protect against missing initial @cwd. Closes PR#2893
...
Submitted-By: pius@iago.ienet.com
1997-03-06 10:21:57 +00:00
Jordan K. Hubbard
b421849f2f
Close PR#2459
1997-02-25 07:22:23 +00:00
Peter Wemm
476602a9d0
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
6e0a4251e7
Prevent potential argument buffer overflow.
1997-02-15 16:34:47 +00:00
Jordan K. Hubbard
2df00d4c64
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
Jordan K. Hubbard
06b547f87f
Put back @owner/@group/@mode behavior I took out way back when.
...
Submitted-By: pst
1997-02-14 01:52:38 +00:00
Wolfram Schneider
bfd34a4a60
Sort cross references.
1997-01-20 00:03:00 +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
a1fcb52813
Correct a problem which broke +DISPLAY file handling.
1997-01-13 10:14:26 +00:00
Andrey A. Chernov
5e8809d7b9
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
Jordan K. Hubbard
82d4f7288d
Fix PR#1557 - chained package dependencies using URLs didn't work.
1996-10-14 19:41:44 +00:00
Jordan K. Hubbard
d17e19f475
Clean up the english a little, having made the mistake of reading it.
1996-08-20 21:27:18 +00:00
Jordan K. Hubbard
7204896f94
Put verbosity in the right place.
1996-08-01 12:13:20 +00:00
Jordan K. Hubbard
21c7f0d4d7
Make -force work for pkg_add.
1996-07-31 21:52:33 +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