summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Correct some man page xrefs, and some other minor changes to bring somempp1996-04-082-3/+3
| | | | | | 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.
* Close a file descriptor that I had (harmlessly) left open in a childjdp1996-03-201-1/+2
| | | | process.
* Fix a couple of miscellaneous bugs and make pkg_add also support readingjkh1996-03-124-20/+34
| | | | from stdin.
* Initialize the argument list in the unpack() routine to zero.mpp1996-02-191-1/+2
| | | | | 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.
* Another round of man page cleanups.mpp1996-02-124-28/+28
| | | | Down to only about 100 items left to cleanup! :-)
* Fix to catch a stupid oversight on my part which allowed this thingjkh1996-02-091-2/+2
| | | | | to remove the current directory under certain circumstances. Submitted by: Richard J Kuhns <rjk@watson.grauel.com>
* Fixed pkg_create to eliminate the limits on the size of the PLIST.jdp1996-02-061-31/+41
| | | | | | | 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.
* recording cvs-1.6 file deathpeter1995-12-304-166/+0
|
* Bring my pkg_install improvements forward from 2.1.jkh1995-11-125-106/+117
|
* Fix the `pkg_add relative to .' bug. Thank you, Ville!jkh1995-10-312-5/+7
| | | | Submitted by: Ville Eerola <ville@vlsi.fi>
* Bring forward my changes from 2.1jkh1995-10-2513-302/+392
|
* Don't be needlessly verbose in the pkg_create.jkh1995-08-281-4/+2
|
* Make the play-pen searching routine even more agile in tryingjkh1995-08-261-1/+3
| | | | to create a /usr/tmp dir if it makes sense to do so.
* Use size_t properly in all fs size ops. This kills a bugjkh1995-08-263-7/+5
| | | | | | 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>
* Some fixes to make this "TMPDIR agile".jkh1995-08-172-20/+38
| | | | Submitted by: jmacd + some of my own fixes.
* Make "out of space in ${PKG_TMPDIR}" handling a bit more robust.jkh1995-08-062-7/+8
| | | | Print the right thing, do the right thing. Back to you, Satoshi!
OpenPOWER on IntegriCloud