summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2014-08-10zap trailing whitespaceJasper Lievisse Adriaanse
2014-08-10comment what's going onMarc Espie
2014-08-10Ouch... fuck cvsMarc Espie
2014-08-10if pkg_create is run as non-root, restory correct group/owner to root/bin.Marc Espie
also, remove write permissions without explicit modes. Allows fake installs to keep directories/files writable while producing correct package.
2014-07-30prepare for post 5.6 packages, recognize special case where timestamp exist.Marc Espie
(specifically, this is a nop for 5.6, but it will allow changes to packages without needing anything in pkg_add)
2014-07-27make sure makewhatis shows error messages without unsightly CODE() refsMarc Espie
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-27ensure log stuff happens, even without contextMarc Espie
2014-07-23document format changes, including the new @ts annotation that pkg_createMarc Espie
will generate after 5.6.
2014-07-23move misleading commentMarc Espie
2014-07-19actually use the cve match_location correctly.Marc Espie
problem noticed by aja@
2014-07-18fix sorted outputMarc Espie
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-13bye bye src url. Never amounted to much, we went another road a while agoMarc Espie
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-13tedu setlist support, superseded by the new locate dbs.Marc Espie
2014-07-13stuff no longer needed, now that base/x release install its own locate dbsMarc Espie
2014-07-12don't check_security on newer *after* making sure the set doesn't haveMarc Espie
errors. Note that the errors are already signaling enough (conflicts, bad package etc)... And not having any errors mean we actually have proper plists. problem noticed by zhuk@
2014-07-12zap trailing whitespace;Jason McIntyre
2014-07-12oh well, remove -Q entirely... I'm probably the only one who ever used that.Marc Espie
2014-07-12security check in quirksMarc Espie
2014-07-12undocument -QMarc Espie
2014-07-12finish killing old experiment, less confusing codeMarc Espie
2014-07-12@endfake died a while agoMarc Espie
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-07-11display the extraction tally only if verboseMarc Espie
2014-07-11with out-of-order extraction, match tempnames to item namesMarc Espie
2014-07-10make quirks slightly more special, grab the whole packing-list always,Marc Espie
and display the timestamp from the signature if we were signed.
2014-07-10prevent users from adding timestamp themselvesMarc Espie
2014-07-10add a separate timestamp annotation to have this as metadataMarc Espie
2014-07-08don't really bother cleaning up the callback, it will go away soon enoughMarc Espie
2014-07-08in case we say("Some parameter #1 blabla there") but weMarc Espie
forget the parameter, display a decent error message instead of the usual warning...
2014-07-08Prettify the list of "required by" package names by sorting it.Vadim Zhukov
okay espie@
2014-07-08cleaner callback handlingMarc Espie
- store it inside location, so that belayed archives open can get it - wipe it out when the sizer goes away... to be done slightly better probably ?
2014-07-07sometimes, the callback happens when the archive isn't opened...Marc Espie
fix it quickly, to be fixed better later.
2014-07-07don't throw strange warnings during pkg_delete...Marc Espie
2014-07-07display saved size for now, to be disabled once I'm satisfied this is veryMarc Espie
good :)
2014-07-07record how many bytes we saved for statistics purposes.Marc Espie
exit the loop thru the same end code every time for consistency.
2014-07-07restore progressmeter for big files.Marc Espie
somehow, one extra level of indirection to archive, make it all go away by adding a new method set_callback
2014-07-01activate "out-of-order" archives based on historyMarc Espie
things to watch out for: - correct handling of multiple files with the same sha - cwd handling. This is already destated, so we can call set_destdir on each entry's cwd, instead of relying on @cwd being in the "right" location as that's no longer the case...
2014-07-01turn out-of-order extraction back on.Marc Espie
- separate extraction into extract/tie methods, with slightly overlapping code - early exit when we only have tied entries - mark location as early_exit in that case, since we're gonna close the archive early
2014-07-01tweak the ProgressMeter code to always record sizes, even in the stub caseMarc Espie
2014-06-25revert for now. Some aspects of tied code are currently broken in a funMarc Espie
way. surprised nobody noticed...
2014-06-17oops, committed debug version, to the tied hash was not used at all,Marc Espie
and of course there were 3 obvious errors... fixed and retested. much better now
2014-06-16tweak extraction for out-of-order archives: do a first passMarc Espie
where we register every actual file in the plist by its path relative to cwd. Note every meta info as extracted (for partial packages to make sense), then do a newer extract loop, where each archive member must match by path. That way, we can close archives early as soon as we've extracted every new file. To be used shortly by pkg_create. Note that new packages *won't* be extractible by the old tools.
2014-06-16tweak the size_and support to be able to do stuff out of orderMarc Espie
2014-06-16fix bug introduced by work-around: sets with nothing to do must be markedMarc Espie
uptodate as well. Restores ntogo to working order
2014-06-15Correct precedence for returned value.Andrew Fresh
style suggested and ok espie@
2014-06-12display full url if we can for UNSIGNED PACKAGES.Marc Espie
unconfuse mikeb@ :)