summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2007-10-06finish loop as soon as the ldconfig search directories have been found.Steven Mestdagh
ok espie@
2007-09-28nitMarc Espie
from qgiovanni@gmail.com
2007-09-20obey -F installedMarc Espie
noticed by kurt@, tested by him too.
2007-08-28reverse mistaken commit, restore FETCH_CMD to functionality.Marc Espie
2007-08-23write out the object url in the error message if that's an object error andMarc Espie
not a basic listing repository issue.
2007-08-23fix v* order in keep_most_recent.Marc Espie
2007-07-18- document the fact that mkfontscale is now run as well as mkfontdir andAntoine Jacoutot
fc-cache for @fontdir ok kili@ espie@
2007-07-14- there's no point in running mkfontdir only for @fontdir ; so let's runAntoine Jacoutot
mkfontscale too (and remove fonts.scale on package removal) discussed with matthieu@ and espie@ weeks ago "seems fine" pyr@, ok espie@
2007-06-30move the UpdateSet stuff into its separate file, leaving Vstat much cleaner.Marc Espie
2007-06-30fix saving of old partial packages... problem noticed by Paul IroftiMarc Espie
2007-06-26fix pkg_info's find_by_path behavior, which I accidentally broke twoMarc Espie
versions back...
2007-06-26missed one mark_as_installed.Marc Espie
2007-06-26the big gap one: create UpdateSet for all packages being installed, andMarc Espie
consider only UpdateSet internally. This involves moving stuff around a bit to keep pkg_add -n working, adding creators from_location for UpdateSet, and tweaking dependencies heavily. More changes later, like sanitizing PackageLocation state engine, or creating UpdateSet earlier for actual updates.
2007-06-25placeholder to split off the code that handles UpdateSets, as it'sMarc Espie
currently scattered all over the place.
2007-06-25typoMarc Espie
2007-06-23setup a local sigalarm to send a HUP to the ftp process if it takes longerMarc Espie
than 30 seconds to stop... 30 seconds chosen as a `nice' average value. Note that this is a `work-around' for some specificities of ftp(1), which usually doesn't react to SIGINT, but reacts instantly to SIGHUP...
2007-06-20mention https protocol, for which support was added recently.Steven Mestdagh
ok espie@
2007-06-20sprinkle code to deal gracefully with absent packing-lists.Marc Espie
makes it easier for people to recover after a disk crash that leaves /var/db/pkg half-empty.
2007-06-19first draft of a tag solver, needs more flesh to be useful (especially:Marc Espie
transform the lib cache into a tags/lib cache)
2007-06-19sometimes, wanting to share code gives insight: disentangle the codeMarc Espie
that walks dependencies entirely. It is far less related to the main solver than I thought, it can be built when needed, and own its own state. Much cleaner design.
2007-06-18... and zap old codeMarc Espie
2007-06-18reorganize lookup_library so I can reuse the exact same algorithm toMarc Espie
look up different things (in particular, the incremental lookup through dependencies).
2007-06-18more uniform: all deps routines should be methods, even if they don'tMarc Espie
use the data.
2007-06-18add tag no shadow, to allow us to specify that we do NOT want tempfilesMarc Espie
into some directories. a few minor style tweaks, such as using a nice join(map()) to build some strings.
2007-06-17only display header if we actually display some information.Marc Espie
Allows saying pkg_info -a -M, and not having 100s of empty lines corresponding to all packages without a MESSAGE.
2007-06-17fix format for timestamps. Use a non-ambiguous subset of ISO8601.Marc Espie
2007-06-17more scaffolding we don't really use yet.Marc Espie
2007-06-17document @exec/@unexec variations in more detail.Marc Espie
Point users at pkg_create for packing-list details (suggested by ajacoutot@)
2007-06-17add a bit of scaffolding for signaturesMarc Espie
2007-06-16introduce new stuff: @tag, to be used to tag files and other objects.Marc Espie
Only one tag for now: no checksum. Will supersede @comment no checksum eventually. Benefit: errors out in case of a typo.
2007-06-16Add variation on exec/unexec:Marc Espie
@exec-always @unexec-always @exec-add @unexec-delete @exec-update @unexec-update with the obvious semantics that *update are only run during updates, and *add/delete are only run during `pure' additions/removals. This should solve the problem of those packages that `lose' manual configuration when you update them (e.g., all the mod_xxx apache stuff and postfix). caveat: you will need to go through one finaly broken update before the new stuff kicks in.
2007-06-16FTP_KEEPALIVE as a crude interface to ftp -k. To be thought out later.Marc Espie
this is just an experiment.
2007-06-16use OpenBSD::Paths contentsMarc Espie
2007-06-14Really cleanup temporary directories.Matthias Kilian
"commit that now, please." espie@
2007-06-14explicitly mark -S as deprecated, I'd love to use for something else...Marc Espie
2007-06-14I don't know what we will do with system packages yet, but preventMarc Espie
them from getting deleted.
2007-06-14minor changes: move @ignore to deprecated stuff (it's been out for a fewMarc Espie
months now), register lastfileobject for future changes, make a common class for uniqueoptions.
2007-06-12use constant subs instead of variable names.Marc Espie
Turns out completely specified variable names do not warn, even if strict, so the previous scheme was not immune from typos.
2007-06-12tidy error messages: uses $! more consistently, do not append \n on die,Marc Espie
do append \n on warn. Fix the two cases where the temp dir vanished too soon: not copying +DESC should have been apparent. Not finding a +DISPLAY file is not a reason for burping all over the place.
2007-06-12tag directories and files with pid, so that we clean them up when theMarc Espie
corresponding process dies, not before...
2007-06-11prepare more stuff to be able to deal with UpdateSets directlyMarc Espie
2007-06-11keep on extracting stuffMarc Espie
2007-06-10give repository/locations slightly more control over package names.Marc Espie
2007-06-10Add Paths.pm, to centralize all system dependent paths all over the place.Marc Espie
okay millert@, deraadt@
2007-06-10extract constructor to create old handles.Marc Espie
2007-06-10set_infodir when we can in PackageLocation.Marc Espie
Create a full handle for replaced packages as well.
2007-06-10make the replacement check methods slightly clearer, avoid doing twoMarc Espie
things at once, mostly.
2007-06-10split create_handle code, so that we create the object as a trivialMarc Espie
place-holder, then complete it later. This should allow us to create `empty shell' UpdateSets eventually, in replacement of pkgnames lists.
2007-06-10refactor the code a bit, so that lists through ftp and htpp share moreMarc Espie
code. Finally handle ftp_proxy (close PR 5308).
2007-06-09tag user installed packages.Marc Espie
- record what's on the command line. - adjust option depending on -a / !-a - report `manual-install' status when replacing stuff.