summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2004-12-12add somewhat more regular error catching code.Marc Espie
2004-12-11implement zeroes blocks detectionMarc Espie
2004-12-10sync usage();Jason McIntyre
ok espie@
2004-12-09make -f scripts work again, and document it properly in both pkg_add andMarc Espie
pkg_delete since it now works for both.
2004-12-09while upgrading, protect deletion in an eval: we've got an extractMarc Espie
package that should be registered as borked if something should go wrong (which can happen if -f update, as I just witnessed with firefox).
2004-12-07wrap pkg_add usage.Marc Espie
2004-12-07postpone check of conflicts until we have a packing-list.Marc Espie
this was an optimisation, but it doesn't make much sense: not checking the packing-list first means we don't see some errors in case of conflicts. And having the packing-list simplifies the check-for-update operation.
2004-12-07do like the manpage says, don't add a @name if we already got one.Marc Espie
should please aaron@
2004-12-06explicit clue() for people running 3.6 packages with current pkg_add.Marc Espie
2004-12-06forgot -h for pkg_info.Marc Espie
2004-12-06UsageMarc Espie
2004-12-02Add quotes to unconfuse pkg_create error message.Marc Espie
2004-12-02Vstat API changed slightly. Found out by fries@Marc Espie
2004-12-02wipe old .Xr's; ok espie@.Xavier Santolaria
2004-12-02don't try to validate_plist if not needed at all.Marc Espie
2004-12-02cosmetic: shows old and new package name, plus signatures.Marc Espie
2004-12-02make sure we don't call Update::is_needed if we're not doing pkg_add -r.Marc Espie
2004-12-01allow stuff to recreate a package from an installed CONTENTS: sinceMarc Espie
we have all the md5 and stuff, we just need to make sure the package is correct (hence verify_checksum). Add a -n option to pkg_create: this is consistent with pkg_add/pkg_delete, and with this new verify_checksum, pkg_create can be used to check that a package still matches its contents.
2004-11-27tweak very verbose output.Marc Espie
2004-11-27if the package is already installed, check whether updating it makes sense:Marc Espie
look at the context in which both packages were built. If dependencies differ, then this is a sensible update. While we're there, try harder to build a conflict list for .libs-* packages.
2004-11-27record sample/extra directories if !extra, so that SharedItems won't warnMarc Espie
if those directories are not empty...
2004-11-27be verbose if !extra, tell user what they should do manually.Marc Espie
2004-11-23fix name of libMarc Espie
2004-11-23allow for registration of libraries from an existing plist.Marc Espie
make sure lookup_libspec result is defined. allow for registering pkgpath instead of pkgname.
2004-11-22implement global repository for shared libraries.Marc Espie
2004-11-21move the system libraries registration code to SharedLibs.Marc Espie
2004-11-21pull the code that handles shared libraries (ldconfig for now) aside.Marc Espie
2004-11-21check_lib_specs -> check_lib_spec: check one spec at a time, and report on it.Marc Espie
Loop on libdepends now split lib specs by itself. Better reports, slightly more efficient, clearer. Use a local sub to factor out common code to deleting pkgspec and REQUIRING file contents. Rephrase message to say `removing dependency ON'.
2004-11-21solved_dependencies becomes a hash, more efficient.Marc Espie
2004-11-21remove .Xr's that do not belong here anymore with the new pkg_* tools;Xavier Santolaria
espie@ ok.
2004-11-20done itemsMarc Espie
2004-11-20opendir can use my variables.Marc Espie
2004-11-19tweaks;Jason McIntyre
2004-11-18unsafe operations is better than impossible to update, especially since itMarc Espie
can go on anyways.
2004-11-18document @wantlib, @depend. Provide -P and -W flags to be able to specifyMarc Espie
those on the command line instead of having to generate a separate plist.
2004-11-18support depend (similar to libdepend and newdepend) and wantlib:Marc Espie
put lookup_library code in a separate routine, and add a `harder' mode for wantlib, that will also look in system libraries, and in the full tree of dependent packages.
2004-11-18add @wantlib and @depend keywordMarc Espie
2004-11-15sort options;Jason McIntyre
add .Bk/.Ek to avoid synopsis split;
2004-11-15hit the clueless...Marc Espie
2004-11-15generate ExtraInfo from defines FULLPKGPATH, PERMIT_PACKAGE_CDROM, ↵Marc Espie
PERMIT_PACKAGE_FTP if none is available elsewhere.
2004-11-15compile patterns once, should be a slight speed up.Marc Espie
2004-11-15minimal documentation for -E.Marc Espie
2004-11-15tweaks;Jason McIntyre
ok espie@
2004-11-15say goodbye to old example code, since pkg_info now does it...Marc Espie
2004-11-15find_pkg function to iterate through pkgs, wherever they might be.Marc Espie
New -E filename option that looks for a filename through specified packages (or installed packages if no packages specified). Can be very, very slow, since it scans all packing-lists, but at least it works...
2004-11-15repair -lMarc Espie
2004-11-15clean-up: pull all option parsing together.Marc Espie
2004-11-15don't Fatal out if -e thingy -q, since we're only interested in theMarc Espie
result code.
2004-11-15oops - one more option sort;Jason McIntyre
2004-11-15sort options; whitespace;Jason McIntyre
ok espie@