summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-12-02log_warn() consistency.Michael Knudsen
`OK' claudio
2009-12-02fix some inter-dependencies case:Marc Espie
- when we merge updatesets, invalidate the solver (there isn't any, usually). - look inside set for check_depends. - do register_dependencies after committing all plists to cache.
2009-12-01Update code to use the new AID address ids so that this works again withClaudio Jeker
bgpd. Reads OK henning@
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
else. Adds conversion functions to map AFI/SAFI and the Unix AF_ values from and into AID used in bgpd. This is needed to support things like MPLS VPN and other upcomming changes that need to play a lot with AFI/SAFI pairs. Mostly mechanical change, henning@ has no particular issues with this. Must go in so that I can continue working.
2009-12-01document more or less what's going on now.Marc Espie
With updatesets, technical details are ways more complicated.
2009-12-01okay, this one needs tagging as wellMarc Espie
2009-12-01for every case we can't install stuff, we have to let the tracker now, andMarc Espie
close the set.
2009-11-30tweak the rules a bit: the search filter for "more recent than" ought toMarc Espie
notice it sees older stuff. Even if they get filtered later on, this would turn into a "no need to update". (in actual use, I probably will need to open those packages and look at the pkgpaths to make sure they are not valid candidates, and to compare full signatures... oh well)
2009-11-30better errors: have $set->cleanup mark set as finished.Marc Espie
in case there is an issue, register set as not updateable with tracker.
2009-11-30better: have can_install return 0/1 as definitive answer, and return "undef"Marc Espie
for try again later. Don't bother cleaning up set from can_install, since complete does it too.
2009-11-29some major changes have happenedMarc Espie
2009-11-29compute updates on the fly, instead of "at start"Marc Espie
2009-11-29set things up for updates on the fly. In particular, we may have to lookMarc Espie
into "to_update" stuff...
2009-11-29in the worst case, we find a new handle with the right pkgpath,Marc Espie
independently of the name...
2009-11-29show old->new as everywhere else in sets.Marc Espie
micro-optimisation: if old pkgname is the same as new pkgname, we just need to build the RequiredBy file, no need to adjust Requiring...
2009-11-29clean up conflict handling and dependency adjustement: build listMarc Espie
of conflict globally, add it as old handles, and then use it everywhere.
2009-11-29show missing libraries as "|detail" for the can't install message.Marc Espie
2009-11-29slightly simpler error handlingMarc Espie
2009-11-29have SharedLibs use state to print error messages.Marc Espie
2009-11-29handle more general conflicts:Marc Espie
- match old spec against any of the new packages in the set. - manage conflicts globally if several newer packages are there. - remove the limit of 5 conflicting packages, it's no longer really relevant.
2009-11-28oopsMarc Espie
2009-11-28prepare for "better" merge: we can't just wipe the old set, we have to pointMarc Espie
it to the new set, as tracker stuff may still know about it.
2009-11-28when resolving conflicts, don't recreate handles for packages being replacedMarc Espie
if we already know they're being replaced. This requires completing them with a plist. (some cleanup of api to do later)
2009-11-28allow -l list more_packagesMarc Espie
prepare for incremental updates: avoid reinstalling finished set. don't display stuff we will install, it's mostly useless.
2009-11-28rework display of missing libs some more: first show the libraries, thenMarc Espie
the dependency tree.
2009-11-28still not right, so revert to original algorithm, and compute @todoMarc Espie
in a more expensive way...
2009-11-28oops, if I want to modify @todo, I should do it right.Marc Espie
2009-11-28add "always" to ask_list...Marc Espie
2009-11-28add (n to go) to pkg_delete as well.Marc Espie
2009-11-28remove redundant messageMarc Espie
2009-11-27Print outer ipv6 addresses for encapsulated packets only if tcpdumpAlexander Bluhm
is run with -v. This behavior is analog to ipv4. ok mpf@ todd@
2009-11-26fix copy & paste error: IMSG_MTA_RESUME --> IMSG_MDA_RESUMECharles Longeau
ok gilles
2009-11-26sync snmp_imsg_hdr with imsg_hdr and unbreak the snmp trap interfaceReyk Floeter
2009-11-26support for set origin; based on an initial diff fromHenning Brauer
Sebastian Benoit <benoit-lists at fb12 dot de> who also tested this version claudio ok
2009-11-25document the include supportDavid Gwynne
2009-11-25add support for includeDavid Gwynne
ok claudio@
2009-11-24todo all overMarc Espie
2009-11-24zap pkgpath totally, set up to display (to go) as well.Marc Espie
2009-11-24betterMarc Espie
2009-11-24sets that were not solved should still display something...Marc Espie
2009-11-24do not inform user of !updated packages, they usually don't really care...Marc Espie
2009-11-24kill some old cruft, in particular -F conflicts has never worked...Marc Espie
2009-11-24ok even shorter than doneMarc Espie
2009-11-24more regular. Note that newer can be a hash as well (why not ?)Marc Espie
2009-11-24better name. Mark "no need to update" as updated, since we know what'sMarc Espie
going on...
2009-11-23In "smtpd; smtpd;" the second instance would fatal quickly, but it wouldJacek Masiulaniec
remove the smtpd.sock file, without which /usr/sbin/sendmail will fail causing mails to be queued in offline. Initially reported by ian@, may explain oga@'s e-mail burst after smtpd restart.
2009-11-23Make the tree compile again. Henning and I are both quite sure this isClaudio Jeker
correct.
2009-11-23Unbreak tree, rs_num is now type and while there use PF_TRANS_RULESET insteadClaudio Jeker
of the hardcoded 0. OK henning@
2009-11-22Move from the PF_RULESET_FILTER world order to PF_TRANS_RULESETTheo de Raadt
due to the standard henning+oga commit-and-run-for-beer problem. ok claudio
2009-11-22don't repeat the banner if not a tty.Ted Unangst
add a -c count option to netstat. tweak spacing to not smear fields in vmstat. ok deraadt sthen