Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2005-10-24 | use a visitor('prepare_for_deletion') to validate plist for removal, | Marc Espie | |
so that we can put more checks earlier... | |||
2005-10-24 | factor out a bit of code, and be more aware of symlinks. | Marc Espie | |
2005-10-23 | if resumed from ^Z, display meter without waiting for changes. | Marc Espie | |
idea from deraadt@ | |||
2005-10-22 | add a hint to close that says how the fd got closed (real error, premature, | Marc Espie | |
normal). This will get used by parse_problems() to figure out what to report exactly, e.g., short writes from prematurely closed fd are not real errors... stuff that can't connect IPv6 and retries as v4 is not either, unless there's a genuine `can't connect error'. | |||
2005-10-22 | more non-errors from ftp. | Marc Espie | |
2005-10-22 | I haven't received any feedback at all about this patch, so everyone | Marc Espie | |
gets to test it. | |||
2005-10-22 | be more explicit about what's going on. | Marc Espie | |
2005-10-19 | mark links being extracted with `zap', so that they do not get recorded | Marc Espie | |
into partial plists until they've gone through an actual install. Prevents partial replacements from destroying genuine links in packages when they get uninstalled. | |||
2005-10-10 | less verbose listing of libraries | Marc Espie | |
2005-10-10 | allows for tempfiles. | Marc Espie | |
2005-10-10 | Display an error message if no packages are available in the PKG_PATH. | Marc Espie | |
Quote nlist command, if we invoke it accidentally in a directory with *.tgz present. | |||
2005-09-24 | pass actual items to prepare_long and check_name so that we can also | Marc Espie | |
verify that modes/groups/owners are correct (code to come) | |||
2005-09-24 | move uname/gname existence check into ArcCheck: Ustar archives deal with | Marc Espie | |
this differently. Namely, use specific variables that default to the numeric value if the uid/gid don't exist in mkheader. Since the entry fields are not filled, ArcCheck gets all it needs for the package check. | |||
2005-09-24 | Allows FETCH_CMD to replace ftp. | Marc Espie | |
Note that, for simplicity, FETCH_CMD must be a single command with a full path. Use a script if you must. | |||
2005-09-20 | refuse building archive if we don't have user names for the uids. | Marc Espie | |
2005-09-19 | fix PackageRepository::Installed(). | Marc Espie | |
let grabPlist finish closing what it opened. | |||
2005-09-19 | Let ExtraInfoOnly grab pkgpath as well. | Marc Espie | |
2005-09-19 | make package opening more efficient (and maybe more intuitive) by | Marc Espie | |
delaying reading the full info directory to a temporary directory. When we open a package, we just scan for the CONTENTS. If it's the first file, we stash it into memory and STOP there, delaying grabbing the rest of the special files to the first call to info(). Make sure the next() proxy shows only real file, by grabbing info files if necessary. Introduce handle->plist() method that can retrieve the plist from either the version stored in memory, or in a file in the temp directory. | |||
2005-09-17 | allows grabbing the packing-list directly from a PackageLocation, | Marc Espie | |
in order to make further code more symetric and efficient. | |||
2005-09-17 | beginning to a source path repository infrastructure, very likely to change | Marc Espie | |
a lot yet. | |||
2005-09-17 | minor nit | Marc Espie | |
2005-09-16 | more clean-up: | Marc Espie | |
- kill multiple inheritance; - replace pipename() with open_pipe, and use explicit exec. - add intermediate PackageRepository::Distant class. - if PKG_CACHE is set, use an intermediate wedge that stores the retrieved package in that directory. - handle signals correctly in that case. | |||
2005-09-16 | oops | Marc Espie | |
2005-09-16 | move .tgz addition down to PackageRepositoryList. | Marc Espie | |
re-add list, which returns a \@, whereas available returns a @. | |||
2005-09-14 | filter names out first, as it's slightly faster | Marc Espie | |
2005-09-13 | more Package/FatPackage common code: separate the proxy 'next' into two | Marc Espie | |
parts: the one that gets (and renames) files from the archive (getNext) that depends on Package/FatPackage, and the one that handles opening/ reopening/caching archives (true next); | |||
2005-09-13 | typo, fix fat packages reading. | Marc Espie | |
2005-09-13 | grabPlist shall behave like find. | Marc Espie | |
2005-09-13 | Repository::Installed class, to provide uniform access to installed | Marc Espie | |
packages compared to other `repositories'. | |||
2005-09-13 | yet more uniform names. | Marc Espie | |
2005-09-13 | don't actively avoid the Composite Pattern. | Marc Espie | |
PackageRepositoryList can handle very close to PackageRepository |