summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-10-19remove almost all references to set->handle, iterate over newer in mostMarc Espie
cases (todo: rebuild dependency headers for the complex case...)
2009-10-19iterate over newer instead of 1 single handleMarc Espie
2009-10-19basic routines to handle the merging of updatesets: mark updatesets asMarc Espie
already done, separate remove/mark_installed in tracker, create a merge method that allows the merging of updatesets.
2009-10-19cleanup method that does more or less what's neededMarc Espie
2009-10-19syntactic sugar: methods to access plist and location from handle.Marc Espie
2009-10-19factor common code, that's a handle specific headerMarc Espie
2009-10-18actually, we want to resolve C_ALL and C_NET, we just don't want to do itGilles Chehade
when their action is to be relayed.
2009-10-18fix a bug that was introduced by my changes in ruleset matching and whichGilles Chehade
caused an envelope to be saved with action A_INVALID when it matches either A_RELAY or A_RELAYVIA. reported by various people
2009-10-18do not attempt to resolve aliases for C_ALL and C_NET destinationsGilles Chehade
2009-10-17sort flags.Igor Sobrado
2009-10-16after recent change in virtual maps support smtpd.conf.5 was not fullyGilles Chehade
updated and still referenced the "virtual" map which no longer exists. issue spotted by Alexander Hall <alexander@beard.se>
2009-10-16as of now, "accept for all deliver to mbox" is a valid syntax, sadly lka isGilles Chehade
not aware of this and will fatal() when it attempts to resolve a recipient for a destination that's not C_DOM or C_VDOM. issue reported by Dorian Buettner <dorian.buettner@gmx.de>
2009-10-16ouch. delete is not undef. We need to make sure the entries vanish,Marc Espie
otherwise, find_dep_in_stuff_to_install will still find the key.
2009-10-16sort flags in synopsis, usage, and description.Igor Sobrado
2009-10-15fix installation headerMarc Espie
2009-10-15missed one, tell tracker this is already installedMarc Espie
2009-10-15allow solve to find dependencies in current UpdateSetMarc Espie
2009-10-15sync updatesets with tracker when we create them...Marc Espie
2009-10-15separate the dependencies in several lists for registration, so thatMarc Espie
newer can have several entries.
2009-10-15remove parameter we no longer useMarc Espie
2009-10-15the to_install/to_update stuff is now in the tracker object.Marc Espie
2009-10-15move the installed check in Tracker, where they belongMarc Espie
2009-10-15pkg_add will need to track installation progress globally, so that we don'tMarc Espie
solve dependencies with stuff that we want to update later... create that information, to be used...
2009-10-15reorg codeMarc Espie
2009-10-15missed oneMarc Espie
2009-10-15fix typo that prevented `pkg_info -r` from working.Peter Hessler
OK espie@
2009-10-15let handle compute pkgnames correctly, simplifies code a bitMarc Espie
2009-10-14move OpenBSD::Handle into its own file. I guess I need to disentangle thisMarc Espie
code before I go further....
2009-10-14fix slice that doesn't work as I thought it would...Marc Espie
2009-10-14add a few comments, finish killing kitchensink.Marc Espie
2009-10-14be a bit more specific, write the list of unsigned packages.Marc Espie
2009-10-14use choose_locationMarc Espie
2009-10-14make signature checking more quiet: discard openssl's STDERR, keep a tallyMarc Espie
of signed packages. - display a message only if signed packages have been signed. - show IN BIG CAPS unsigned package numbers if a mixture of signed/unsigned has been seen.
2009-10-14add a "print" method to ProgressMeter and StubProgress to allow me to cleanMarc Espie
up the current mess (e.g., print things out to stderr without needing to explicitly clear the current line if needed). create a choose_location method directly in state, that will replace all instances of looking for a package eventually (hopefully).
2009-10-13oops, oops, oops. todo is not todo2Marc Espie
2009-10-13deal with UpdateSets earlier: build an updateset, and ask Update to completeMarc Espie
it. Tweak the control for updates to move to main program. Eventually, we will run updates on the fly (there's still some merging code and debugging to go)
2009-10-13factor out code as stem2locationMarc Espie
2009-10-13you have to hate those stupid tools:Marc Espie
if you echo nlist |ftp some_url the site *won't* give you an error code, it will just spew out a stupid line like: Failed to change directory. Can't change directory to pub/OpenBSD/zoinx: No such file or directory and that on stdout !!! Detect this in list grabbing, and display a decent error message for the user. Avoids some duh moments where you won't find shit because you mistyped the url...
2009-10-13Forgot this bit when disableing restart capability.Claudio Jeker
2009-10-13Disable graceful restart for now. The EOR marker is sent in the wrong placeClaudio Jeker
and fixing this is not a two liner. Will be enabled again when I found out how to fix this.
2009-10-13sort;Jason McIntyre
2009-10-12trim ending whitespaces in aliases files otherwhise makemap will fail toGilles Chehade
parse values correctly when ran in aliases mode, and smtpd will fail to parse values correctly when reading an include file
2009-10-12document the new "for virtual map [...]" syntaxGilles Chehade
2009-10-12- fix a null deref which could happen after a couple iterations of theGilles Chehade
aliases/virtual domains resolution code. - fix a logic bug which caused virtual domains not to be correctly handled after one iteration of the aliases resolution code. - introduce a few helper functions to help clean up and simplify the lka code. - simplify the IS_EXT/IS_MAILBOX/IS_RELAY macros so they manipulate a struct path * instead of the mess of dereferences we were passing them.
2009-10-12to support virtual domains properly, smtpd needed to have the domain storedGilles Chehade
as a key in the virtual map, which means that to support virtual domain for openbsd.org I would do: openbsd.org whatevervalue gilles@openbsd.org gilles this commit teaches makemap how to deduce the special domain keys based on the entries for that domain, so that only the second line is needed now.
2009-10-12fix a bug where matching a "for all" rule with multiple condition will notGilles Chehade
let us know which condition we matched.
2009-10-12Only dump AFI/SAFI pairs that are active. For IPv6 check the announced andClaudio Jeker
received MP capability for IPv4 this does not work when announce capabilities no is set so check if announce IPv4 none was set in the config. The capabilities code needs rework since those checks are very error prone. With this we don't leak unneeded EOR markers for other AFI/SAFI pairs.
2009-10-12Send correct EOR updates. peer_send_eor() does not accept the AFI_ALL andClaudio Jeker
SAFI_ALL shortcuts. This should fix issues with Juniper boxes that started when I enabled more capabilities by default. Fix and report by rivo nurges (rix at estpak dot ee) Thanks.
2009-10-12more handle -> newer.Marc Espie
it is going to get more complicated sooner....
2009-10-12more simple uses of set->newerMarc Espie