summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-05-05set up new way to define COMMENTS, to be able to remove some stuff fromMarc Espie
the ports' infrastructure.
2007-05-05ditch extra param to copy_subst, now that it's constant.Marc Espie
2007-05-05use copy_subst_fhMarc Espie
2007-05-05reorg tests to simplify logicMarc Espie
2007-05-05split copy_subst to allow for existing filehandle.Marc Espie
2007-05-04move some checks after -q/-Q so that plists can still be printed.Marc Espie
problem noticed by Bernd.
2007-05-04From dhill@ last year:Ray Lai
- rename system to sys to stop shadowing the system() call. - remove variable names in function declarations - remove extern optarg and optind since it's defined in unistd.h - use %zu instead of %d to print size_t's OK jaredy@
2007-05-03Simplify code to handle fragments by using real objects.Marc Espie
2007-05-03remove future code to handle modules, that is unused and possibly badlyMarc Espie
designed as well.
2007-05-03Deprecate the -W flag; it has been the default for years now.Todd C. Miller
Joint effort with stevesk@ and jmc@
2007-05-03fix creation of packing-list for package regenerationMarc Espie
2007-05-03move the fragments reading code to its own routine.Marc Espie
2007-05-02replace general @args -> $args unless strictly needed.Marc Espie
remove ($) prototypes which are more confusing than anything else.
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@