summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/index.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't ask about CD numbers if not installing from CD.dwhite2005-07-021-6/+8
| | | | Approved by: re
* Update parsing of the ports INDEX file to accomodate some newkensmith2005-03-241-9/+15
| | | | | | | | fields that got added to it recently-ish. While here document what each of the fields is based on discussion with portmgr@. Patch from: murray (slightly adapted) MFC after: 1 day
* Recover gracefully if the user puts in the wrong CD volume after beingmurray2005-03-181-5/+3
| | | | | | prompted to insert another CD for a package. MFC After: 3 days
* Update the list of package names/descriptions.kensmith2004-11-031-0/+7
| | | | Last second MFC candidate?
* I missed a s/package_exists/package_installed/ in the last commit.obrien2004-01-021-1/+1
|
* s/package_exists/package_installed/g as that's much more descriptive ofobrien2004-01-021-3/+2
| | | | what the function does.
* Increase size of the static buffer used to hold runtime dependency listsobomax2003-02-271-4/+4
| | | | | | | | | | | | | | read from CD from 2k to 16k, because in the modern world of meta-packages (Gnome et al) the length of this list could easily owerflow limit causing strange things to happen, ranging from installation failure due to list truncation to complete stack trashing (there is very vague bounds checking). For example, x11/gnome2-fifth-toe runtime dependencies list is 2,418 bytes long. Due to obvious reasons, this is an immediate MFC candidate. Sponsored by: Porta Software Ltd MFC after: 1 day
* Add several new real categories and virtual categories.knu2002-11-181-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Those marked with an asterisk (*) are virtual categories] - accessibility* : Ports to help disabled users PR: ports/39103 Requested by: trevor - finance : Monetary, financial and related applications PR: ports/39102 Requested by: trevor - haskell* : Software related to the Haskell language PR: ports/41959 Requested by: obraun - hungarian : Hungarian language support PR: ports/37576 Requested by: Janos Mohacsi <janos.mohacsi@bsd.hu> - multimedia : Multimedia software Requested by: many - parallel* : pplications dealing with parallelism in computing PR: ports/39094 Requested by: trevor - portuguese : Portuguese language support PR: ports/35991 Requested by: trevor
* Add tcl81 that was missing.knu2002-09-091-0/+1
|
* MFS: Extend a buffer size so that packages with particularily deep dependencybrian2002-05-171-1/+1
| | | | lists install properly.
* Add support for an additional field to the packages/INDEX file. Ifmurray2002-04-131-8/+45
| | | | | | | | | | | | | | | | | | | | | | | present, this field specifies the media volume that the disc is contained on. If the volume of a given packages is different than the current volume of mediaDevice, then the user is prompted -- "This is disc #%d. Package %s is on disc #%d\n" "Would you like to switch discs now?\n" If the user selects yes, then DEVICE_SHUTDOWN is called and the user is then prompted -- "Please remove disc #%d from you drive, and add disc #%d" This works well for a carefully crafted INDEX file, but more work needs to be done to sort dependencies on a given package based on the volume that they reside on, to minimize the amount of disc flipping required of the user. This commit is a no-op for normal INDEX files and FreeBSD CDs. These additional features are only used if the INDEX and cdrom.inf file have multi-volume support.
* The huge dependency lists of some of our packages has broughtmurray2002-01-291-0/+13
| | | | | | | | | | | | | | | attention to the sub-optimal way that we deal with package dependencies. Traditionally, for each package in an INDEX that the user wants to add, we check all of the dependencies first even if the package is already installed. With some GNOME packages, this can cause package_extract to be called for 50 different dependencies when we know the top level package is already installed. The new behavior is to not check dependencies for packages that are already installed. This fixes a bug where sysinstall gets itself into a CPU intensive loop when trying to install sawfish gnome with the most recent ports/INDEX. There is a bug somewhere in the ports INDEX, but with over 6,400 ports we need to be a little more forgiving here.
* Silence warnings :murray2001-09-221-4/+7
| | | | | | Use static as necessary. Use __unused as necessary. sizeof(int) != sizeof(void *)
* Mark relevant functions __printflike()/__printf0like() and silence some ofkris2001-07-051-1/+1
| | | | | | the non-constant format string warnings. MFC after: 1 week
* Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As thedd2001-07-021-3/+3
| | | | | | | | | names suggest, they perform methods on Device's. In addition, they check that the pointer passed to them is valid; if it isn't, they pretend that the action failed. This fixes some crashes due to NULL dereferences (e.g., PR 26509). Approved by: jkh (some time ago)
* Increase the buffer sizes for the build deps, run deps, and the linedd2001-06-221-3/+3
| | | | | | | itself verbatim from INDEX. This fixes seg. faults with newer INDEX files which have some gnome ports with outrageously long run deps. Approved by: jkh
* Add picobsd.asami2001-04-221-0/+1
|
* Add new categories science and ukrainian.asami2001-03-241-0/+2
|
* s/dependant/dependentjkh2001-03-241-2/+2
| | | | Submitted by: rwatson
* Fix an informational message a little and properly check status of a yes/nojkh2000-12-161-7/+5
| | | | question which I bollicked up in my previous commit.
* Adapt sysinstall to use the new msgNoYes() function which assumesjkh2000-12-141-1/+1
| | | | | | no as a default. Sysinstall should be both less dangerous and less annoying as a result of this change, though that's just my opinion (since they're the defaults which annoy ME the least :).
* "zope language" --> "zope platform".sobomax2000-09-221-1/+1
| | | | Requested by: asami
* Add french and zope.asami2000-09-221-0/+2
|
* Add in the linux, tcl83, and tk83 ports categories.jhb2000-08-161-0/+3
| | | | | PR: bin/20328 Submitted by: obrien
* Add new 'ruby' ports category.jhb2000-08-161-0/+1
| | | | | PR: conf/20629 Submitted by: asami
* Add hebrew.asami2000-07-311-0/+1
|
* Increase the size of the various index variables; there wasjkh2000-02-131-6/+6
| | | | | some overflow occurring. Submitted by: steve
* MFC: new categoriesjkh2000-02-101-8/+7
|
* More cosmetic surgery and a nasty null pointer bug in index.c fixed.jkh1999-12-191-1/+1
|
* Yet more cosmetic fixes (I have a little time to kill while waiting forjkh1999-12-181-0/+4
| | | | | something else, so I might as well tweak 3.4's look-and-feel for the better while I'm at it - final release build should be sometime later on tonite).
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-12-141-13/+19
| | | | | | | | | | | | as redoing all the menus to have proper, or at least non-hallucinogenic, keyboard accelerators. This requires my recent update to libdialog to work properly and will probably also exhibit some other "interesting" behavior while the last few missing screen clears are found (which is why I'm not going to MFC immediately). At least now, however, sysinstall does not gratuitously redraw random screens at the drop of a hat and drive serial console installers out of their minds.
* Add the latest categories.jkh1999-11-081-2/+5
|
* Oh crud, did I ever screw the pooch! Rather than sync this with -stable,jkh1999-09-021-1/+3
| | | | | | | | | | I backed-out the changes in -current and didn't touch stable at all (I thought I had my patch order reversed, not what actually happened). AIEEE! I can't even blame the crack for this one since I broke my crack pipe a few weeks ago. I think sleep deprivation gets the blame for this one. Medal for noticing this one goes to: Jim Bloom <bloom@acm.org>
* MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,jkh1999-09-011-3/+1
| | | | | | | bringing in DHCP support. The only thing I left out were Poul-Henning's newfs changes since I'm not sure if he's brought the rest of that support into -stable yet. If it turns out that this is the case, I'll MFC those changes too.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add new ports category "ftp".asami1999-08-021-1/+2
|
* Eliminate some varargs abuse.jkh1999-07-021-5/+13
|
* New ports/{java,irc,x11-servers} categories, Step #5 - update misc files.billf1999-06-281-1/+4
|
* Do a clean-up pass on error/warning messages.jkh1999-05-271-13/+5
|
* o Prevent alpha installs from grabbing x86 bits and vice-versa, at leastjkh1999-05-151-33/+18
| | | | | | | | | | | | | | on CDs and FTP sites. o Collapse some redundant code. o Fix typo'd menu. o Restrict searches properly to packages rather than categories. o Small tweaks to signal handling. All RELENG_3 candidates.
* Correct return status logic a bit.jkh1999-05-141-4/+6
|
* Completely change the way package_add() does its work. Now wejkh1999-05-121-5/+53
| | | | | handle dependencies at a lower level and use package add for this. Also made index searches stricter.
* Add an option for resetting and rescanning the probed device list, perhapsjkh1999-04-061-3/+5
| | | | | | | | to now detect that CD you just remembered to put in the drive or that pccard NIC that you've inserted (anybody can put pccardd in an mfsroot image now you know.. :) Requested by: Annelise Anderson <andrsn@andrsn.Stanford.EDU>
* Add entry for gnome category.jkh1999-02-151-1/+2
|
* List palm pilot category.jkh1999-02-021-2/+3
|
* Show dependencies in package menu.jkh1999-02-021-13/+96
| | | | | PR: 7454 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
* Merge recent changes from doc/handbook/porting.sgml and www/en/ports/categories.asami1999-01-111-9/+6
|
* Collapse the "get" code substantially by combining common functions.jkh1998-12-221-1/+2
| | | | | Also make mountpoint for each media type easier to change. Also reshuffled some menus for easier usage.
* Fix a couple grammar and typographical errors.steve1998-12-131-18/+18
| | | | | PR: 8355 Submitted by: Bruce A. Mah <bmah@ca.sandia.gov>
* snuff warning message if package is not found in INDEX but is foundjkh1998-10-151-2/+2
| | | | to be already installed anyway.
OpenPOWER on IntegriCloud