summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_delete
AgeCommit message (Expand)Author
2007-05-22cleanup shared state a bit earlier. Shouldn't change much, but may helpMarc Espie
2007-05-22introduce a SharedItemsRecorder (put it into Vstat, since that's a fileMarc Espie
2007-05-20create specific `state' objects for pkg_add and pkg_delete, so that I canMarc Espie
2007-05-20placeholders for UpdateSet, once we have it.Marc Espie
2007-05-20both pkg_add and pkg_delete use Vstat, make it explicit.Marc Espie
2007-05-14tidyMarc Espie
2007-05-01move the old elements into PackingElements, since the code is nowMarc Espie
2007-04-15update copyright years, standardize licence.Marc Espie
2007-02-22Problem noticed by Henrik Hellerstedt <henrik@kohina.net>Marc Espie
2006-08-01If pkg_delete is trying to remove more than one package at the same time andBernd Ahlers
2005-09-07use `pkg-name' rather than `pkgname' here, for consistency with otherJason McIntyre
2005-09-07sort options and sync usage();Jason McIntyre
2005-09-04* New -i interactive option, that can ask obnoxious questions.Marc Espie
2005-08-17reuse compute_closureMarc Espie
2005-08-17we have a much more accurate image of stuff in -n mode, so we canMarc Espie
2005-08-17restore $main::not that is needed by OpenBSD::RequiredBy,Marc Espie
2005-01-22do not clean-up shared items in pretend mode (for now, need extra logicMarc Espie
2005-01-14`big lock' model: lock the whole db for reading/writing.Marc Espie
2005-01-03rename -f -> -FMarc Espie
2004-12-27recover from a nasty problem, allow people to delete package even ifMarc Espie
2004-12-27better messageMarc Espie
2004-12-15move -n down into RequiredBy and PackingList (as $main::not, since weMarc Espie
2004-12-12add somewhat more regular error catching code.Marc Espie
2004-12-06UsageMarc Espie
2004-11-15clean-up: pull all option parsing together.Marc Espie
2004-11-14allows for several -f options, since OpenBSD::Getopt makes this possibleMarc Espie
2004-11-14turn on progress meter by default, use -x to disable it.Marc Espie
2004-11-14let RequiredBy generate lists directly, use hashes to trim down duplicates di...Marc Espie
2004-11-11reversed test.Marc Espie
2004-11-11store a ref to %forced in $state, for access anywhere.Marc Espie
2004-11-11move some code from pkg_add to OpenBSD/Add.pm, for symetry with pkg_delete.Marc Espie
2004-11-11don't touch font directories if -n either...Marc Espie
2004-11-11introduce shortcuts to read/write contents from_installation/to_installationMarc Espie
2004-11-11fix interaction of -n -v -r.Marc Espie
2004-11-09kill old Logger interface, use $state->print() to report problems atMarc Espie
2004-11-07show tally in verbose mode as well, why not ?Marc Espie
2004-10-31Simplify ldconfig handling: one single ensure_ldconfig routine thatMarc Espie
2004-10-31Move most of the code of pkg_delete into a separate module so that it willMarc Espie
2004-10-31Erase old codeMarc Espie
2004-10-26kill old duplicate code.Marc Espie
2004-10-26move the code that handles shared items into a separate Module.Marc Espie
2004-10-23store pkgname in shared items, so that delayed printing can be usedMarc Espie
2004-10-20basic framework for delayed messages.Marc Espie
2004-10-19Extra progress meter for the handling of shared items: first showMarc Espie
2004-10-18experimental progress meter.Marc Espie
2004-10-18use OpenBSD::Getopt so that we can do -v -v.Marc Espie
2004-10-17behave according to documentation, e.g., delete groups/users only if -c.Marc Espie
2004-10-11common code for exec/unexec/extraunexec.Marc Espie
2004-10-11simplify ldconfig now that we run in an uniform way.Marc Espie
2004-10-11aggregate all MESSAGES and display them at the end, with proper markers toMarc Espie