summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
AgeCommit message (Collapse)Author
2013-07-08Swap the program name and it's exit code so the output makes sense again.Jasper Lievisse Adriaanse
ok espie@
2013-05-29I had misgivings about that one, I was right. Missed an obvious testcases,Marc Espie
and my crash bunnies ARE a bunch of unreliable nitwits. thanks kili@
2013-05-29allow installpath to use +=, requested by quite a few people,Marc Espie
but did require testing.
2013-05-26add B: to the list of options actually handled.Marc Espie
2013-05-13specialfiles ARE file while destated, so they set lastfile, which isMarc Espie
useful for size and digest. BUT samples should never alias specialfiles, so error out right away.
2013-04-16pass state correctly so we can do error messages.Marc Espie
2013-02-18re-apply:Okan Demirmen
use localbase for pkg-readmes ok espie@
2013-02-18revert previous; wrong time.Okan Demirmen
2013-02-18use localbase for pkg-readmesOkan Demirmen
ok espie@
2013-01-18much faster -E: try a sneak peek at the 'raw' contents file.Marc Espie
if it doesn't contain the last part of the filename, then we don't even need to parse the plist... idea prompted by a chance remark from Vadim.
2013-01-18move lock down: we don't really need to lock to match the directoryMarc Espie
2013-01-07only protest midly if we're in exclude mode, so that you can exclude stuffMarc Espie
that does not exist, and that you will still see typos.
2012-12-31simple optimization: if we're already erroring out, there's totally noMarc Espie
need to compute those pesky checksums.
2012-12-28base on landry's remarks, stuff like .libs* and partial* shouldn't everMarc Espie
have manual annotation markers. (the read part is there for legacy, as some stuff is already written back that way. Eventually, no .libs* will have @option manual-install left).
2012-11-06sort options; ok espieJason McIntyre
2012-11-06work-around python compile issue: don't tie python files for now, soMarc Espie
that timestamps don't trigger recompile.
2012-11-06do interactivity like for the others.Marc Espie
force pkglocatedb-- when auto-installing (reported by aja)
2012-10-13In update verbose mode, when skipping an update candidate due to anJeremy Evans
unmatching pkgpath, if no valid update candidates are found, print that we are skipping the update candidate and all pkgpaths for both the currently installed package and the skipped update candidate. This is designed to help diagnosing issues when ports move locations in the tree, but the necessary @pkgpath entries are not correctly added to the PLIST. Much help and OK espie@
2012-09-06shorter display for trivial updatesets,Marc Espie
foo-0.0->foo-1.0 becomes foo-0.0->1.0
2012-09-01show more precisely what the problem is.Marc Espie
2012-07-13temporary option until I come up with a nicer way: if -DNOINSTALLPATHMarc Espie
don't even look in pkg.conf for the installpath.
2012-07-12minor fixMarc Espie
2012-07-06have -i be automatically on for ttys.Marc Espie
use -i/-I to force interactive/non interactive mode (-I for not running scripts has been dead for years)
2012-06-14tweak pkg_info -S to separate pkgnames with @ from libraries with nothing.Marc Espie
*this goes together with a bsd.port.mk change* !!! fixes some ambiguities in out-of-date, for instance. if you're parsing pkg_info -S output manually, this *WILL* change the way things work
2012-06-11move PkgConfig.pm where it belongsMarc Espie
as requested by matthieu@, ok jasper@, miod@, matthieu@
2012-06-08activate new pkg_create magic.Marc Espie
Note that, in most cases, PFRAG.shared are probably no longer needed...
2012-06-08silent rename of @comment subdir= to @comment pkgpath=Marc Espie
this makes more sense
2012-05-24put possible fragments in there.Marc Espie
fix buglet in parsing libraries
2012-05-15supplementary magic code, not active yetMarc Espie
2012-05-15less hackish test for LIB*VERSION: after building the element,Marc Espie
redo a check based on the non-subst version, so we can: - actually parse the library name - check we depend upon the right variable
2012-05-15allow elements to remove themselves from PackingList, adjust visitMarc Espie
accordingly. Make sure obsolete stuff ->add returns undef, unconfuses PkgCreate.
2012-05-07new method to convert other file names to fullname.Marc Espie
2012-05-07well pkg_create itself doesn't care, but a custom ->annotate will getMarc Espie
very confused
2012-05-07in the odd case we don't live under /usr/local, make sure we stop eventuallyMarc Espie
2012-05-05if the lib directory is not localbase->lib, we add directory entries toMarc Espie
the .libs* stuff.
2012-05-05un-specialcase shallow/deep copy: create a normal new plist.Marc Espie
(so don't copy FCONTENTS since it's automatically created)
2012-05-01make fragment handling yet more customizableMarc Espie
2012-05-01properly pass extra parameters from State->new to init.Marc Espie
2012-04-30allow a subclass to override that specific errorMarc Espie
2012-04-30make the reading of packing-lists amenable to further annotations, such asMarc Espie
those that will be required for update-plist
2012-04-30move code around a bit moreMarc Espie
2012-04-30more refactorMarc Espie
2012-04-30just a bit of refactoring, make sure option handling is done in state,Marc Espie
as should be, so we can reuse it without needing to duplicate all of pkg_create code.
2012-04-28explain why the base pseudo-handle is a dirty hack and why it's lessMarc Espie
confusing than the clean approach
2012-04-28File::Path::rmtree is very stupid and spews out warning messages if there'sMarc Espie
no cwd. Well, if there's no cwd, we don't care about getting back there, so wrap rmtree to just move to / before calling the real rmtree.
2012-04-28zap blank spacesMarc Espie
2012-04-28work-around the fact that BaseSystem updates have specific dependencyMarc Espie
handling
2012-04-28cleaner code: only wrap the call to quirks itself inside an eval.Marc Espie
anything else that could fail shouldn't be inside the eval. create an object instead of saying "hey we're cool, let's let other stuff break horribly".
2012-04-28add a "fake" handle class for base system updates and ForwardDependenciesMarc Espie
2012-04-27use our light-weight OpenBSD::MkTemp, which is safer, more accurate,Marc Espie
and doesn't pull a shitload of other modules with it.