summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-05-31simplify pfe_disable_eventsPierre-Yves Ritschard
2007-05-31Zap a bunch of unused VT_* tags.Thordur I. Bjornsson
ok tedu@,pedro@
2007-05-31make sure object ids are reset before parsing the configuration filePierre-Yves Ritschard
again.
2007-05-31we cannot install a package without a solver, remove redundant test.Marc Espie
2007-05-31simplify the handling of shared libs: there's no need to register eachMarc Espie
package independently.
2007-05-31split pfe's event registration in separate functions (like for hce)Pierre-Yves Ritschard
2007-05-31move set validation earlier (in fact, it probably doesn't belong inMarc Espie
really_add). move common delete_installed() code inside Delete.pm
2007-05-31don't bother registering files that have tempnames. The real files don't/noMarc Espie
longer exist. The stuff has been removed already anyways, this just makes spurious warnings while deleting partial packages. Also use auto-vivification, like we do everywhere else.
2007-05-31oops, move realname up so that ::Sample sees it too.Marc Espie
remove last traces of MODULEs.
2007-05-31kill REQ script directly. I'm pretty sure it doesn't quite work anyways.Marc Espie
Deprecate INSTALL and DEINSTALL, write out warnings in pkg_create. Clean up some more old cruft
2007-05-31fix the saving of partial installs in case destdir is used.Marc Espie
2007-05-31a few cosmetic changes, move realname over to PackingElement to beMarc Espie
able to use it in other cases.
2007-05-31split event registration between the ones that will be kept intactPierre-Yves Ritschard
at reconfiguration time.
2007-05-31Correctly encode ATTR_NEW_AGGREGATOR. The new aggregator is the one thatClaudio Jeker
bgpd uses internaly so we can just dump that one out. Found by Stuart Henderson, OK henning@
2007-05-31Document demotion counters. With help from jmc@Claudio Jeker
2007-05-31Use COMMUNITY_UNSET in bgpctl as well. This makes it possible to filterClaudio Jeker
on communities with 0 in them.
2007-05-31pf_state is no longer the same; modify pf_print_state.c to acceptRyan Thomas McBride
pfsync_state (as in pfctl, but in network byte order). ok henning@ toby@ pyr@
2007-05-31Even so some IX in germany likes to abuse 0 as AS community number we shouldClaudio Jeker
not allow anybody to use 65535. That one is reserved for well known communities. Add in that check again.
2007-05-31some silly debug code snuck in.Pierre-Yves Ritschard
2007-05-31allocate table lists and service lists instead of using static structs.Pierre-Yves Ritschard
split the code to start the event loop in two functions. introduce merge_config which will be used later on.
2007-05-31automaticaly -> automaticallyJason McIntyre
2007-05-30simplify script handling a bit (they're going to disappear probably anyways).Marc Espie
Remove two passes visitors, we don't use them.
2007-05-30fix verbosity.Marc Espie
2007-05-30fold even more stuff under the same control loop.Marc Espie
2007-05-30simplify really_add to use real visitors for extraction and installation.Marc Espie
Just do one single try {} catchall {} per-method, as this is enough. New methods: extract_and_progress, install_and_progress, that catch interrupts (die) deal with fake, and handle the progress meter. One single method: mark_progress, can be used for extraction, installation and deletion.
2007-05-30avoid setting partial directly when we can, use inheritance instead.Marc Espie
2007-05-30simplify the way partial installations get recorded: store elementsMarc Espie
already installed in a hash, and do a shallow copy of the list when necessary, using make_copy. This removes a lot of action-at-a-distance in packing-list elements.
2007-05-30use set_pkgnameMarc Espie
2007-05-30don't bother not copying the pkgname, we're going to overwrite it anyways.Marc Espie
2007-05-30new functionality: copy elements of packing-lists to a new plist if theyMarc Espie
are registered in a hash. This will be used to create borked packages in a much simpler way. Also, set_pkgname, so that I don't have to remember whether this packing-list already has a name. Useful when copying stuff over.
2007-05-30allow for removing colliding files... very dangerous.Marc Espie
2007-05-30slightly better control over partial installations (still preparing forMarc Espie
bigger sets)
2007-05-30separate the creation of the borked package and the Fatal.Marc Espie
2007-05-30redo keep_old_files as a visitor. Copy more stuff over.Marc Espie
2007-05-30move close methods so that error paths can proceed on Repository::Installed.Marc Espie
2007-05-30Major update to sensorsd.Constantine A. Murenin
Improves support for both 'smart' (those providing sensor status) and 'old-style' sensors. Due to re-design, the following improvements are now present and many flaws are now gone: == for smart sensors == * automatically monitor all sensors that provide status by themselves, with the possibility to ignore certain individual sensors or sensors of certain type (appropriate template for sensorsd.conf is included) * report actual sensor status as provided by the driver. Previously, WARN, CRITICAL and UNKNOWN statuses were considered the same, but now they are different and will be reported separately. This also improves readability of the log-files and consistency with sysctl output. * ability to ignore status provided by the driver with the 'istatus' keyword ("ignore automatic status" or "I set the status"), with the possibility to set your own settings for acceptable limits. Previously, it was not possible to set any kind of user limits for those sensors that had their own status facilities. == for old-style sensors == * previously, lm(4)-style fans that were flagged SENSOR_FINVALID during sensorsd startup were completely ignored, but now their invalid status is appropriately reported, and they are monitored again when they come out of their invalid mode * previously, a sensor that had an empty entry in the configuration file was reported to be "within limits", but now it will not be monitored at all (unless, of cause, it provides its own status) As a bonus, sensorsd syslog entries should now be shorter, and the majority of them will fit on one line on 80-column terminals. ok beck@, henning@, deraadt@
2007-05-30usr.sbin is kinder...Jason McIntyre
- consistent text for STANDARDS - note which options are extensions to POSIX
2007-05-30mrtd.net is no longer, pruneMathieu Sauve-Frankel
ok claudio@
2007-05-30token fallout.. bad henningHenning Brauer
2007-05-30yuck, no cookie for meHenning Brauer
2007-05-30bad henningOtto Moerbeek
2007-05-30give ibuf to event_setPierre-Yves Ritschard
2007-05-30backout more code that shouldn't have gone in.Pierre-Yves Ritschard
2007-05-30backout last diff which introduces problems and use the globalPierre-Yves Ritschard
environment instead.
2007-05-29make sure every dispatch function is fed the environment structure.Pierre-Yves Ritschard
2007-05-29when the time comes, let pfe_dispatch_parent be able to service morePierre-Yves Ritschard
than one message.
2007-05-29allow the control handling code to send messages back to the parent.Pierre-Yves Ritschard
forward IMSG_CTL_RELOAD which ends up not doing anything for now.
2007-05-29In update mode, restore previous behavior: some updated packages may haveMarc Espie
names that match installed packages, but still mark them to be installed, so that they're returned as dependencies, and get updated first. Write in TODO that the current situation is brittle, solved dependencies should get adjusted in real time to be 100% sure this won't cause problems...
2007-05-29teach hoststatectl's parser about reload. the code to handle it isPierre-Yves Ritschard
already there. of course this is a dummy for now.
2007-05-29Demote support for ospfd. It is possible to specify a demote group onClaudio Jeker
interfaces and areas. With this carp setups using ospfd are more reliable because we can fail over if the OSPF connectivity is (partially) lost. OK norby@