summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internalbde1998-03-075-40/+24
| | | | | libraries, so that `ld -f' in can create correct dependencies for yet-to-be-built libraries.
* Eliminate the idea of nested "playpens" entirely - it just obfuscatedjkh1998-02-165-32/+45
| | | | the code and, in at least one case, made it more dangerous to no gain.
* I must have been smoking crack when I made this change. Using sh -cjkh1998-01-211-4/+4
| | | | | 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!
* Quote filenames more agressively.imp1998-01-211-4/+7
| | | | | Reviewed by: jkh Submitted by: Hubert Feyrer
* MF22: fix to install script handling.jkh1998-01-171-4/+4
|
* MF22: Additional paranoia in cleanup.jkh1998-01-091-2/+2
|
* Don't assume install script is directly runnable - use sh -c.jkh1998-01-081-4/+4
|
* "This is the add^H^H^Hinfo module."hoek1997-12-261-2/+2
| | | | | | | Pedantic comment fix. PR: bin/5188 Submitted by: Alex [3]garbanzo@hooked.net
* MF22: Revert part of -p handling.jkh1997-11-141-1/+4
|
* The prefix override code was bogus. The original idea was soundjkh1997-11-131-6/+1
| | | | | | | | 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>
* Pkg_add refused to process package whose packing list contains @exec/@unexecmax1997-10-241-2/+6
| | | | | | | | 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
* - do string-magic on the right variable when tryingjkh1997-10-183-6/+19
| | | | | | | | | | 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
* Deal with PLIST_UNEXEC properly.jkh1997-10-181-1/+5
| | | | | PR: 4784 Submitted by: Stefan `Sec` Zehl <sec@quit.42.org>
* Don't return from cleanup() - if it's removed the playpen then veryjkh1997-10-135-9/+14
| | | | | bad things will happen if we return to unsuspecting code. Noted to my great dismay by: Tim Vanderhoek <hoek@hwcn.org>
* Use err(3). Cosmetics in usage string and man page.charnier1997-10-0825-377/+310
|
* Document pkg_add's dependency auto-install. While I'm here, fixhoek1997-09-273-15/+19
| | | | | | | | | 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
* Many places in the code NULL is used in integer context, wherephk1997-09-182-4/+4
| | | | | | | | | 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>
* Typo.max1997-09-131-1/+1
|
* Eliminate an annoying message.jkh1997-09-021-4/+2
|
* Add proper md5 comments to ports-installed packages also byjkh1997-07-041-1/+2
| | | | | masticating it through the same routine used by pkg_create. Submitted by: se
* Change the naming conventions for preserve'd files and also documentjkh1997-07-014-35/+72
| | | | | | | | | 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.
* YAMF22 - deletes and preserve option fixes.jkh1997-06-301-21/+25
|
* Whoops, only attempt to back up the file if it exists. :-}jkh1997-06-301-2/+2
|
* Add support for @option preserve - moves existing files out of the wayjkh1997-06-293-11/+71
| | | | | | 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.
* Fix multiple documentation bogons.jkh1997-06-194-5/+5
| | | | | PR: 3798 Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
* Add support for srcdir overrides.jkh1997-06-063-6/+20
|
* When no last file specified for % command user barf(error diagnostic)ache1997-05-241-1/+3
| | | | instead of segmentation fault
* Minor typo.max1997-05-021-2/+2
| | | | | PR: 3473 Submitted by: Josh Gilliam <soil@quick.net>
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-314-8/+8
| | | | posix standard on the topic.
* Protect against missing initial @cwd. Closes PR#2893jkh1997-03-061-3/+7
| | | | Submitted-By: pius@iago.ienet.com
* Close PR#2459jkh1997-02-251-16/+13
|
* Revert $FreeBSD$ to $Id$peter1997-02-2225-25/+34
|
* Prevent potential argument buffer overflow.jkh1997-02-151-8/+7
|
* Fix a bogon with playpen size calculation for pkg of "-". It's amazingjkh1997-02-151-1/+3
| | | | this ever worked, actually.
* Put back @owner/@group/@mode behavior I took out way back when.jkh1997-02-141-1/+1
| | | | Submitted-By: pst
* Sort cross references.wosch1997-01-201-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1425-25/+29
| | | | | | | | 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.
* Correct a problem which broke +DISPLAY file handling.jkh1997-01-131-3/+4
|
* Use new ftpGetURL interface, as result, report FTP errorache1996-11-141-4/+7
| | | | via ftpErrString or net error via hstrerror(h_errno)
* Fix PR#1557 - chained package dependencies using URLs didn't work.jkh1996-10-142-33/+35
|
* Clean up the english a little, having made the mistake of reading it.jkh1996-08-201-20/+21
|
* Put verbosity in the right place.jkh1996-08-011-3/+3
|
* Make -force work for pkg_add.jkh1996-07-311-2/+2
|
* Add MD5 checksums to packing list for all files during pkg_create and usejkh1996-07-3012-74/+105
| | | | | | | | | 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.
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-244-12/+12
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Make pkg_install understand and use libftpio instead of its ownjkh1996-06-2016-516/+55
| | | | | copies of the ftp support routines. Also some cosmetic and minor bug fixes I've been meaning to incorporate for awhile.
* Make a small optimization which shaves about a second off the timejkh1996-06-161-28/+22
| | | | it takes to build the `All' menu in configPackages.
* Change min_free to return free space as an off_t instead of a size_t.alex1996-06-082-6/+6
|
* fix PR#599jkh1996-06-031-1/+4
| | | | Submitted-By: jdp
* Oh my, looks like I didn't understand .B as well as I thought I did! :-)jkh1996-06-011-3/+9
|
OpenPOWER on IntegriCloud