Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-28 | lift up more of the dev checking code into Vstat. | Marc Espie | |
un-special case SpecialFiles on deletion. Now that CONTENTS is part of the plist, it's checked as well on addition. | |||
2007-05-28 | oops, can't copy CONTENTS twice | Marc Espie | |
2007-05-28 | always create packing-lists with a `contents' entry. | Marc Espie | |
2007-05-28 | split off handle creation (for added packages) into its own routine. | Marc Espie | |
2007-05-28 | clean up packing-list validation, call the methods `prepare_for_addition' | Marc Espie | |
and `prepare_for_deletion', that's clearer... | |||
2007-05-28 | Reflect recent hoststated changes into hoststatectl | Pierre-Yves Ritschard | |
This unbreaks the tree. Fixed from the depth of the OpenBSD lair. | |||
2007-05-27 | so save_old_libs becomes the first routine to handle full UpdateSets. | Marc Espie | |
2007-05-27 | oops, save_old_libs is now set dependent, we no longer store old packages | Marc Espie | |
in the same location. | |||
2007-05-27 | move computation of header to a separate function. | Marc Espie | |
slightly more precise comment | |||
2007-05-27 | move packing-list validation to the UpdateSet level. | Marc Espie | |
2007-05-27 | comment out some of this code. Currently, we don't know how to recover | Marc Espie | |
from collision with old libs (and the result from figure_out_old_libs says so), so don't pretend we're doing anything significant with them... | |||
2007-05-27 | group packing-list validation for replaced packages with added one. | Marc Espie | |
2007-05-27 | Second step towards hoststated reload: | Pierre-Yves Ritschard | |
First split out hosts, tables and services into to structs, one that contains the runtime fields and one (inside the runtime) that contains mostly static fields that will be sent over the socket during reload. Also move the demoted field of tables inside the flags field as its just a boolean. ok reyk@ | |||
2007-05-27 | use macros from sys/queue.h | Pierre-Yves Ritschard | |
ok otto@ | |||
2007-05-27 | allow to specify table templates in the configuration file and to | Reyk Floeter | |
inherit them from multiple services or relays. this is useful if you want to use a table with the same list of hosts but different ports as specified in the relay or service section. this makes mcbride more happy ok pyr@ | |||
2007-05-27 | initialize pfx->pfx_maxlen too, rotting in my tree for some time | Henning Brauer | |
2007-05-27 | Additional truncation checks, mostly from tcpdump.org, | Can Erkin Acar | |
and remove some unused hlen assignments found by lint from Stuart Henderson, reviewed by me, ok henning@ claudio@ | |||
2007-05-27 | rename $state->{replace} to $state->{allow_replacing}, which matches intent | Marc Espie | |
better... | |||
2007-05-27 | errors can now be a local variable | Marc Espie | |
2007-05-27 | Simplify the mess that deals with alaready installed packages. | Marc Espie | |
We can now have one central point that deals with it. | |||
2007-05-27 | store replaced packages inside the UpdateSet directly. | Marc Espie | |
2007-05-27 | depend more stuff off handle. | Marc Espie | |
Introduce UpdateSet, finally, with a main handle. | |||
2007-05-27 | finish converting most things in pkg_add to the `handle' form, so | Marc Espie | |
we no longer stash anything inside locations. | |||
2007-05-27 | move the dependency solver up to the handle | Marc Espie | |
2007-05-27 | tweaks; ok uwe | Jason McIntyre | |
2007-05-26 | pass more handle through | Marc Espie | |
2007-05-26 | simplify error logic a bit more, always let prepare_to_add return a | Marc Espie | |
handle. Also kill very old @exec tests. | |||
2007-05-26 | link mount_vnd to the build, and remove usr.sbin/vnconfig, which is now | Alexander von Gernler | |
completely contained at the new place. provide a legacy link to /usr/sbin to go away after next release. ok deraadt@ | |||
2007-05-26 | use __packed structs for the on-the-wire packets and just memcpy at once | Henning Brauer | |
instead of kind-of manual copyin/out. increases accuracy in server mode. collecting dust in my tree for some time, result of a conversation with somebody i really want to give credit to, but I can't find the mails now :( okey dokey sez theo | |||
2007-05-26 | first steps for implementing reload: | Pierre-Yves Ritschard | |
* make parse_config allocate the hoststated function by itself * make as many sockets as necessary to talk to the relay children * add send_all for talking to all children with advise and ok reyk@ | |||
2007-05-26 | Rewrite the sdio(8) tool so that it can send arbitrary MMC commands. | Uwe Stuehler | |
2007-05-26 | oops, fix: pass handle instead of location to can_install. | Marc Espie | |
Ditch the modifications of global $errors. | |||
2007-05-26 | base tests on $handle->has_error instead of $errors. | Marc Espie | |
2007-05-26 | give a more descriptive name to function, we're past abreviations | Marc Espie | |
2007-05-26 | More comment typos from Diego Casati. Including winners like funtion, allmost, | Kenneth R Westerback | |
oustside, seqencer, toghether, nessissary, etc. | |||
2007-05-25 | until people finally fix their @group issues in packages, at least refuse | Marc Espie | |
flat-out to write packages with no @group annotations on fishy stuff (writable directories, setuid/setgid stuff) | |||
2007-05-25 | "interupt" -> "interrupt" in various comments. Mostly from Diego Casati. | Kenneth R Westerback | |
2007-05-25 | Check fdopen() return value. | Todd C. Miller | |
Ignore SIG_PIPE when writing to sendmail. This allows cron to still run jobs when sendmail is missing or broken (a warning will be logged). Move mailto variable to the same scope as mail and use the mail variable, not mailto, to test whether we have an open pipe to the mailer. | |||
2007-05-25 | Pass the handle to can_install, so that it can fill in errors (the package | Marc Espie | |
location is actually not used by this routine). | |||
2007-05-25 | start cleaning up the mess that is error-handling when installing packages. | Marc Espie | |
Mid-Term, we want to manipulate true `handles' that encapsulate package locations. For now, we create this handle externally, and just use it to record errors, in duplicate... Once handles are ready, they should be agregated into UpdateSets, to make replacement of packages more explicit and flexible. | |||
2007-05-25 | move the mode checker code from pkg_create into ArcCheck, so that pkg_add | Marc Espie | |
can reuse it. | |||
2007-05-25 | also rename this one for further wrapping | Marc Espie | |
2007-05-25 | rename `handle' to `location' in preparation for wrapping it in a | Marc Espie | |
proper `handle'. | |||
2007-05-24 | place holder for signature checking | Marc Espie | |
2007-05-24 | catch up and rethrow Packing-List read issues with the filename when | Marc Espie | |
available. | |||
2007-05-23 | fiddle with SharedLibs name, put common code into a common place in | Marc Espie | |
pkg_add. | |||
2007-05-23 | use autovivify | Marc Espie | |
2007-05-22 | Rework the way how ospfd fetches and tracks interfaces. Try to merge the | Claudio Jeker | |
code which is very similar and especially include RTM_NEWADDR in dispatch_rtmsg(). With this newly created interfaces will no longer cause config reload problems. OK norby@ | |||
2007-05-22 | remove duplicate -M entry from set_usage(); ok espie | Jason McIntyre | |
2007-05-22 | Only try to merge a AS_SEQUENCE if there is a difference between the 4-byte | Claudio Jeker | |
AS path and the 2-byte version. If both pathes have the same length don't try to merge them instead use the new path. Issue reported by Jon Morby and further analysed by Stuart Henderson. Tested by Stuart Henderson. |