summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2010-03-23fix callback. This one isn't called that often actually.Marc Espie
noticed by ckuethe
2010-03-22clean up the ProgressMeter code, create a specific class if a TermMarc Espie
is around. start using stuff from termcap, specifically, cleareol, and move to hp. use the full line when we can, cram 100% if we can. (this should flicker much less on slow terminals). clean-up the install-and-progress bits to be in progressmeter, this removes some code. have pkg_create follow the same pattern as the others, with a state. This allows us to unify error messages a bit.
2010-03-20if a package already contains an url marker (say, local stuff recreated),Marc Espie
don't override it. so that it can actually be installed.
2010-03-07erase to the end of "previous line". Avoid dangling % after displaying 100%.Marc Espie
from sthen@.
2010-03-06match_locations doesn't work on invalid specs, so don't go thereMarc Espie
2010-03-06fix very stupid typoMarc Espie
2010-03-06don't go up to column 80, until we ask Term::Cap properly for what's goingMarc Espie
on.
2010-03-06consistent error. exit(1) if something bad happened.Marc Espie
(fixes some errors in ports)
2010-03-01slightly terser messages, better use of terminal lineMarc Espie
2010-02-28progress-meter -> progress meter, which is at least consistent with ourJason McIntyre
other pages;
2010-02-28ProgressMeter support.Marc Espie
2010-02-28more useful paths (for dpb)Marc Espie
2010-02-24revert rev. 1.54 because it doesn't change the rendering with groffIngo Schwarze
but breaks the build with mandoc(1); ok jmc@ espie@
2010-02-04no -S option; from Daniel DickmanJason McIntyre
2010-01-27actually order things:Marc Espie
beta < (rc|pre) < release < pl (fixes speex updates)
2010-01-26downgrade, not downgradesMarc Espie
2010-01-26fix merging behavior when merging doesn't occur:Marc Espie
- display message that says "this update didn't merge" - be more specific in return values, because we want to distinguish between we merged some stuff -> compute full depends / we didn't -> proceed thanks to Florent Tribouilloy for being my guinea pig ;)
2010-01-24extra indirection: no match gives a reason why, so we can rebuildMarc Espie
report_problems to actually say what's wrong...
2010-01-24use libspecs, report problem will be terser for now.Marc Espie
2010-01-24use libspecs through Dependencies.Marc Espie
2010-01-24add code to unify spec and names as LibraryObject, plus a repository andMarc Espie
match/lookup functions.
2010-01-24prevent broken packagenames from creeping in.Marc Espie
2010-01-24add code to check packagename for problemsMarc Espie
2010-01-19simplify caching: return $cached->{$_} //= new_value;Marc Espie
remove stats cache LibSpec as well (1000 c.53.0 !)
2010-01-19simplify using LibSpecMarc Espie
2010-01-19move generic code to handle libspec in a new file, to clean up stuffMarc Espie
2010-01-19fix handling of always-update: it should only come into play when theMarc Espie
normal signature is equal. Otherwise, downgrade prohibition is still in effect.
2010-01-18don't bother checking for exec and displaying them if we're not verboseMarc Espie
and we have -D update on.
2010-01-17even better messagesMarc Espie
2010-01-17use Carp directly, it it very inexpensive actually, since it's been rewrittenMarc Espie
to be just a very small stub that loads Carp::Heavy on demand. Also, stop wrapping messages in "Expected", doesn't give us anything. Finally, make RequiredBy calls be carp, so that we actually know where they fail...
2010-01-14fix new vstat, and make it useful, for instance for -n.Marc Espie
2010-01-12allow 'update-only' installsMarc Espie
2010-01-12bump this to updater, so that progress is shown again.Marc Espie
2010-01-12more auto-cache goodnessMarc Espie
2010-01-11sometimes, I manage to finish some stuffMarc Espie
2010-01-11quirks is special here too, oops.Marc Espie
2010-01-11allow installation to proceed even without -r if it's an actual updateMarc Espie
(all markers match, conflict and pkgpath, and the pkgname is newer if it's the same stem/flavor combo)
2010-01-11works much better if I actually add the option...Marc Espie
2010-01-11move the oldlibs code into its separate file, prior to fixing it.Marc Espie
allow replacement if it only touches partial or libs
2010-01-11protect gzip against weird file namesMarc Espie
2010-01-11various cleanup, including a fix from Daniel Dickman;Jason McIntyre
ok espie
2010-01-11It's '-D dontmerge' now.Bernd Ahlers
2010-01-10fix some mdoc tidbits. Thanks to jmc@ for advice.Marc Espie
2010-01-10unify options a bit: use -Dname=value for defines uniformously (e.g., deprecateMarc Espie
-F keyword heavily).
2010-01-10use full signatures to avoid downgrades.Marc Espie
remove double check in update that properly belongs in pkg_add replace has_new_sig by has_different_sig, with better diagnostic messages.
2010-01-10follow logic: if same packagename, but different signature elements,Marc Espie
something very bad happened.
2010-01-10trick: I can actually recognize specs easily, so why not allow them withoutMarc Espie
-e ?
2010-01-10if we make pkg_create more stringent, then we cannot create bogusMarc Espie
packing-lists. Add check for libspec, and REGRESSION_TESTING
2010-01-10bump copyrightMarc Espie
2010-01-10pull the signature comparison code into its own file.Marc Espie
add comparison functions to Packagenames that return undef when it matters.