summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2016-10-05document signature changeMarc Espie
2016-10-05getting errors is trivial, just don't forget to close the handle and notMarc Espie
return anything in case signature did fail.
2016-10-04slightly smarter parsing of error logMarc Espie
2016-10-04no longer neededMarc Espie
2016-10-04check_signature is goneMarc Espie
2016-10-04remove may_check_data logic, since signatures are now handled externallyMarc Espie
2016-10-03document (partially) new stuffMarc Espie
2016-10-03add TRUSTED_PKG_PATH after discussing with aja@Marc Espie
use case is testing binary packages among developers, -Dunsigned means everything is unsigned, which is bad for dependencies
2016-10-03gc the old checking code in pkg_addMarc Espie
2016-10-03No need to record gzip position after CONTENTS since we don't need partialMarc Espie
copy for newer signatures
2016-10-03kill creating old signatures.Marc Espie
2016-10-03document what signify2 does, remove remnants of signify/x509.Marc Espie
comment out stuff that's not supported yet, but may make a come-back later
2016-10-03display a decent error messageMarc Espie
2016-10-03throw a decent error message, signify2 can't (yet) sign non local packagesMarc Espie
(it would need a way to get "raw" gzip data)
2016-10-03report signify2 as wellMarc Espie
2016-09-28oops, forgot THAT hook. You have to start with unsigned to get signedMarc Espie
2016-09-27switch to using the new package signature scheme (signify2) by defaultChristian Weisgerber
ok sthen@
2016-09-15actual signify2 code, a bit refactoringMarc Espie
2016-09-15move the error saving code slightly aroundMarc Espie
still not perfect
2016-09-14move the check up in stateMarc Espie
2016-09-14add an is_local-file method for later signatureMarc Espie
2016-09-14gc pipe: support, makes less and less sense as time goes byMarc Espie
2016-09-14tidy running those commandsMarc Espie
2016-09-14gc last remnants of source:Marc Espie
2016-09-08new sign only when new signMarc Espie
2016-09-06heck, have new signatures be -Dnewsign until we flip the switchMarc Espie
2016-09-06remove code that allows pkg_create to signMarc Espie
2016-09-05forgot to provide an empty methodMarc Espie
2016-09-04put signify errors alongside ftpMarc Espie
2016-09-04signature tracking bases: stored signed status inside object, so thatMarc Espie
we don't erroneously get "signature" comments from unsigned packages. force the gzip object to get its header. So if it can't something wrong happened. for now, we just know shit happened...
2016-09-04basic scaffolding to ask signify to check stuffMarc Espie
still missing some proper error reporting
2016-08-27in case we run delete_first (not enough room), delay the unlink ofMarc Espie
tied items so we can still skip extracting them. better than the stopgap measure I committed a few weeks ago.
2016-08-26grrr warningMarc Espie
2016-08-25-F before -f (as -I before -i currently is...);Jason McIntyre
2016-08-25make the full filesystem check optional, by popular demand.Marc Espie
doubling -q removes the plist thorough check.
2016-08-12band-aid for a nasty bug. tieto + space constraints don't interact well.Marc Espie
there are better fixes (such as computing tieto first, computing the size better, and doing two passes deletes), but at least this one doesn't fuck things up.
2016-07-28firmware is the plural;Jason McIntyre
2016-07-27checking for firmware works better if I pass thru all optionsMarc Espie
2016-07-27don't include firmwares in the fuzzy auto-reinstall listMarc Espie
2016-07-27hunting around for some sporadic error message. Removing the hash entryMarc Espie
entirely is slightly better. noticed by sthen@
2016-07-23no quirks in FwUpdate.Marc Espie
okay theo
2016-06-28oops, $pkg can be more than a pkgname. We have the right informationMarc Espie
in the plist, so use it instead.
2016-06-28option -z that uses is-branch info to produce "complete"Marc Espie
stem--[flavor][%branch] listing. feedback and suggestions semarie@
2016-06-28document is-branchMarc Espie
2016-06-27surprised nobody noticed before meMarc Espie
let scp:// work with PKG_CACHE basically, we do an extra fork, so we end up cleaning up the connection twice that's okay for the handles, but not for the commands, since we do a spurious ABORT BYE BYE on cleanup.
2016-06-25recognize @option is-branchMarc Espie
so that it trickles to snapshots and then can be used in ports
2016-06-24make use of former changes. If list is higher than display go thru more.Marc Espie
2016-06-24simplify the logic. no need for a separate hook when we can just specializeMarc Espie
find_window_size. fix a bug: integrate SIG{CONT} for re-checking window size. the way it's currently written, first call to compute_playfield will call itself once. But it makes for less code.
2016-06-23there's no reason for window size computation to be linked to theMarc Espie
ProgressMeter, so make it available from state. - computation is lazy, so no runtime difference; - don't bother setting a SIG{WINCH} on non-tty; - progressmeter already has access to state; - do an empty window_size_changed in base state, override it for addcreatedelete to inform the progressmeter. to be reused in dpb...
2016-06-23add fh variation of printing code. Systematically use it with STDOUT/STDERRMarc Espie
for classical functions.