Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-01-22 | do not clean-up shared items in pretend mode (for now, need extra logic | Marc Espie | |
to pretend cleaning it up). | |||
2005-01-14 | `big lock' model: lock the whole db for reading/writing. | Marc Espie | |
design checked with millert@, relying on process termination for unlock at his suggestion. Perf optimization: don't try to reinstall installed packages in kitchensink mode if !-r. | |||
2005-01-03 | rename -f -> -F | Marc Espie | |
okay pvalchev@, naddy@, marco@, deraadt@ (keep -f around for the transition, will scrap it soon) | |||
2004-12-27 | recover from a nasty problem, allow people to delete package even if | Marc Espie | |
some dependency got badly adjusted. | |||
2004-12-27 | better message | Marc Espie | |
2004-12-15 | move -n down into RequiredBy and PackingList (as $main::not, since we | Marc Espie | |
don't want to load RequiredBy all the time). Remove a few $state->{not} tests that are no longer needed. pkg_add -n / pkg_delete -n should work much better when they need to handle multiple dependencies. (todo: kill plist caches, finish replacing with specialized caches like libraries). | |||
2004-12-12 | add somewhat more regular error catching code. | Marc Espie | |
2004-12-06 | Usage | Marc Espie | |
2004-11-15 | clean-up: pull all option parsing together. | Marc Espie | |
2004-11-14 | allows for several -f options, since OpenBSD::Getopt makes this possible | Marc Espie | |
2004-11-14 | turn on progress meter by default, use -x to disable it. | Marc Espie | |
document the new stuff, partial reorder of options. | |||
2004-11-14 | let RequiredBy generate lists directly, use hashes to trim down duplicates ↵ | Marc Espie | |
directly. Optimize for !wantarray, by telling whether the list is empty or not. prepare for a second similar list (REQUIRING) that will replace pkgdep, since pkg_add -r spends a hell of a lot of its time reading/writing long packing-lists... Use the simplified interface. Remove quite a few tests that the RequiredBy list is non-empty that do nothing but obfuscate the code: just deal with the damn list already. | |||
2004-11-11 | reversed test. | Marc Espie | |
2004-11-11 | store a ref to %forced in $state, for access anywhere. | Marc Espie | |
2004-11-11 | move some code from pkg_add to OpenBSD/Add.pm, for symetry with pkg_delete. | Marc Espie | |
change prototype of validate_plist, ditch globals cdrom_only and ftp_only (stash this into state). Use Warn properly. | |||
2004-11-11 | don't touch font directories if -n either... | Marc Espie | |
2004-11-11 | introduce shortcuts to read/write contents from_installation/to_installation | Marc Espie | |
use these to simplify all those packing lists manipulations. demote non-root detection to a warning in -n mode: fix a couple of minor bugs, of stuff that was run in -n mode and should not. Namely, manpages were indexed/unindexed (ouch) and tempfiles were creating during updates. | |||
2004-11-11 | fix interaction of -n -v -r. | Marc Espie | |
don't enable the progress meter if a very verbose mode is on. | |||
2004-11-09 | kill old Logger interface, use $state->print() to report problems at | Marc Espie | |
end exclusively now. | |||
2004-11-07 | show tally in verbose mode as well, why not ? | Marc Espie | |
2004-10-31 | Simplify ldconfig handling: one single ensure_ldconfig routine that | Marc Espie | |
reruns ldconfig -R (okay, we don't check that -m would be enough, so what ?) First hooks for -r: check that replacement should work. | |||
2004-10-31 | Move most of the code of pkg_delete into a separate module so that it will | Marc Espie | |
be usable by pkg_add -r. | |||
2004-10-31 | Erase old code | Marc Espie | |
2004-10-26 | kill old duplicate code. | Marc Espie | |
2004-10-26 | move the code that handles shared items into a separate Module. | Marc Espie | |
- It will be used after deletion/adding during updates. - We might avoid loading it if a package contains no new directories. Actually a lot of packages don't use it. | |||
2004-10-23 | store pkgname in shared items, so that delayed printing can be used | Marc Espie | |
(and use it). Optimisation: don't clone() directories | |||
2004-10-20 | basic framework for delayed messages. | Marc Espie | |
2004-10-19 | Extra progress meter for the handling of shared items: first show | Marc Espie | |
the reading of remaining stuff from installed packages, then the cleaning-up as it progresses. | |||
2004-10-18 | experimental progress meter. | Marc Espie | |
not active unless you specify -x for pkg_add/pkg_delete. (option is bound to change) | |||
2004-10-18 | use OpenBSD::Getopt so that we can do -v -v. | Marc Espie | |
Be much terser by default, start showing dependency information and various things only with at least one -v. Build a `flattened tree' of dependencies information in pkg_add, and show why we install a given package (idea from deraadt@). | |||
2004-10-17 | behave according to documentation, e.g., delete groups/users only if -c. | Marc Espie | |
fix typo. | |||
2004-10-11 | common code for exec/unexec/extraunexec. | Marc Espie | |
2004-10-11 | simplify ldconfig now that we run in an uniform way. | Marc Espie | |
2004-10-11 | aggregate all MESSAGES and display them at the end, with proper markers to | Marc Espie | |
separate distinct packages. | |||
2004-10-11 | move mandir handling to pkg_add/delete time, solely. | Marc Espie | |
Adjust stuff so that pkg_add can run makewhatis just once. pkg_delete cannot, since it has to have the manpages around still to remove them... | |||
2004-10-11 | common code for all script running. | Marc Espie | |
Common option for not running scripts: -I for both pkg_add and pkg_delete. | |||
2004-10-11 | $state->{beverbose} = $state->{verbose} || $state->{not} | Marc Espie | |
2004-10-11 | tweak, make it work a bit more like pkg_add | Marc Espie | |
2004-10-11 | add support for undisplay file, to be able to show information at pkg | Marc Espie | |
removal without having to run a DEINSTALL script... | |||
2004-09-24 | ditch `config' in the @sample messages, since this more or less covers | Marc Espie | |
all files installed from templates. | |||
2004-09-24 | 2nd half of @newuser/@newgroup: treat them as shared items, and remove | Marc Espie | |
them along with directories, if extra. | |||
2004-09-21 | typo | Marc Espie | |
2004-09-21 | rename cleanup dirs functions, since they will apply to all shared items | Marc Espie | |
soon. | |||
2004-09-20 | use fullname() in sample, so that absolute names AND relative names work. | Marc Espie | |
problem noticed by sturm@ | |||
2004-09-18 | full support for @shell: insert shells into /etc/shells if they're | Marc Espie | |
not already there, and remove them on deinstall. | |||
2004-09-14 | better wording for documentation. | Marc Espie | |
use System more or less everywhere. prepare to delete info directories properly. | |||
2004-08-11 | protect main loop of pkg_delete with an eval, so that | Marc Espie | |
ldconfig, directory removal, manpage handling, and fontdir handling always happen. | |||
2004-08-10 | typo | Marc Espie | |
2004-08-10 | cosmetic tweak: ensure all dirs always get exactly one / at the end. | Marc Espie | |
cosmetic tweak: do not show a space after a keyword without args. dir support reworked: keep clones() of dir objects, and call cleanup/reload routines at end. @mandir/fontdir support: both mandir and fontdir remove extra files on delete. @fontdir creates alias files, runs mkfontdir, and uses fc-cache. | |||
2004-08-09 | record remaining DirRms. | Marc Espie | |