summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
2010-07-28more explicit messageMarc Espie
2010-07-28let fatal work, fix typoMarc Espie
2010-07-28pass state to Ustar objects, use it to display those pesky error andMarc Espie
fatal messages. zap $opt_x from pkg_mklocated, do things like other commands do.
2010-07-28Revert parts of previous change leading to assertion failure forMartin Hedenfal
certain modify operations. Also fix logic error when replacing an attribute with the empty set.
2010-07-27print these betterMarc Espie
2010-07-26better progress_messageMarc Espie
2010-07-26typo in messageMarc Espie
2010-07-26even if you write signal handlers to not do anything stupid when you'reMarc Espie
not on a terminal, they STILL interrupt long system calls and cause sysread to fail, so disable them when they're not needed. problem found by mlarkin@ this is just a band-aid, I guess I really need to "reset" non-needed signals globally whenever I fork... sigh.
2010-07-26- use warnx instead of warn when skipping large lines, as errno isMiod Vallat
nonsensical in that case (and usually zero). - when altering the groups file, preserve a single "+" line instead of complaining it is incorrect and removing it. ok fgsch@ millert@ ray@
2010-07-26Fix a sigbus due to unaligned memory access, found when compacting onMartin Hedenfal
sparc64. reads ok to gilles@
2010-07-26typo (canacar@)Marc Espie
2010-07-25oopsMarc Espie
2010-07-24pass state to Makewhatis. With new hooks in there, that means displayMarc Espie
will integrate with pkg_add output (no more disturbed error messages from wrong subject lines)
2010-07-23smtpd should NOT fatal when it permanently fails a bounce delivery as thisGilles Chehade
can be a normal situation and will allow a local/authenticated user to trigger the fatal on purpose ... ignore permanently failed bounce deliveries since there's not much smtpd can do anyway, that's what the previous queue code did. experienced and reported by pirofti@
2010-07-23Manuel Bouyer rescinded clauses 3 and 4 of his license text.Jonathan Gray
2010-07-21Search filter BER tags use a context-specific class, not an applicationMartin Hedenfal
class. This allows ypldap to talk to ldapd, which otherwise refuses the search filter. ok gilles@
2010-07-21fix NULL-deref, ok martinh@Gilles Chehade