summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-05-02replace pkgbase with less confusing name localbaseMarc Espie
2007-05-02- use getaddrinfo() instead of gethostbyname/getservbynameJason Wright
- reserve a poll descriptor entry for INET6 (not used yet) ok henning
2007-05-02replace abstract Factory name with a more sensible create name.Marc Espie
Call it OO, so that we can specialize it if we ever need it. Be more explicit about parameters.
2007-05-02remove extra "" that don't make sense.Marc Espie
2007-05-02$o->method() becomes $o->methodMarc Espie
2007-05-02remove extraneous () in method call: $o->method() becomes $o->methodMarc Espie
2007-05-02move common code into a find_candidate function.Marc Espie
2007-05-02refactor: remove temp @avail, move it to an external code, slightly moreMarc Espie
explicit code.
2007-05-02add code to keep obsolete constructs around. This allows pkg_info toMarc Espie
print them sensibly.
2007-05-02Use event(3) provided signal functions -- this decouples the eventClaudio Jeker
handling and so the signal handlers are safe to call whatever they want. This solves PR5463. OK reyk@
2007-05-02It is no longer needed to pass a cleared timeval to event_loopexit() NULLClaudio Jeker
does the job just fine. OK reyk@
2007-05-01repair -L option, should work much better if we copy @localbase over...Marc Espie
2007-05-01simplify signature computation slightlyMarc Espie
2007-05-01remove more traces of old dependenciesMarc Espie
2007-05-01unique objects probably use their class name as category.Marc Espie
2007-05-01kill code for handling old style dependencies.Marc Espie
2007-05-01kill old constructs that have been deprecated since 2004.Marc Espie
2007-05-01remove PackingOld entirelyMarc Espie
2007-05-01move the old elements into PackingElements, since the code is nowMarc Espie
much shorter.
2007-05-01use new functionality of register_with_factory: create objects for oldMarc Espie
packing elements.
2007-05-01allows us to register anything, and not just a class, with the factory.Marc Espie
2007-05-01define keyword() first, and allow register_with_factory() to reuse itMarc Espie
by default.
2007-05-01rename setKeyword to register_with_factoryMarc Espie
2007-05-01remove #ifndef SUN_LEN; ok millert@Kevin Steves
2007-05-01use warn() vs. perror() for consistency; ok millert@Kevin Steves
2007-05-01if resolving a name fails, be more aggressive retrying, but with care:Otto Moerbeek
do not have more than one dns request outstanding per peer. resolves slow recovery when resolving fails initially, without clogging the pipe with lots of dns requests; tested by Jason George; ok deraadt@
2007-04-30don't bother trying to substitute if there's no $ in the string.Marc Espie
According to perl's profiler, this actually accounts for *most* of the user time of pkg_create...
2007-04-30simplify regen mode logic: if we don't add anything to the packing-list,Marc Espie
we never have to check we added nothing. so, process -P/-W in two steps: stash we've seen them first, and add them later. As a benefit, sort/unify them once, so that we can stash them correctly directly.
2007-04-30make creation of special files more obvious.Marc Espie
2007-04-30All options that add special files follow the same pattern, so reuse theMarc Espie
same code.
2007-04-30Better error messages.Claudio Jeker
2007-04-30Fix prepare_for_archival().Bernd Ahlers
2007-04-30special mode `pretend_to_archive' for -n, which does most things exceptMarc Espie
writing the package itself (includes mode verifications).
2007-04-30Fix a bad check in aspath_inflate() -- compare with the correct loop value.Claudio Jeker
2007-04-30archive special files exactly like we archive normal files. This providesMarc Espie
for more checks in very fishy cases (like if we end up with /var/db belonging to the wrong person).
2007-04-30split preparation and check into prepare_item.Marc Espie
2007-04-30unsimplify checksum creation, fix @link markers.Marc Espie
found out by bernd@
2007-04-30allow pkg_create to regen on a dirname, supply +CONTENTS automaticallyMarc Espie
2007-04-30reorg main code to separate regeneration case better.Marc Espie
2007-04-30add items based on options, not on file existence.Marc Espie
2007-04-30fold checksumming code for special files. As a bonus, we now check md5Marc Espie
on package regeneration
2007-04-30slight code reorg, no changes.Marc Espie
2007-04-30use more descriptive name (dir -> infodir) and pass it along to checksummingMarc Espie
capabilities (to be able to fold special files case in later)
2007-04-30move checksumming capabilities into base classMarc Espie
2007-04-30tweak args to compute_checksum slightly, pass it the explicit file nameMarc Espie
we want to check.
2007-04-30stop looking at plist's internals during makesum, simply copy the objectsMarc Espie
over to the new plist using add_object for all objects.
2007-04-30add most things concerning @ignore, since we now have ways nicer to doMarc Espie
things. We still recognize @ignore in packing-lists for now, but we don't handle it. Not that register-plist has smart enough comparison functions that it doesn't care about @ignore at all...
2007-04-30aggressive spelling fix, spotted by jbgTheo de Raadt
2007-04-29verify_checksum can be used as a normal visitorMarc Espie
2007-04-29now that checksum creation uses OO methods, reuse the same code forMarc Espie
create_checksum and verify_checksum.