summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
2009-10-12looking through installed packages is cool, but remember to filter outMarc Espie
older stuff in the updateset...
2009-10-12tweak previous;Jason McIntyre
2009-10-11new mode of operation: fuzzy addition. Allows adding packages even ifMarc Espie
you don't know version numbers. Useful for quickly trying to duplicate an installation on a new machine from the package list as obtained through pkg_info. Generally won't give a perfect result, but hey, if you have 300 packages installed, will get you 95% of the way there. prompted by problems reported by theo and msf.
2009-10-11-M before -mJason McIntyre
new sentence, new line
2009-10-11document stem--flavorMarc Espie
2009-10-11document -mMarc Espie
2009-10-11option -m will show only packages tagged as manual installations.Marc Espie
(there are still some kinks in the setting of @option manual-install, so it's not as accurate as it should be).
2009-10-11repair tagging of user-specified packagenames, so that manual-install ↵Marc Espie
actually occurs some of the time...
2009-10-11opt_m ? what's that ?Marc Espie
2009-10-11maybe I'll change the code later (two XXX), but allows flavor after stem,Marc Espie
so that e.g. pkg_add star-- pkg_add star--static are now not ambiguous.
2009-10-11implement proper virtual domains instead of faking them on top of primaryGilles Chehade
domains. this means that: - virtual domains no longer deliver to a local user when not told to - they no longer attempt to resolve aliases when not told to - they no longer need an explicit rule in smtpd.conf for EACH domain - the "virtual" map is no longer hardcoded - smtpd no longer needs a restart to support a new domain instead we introduce the: accept for virtual map "mapname" [...] syntax which refers to a map that can be manipulated at runtime. idea discussed and okayd with jacekm@
2009-10-11need to save more stuff about updateset for complicated upgrade scenarios.Marc Espie
2009-10-11get really_add to deal with lists of newer packages in updatesetMarc Espie
2009-10-11prepare for full UpdateSet (loop over newer)Marc Espie
2009-10-11fix arguments orderMarc Espie
2009-10-11don't copy digital sig over when it makes no sense...Marc Espie
2009-10-11store localbase in solver, in preparation to multiple handles.Marc Espie
2009-10-11use older_namesMarc Espie