summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Expand)Author
2007-05-29In update mode, restore previous behavior: some updated packages may haveMarc Espie
2007-05-29slightly more descriptive names.Marc Espie
2007-05-29in checksum creation, allow $base to be undef.Marc Espie
2007-05-29move code a bit, in preparation for multiple handles in an UpdateSet.Marc Espie
2007-05-29rely on packing-lists knowing where they live, much saner.Marc Espie
2007-05-29don't bypass add_object to create special files, otherwise infodir won'tMarc Espie
2007-05-29set_infodir only if plist got defined.Marc Espie
2007-05-29set_infodir during pkg_add.Marc Espie
2007-05-29use the infodir property of packing-lists and specialfiles instead ofMarc Espie
2007-05-29a few more details so that infodirs become useful.Marc Espie
2007-05-29clean-up SpecialFile a bit: make sure the name passed during creation isMarc Espie
2007-05-29downgrade `can't find +DISPLAY' to a warning until I figure things out.Marc Espie
2007-05-29don't use 0 as an error number.Marc Espie
2007-05-28move `interrupted' stuff inside state: removes one local variable, allowsMarc Espie
2007-05-28delay error reporting a bit more: try installing and deinstalling everythingMarc Espie
2007-05-28store skipupdatedeps in the set, not the plistMarc Espie
2007-05-28lift up more of the dev checking code into Vstat.Marc Espie
2007-05-28oops, can't copy CONTENTS twiceMarc Espie
2007-05-28always create packing-lists with a `contents' entry.Marc Espie
2007-05-28split off handle creation (for added packages) into its own routine.Marc Espie
2007-05-28clean up packing-list validation, call the methods `prepare_for_addition'Marc Espie
2007-05-27so save_old_libs becomes the first routine to handle full UpdateSets.Marc Espie
2007-05-27oops, save_old_libs is now set dependent, we no longer store old packagesMarc Espie
2007-05-27move computation of header to a separate function.Marc Espie
2007-05-27move packing-list validation to the UpdateSet level.Marc Espie
2007-05-27comment out some of this code. Currently, we don't know how to recoverMarc Espie
2007-05-27group packing-list validation for replaced packages with added one.Marc Espie
2007-05-27rename $state->{replace} to $state->{allow_replacing}, which matches intentMarc Espie
2007-05-27errors can now be a local variableMarc Espie
2007-05-27Simplify the mess that deals with alaready installed packages.Marc Espie
2007-05-27store replaced packages inside the UpdateSet directly.Marc Espie
2007-05-27depend more stuff off handle.Marc Espie
2007-05-27finish converting most things in pkg_add to the `handle' form, soMarc Espie
2007-05-27move the dependency solver up to the handleMarc Espie
2007-05-26pass more handle throughMarc Espie
2007-05-26simplify error logic a bit more, always let prepare_to_add return aMarc Espie
2007-05-26oops, fix: pass handle instead of location to can_install.Marc Espie
2007-05-26base tests on $handle->has_error instead of $errors.Marc Espie
2007-05-26give a more descriptive name to function, we're past abreviationsMarc Espie
2007-05-25until people finally fix their @group issues in packages, at least refuseMarc Espie
2007-05-25Pass the handle to can_install, so that it can fill in errors (the packageMarc Espie
2007-05-25start cleaning up the mess that is error-handling when installing packages.Marc Espie
2007-05-25move the mode checker code from pkg_create into ArcCheck, so that pkg_addMarc Espie
2007-05-25also rename this one for further wrappingMarc Espie
2007-05-25rename `handle' to `location' in preparation for wrapping it in aMarc Espie
2007-05-24place holder for signature checkingMarc Espie
2007-05-24catch up and rethrow Packing-List read issues with the filename whenMarc Espie
2007-05-23fiddle with SharedLibs name, put common code into a common place inMarc Espie
2007-05-23use autovivifyMarc Espie
2007-05-22remove duplicate -M entry from set_usage(); ok espieJason McIntyre