summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-05-20make the package tools more aware of manpages: handle names correctly,Marc Espie
and figure out how to process manpages.
2007-05-20move deptree and installed into state objectMarc Espie
2007-05-20create specific `state' objects for pkg_add and pkg_delete, so that I canMarc Espie
write shortcuts for common behavior, and start hiding some details.
2007-05-20placeholders for UpdateSet, once we have it.Marc Espie
2007-05-20both pkg_add and pkg_delete use Vstat, make it explicit.Marc Espie
2007-05-20compute list of dependencies to adjust just-in-time.Marc Espie
This lets the pkg_add regress pass, finally.
2007-05-20libs_to_check ? actually, never use it...Marc Espie
2007-05-20remove extra forwarding method that is no longer neededMarc Espie
2007-05-20zap old depend code I missedMarc Espie
2007-05-19move the code that handles dependencies registration into DependenciesMarc Espie
2007-05-19and I forgot this oneMarc Espie
2007-05-19add match_locations/filter_locations methods to search stuff that returnsMarc Espie
full pkg locations instead of package names.
2007-05-19fix scp url parsing and printingMarc Espie
2007-05-19don't pass srcpath around, since we don't use it.Marc Espie
2007-05-18prettier MakefilesTheo de Raadt
2007-05-18Add pkgpath hints to pkgspec. Make PackageRepository/Source functional:Marc Espie
if a pkgpath is hinted at, then we build that package, and we delegate to the corresponding File: repository. Some XXX: we need to unlock the database temporarily, as the build *requires* shared access to stuff that is going on (and possibly write access for installing subpackages, so this cannot work 100% yet). Still, this allows the transparent build of one single package, at least.
2007-05-18show the url for the package we're dealing with. Unconfuse installed vs.Marc Espie
uninstalled stuff.
2007-05-18also strip +CONTENTSMarc Espie
2007-05-18normalize installed namesMarc Espie
2007-05-18cut dependency code in smaller chunksMarc Espie
2007-05-18we don't need to walk the full dependency tree each time we don't findMarc Espie
a library. Instead, put the state of the closure computation in the solver object, and only proceed until we find the library. We just need an extra marker (known) to be aware of packages that may contain libraries, but have not been used for extra dependencies yet.
2007-05-17do not pass the urlscheme to the constructors, since they each haveMarc Espie
a known urlscheme. Recognize inst: and file: as specific schemes that refer to given repositories, for future extension.
2007-05-17new methods: repositories can create url. Rename PackageLocation->stringizeMarc Espie
to url, since that's what it does. Use the new methods to shorten code.
2007-05-17name each urlschemeMarc Espie
2007-05-17make sure that mkfontdir and friends get their argumentsMarc Espie
2007-05-17library lookup becomes a real methodMarc Espie
2007-05-17move the library lookup code into Solver, so that I can turn it intoMarc Espie
methods as well...
2007-05-17use solver object in all direct instances of solved_dependencies.Marc Espie
2007-05-17access solver internals in a clean way through dependencies, uses itMarc Espie
internally. store solver objects along with solved_dependencies. Eventually, all solved_dependencies requests will use solver objects instead.
2007-05-17make the solved dependencies more explicit, match them back to the specMarc Espie
they match.
2007-05-17tweak the solver object a bit, now that I have a clearer idea of whatMarc Espie
it's going to be used for.
2007-05-17handle normalization of flavors in PackageName objects.Marc Espie
2007-05-17Check getpwnam() return value for NULL before dereferencing it.Moritz Jodeit
ok ray@ millert@
2007-05-16oops, committed debug code, sorry.Marc Espie
2007-05-15nothing uses catman, so kill it; ok millert deraadtJason McIntyre
2007-05-15allows for incomplete locations (without arch) and for repositories toMarc Espie
print PackageLocations (to be cleaned up later).
2007-05-15require the right code at the right location.Marc Espie
problem noticed by deanna@
2007-05-15draft-ietf-idr-restart -> RFC 4724 and bump draft-ietf-idr-as4bytes toClaudio Jeker
version 13.
2007-05-15Graceful restart is no longer a draft so point it to the right RFC 4724.Claudio Jeker
Additionally our as4byte support is based on draft-ietf-idr-as4bytes-13.
2007-05-15printconf didn't handle the 'down' flag for peersHenning Brauer
From: Stuart Henderson <stu@spacehopper.org>
2007-05-15make sure to give all special files to root/wheel, and strip them of writeMarc Espie
and suid bits.
2007-05-15do not copy pkgname, since we're going to erase it, and packing-listsMarc Espie
now detect duplicate stuff.
2007-05-15fix dependenciesMarc Espie
2007-05-15use the correct fd for poll. we're waiting on the pipe, not pfTed Unangst
ok ckuethe deraadt
2007-05-14remove unneeded quotesMarc Espie
2007-05-14put the solver into its own class.Marc Espie
2007-05-14move verbose printing into a separate method.Marc Espie
2007-05-14use the solver object to split the code into smaller chunksMarc Espie
2007-05-14cosmetic tweakMarc Espie
2007-05-14document search objects. Adjust PkgSpec documentationMarc Espie