summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-12-17can postpone grabbing conflict keys.Marc Espie
2004-12-17better 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-17note the effect of `$' and `~' in configuration file, and how toJason McIntyre
escape them; based on netbsd -r 1.316, pr 42762, from peter pentchev;
2004-12-16if -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-16better conflict: conflict with partial installations, always conflict withMarc Espie
the package itself, and all potential instances of libraries.
2004-12-16save depend information into cache when package is installed.Marc Espie
2004-12-16both borked.* and partial-* are recognized.Marc Espie
give the right pkg_delete command
2004-12-16renamed 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-16default wait time for dead server connection is 300 seconds, not 120.Moritz Jodeit
ok millert@, henning@
2004-12-16Limit the number of addresses used by the 'servers' directive to 8; ok henning@Darren Tucker
2004-12-15Poll unsynchronized servers at the maximum interval and log a message aboutDarren Tucker
them when in debug mode; ok henning@
2004-12-15Factor out interval scaling code; ok henning@Darren Tucker
2004-12-15move -n down into RequiredBy and PackingList (as $main::not, since weMarc 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-14If polling a server results in an error, drop that server to the maximumDarren Tucker
poll interval; ok henning@
2004-12-14.Xr dbmmanage 1 ,Jason McIntyre
2004-12-14convert to mdoc;Jason McIntyre
2004-12-14- be more consistent when referring to ServerRootJason McIntyre
- document DocumentRoot more explicitly - don't use .Va for everything ok henning@
2004-12-14sync usage() w/ SYNOPSIS and remove some verbosity;Jason McIntyre
ok henning@
2004-12-14convert to mdoc;Jason McIntyre
2004-12-14OBSD sync;Jason McIntyre
2004-12-14rewrite code to cache files internally, to avoid going to disk all theMarc 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-14use YFLAGS=Marco Pfatschbacher
ok mcbride@
2004-12-14update (and sort) FILES;Jason McIntyre
ok henning@
2004-12-14sendto() takes socklen_t as an argument; ok henning@Darren Tucker
2004-12-14one more rc.conf -> rc.conf.local;Jason McIntyre
2004-12-14convert to mdoc;Jason McIntyre
2004-12-13pull all the conflict checking code into one single function, makesMarc Espie
things much simpler...
2004-12-13since 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-13fix test for syswrite errors: zero returns are legitimate.Marc Espie
2004-12-13avoid brutal exits from loop.Marc Espie
2004-12-13more references to hier(7), from mickey;Jason McIntyre
2004-12-13Sanity check owner and permissions of privsep directory, like sshd does;Darren Tucker
ok henning@
2004-12-13Check for error status from poll() too; ok henning@Darren Tucker
2004-12-13Discard replies with alarm flag set or invalid stratum; ok henning@Darren Tucker
2004-12-13permit protocol name longer than 3 letters. canacar okJun-ichiro itojun Hagino
2004-12-12cvs expands $OpenBSD...$, so move the variable defs up so that they don'tMarc Espie
need a full name.
2004-12-12add somewhat more regular error catching code.Marc Espie
2004-12-11implement zeroes blocks detectionMarc Espie
2004-12-10sync usage();Jason McIntyre
ok espie@
2004-12-10typos, then -> than, from Michael KnudsenJared Yanovich
2004-12-09define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ okMichael Shalayeff
2004-12-09make -f scripts work again, and document it properly in both pkg_add andMarc Espie
pkg_delete since it now works for both.
2004-12-09while upgrading, protect deletion in an eval: we've got an extractMarc Espie
package that should be registered as borked if something should go wrong (which can happen if -f update, as I just witnessed with firefox).
2004-12-08use two tiny macros for copying fields out to simplify reading; henning@ okMichael Shalayeff
2004-12-08uniquely name members of s_fixedpt and l_fixedpt; henning@ okMichael Shalayeff
2004-12-07sync usage() w/ man page;Jason McIntyre
2004-12-07sync w/ obsd behaviour + tweaks;Jason McIntyre
2004-12-07wrap pkg_add usage.Marc Espie
2004-12-07oups, little FSM error: when we're in CONNECT and get an CON_OPEN eventHenning Brauer
initialize and start the holdtimer, just like when we're in state ACTIVE.
2004-12-07convert to mdoc;Jason McIntyre