Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-10 | fix dewey comparison for suffixes (no early return) | Marc Espie | |
2009-06-06 | fix direct pkgpath case | Marc Espie | |
2009-06-06 | quick path for pkg cfl: check whether the new package conflicts with | Marc Espie | |
installed stuff first. If that's the case, and we're not in replacement mode, we don't really need to scan all the installed packages. | |||
2009-06-06 | my $_, except for the server code, which could still run on older perl | Marc Espie | |
2009-06-04 | Canonicalise package names when comparing them against the package database. | wcmaier | |
This unconfuses pkg_* when passed paths that, while valid, don't exactly match /var/db/pkg. For example, the following now works (note the double slash): $ pkg_info /var//db/pkg/somepackage Hasty tab-completers the world over shall rejoice. Tweaks and ok espie@. | |||
2009-06-03 | rewind DATA, so that the next scp: url will have code to connect to... | Marc Espie | |
2009-05-11 | remove an extraneous slash from the requested URL; some strict proxies | Stuart Henderson | |
(and maybe http servers) have a problem with it. ok espie@ | |||
2009-04-24 | oops | Marc Espie | |
2009-04-22 | fix creating packages with long names in plist; from espie@ | Christian Weisgerber | |
2009-04-20 | restore tagged user packages to functionality (for now) | Marc Espie | |
2009-04-19 | remove class FatPackageLocation. Instead make PackageLocation a hierarchy | Marc Espie | |
so that I can handle installed packages without playing ping-pong with the PackageRepository hierarchy (mostly) | |||
2009-04-19 | synch with my new style search/location changes | Marc Espie | |
It's likely there will be some fallout, but it's getting a bit too large to keep around. This does kill a few very old oddities as well. | |||
2009-04-18 | don't copy DigitalSig to partial packages, it makes no sense | Marc Espie | |
2009-04-14 | initial implementation of package signatures, based on x509 certificates and | Marc Espie | |
smime detached signatures. | |||
2009-03-07 | tweak code to use same comparison operations as PackageNames. | Marc Espie | |
so the "special code" to handle weird suffixes and epoch names (v*) finally comes into operation. regress tests still pass, I still expect some breakage... | |||
2009-03-07 | introduce versionspecs as a derivative object from version. | Marc Espie | |
Allows an operator such as <=. also overrides the compare operator for the pnum part, because specifically, in pkgspecs, if the pnum is not specified, it stands for "any pnum will do"... yes, that's hairy... | |||
2009-03-05 | call may_check_digest after extraction | Marc Espie | |
2009-03-05 | more stuff to check digests during extraction, if wanted. | Marc Espie | |
Fix read/write of digitalsignature stuff. don't integrate manual-installs, since it's highly variable. create correct category for digitalsignature, so it gets written out. | |||
2009-03-03 | stupid bug. If I don't name the class the same way, I don't override | Marc Espie | |
behavior correctly. Be consistent, use the same naming scheme. problem noticed by Brad Smith. | |||
2009-02-02 | deals with shaddy repositories from backwards countries that implement | Marc Espie | |
nlist incorrectly. as diagnosed by kili@ | |||
2008-12-11 | copying local files may cause some issues, as noticed by sturm@ | Marc Espie | |
Try really hard to avoid copying a file on itself: by first checking the stat() results, and if they are not available (since some people use fucked-up stuff like AFS), rely on the file names as a last resort. This should avoid stuff getting copied from PKG_CACHE to PKG_CACHE and erasing itself in a few cases... | |||
2008-10-28 | "destate" comments, let them know in which cwd they stand. | Marc Espie | |
This is actually useful for update-plist... | |||
2008-10-25 | Copy packages to the cache if a local PKG_PATH is used and PKG_CACHE is | Bernd Ahlers | |
defined. This unbreaks FETCH_PACKAGES with a local package repository. help & discussion: espie@ and sturm@ | |||
2008-10-24 | tweak compute_digest so that it `defaults' if invoked without a 2nd argument. | Marc Espie | |
switch the default digest to sha256. It's been there for a few weeks, all package tools cope with both formats, now is the time for the switch. | |||
2008-10-21 | ouch, this one requires local for now | Marc Espie | |
(as found out by Chris Cappuccio) | |||
2008-10-20 | Say goodbye to local $_ | Marc Espie | |
lexical scoping is so much neater (courtesy of perl 5.10) | |||
2008-10-07 | oops, missed one compute_md5 | Marc Espie | |
noticed by djm@ | |||
2008-10-06 | turn the checksums stored in packing elements into real objects, so that | Marc Espie | |
pkg_add becomes mostly independent of the type of checksum stored. separate md5 into an abstract OpenBSD::digest class and an md5 subclass with specific methods to compute checksums and serialize results, and create an sha class that does the same thing with sha256 (with a base64 serializer) | |||
2008-10-04 | tighter specs (tested for ages locally) | Marc Espie | |
2008-09-29 | add prototype for Carp::croak to prevent error under perl 5.10 | Simon Bertrang | |
feedback by espie@, prodded by millert@ | |||
2008-07-04 | clean up parser a bit, separating local/distant parts in a more reusable way, | Marc Espie | |
and simplify file: parsing scheme (trying it with file:, then without is a bit stupid once we have the pieces to put it back together directly). Drop the restriction on urls from the man page, no need to finish stuff with /. | |||
2008-07-03 | deal with hrefs containing '/' instead of just the package file name | Nikolay Sturm | |
this permits fetching packages from thttpd ok espie | |||
2008-06-27 | synch with rest of work | Marc Espie | |
2008-06-25 | much better url parser. | Marc Espie | |
2008-06-21 | rework collisionreport to allow some limited repair capabilities: | Marc Espie | |
assuming none of the files is registered, we can assume that the package registration fails, and then we remove the files, and install the package. Then we also walk installed packages to restore dependencies that would have been erased (this is fairly simple-minded and may fail in weird cases). | |||
2008-06-21 | introduce unlink operation with nice properties | Marc Espie | |
2008-06-21 | use autovivification | Marc Espie | |
2008-06-20 | prepare to handle future extensions | Marc Espie | |
2008-06-18 | better standards for inst: paths. | Marc Espie | |
2008-06-18 | forgot: changed PackageLocator so that the new parse method is responsible | Marc Espie | |
for breaking up the next part. | |||
2008-06-18 | special-case parser so that /var/db/pkg becomes inst: during path_parse. | Marc Espie | |
2008-06-15 | make sure installed_stem is defined when needed, prevents some weird | Marc Espie | |
errors. | |||
2008-06-13 | 550 is fatal, don't bother retrying. | Marc Espie | |
Problem found by Martynas Venckus, fix by me. | |||
2008-06-11 | cut lookup tag code in smaller pieces | Marc Espie | |
2008-06-11 | further step on the road to tags: | Marc Espie | |
make definitions migrate to the top of the packing-list, allow solver to find tag on the correct name (will look at full definition later). | |||
2008-06-11 | defer to the packing element for computing md5 | Marc Espie | |
2008-06-11 | refactor md5 code to be able to work from a filehandle (like a pipe output) | Marc Espie | |
2008-06-11 | let elements be responsible for computing their own md5 (allows special | Marc Espie | |
behavior for @bin object). | |||
2008-06-10 | typo in -as yet- unused code. | Marc Espie | |
2008-06-09 | allow direct copy of fh to another | Marc Espie | |