Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-26 | make pkg_add exit gracefully if it cannot read from a file handle, which | Steven Mestdagh | |
happens when the ssh connection could not be established. ok espie@ | |||
2006-05-04 | more clues for people who update their system. | Marc Espie | |
2006-04-22 | Pass over the right object to OpenBSD::Delete::validate_plist(). | Bernd Ahlers | |
This fixes an error while checking for collision with old libs. okay espie@ | |||
2006-04-08 | Add missing 'use OpenBSD::Error'. | Bernd Ahlers | |
spotted by marco@ 'go ahead' espie@ | |||
2006-03-21 | fix endless loop in case of error in archive header. | Marc Espie | |
2006-03-19 | Partial revert of previous changes, nasty regexps not greedy the way they ↵ | Marc Espie | |
should. Broke md5. | |||
2006-03-17 | un-special case old constructs: make them inherit from the same class, | Marc Espie | |
and remove any special code from Factory. As it's simpler remove local variables. | |||
2006-03-13 | clean-up some name handling: | Marc Espie | |
- package locations always contain a pkgname (except if we don't have it) - complete it on the repository side to grab the right file. - no need to pass pkgname/arch on $location->grabPlist(), since it's already in the location. | |||
2006-03-13 | repair pkg_add - | Marc Espie | |
2006-03-08 | propagate stuff to be able to explicitly clean-up repositories. | Marc Espie | |
(we can't use a normal destructor, since this will be called for each fork()ed subprocess). | |||
2006-03-08 | fix race condition in SCP for real. | Marc Espie | |
We can't control a grand-child death through gzip, so stop spawning grand-children: create two children connected by hand through a pipe, and when we close gzip, explicitly wait for the second child to die as well. This avoids race conditions between sigpipe and sigusr1. (and as usual, the resulting code is easier to follow once you get through the pipe/fork). Thanks theo for the comment. ;-) | |||
2006-03-07 | do not write partial files out if the PKG_CACHE filesystem overflows. | Marc Espie | |
2006-03-07 | Fix pkg_copy(). | Bernd Ahlers | |
2006-03-07 | properly zap temporary file. | Marc Espie | |
2006-03-07 | rendez-vous with subchild through signal USR1. | Marc Espie | |
2006-03-07 | make pkg_copy be overidable by subclass. | Marc Espie | |
2006-03-07 | only the grand child can have issues | Marc Espie | |
2006-03-07 | special case: repository holds several packages (say, old versions), and | Marc Espie | |
you choose the most recent one, which also happens to be the currently installed version -> then explicitly say no update is needed and proceed. | |||
2006-03-07 | let scp repositories work. Avoid run-away processes by just having one single | Marc Espie | |
ssh connection for each repository. | |||
2006-03-07 | pass the grandchild pid through the pipe, in order to be able to monitor it. | Marc Espie | |
2006-03-06 | zap object pid when done with it. | Marc Espie | |
2006-03-06 | actually zap the code | Marc Espie | |
2006-03-06 | typo | Marc Espie | |
2006-03-06 | take some infrequently used code completely out of the way. | Marc Espie | |
2006-03-05 | avoid running mkfontdir/fc-cache if they don't exist. | Marc Espie | |
2006-03-04 | cut down the Locator code into maintainable chunks. | Marc Espie | |
2006-03-04 | reorganize code a little bit: Update.pm becomes Replace.pm (since it matches | Marc 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... | |||
2006-03-04 | zap more success messages. Keep pid of distant location pipe, just in case. | Marc Espie | |
2006-02-21 | detect temporary connection errors, and retry with exponential timeout. | Marc Espie | |
2006-02-21 | ask question corresponding to -F updatedepends too (commonalize code). | Marc Espie | |
Use key 'update', 'updatedepend' to avoid answering the same question again and again. | |||
2006-02-21 | add optional 3rd choice [y/N/a] for always, so that this question type | Marc Espie | |
will always match. | |||
2006-02-16 | validate() can also take sample files into account. | Marc Espie | |
2006-02-10 | If the length of the message in OpenBSD::ProgressMeter::message() is shorter | Bernd Ahlers | |
than the length of the playfield, fill up the difference with whitespace. Prevents leftover characters from previous message()s. ok espie@ | |||
2006-02-09 | Turn validate_plist() into a real visitor that calls validate() for each | Marc Espie | |
object in the packing-list. Move some checks earlier, so that update of packages fails before deleting the old package. Add more checks, like verifying that install/deinstall scripts are indeed located on exec'able partitions. | |||
2006-02-09 | Add some nice interfaces instead of the hint() argument to close(). | Marc Espie | |
This allows the cache to finish properly even in some weird cases like fat packages (calling finish_and_close). | |||
2006-02-07 | minor independent tweaks: | Marc Espie | |
- make Newuser and Newgroup subclasses of Newauth, so that code can be shared. - add property type() for these, that expands to user/group - add property to SpecialFile() that says whether this is executed on add/delete, so that we can check for noexec fs and error out early on these. | |||
2006-02-07 | look at noexec as well | Marc Espie | |
2006-02-06 | tell user about collision much earlier, so that they do not wonder what | Marc Espie | |
is taking so long... | |||
2006-01-24 | protect against weird situations where dependencies don't match | Marc Espie | |
(admittedly, we should recompute them, but that's already better than nothing). | |||
2005-12-05 | make sure set_modes always get called for a `real' extraction. | Marc Espie | |
Problem noticed by sturm@ | |||
2005-11-29 | - Zap duplicate semicolon. From Alexander Hall via PR #4913. Thanks! | Bernd Ahlers | |
- Some indentation fixes while I'm here. okay espie@ | |||
2005-11-05 | same fix as Add.pm: make sure we parse the whole package. | Marc Espie | |
2005-11-03 | kludge: avoid creating non-empty files. | Marc Espie | |
I don't like the fix, but it works... | |||
2005-11-02 | In case we are pretending, make sure we skip to the next archive member. | Marc Espie | |
Otherwise, we might miss a truncated archive that's missing its last file, and PKG_CACHE won't work, since it hits a SIGPIPE too soon. Nice testcase from sturm@ | |||
2005-11-02 | Simplify OpenBSD::PackingElement::Sysctl::install(). | Bernd Ahlers | |
okay espie@ | |||
2005-10-27 | Fix a perl warning during package deletion. | Bernd Ahlers | |
Noticed by Jonathan Weiss <jw at innerewut.de>, thanks. ok espie@ | |||
2005-10-26 | add checks in skip for walking off the file. | Marc Espie | |
use cleaner code for reading headers. | |||
2005-10-26 | minor clean-up, unhardcode test for type, use a table instead. | Marc Espie | |
2005-10-25 | zap 229 (frantisek holop) | Marc Espie | |
2005-10-24 | more robust deletion: rebuild item from file system instead of using | Marc Espie | |
computed state information, for storage in partial package. |