summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
2004-10-26in the "show summary" view print the peer descr instead of the IP (if a descrHenning Brauer
is given in the config, fall back to IP otherwise) new -n switch to force display of IPs claudio ok
2004-10-26do /%u instead of /%6u for max_prefix, looks better, claudio okHenning Brauer
2004-10-26make the ntp version check even better, use NTP_VERSION_MIN and _MAXHenning Brauer
2004-10-24accept replies with a NTP version number of 4 or lower, instead of only 4Henning Brauer
as before, we can handle all versions
2004-10-23beginning of update module: basic check that stuff we are replacingMarc Espie
is still okay.
2004-10-23system() method that stores command normal output so that we can showMarc Espie
it at end of pkg install/deinstall... use for @exec/INSTALL stuff.
2004-10-23store pkgname in shared items, so that delayed printing can be usedMarc Espie
(and use it). Optimisation: don't clone() directories
2004-10-22oupsHenning Brauer
2004-10-22in server mode reply with stratum from the peer that we currently preferHenning Brauer
plus one
2004-10-21Backout poll changes; the first mount gets an error for some reason.Todd C. Miller
2004-10-20merge changes from mod_ssl 2.8.20, in particular a fix for CAN-2004-0885Henning Brauer
2004-10-20basic framework for delayed messages.Marc Espie
2004-10-19fix printing of groups - instead of surrounding each neighbor statementHenning Brauer
which is part of a group by "group blah { .. }", so that each group decl occurs multiple times (that is valid, but confusing and ugly), stuff pointers to each peer into an a array and sort it based on group id. then print all neighbors whoch are not part of a group followed by each group with all its members. annoyed me for quite some time, now finally enough to sit down and fix it claudio ok
2004-10-19allow neighbor definitions to depend on interface state.Henning Brauer
with this, if a neighbor is configured as dependent on carp0 for example, the neighbor will remain in state IDLE as long as carp0 is not master. once carp0 becomes master the session(s) depending on it immediately go to CONNECT (or ACTIVE, if they're configured passive), reducing failover time. claudio ok, with some input from ryan as well
2004-10-19need to prepend destdir to pkgbase for libspecs checking.Marc Espie
2004-10-19Extra progress meter for the handling of shared items: first showMarc Espie
the reading of remaining stuff from installed packages, then the cleaning-up as it progresses.
2004-10-18Documents @endfake and -Q semantics.Marc Espie
2004-10-18take window size into account.Marc Espie
window sizes changes are delayed, nothing to do about it, since perl keeps the signal around until it is safe to activate it...
2004-10-18experimental progress meter.Marc Espie
not active unless you specify -x for pkg_add/pkg_delete. (option is bound to change)
2004-10-18Don't show libspec checking unless very verbose.Marc Espie
Split addition into `parsing' and actual addition. Don't show parsing info unless verbose, so that pkg_add only displays the actual pkg addition...
2004-10-18use OpenBSD::Getopt so that we can do -v -v.Marc Espie
Be much terser by default, start showing dependency information and various things only with at least one -v. Build a `flattened tree' of dependencies information in pkg_add, and show why we install a given package (idea from deraadt@).
2004-10-18fix report of final problemsMarc Espie
2004-10-17behave according to documentation, e.g., delete groups/users only if -c.Marc Espie
fix typo.
2004-10-17implement -q for icmp, deregister, print usigned values using an unsignedOtto Moerbeek
format. ok markus@
2004-10-16oups, unrelated changes crept inHenning Brauer
2004-10-16Add support for @endfake and pkg_add -Q, to be documented later...Marc Espie
2004-10-16prefixlen 0 is a special case for prefixlen2mask() as well, claudio okHenning Brauer