summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2010-08-23When extracting the pkg tar file, don't preserve the atime, just set itMatthias Kilian
to the current time. Works around a rare race condition that can happen if daily(8) zaps old files from /var/tmp while pkg_add(8) is installing or updating a package and doesn't yet have moved nor even read some of the files in /var/tmp/pkginfo.* (typically +DESCR). Espie wasn't totally happy with this at first, and will eventually work on something better, so I'm omitting documentations bits for now. ok espie@
2010-08-22small bits of cleanup. ok ottoTed Unangst
2010-08-22Redistributing the default route with ospf6d did not work correctly.Alexander Bluhm
- kroute.c may not ignore the default route. - Use the ROUNDUP macro from route/show.c as this one is also correct for netmask with prefixlen 0. - Implement ospf_redistribute and the redistribute parser like ospfd. ok claudio@
2010-08-22When removing an announced prefix, inherit the metric and ext_tagAlexander Bluhm
from the LSA that is currently in the tree. Based on claudio@'s diff and his fix for ospfd. Additionally originate an LSA with external route tag correctly by writing the AS-external-LSA's bit T into the correct field. ok claudio@
2010-08-22Origin network-LSA with options based on the options of the link-LSAs.Alexander Bluhm
Without this fix Cisco's OSPF 6 ignores our network-LSAs. ok claudio@
2010-08-22enable nsd the build. ok deraadt@Jakob Schlyter
2010-08-22regenJakob Schlyter
2010-08-22--enable-nsid now defaultJakob Schlyter
2010-08-22removeJakob Schlyter
2010-08-22mergeJakob Schlyter
2010-08-22NSD v3.2.6Jakob Schlyter
2010-08-21Display usage information as well as the error when a path toStuart Henderson
src/*.tgz isn't specified. ok ajacoutot@
2010-08-19Correctly decode and print access point names.Joel Sing
2010-08-16Fix another gcc4 mis-alignment, by using bcopy() rather thanKenneth R Westerback
(u_int64_t *)charptr = value. Problem reported by Daniel Ouellet, first diff from matthieu@, another from naddy@ equivalent to this one. ok millert@ dlg@ (for naddy's) deraadt@
2010-08-13if we pass pkgnames with .tgz to -l, just deal with it silently.Marc Espie
2010-08-13bad works better if you push consistent stuff in it, like always strings...Marc Espie
2010-08-13whitespaceMarc Espie
2010-08-12if we ask for cleanup, always close the location. If it's not open, it'sMarc Espie
harmless. This prevents processes from piling up on !network addition of already existing packages... (fixes THAT bug)
2010-08-12Use symbolic names for the file descriptors rather than numeric values.Kevin Lo
Some from damien@, millert@ ok phessler@, millert@
2010-08-08.Ek in the right place, or SYNOPSIS blows up;Jason McIntyre
2010-08-08tweak previous; specifically, -o is no longer optional;Jason McIntyre
ok marco
2010-08-08somehow parts of -c and -w got swapped; from Yar TikhiyJason McIntyre
2010-08-07nasty inversion of parameters, so that state did not get propagated correctly.Marc Espie
ended up calling './'->errsay in ArcCheck, which of course doesn't work, so a die() in the middle of a package install... compounded with file !existing, so that adjust checksum would fail, and so not even a partial install...
2010-08-07Fix carp demotion on tables. For some reason the default values wereClaudio Jeker
inherited from the table definition even though these values could not be changed there. While there fix a memory leak in a rather strange case. OK phessler, jsg, pyr, sthen, deraadt
2010-08-07need to check that kept packages are still okay.Marc Espie
fixes: sudo pkg_add -r ghostscript-8.63p13-no_x11.tgz quirks-1.17: 1/1 ghostscript-8.63p13->ghostscript-8.63p13-no_x11 forward dependencies: | Dependency of libspectre-0.2.6 on ghostscript-*-!no_x11 doesn't match Merging libspectre-0.2.6->libspectre-0.2.6 (1/3) [libspectre-0.2.6]ghostscript-8.63p13->ghostscript-8.63p13-no_x11: 3/3 Read shared items: ok
2010-08-07dep is an object, needs to become a string for error messagesMarc Espie
2010-08-06Correct a problem which could cause the wrong af to be displayed.Jonathan Gray
Found via the clang static analyser. ok henning@ claudio@ deraadt@
2010-08-05die aml parser dieMarco Peereboom
ok deraadt
2010-08-05kill kill kill the aml parser, kill kill kill it until it is deadMarco Peereboom
ok deraadt
2010-08-04Print the MTU in OSPF dd packets. Borrowed from the ospf6 printer.Stuart Henderson
ok claudio@ deraadt@
2010-08-03fix linecount bug with comments spanning multiple linesHenning Brauer
problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 applied to all the others by yours truly. ok theo isn't it amazing how far this parser (and more) spread?
2010-08-03missed one if (continued) test, so simplify logic: test continue beforehand.Marc Espie
fixes display after ^Z/fg. (problem pointed out by Theo)
2010-08-03shrink! :)Marc Espie
2010-08-03sort journal messsages in a better way, put - before +, so that one canMarc Espie
see deinstall info before new install info (prompted by a comment from tedu@)
2010-08-03bug-fix: during updates, only set oldfound after we found a matching pkgpath.Marc Espie
that way, we detect pkgpath problems as "can't update" instead of silently ignoring them (gconf2 issue).
2010-08-03use proper log idiom (blanket okay from theo for pkg_add careful changes forMarc Espie
the time being)
2010-08-03Fix a usage of logical and where binary and was intended.Jonathan Gray
Spotted by Mike Belopuhov. ok jsing@ deraadt@
2010-08-03Fix a leak in ypldap. Found (and correct diff) fromPierre-Yves Ritschard
plalonde (at) overnet.qc.ca Prompted by deraadt@
2010-08-02Ignore SIGPIPE, the delivery of which prevented /usr/sbin/sendmail fromJacek Masiulaniec
relaying the server diagnostic back to the user (eg. "500 Line too long").
2010-08-02Show PCIe link speed/width, earlier version ok miod@/kettenis@ thenJonathan Gray
tweaked to show both negotiated and capable as well as fixing a mask after comments from damien@ ok deraadt@
2010-08-02Fix use of logical and where binary and was intended.Jonathan Gray
Spotted by Mike Belopuhov, ok yasuoka@
2010-08-01note specifically that pkg_add -u parameters are *installed* package names,Marc Espie
since that's the distinction with -U....
2010-08-01Allow fallback tables for relays, not just redirections.Stuart Henderson
Seems reasonable to jsg, ok phessler, no response from reyk or pyr
2010-08-01adjust position of test so that it does something !Marc Espie
avoid a lot of extra stupid printing.
2010-08-01typoMarc Espie
2010-08-01fix the qt 4.5 -> 4.6 update issue.Marc Espie
since we usually deal with directories in a global way, replacing a directory with something else didn't work. the fix is to record removed directories in Vstat in a "lazy" way: we only test these objects for existence if we add something else at the same location. Since this happens rarely, we can afford to perform the whole SharedItems dance twice...
2010-07-31very old thinko, not really a problem, obviously, but groups and users areMarc Espie
categories, the corresponding keywords are newgroup and newuser.
2010-07-31keep location open while we grab updateinfo.Marc Espie
deal with error fallout and need to forget unneeded stuff (halves number of connections, roughly)
2010-07-31delete IIJ local functionalities.YASUOKA Masahiko
2010-07-30fix header during updateMarc Espie