summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-11-07document that keywords can be specified multiple times;Jason McIntyre
from otto and myself; prodded by henning;
2004-11-07document the current behavior of pkg_add -r.Marc Espie
Clearly marks this as an experimental option that can thoroughly mangle your system.
2004-11-07clone() library entry so that md5 and modes/owners get copied along.Marc Espie
2004-11-07split off libraries, so that we can erase the old packages.Marc Espie
todo: allow people to reverse the process, since _libs-* will conflict with reinstalling a package.
2004-11-07shared libraries, preliminary work, a simpler scheme:Marc Espie
compare replaced package with replacing package, mark all changed shared libraries. split_old_libs knows how to cobble a new plist off the old one with the shared libraries. print_depends_closure knows how to walk the RequiredBy objects to build a complete list of packages that may depend upon those libraries. Todo: actually split off the libraries, write a COMMENT/CONTENTS files too, and register all those dependencies.
2004-11-07don't try to be smart and not store the full tempname: we don't use thisMarc Espie
except in rare cases, so it doesn't matter if the tempname is long, and it doesn't justify missing extra code to restore it when reading the packing-list...
2004-11-07show tally in verbose mode as well, why not ?Marc Espie
2004-11-06oops. Thanks krw.Marc Espie
2004-11-06die if moving tempfiles doesn't work.Marc Espie
pkg_delete should remove tempnames, since files actually live there.
2004-11-06zap tempname once we've moved the file.Marc Espie
2004-11-06mark whole state for `replacing' so that only file entries get tempnameMarc Espie
markers. Explain about tempname to PackingElement, so that we become able to save temporary packing-lists (e.g, borking during replace will now work).
2004-11-05Use SA_LEN() instead of ss.ss_len. Evaluates to the same result but it'sDarren Tucker
easier on portable. ok henning@
2004-11-05memleaks in error pathes, again awesome work from Patrick LatifiHenning Brauer
2004-11-05memleaks in error pathes, patrick latifi, Thanks!Henning Brauer
2004-11-04use SIG_DFL instead of SIG_IGN when we are not interested in SIG_CHILDHenning Brauer
anymore, same thing for us and it makes darren's life easier for the portable
2004-11-04Treat EOF at prompt the same as 'n' instead of looping forever.Todd C. Miller
Noticed by mepch@. OK pedro@ and deraadt@
2004-11-04adjust rtt estimates, fixes IPv6 problem.Jakob Schlyter
2004-11-04(try to) open the config file earlier, makes the error handling easier inHenning Brauer
case we cannot. in fact there was one missing free(), thus this diff plugs a little memory hole (without real-world relevance I guess). From Patrick Latifi, thanks!
2004-11-03Fix typo (termal -> thermal). From bob at cemetery dot homeunix dot org.Aaron Campbell
2004-11-03fix for potential denial of service.Dan Harnett
http://www.securityfocus.com/archive/1/379450/2004-10-24/2004-10-30/0 looks ok millert@ and henning@; "commit it" deraadt@
2004-11-02logic error: match library version of *new* plist against existing packages.Marc Espie
2004-11-02refuse to update if library numbers do not match.Marc Espie
2004-11-02superfluous comma, From: James Herbert <lists@artyzan.net>Henning Brauer
2004-11-02don't leak mem on strlcpy failure, Patrick LatifiHenning Brauer
2004-11-02now that carp media descriptions are available through the ifmedia frameworkHenning Brauer
print carp interface status correctly
2004-11-02supress logging of the (likely very long) repeated Connect -> Active ->Henning Brauer
Connect -> Active state changes, just clutters logs, claudio ok
2004-11-02save the previous state in struct peer, claudio okHenning Brauer
2004-11-01adjust dependenciesMarc Espie
2004-11-01pkg_add may need to clean up shared items now that it can delete old stuff.Marc Espie
let very verbose mode show moving files around.
2004-11-01allows Delete to remove a plist (assuming it's already been validated).Marc Espie
let pkg_add -r compute a replaced package and store its plist in the new package plist, so that replacement has a chance to proceed. Not finished yet. Missing: - real lib depends checks; - restoring package dependencies after replacement.
2004-11-01move all the checking prior to extraction to a `prepare_to_extract' function.Marc Espie
check that linknames match while we're at it.
2004-11-01linknames have extra 0 we want to get rid of.Marc Espie
2004-11-01typoMarc Espie
2004-11-01handle the case of symlinks.Marc Espie
Let pkg_add -r do extraction first, and finish installation later.
2004-11-01separate `extract' routine that can put an archive in temporary filesMarc Espie
next to their final locations. XXX: doesn't work with hard links, yet.
2004-11-01reorg pkg_add slightly, put all options into state so that we don't needMarc Espie
to use local variables.
2004-10-31fix logic error: we will be able to fully validate the new packing-listMarc Espie
in pkg_add -r mode, it's just a question of removing the old package from the virtual filesystem early, so that we can still check for collisions. Help getting OpenBSD::Delete self-contained while we're there...
2004-10-31Simplify ldconfig handling: one single ensure_ldconfig routine thatMarc Espie
reruns ldconfig -R (okay, we don't check that -m would be enough, so what ?) First hooks for -r: check that replacement should work.
2004-10-31change the undocumented -t flag to -n used for configuration testingCan Erkin Acar
and document it. cleanup some unused/unneeded variables while there. idea & ok henning@
2004-10-31Move most of the code of pkg_delete into a separate module so that it willMarc Espie
be usable by pkg_add -r.
2004-10-31Erase old codeMarc Espie
2004-10-28manpage to go with sys/netinet6/nd6_rtr.c 1.31 -> 1.32Jun-ichiro itojun Hagino
markus ok
2004-10-27Calculate Hz and round up; ok henning@Darren Tucker
2004-10-27use clock_getres(3) and calculate precision from that, and fill theHenning Brauer
precision field when we reply in server mode accordingly. from phessler
2004-10-27typo, adresses -> addressesJared Yanovich
2004-10-26kill old duplicate code.Marc Espie
2004-10-26more accurate name: DirRmOnly -> SharedItemsOnlyMarc Espie
use a visitor instead of hardcoding items/users/groups.
2004-10-26move the code that handles shared items into a separate Module.Marc Espie
- It will be used after deletion/adding during updates. - We might avoid loading it if a package contains no new directories. Actually a lot of packages don't use it.
2004-10-26ease the parser a bit.Henning Brauer
parse() now wants the first argv member to be the first argument it parses, i. e. it does not skip over argv[0] any more, caller has to account for that. the caller does the usual getopt followed by argv += optind; argc -= optind; dance so this is accounted for. in parse() don't use a seperate curarg counter, just in/decrease argv/argc claudio ok
2004-10-26document -nHenning Brauer