summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2012-07-06a bit of cleanupMarc Espie
- remove description of INSTALL/DEINSTALL scripts, they've been dead for years. - explain upfront about interactive mode.
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-08document pkgpath matching a bit more thoroughly, be more consistent inMarc Espie
naming stuff. (based on a comment from sthen@)
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-28I'm an idiot, make sure we call the right routines every timeMarc Espie
2012-05-26fix class hierarchy errors: print all Action (includes @newuser, @newgroup,Marc Espie
@sysctl), but only use {expanded} for exec-like actions. 2 passes over plists: one to set header, 2nd one to build the list. slightly cleaner
2012-05-24put possible fragments in there.Marc Espie
fix buglet in parsing libraries
2012-05-23also record expanded @exec-like actions and @newauth...Marc Espie
2012-05-18just warn if files from the *etc sets are missing. This will remindMarc Espie
people to run sysmerge, and is generally not a good hint things are out of synch. prompted by naddy@ and sthen@
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-08add an extra check to avoid out-of-synchMarc Espie
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-29repair src/xsrc handlingMarc Espie
fix it wrt FLAVOR/SUBPACKAGE passing
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.
2012-04-22typoMarc Espie
2012-04-22write a specialized version that appends a / to directories, to make itMarc Espie
easier to see them in pkg_locate results.
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-04-10prevent dpb trace handler from getting in the way of normal usage error reports.Marc Espie
2012-02-13warn when @option no-default-conflict and not explicit @conflict.Marc Espie
(very seldom correct, mostly used for autoconf/automake)
2012-02-06don't abort if that info is not yet available...Marc Espie
2012-01-21sanitize stuff a bit more...Marc Espie
2012-01-16Backout activation of the new apropos(1)/whatis(1)/makewhatis(8).Ingo Schwarze
In its current state, it causes too much slowdown, in particular during system builds, and there are other regressions. That cannot be fixed quickly while it's enabled. Problems pointed out by espie@, backout requested by deraadt@, diff "looks good" to espie@.
2012-01-15document OpenBSD::md5Marc Espie
2012-01-09Rename whatis.{db,index} back to mandoc.{db,index}Ingo Schwarze
such that makewhatis(8) called from pkg_delete(1) does not fail trying to open old-style whatis.db files as btree(3). Suggested by espie@ deraadt@ millert@
2012-01-07sloppy Ingo, whatis.db + whatis.indexMarc Espie
fix PkgCheck to use the proper API.