summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/Makefile
AgeCommit message (Collapse)Author
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2010-07-04initial documentation for pkg.conf, after nits from jmc@, and straighteningMarc Espie
up by Theo about what should be in there...
2010-06-25document ::State a bitMarc 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-09ui changes: go thru a state object for most printoutsMarc Espie
2010-06-05move files after a discussion with Theo.Marc Espie
2010-06-05new command pkg_fsck, very incomplete for now. Runs only very basic checks.Marc Espie
2010-06-04move code around, so that commands can be used as modules.Marc Espie
pkg becomes the start hub, which does nothing except require the correct module. Saner code wrt Add/Delete, and more sharing.
2010-04-24pieces required for resolve-lib (reuse code for consistency)Marc Espie
2010-03-22clean up the ProgressMeter code, create a specific class if a TermMarc Espie
is around. start using stuff from termcap, specifically, cleareol, and move to hp. use the full line when we can, cram 100% if we can. (this should flicker much less on slow terminals). clean-up the install-and-progress bits to be in progressmeter, this removes some code. have pkg_create follow the same pattern as the others, with a state. This allows us to unify error messages a bit.
2010-01-19move generic code to handle libspec in a new file, to clean up stuffMarc Espie
2010-01-11move the oldlibs code into its separate file, prior to fixing it.Marc Espie
allow replacement if it only touches partial or libs
2010-01-10pull the signature comparison code into its own file.Marc Espie
add comparison functions to Packagenames that return undef when it matters.
2009-12-26Better, more global way of dealing with forward dependencies, and toMarc Espie
ask just once per-set for exec/unexec. Todo: forward-deps could be merged, but this might lead to dependency loops, we have to detect them and act first Todo: rewrite the other part of forward dependency handling (dep adjustment)
2009-11-16start pulling all the code that's the same between pkg_add and pkg_deleteMarc Espie
into a common AddDelete package... lots of identical options and handling, actually...
2009-10-15pkg_add will need to track installation progress globally, so that we don'tMarc Espie
solve dependencies with stuff that we want to update later... create that information, to be used...
2009-10-14move OpenBSD::Handle into its own file. I guess I need to disentangle thisMarc Espie
code before I go further....
2009-04-14initial implementation of package signatures, based on x509 certificates andMarc Espie
smime detached signatures.
2008-09-11Do not clean ${PACKAGES} as this is the source files, if run without obj dirDale Rahn
present, it will delete the source files. Found by Steven Roberts.
2008-09-02Install in the correct directory with NOMAN set. Based on makewhatisDale Rahn
with additional CLEANFILES from theo.
2008-04-07put Subst stuff into its own library file, to reuse elsewhere.Marc Espie
2008-02-04a somewhat long introduction to how the package tools really work,Marc Espie
so that people finally get a jump-start at figuring out code that's still evolving,..
2007-12-31use the same trick as for perl to make sure manpages get built laterMarc Espie
2007-06-25placeholder to split off the code that handles UpdateSets, as it'sMarc Espie
currently scattered all over the place.
2007-06-10Add Paths.pm, to centralize all system dependent paths all over the place.Marc Espie
okay millert@, deraadt@
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-14document search objects. Adjust PkgSpec documentationMarc Espie
2007-05-14put Search objects into their own file, finallyMarc Espie
2007-05-14move code around to allow OO access to installed packages always.Marc Espie
2007-05-01remove PackingOld entirelyMarc Espie
2007-02-04back-out extra commitMarc Espie
2007-02-04protect `normal' installs against archive burps.Marc Espie
2006-11-29+OpenBSD::PkgConfigMarc Espie
2006-03-06take some infrequently used code completely out of the way.Marc Espie
2006-03-04cut down the Locator code into maintainable chunks.Marc Espie
2006-03-04reorganize code a little bit: Update.pm becomes Replace.pm (since it matchesMarc Espie
the -r option), and the find_update code moves to Update.pm, so that it doesn't get parsed if -u is not used. Also make the has_new_sig and uses_old_libs local methods of PackingList, as it is their natural API. Reorg a few more routines so that they can be found by pkg_add and by Update.pm. May need to split off more stuff to avoid parsing everything...
2005-09-18unbreak tree. please build before commiting espieTheo de Raadt
2005-09-18document the package(5) format.Marc Espie
Some tweaks by jmc@
2005-09-17slightly simpler install.Marc Espie
2005-09-04* New -i interactive option, that can ask obnoxious questions.Marc Espie
* move the signature code to a packing-list method, prepend the pkgname. * depend on distant listings, cache these systematically. * cut the PKG_PATH at :/ systematically, much simpler than parsing URLs. People should get used to trailing /s. * let pkg_add -u actually run the update. * check for signature in more places, for instance, let pkg_add installed_stuff be a void operation. * grab enough stuff during updates to check signatures, so that pkg_add -u can report updates that are not needed right away, instead of waiting for the more confusing `trying to update' * beginning of @module support. * @pkgpath support, including updates. * systematically expand stems when applicable. * use visitors systematically in pkg_info. * pkg_info -S reports signature. * remove hardcoding of categories in PackingList, so that future modules will be able to expand them. * add @updateset and @incompatibility keywords.
2005-08-17document RequiredBy module.Marc Espie
2005-08-17document Getopt.Marc Espie
2005-08-17document OpenBSD::PackageNameMarc Espie
2005-08-07split off the code that handles dependencies proper, so that we can (later)Marc Espie
reuse it in pkg_info or lib-depends-check.
2005-08-07wrapper around Ustar that replaces long names/links with LongName#/LongLink#.Marc Espie
The archive will unpack correctly with tar, except that those names won't be preserved. The wrapper checks names against the packing-list to restore the correct names on the fly. Put into a separate file, as it is an extension of Ustar proper, and we're going to do more archive checking in the future. Lots of tests by Bernd Ahlers. Comments by Tom Cosgrove.
2005-06-28Add pkg_merge and doc.Marc Espie
okay naddy@, jmc@
2005-03-07strip down path from generated manpages.Marc Espie
problem noticed by sturm@
2005-03-01make sure _quick3p is always defined. Thanks dale!Marc Espie
2005-02-28oops, since we override MANALL, we need to complete it.Marc Espie
2005-02-28basic API documentation, not yet finished.Marc Espie