summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2011-03-23cache user name for ~userMarc Espie
2011-03-23allow scp://hostname/~user/subdir to workMarc Espie
2011-03-20document new stuffMarc Espie
2011-03-20pass url name to Ustar, for error messagesMarc Espie
2011-03-20allow Ustar to be more precise in its error messages: record positionMarc Espie
in archive, and caller can set description of file handle
2011-03-19Pass the new -c option to grotty when building manuals, to avoid ANSIIngo Schwarze
escape sequences and continue using traditional backspace escaping. Using feedback from millert@ and espie@. Tested by landry@ in bulk builds. ok naddy@ landry@ When installing this patch, make sure to upgrade your textproc/groff package to groff-1.21 before trying to build ports, because the old groff-1.15 grotty will error out when being fed the -c option.
2011-03-19I can remove duplicate flag since that's handled upwards.Marc Espie
2011-03-19put back -L in handle_options, so that it works in pkg_add/pkg_delete/pkg_createMarc Espie
prompted by jmc@, noticed by Gregory Edigarov
2011-03-19fix some name[=value] horrors;Jason McIntyre
2011-03-19Xr pkg.conf.5; from Patrick LamaiziereJason McIntyre
ok espie
2011-03-07run makewhatis during pkg_create in verbose mode.Marc Espie
tweak temp manpage generation a bit, so that it has correct names in its own directory, because makewhatis will be really pissed off otherwise.
2011-02-07Between groff-1.15 and groff-1.20.1, the .Ns macro was changed to noIngo Schwarze
longer suppress spacing when used at the beginning of an input line, and mandoc now follows the same behaviour as new groff. Thus, sweep the tree and remove useless .Ns. Most places found by jmc@; ok jmc@ kristaps@.
2011-01-31Add a full stop at the end of the sentences from finish and report.Antoine Jacoutot
ok espie@
2011-01-25prepend pkgname to ask-update prompt, so that user knows for sure whichMarc Espie
package is asking.
2011-01-23hide details of "finish" inside PackingElement proper.Marc Espie
do the font dirs, also display a message for new installed rcscripts, and if some stuff has been added to the readmes directory.
2011-01-21forgot to pass this. bug-report from "Michael W. Lucas" ↵Marc Espie
<mwlucas@blackhelicopters.org>
2011-01-14Quick fix for cwd = /Marc Espie
2011-01-10have "non quiet" mode for pkg_info -r show something...Marc Espie
postpone locking: we don't need any locks for pkg_info -r.
2011-01-09NYTProf now warns against $& in regexps, remove that one which doesn'tMarc Espie
serve any purpose...
2011-01-09add yet another check: obviously in a @depend line, if the def part doesn'tMarc Espie
match the pattern, the package has something wrong. prevents some bogus tk LIB_DEPENDS from even packaging.
2011-01-04tweak previous;Jason McIntyre
2011-01-04go all the way, put temp pages in /tmpMarc Espie
2011-01-04create tempfile directly under fake, no need to go down.Marc Espie
2011-01-03make it possible to check for a pkgspec by name, without looking at installedMarc Espie
stuff.
2011-01-03redo the object creation in a more straightforward way.Marc Espie
2011-01-03those all need newlinesMarc Espie
2011-01-03unbreak hardlinks, like MLINKS, too.Jasper Lievisse Adriaanse
ok espie@
2011-01-03broke symlinks, noticed by jasper@Marc Espie
2011-01-02add missing newline between @url and @wantlib.Federico G. Schwindt
espie@ ok.
2011-01-02create formatted manpages as temporary files we remove after the fact.Marc Espie
2011-01-02use new convention for methods with empty parameters.Marc Espie
document PrelinkStuffOnly
2011-01-02document optional prepare parameterMarc Espie
2011-01-02tidy things: use ->new more often.Marc Espie
use mkdir directly to be able to report errors in a sane way (as the File::Path interface is prone to change). allow prepare to specify its own destdir (for temp files). use state->system to report more errors. be consistent in destdir error printing.
2011-01-02kill very old idiom, I don't actually want to go thru items directly.Marc Espie
2010-12-29more stuff that uses print directly diesMarc Espie
2010-12-24pass state around.Marc Espie
2010-12-24move the handling of ldconfig to AddDelete::StateMarc Espie
actually simplifies code a great deal. It's not as if trying to avoid loading ten lines of code is a good idea.
2010-12-24handle failures from ports tree with more care.Marc Espie
this does avoid infinite loops in case of wrong plists. necessary since print-plist-with-depends CAN fail...
2010-12-22simplify some more: if it's not installed, ask the ports tree, who knows,Marc Espie
we will catch more mismatches between spec and actual packagenames ? set status during dependency check don't check when simply printing the plist, this 'fixes' a bit of port-lib-depends-check don't fatal(), error() allows for more stuff to show up
2010-12-22once we read the list, make sure it matches the dependency.Marc Espie
Otherwise, this WILL turn into an infinite loop indeed !
2010-12-21fix, as noticed by dcoppa@Marc Espie
2010-12-21simplify a bit:Marc Espie
- make find_dep_in_installed more regular - zap the {more} entry, add_dep is okay for that purpose - don't special case installed_list, provide older_names instead - make PseudoSets slightly less hackish - don't read full packinglist, prelinkstuff is exactly what we need
2010-12-20use a better strategy: ask the ports tree for the plist for packages withMarc Espie
the same pkgpath. Thus, PseudoSets need to have a real list, and pkgcreate needs to loop to solve those depends. reactivate the check
2010-12-20missed someMarc Espie
2010-12-20disable temporarilyMarc Espie
2010-12-20new check in pkg_create: walk the dependency tree for @wantlib, thusMarc Espie
preventing packages that won't install (much easier to fix that when you still have the fake tree around !) specifically, look into depend that are installed, and possibly in the fake tree: if the package does build, it requires the libraries to be around anyways, so pure RUN_DEPENDS are not an issue (and avoid old libraries, if we find wantlib only in .lib, something really fishy is going on). Reuse the Dependencies class, so we're sure to have the exact same way to find libraries. Also fix exit codes from pkg_create...
2010-12-20prepare for reuse in pkgcreate: allow not finding stuff and not failingMarc Espie
also mark as known a special package known as BUILD
2010-12-20split solver class into a base that can be reused from pkgcreate.Marc Espie
2010-12-20more refactor: errsay_libraryMarc Espie
2010-12-20more refactor: method for global_cache, add find_in_installed, separateMarc Espie
cache handling from the rest for solve_dependency