summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2008-07-04remove trailing whitespace;Jason McIntyre
2008-07-04clean 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-03deal with hrefs containing '/' instead of just the package file nameNikolay Sturm
this permits fetching packages from thttpd ok espie
2008-06-27synch with rest of workMarc Espie
2008-06-25much better url parser.Marc Espie
2008-06-21rework 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-21introduce unlink operation with nice propertiesMarc Espie
2008-06-21use autovivificationMarc Espie
2008-06-20prepare to handle future extensionsMarc Espie
2008-06-18better standards for inst: paths.Marc Espie
2008-06-18forgot: changed PackageLocator so that the new parse method is responsibleMarc Espie
for breaking up the next part.
2008-06-18use path_parse to retrieve pkg_info anywhereMarc Espie
2008-06-18special-case parser so that /var/db/pkg becomes inst: during path_parse.Marc Espie
2008-06-15tweak the code that finds packages to find distant stemsMarc Espie
(todo: match pkg_add code better)
2008-06-15make sure installed_stem is defined when needed, prevents some weirdMarc Espie
errors.
2008-06-13550 is fatal, don't bother retrying.Marc Espie
Problem found by Martynas Venckus, fix by me.
2008-06-11cut lookup tag code in smaller piecesMarc Espie
2008-06-11further 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-11defer to the packing element for computing md5Marc Espie
2008-06-11refactor md5 code to be able to work from a filehandle (like a pipe output)Marc Espie
2008-06-11let elements be responsible for computing their own md5 (allows specialMarc Espie
behavior for @bin object).
2008-06-10typo in -as yet- unused code.Marc Espie
2008-06-09allow direct copy of fh to anotherMarc Espie
2008-06-06oops, @bin files are files tooMarc Espie
2008-06-06@wantlib elements become checksummableMarc Espie
2008-06-02fix references to OpenBSD:Ustar; from Alan BuenoJason McIntyre
2008-06-01provision for reading only prelink related stuff from a package (maybeMarc Espie
a bit more, we'll trim it as fitting).
2008-05-31add a marker for true binary files to be used by prelinkingMarc Espie
2008-05-26remove nlist bandwidth optimization, since ftp servers actually don't copeMarc Espie
with *.tgz very well... Fix regexp for stripping out ftp responses (as noticed by bernd)
2008-05-16- sort usage()Jason McIntyre
- use .Bk/.Ek to avoid ugly SYNOPSIS split
2008-05-16tweak ftp call, remove extraneous -o option.Marc Espie
okay sthen@
2008-05-16add a -d repository option in order not to have to specify all pkgnames.Marc Espie
as noticed by naddy and ajacoutot, we now have enough packages that this stresses shell limits if we specify everything on the command line. ;-)
2008-04-07typo, fix fragmentsMarc Espie
2008-04-07deprecate -c, we've been using -DCOMMENT=value more or less forever by now.Marc Espie
2008-04-07tweak a bit, allow ^ to occur at beginning of variable nameMarc Espie
2008-04-07likewise for the hash itselfMarc Espie
2008-04-07I should know better... reuse methods internally as much as I can, toMarc Espie
facilitate further changes.
2008-04-07document OpenBSD::SubstMarc Espie
2008-04-07put Subst stuff into its own library file, to reuse elsewhere.Marc Espie
2008-03-11oopsMarc Espie
2008-03-10print better error message if child dies... with extra dark magic to grabMarc Espie
signal names from POSIX.
2008-03-09tweak previous;Jason McIntyre
2008-03-08rename forced to definesMarc Espie
2008-03-08better -q: mention once, and it speeds up (assumes normal files haven'tMarc Espie
changed), but still checks config files. Use twice, and wipe your config out as well.
2008-03-08tweak messages mentioning checksums so that they mention checksums, notMarc Espie
specifics like md5, since that's likely to change.
2008-03-08let GetOpt count how many times it sees an option, removes special caseMarc Espie
for -v, and allow other fun possibilities.
2008-03-04Since the back-off goes 5,10,20,40 seconds, allow the retry timeout toChris Kuethe
increase to 80 and then 160sec before failing. Helps when doing big updates with "pkg_add -ui" ok espie, deraadt
2008-03-03fix utterly confusing message for updates.Marc Espie
okay bernd@/deraadt@
2008-03-02fix pkg_add -r -BMarc Espie
problem noticed by winiger@
2008-03-02fix bugs formattingMarc Espie