summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
oustside, seqencer, toghether, nessissary, etc.
2007-05-25until people finally fix their @group issues in packages, at least refuseMarc Espie
flat-out to write packages with no @group annotations on fishy stuff (writable directories, setuid/setgid stuff)
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-25Check fdopen() return value.Todd C. Miller
Ignore SIG_PIPE when writing to sendmail. This allows cron to still run jobs when sendmail is missing or broken (a warning will be logged). Move mailto variable to the same scope as mail and use the mail variable, not mailto, to test whether we have an open pipe to the mailer.
2007-05-25Pass the handle to can_install, so that it can fill in errors (the packageMarc Espie
location is actually not used by this routine).
2007-05-25start cleaning up the mess that is error-handling when installing packages.Marc Espie
Mid-Term, we want to manipulate true `handles' that encapsulate package locations. For now, we create this handle externally, and just use it to record errors, in duplicate... Once handles are ready, they should be agregated into UpdateSets, to make replacement of packages more explicit and flexible.
2007-05-25move the mode checker code from pkg_create into ArcCheck, so that pkg_addMarc Espie
can reuse it.
2007-05-25also rename this one for further wrappingMarc Espie
2007-05-25rename `handle' to `location' in preparation for wrapping it in aMarc Espie
proper `handle'.
2007-05-24place holder for signature checkingMarc Espie
2007-05-24catch up and rethrow Packing-List read issues with the filename whenMarc Espie
available.
2007-05-23fiddle with SharedLibs name, put common code into a common place inMarc Espie
pkg_add.
2007-05-23use autovivifyMarc Espie
2007-05-22Rework the way how ospfd fetches and tracks interfaces. Try to merge theClaudio Jeker
code which is very similar and especially include RTM_NEWADDR in dispatch_rtmsg(). With this newly created interfaces will no longer cause config reload problems. OK norby@
2007-05-22remove duplicate -M entry from set_usage(); ok espieJason McIntyre
2007-05-22Only try to merge a AS_SEQUENCE if there is a difference between the 4-byteClaudio Jeker
AS path and the 2-byte version. If both pathes have the same length don't try to merge them instead use the new path. Issue reported by Jon Morby and further analysed by Stuart Henderson. Tested by Stuart Henderson.
2007-05-22zap references to pkgdep. Packing-Lists no longer even record it, anyways.Marc Espie
2007-05-22cleanup shared state a bit earlier. Shouldn't change much, but may helpMarc Espie
ensuring we don't reload fontdirs twice with weird fontdirs case.
2007-05-22introduce a SharedItemsRecorder (put it into Vstat, since that's a fileMarc Espie
common to Add and Delete, for now). Use it to have common code that records items to remove / items remaining. Stash it into pkg_add/pkg_delete state, and abstract the cleaning up operation into the SharedItemsRecorder (so that pkg_add and pkg_delete no longer have to know about the internals of SharedItems at all).
2007-05-22mark `digitalsignature' as a known keyword, which helps me.Marc Espie
Use autovivification on stuff to remove.
2007-05-22remove -h from set_usage();Jason McIntyre
2007-05-22finish removing unused -h optionMarc Espie
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