summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
AgeCommit message (Collapse)Author
2014-07-27- log libraries in a proper wayMarc Espie
- mark wanted libraries, then run the db check. Gives you a way to figure out when locate db are behind wrt pkgs
2014-07-14unhardcode db paths.Marc Espie
put pruning of paths back early: these happen to be in the source db for the most part, so if we auto-detect source first, we lose.
2014-07-13bundling base + packages was slow, as it needed to find lots of files.Marc Espie
different approach: mark the base system in one go, then hand pick the files from the pkglocatedb. quite a few unaccounted files yet, this will get better
2014-07-12so, pkg_check can now troll thru the whole file system. Either useMarc Espie
a full pkglocatedb, or the system locate dbs...
2014-07-11use the merged 4.4BSD.dist mtree if BSD.local is goneMarc Espie
2014-04-15catch directories we don't have the right to enter instead of letting FindMarc Espie
do it (shorter/better message)
2014-04-14tweak the file system walker to be able to walk from /, assuming -s srcMarc Espie
and -X xenocara to get at the distrib/sets. Somewhat experimental for now, good enough at figuring out files to scrape after a major update
2014-03-18remove $_ usage that warns under perl 5.18Marc Espie
2014-02-10pattern for "our" temporary files is not random... get it out of theMarc Espie
normal "unknown files" routine and allow to remove them beforehand.
2014-01-10likewise. this is uselessMarc Espie
2014-01-09bump copyright to 2014Marc Espie
2014-01-02zap PKG_PREFIX (undocumented and unused, now)Marc Espie
okay landry@
2013-12-25move the choice of signature type for checking into one single placeMarc Espie
2013-09-11pkglocatedb should be installable even if nothing is there...Marc Espie
2013-05-26add B: to the list of options actually handled.Marc Espie
2012-11-06sort options; ok espieJason McIntyre
2012-11-06do interactivity like for the others.Marc Espie
force pkglocatedb-- when auto-installing (reported by aja)
2012-04-16supplementary code for SamplesMarc Espie
2012-04-16use explicit pattern to avoid huge results from pkg_locate we willMarc Espie
then have to trim.
2012-04-16display truely unknown stuff firstMarc Espie
2012-04-16new glue: figure out how to install pkglocatedb on our own (if notMarc Espie
already there), and use it to locate unknown objects in the file system.
2012-01-07sloppy Ingo, whatis.db + whatis.indexMarc Espie
fix PkgCheck to use the proper API.
2011-11-26a second missing $state...Marc Espie
2011-11-26fix reporting of weird libs in partial-*, as seen by fries@,Marc Espie
who always manages to run into strange corners headlong ;)
2011-07-17protect against really weird packing-listsMarc Espie
2011-06-27compute checksum in plist's existing checksum class, so that very oldMarc Espie
md5 can be checked. would credit whoever reported this (oga?) except I don't remember.
2010-12-29more stuff that uses print directly diesMarc Espie
2010-12-24pass state around.Marc Espie
2010-12-24handle failures from ports tree with more care.Marc Espie
this does avoid infinite loops in case of wrong plists. necessary since print-plist-with-depends CAN fail...
2010-12-05tweak the framework so that individual modules don't exist and returnMarc Espie
the exit code upstream instead. this simplifies the task of people who want to reuse it, as noted by landry@
2010-10-02don't try to read bogus stuff, we already errored out on itMarc Espie
2010-07-12missed one next -> return, as noticed by marco@Marc Espie
2010-07-08use more natural English in messages; ok espie@Stuart Henderson
2010-06-30allow say and errsay to work without parameters, as it's ways common.Marc Espie
create verbose_system up in state, because it makes sense without verbose.
2010-06-30whitespace cleanupMarc Espie
2010-06-25new styleMarc Espie
2010-06-18buglet: Log object needs a printer to run f().Marc Espie
introduce for_list() iterator in ProgressMeter and use it
2010-06-15handle lost+foundMarc Espie
2010-06-15it's okay for partial- packages to be a bit weird...Marc Espie
2010-06-15more printing changes.Marc Espie
move log operations into their own file, since they're used outside of pkg_add/pkg_delete by pkg_check. move all system stuff to State, so that printing can be localized/controlled. Create primitives _print, _errprint, _fatal for overriding output, without localization. Accordingly, move a lot of code out of Error. We should also move Unlink and Copy eventually.
2010-06-14log must use ->fMarc Espie
2010-06-10next -> return after code change (noticed by Antti Harri)Marc Espie
2010-06-09wrap most stuff read from files in safe(), so that if the fs is in a bad shape,Marc Espie
we don't put junk on the terminal.
2010-06-09check digital signatures, document thatMarc Espie
2010-06-09ui changes: go thru a state object for most printoutsMarc Espie
2010-06-07be a bit more specific about documenting this programMarc Espie
2010-06-07factor common code for dependency adjustmentMarc Espie
2010-06-07check reverse dependencies as wellMarc Espie
2010-06-07check symlinks upfront, so we don't warn if they don't exist, assumingMarc Espie
they point to the correct location.
2010-06-07fix interactiveMarc Espie