Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-12-20 | don't display some details in -n mode unless very verbose. | Marc Espie | |
2004-12-20 | keep a hash of installed packages, so that we can refuse to replace a | Marc Espie | |
package that just got installed. Also allows us to give a full tally of what reorder did in kitchensink. | |||
2004-12-20 | Add support for displaying Shared Spanning Tree Protocol frames, a minor | Christopher Pascoe | |
variation on 802.1d/STP. ok otto@ mcbride@ | |||
2004-12-19 | sanity check: in -n mode, we end up replacing stuff that doesn't exist ? | Marc Espie | |
2004-12-19 | don't create path if -n. | Marc Espie | |
2004-12-19 | simplify solve_dependencies: always compute to_install array (it is | Marc Espie | |
reasonably cheap). Remove else conditions, use next: after all, it's a simple pattern, try one solution after the other until one succeeds. Pass state to access replace: in that case, first try the list of packages to install/update so that we force them into proper order. Add a mark to handles for finished packages: with -r, we can no longer rely on installed packages to avoid doing the work twice. | |||
2004-12-19 | move conflict code to PkgCfl. | Marc Espie | |
2004-12-19 | use strchr instead of index | Theo de Raadt | |
2004-12-18 | reflect reality. | Marc Espie | |
2004-12-18 | kitchensink mode will proceed if it can't find a dependent package... | Marc Espie | |
2004-12-18 | if we can't find a package, and it's there to solve a dependency, | Marc Espie | |
say so. | |||
2004-12-18 | document kitchensink option | Marc Espie | |
2004-12-18 | display something when files ought to get moved in -n. | Marc Espie | |
2004-12-18 | ignore size issues in kitchensink pretend mode. | Marc Espie | |
Be consistent: show added files and deleted files if pretending. | |||
2004-12-18 | oops, don't compute fullname unless we know we can. | Marc Espie | |
2004-12-18 | implement special `kitchensink' option for testers. | Marc Espie | |
2004-12-18 | basic code to handle legacy .libs-* packages: figure out what collisions | Marc Espie | |
the new package actually has with old libs. If none is found, we can proceed. Prepare pkg_add to deal with it: switch into replacing mode as soon as something fishy is going on. Todo: code to actually delete replaced libraries. Please note: if you don't play games such as going back to old packages using replace, this code is enough. If you update your whole system and remove old .libs-* package without going back, this code isn't even needed... | |||
2004-12-17 | can postpone grabbing conflict keys. | Marc Espie | |
2004-12-17 | better collision reports. | Marc Espie | |
- in validate_plist, don't re-add a file that exists. - allows the virtual file system to put marks on existing files - use a \$pkgname the first time a file is added (space constraints: don't duplicate the pkgname). - in CollisionReport, first check the vfs, so that we don't look at installed packages when the collision only concerns newly added pkgs. Makes pkg_add -n report collision reports correctly. | |||
2004-12-17 | note the effect of `$' and `~' in configuration file, and how to | Jason McIntyre | |
escape them; based on netbsd -r 1.316, pr 42762, from peter pentchev; | |||
2004-12-16 | if -f installed, don't treat reinstallation as errors. | Marc Espie | |
if the package is installed, report it's there, don't give any conflict message. | |||
2004-12-16 | better conflict: conflict with partial installations, always conflict with | Marc Espie | |
the package itself, and all potential instances of libraries. | |||
2004-12-16 | save depend information into cache when package is installed. | Marc Espie | |
2004-12-16 | both borked.* and partial-* are recognized. | Marc Espie | |
give the right pkg_delete command | |||
2004-12-16 | renamed borked_installation from borked.n to partial-<pkgname> ... | Marc Espie | |
partial-<pkgname>.n if needed. Make borked_installation take a message, to show installation/deinstallation issues correctly. Fix handling of ^C: this may lead some system calls to return early, thus registering as errors: so always mark the last file as done, so that borked installation will register it correctly. Kill packing-list cache for anything but depends: we've got a global cache of libraries now (use it in pkg_add). Make almost everyone look at $main::not, so that we can call register_installation to_installation RequirementList->add/delete safely. Simplify $not logic accordingly, do thing much more closely to what would happen without -n. This should allow pkg_add/pkg_delete -n to handle most nasty cases correctly now, since all the relevant information is kept internally in a compact format: - register of shared libraries - global register of conflicts - cache of depends. | |||
2004-12-16 | default wait time for dead server connection is 300 seconds, not 120. | Moritz Jodeit | |
ok millert@, henning@ | |||
2004-12-16 | Limit the number of addresses used by the 'servers' directive to 8; ok henning@ | Darren Tucker | |
2004-12-15 | Poll unsynchronized servers at the maximum interval and log a message about | Darren Tucker | |
them when in debug mode; ok henning@ | |||
2004-12-15 | Factor out interval scaling code; ok henning@ | Darren Tucker | |
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-14 | If polling a server results in an error, drop that server to the maximum | Darren Tucker | |
poll interval; ok henning@ | |||
2004-12-14 | .Xr dbmmanage 1 , | Jason McIntyre | |
2004-12-14 | convert to mdoc; | Jason McIntyre | |
2004-12-14 | - be more consistent when referring to ServerRoot | Jason McIntyre | |
- document DocumentRoot more explicitly - don't use .Va for everything ok henning@ | |||
2004-12-14 | sync usage() w/ SYNOPSIS and remove some verbosity; | Jason McIntyre | |
ok henning@ | |||
2004-12-14 | convert to mdoc; | Jason McIntyre | |
2004-12-14 | OBSD sync; | Jason McIntyre | |
2004-12-14 | rewrite code to cache files internally, to avoid going to disk all the | Marc Espie | |
time. This will allow us to bypass synch() and use this in -n mode, among other things. We could also postpone writing the cache (synching) until the end of the program... | |||
2004-12-14 | use YFLAGS= | Marco Pfatschbacher | |
ok mcbride@ | |||
2004-12-14 | update (and sort) FILES; | Jason McIntyre | |
ok henning@ | |||
2004-12-14 | sendto() takes socklen_t as an argument; ok henning@ | Darren Tucker | |
2004-12-14 | one more rc.conf -> rc.conf.local; | Jason McIntyre | |
2004-12-14 | convert to mdoc; | Jason McIntyre | |
2004-12-13 | pull all the conflict checking code into one single function, makes | Marc Espie | |
things much simpler... | |||
2004-12-13 | since we store dependencies we looked at, show them in the clue() message, | Marc Espie | |
so that people can try to figure out why the library wasn't found. | |||
2004-12-13 | fix test for syswrite errors: zero returns are legitimate. | Marc Espie | |
2004-12-13 | avoid brutal exits from loop. | Marc Espie | |
2004-12-13 | more references to hier(7), from mickey; | Jason McIntyre | |
2004-12-13 | Sanity check owner and permissions of privsep directory, like sshd does; | Darren Tucker | |
ok henning@ | |||
2004-12-13 | Check for error status from poll() too; ok henning@ | Darren Tucker | |