summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* 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!
* Remove useless -lftp arguments from Makefiles.jkh1995-08-043-9/+0
| | | | Suggested by: ache
* Round this out. Now seems to transfer packages properly over ftpjkh1995-08-011-14/+18
| | | | | as it was supposed to. PKG_PATH more sorely needed than ever now.. Hmmmm.
* Argh! I hate my life! I can't seem to do anything right here today.jkh1995-08-012-9/+6
| | | | This should restore functionality to the pkg_install suite.
* Sync this up with ftp.c.asami1995-07-311-3/+0
|
* Remove dependency on sysinstall.jkh1995-07-311-14/+1
|
* Add ftp.c to makefile - that might make it work better. Sheesh!jkh1995-07-311-1/+1
|
* Change the environment variable this looks for from FTP_PASSIVE tojkh1995-07-301-3/+2
| | | | | | | FTP_PASSIVE_MODE. It would be really nice if we could standardise on this name so that all tools (like ncftp) that offer passive/active ftp selection would work seamlessly with one user environment variable setting.
* Document how to get pkg_add to use PASSIVE MODE ftp in such transfers.jkh1995-07-301-0/+12
|
* Totally eliminate the dependency on libftp (which will be removed from thejkh1995-07-303-50/+505
| | | | | FreeBSD source tree) and switch to the internal ftp routines developed by Poul-Henning and used in sysinstall.
* o Fix PR# bin/643 - always set "where_to" properly.jkh1995-07-302-5/+3
| | | | o Nuke dependence on libftp - it's about to die!
* The default for temporary directory is /var/tmp, not /tmp.asami1995-07-301-1/+1
|
* You can run pkg_info everywhere expect /var/db/pkg directory :-)ache1995-07-303-6/+16
| | | | | | Running there you got any kind of strange errors from tar caused by treating directories as tar files! Fix it by adding new isfile(name) (check for reg. files) to simple fexists(name) calls.
* If some files lost in /var/db/pkg/<port>/ after system crash f.e.,ache1995-07-301-7/+7
| | | | | | | | | pkg_manage silently dumps core, pkg_info claims about them to stderr, which makes very difficult to find what directory cause it via tons of pkg_info -a output. I found solution which covers both variants, now pkg_info claims about missing files to stdout among valid output with ERROR: prefix. It heals pkg_manage to not dump core and makes easy to find errors in pkg_info -a output by simple /ERROR 'more' command.
* Fix coredump for -v flagache1995-07-281-2/+2
| | | | | Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de> Obtained from:
* Use lstat() instead of access() for checking file existence. It worksasami1995-06-241-2/+3
| | | | | | for symlinks too, and according to Rod, access() is evil anyway. Reviewed by: jkh
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-9/+8
|
* Remove trailing whitespace.rgrimes1995-05-3012-37/+37
|
* Only apply @mode directives to files.jkh1995-05-191-3/+3
| | | | | Don't use the -p flag to tar; it sets the files to the wrong permissions. Submitted by: jmz
* Fix a long-standing bug that broke pkg_info utterly and probably madejkh1995-05-101-8/+7
| | | | pkg_add a little wiggy too.
* Fix a long-standing bug that broke pkg_info utterly and probably madejkh1995-05-102-8/+13
| | | | | pkg_add a little wiggy too. Document the fact that pkg_info can also take a URL.
* Bump the number of allowable args by a factor of 4. I just scannedjkh1995-05-101-2/+2
| | | | | all possible packing lists and found that at least one of them is pretty large!
* Document fetch-by-URL.jkh1995-05-101-1/+9
|
* Re-work make_dist() routine to build the tar command more reasonably.jkh1995-05-101-54/+58
| | | | This should eliminate the problem with truncated packages.
* Whoops! One of my automatics was initialized to garbage. Fix it.jkh1995-04-281-2/+2
|
OpenPOWER on IntegriCloud