summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2007-02-24UI improvement: in case the disk overflows, let tally give informationMarc Espie
about the extra size needed. In validate, mark the overflow and call tally later. .e.g., Error: /dev/wd0f is not large enough (/usr/local/lib/libkparts.so.4.0.0) Error: /dev/wd0f is not large enough (/usr/local/lib/libkrosscore.so.4.0.0) Error: /dev/wd0f is not large enough (/usr/local/lib/libktexteditor.so.4.0.0) Error: ... more files do not fit on /dev/wd0f /dev/wd0h: 97 bytes /dev/wd0f: 337090852 bytes (missing 78473 blocks)
2007-02-22avoid undefined. closes pr5386.Marc Espie
2007-02-22avoid comparing undef to 0: perl's ioctl returns `true' 0s, so that thisMarc Espie
idiom works.
2007-02-22Problem noticed by Henrik Hellerstedt <henrik@kohina.net>Marc Espie
Fix a really fun bug in pkg_delete: solve_installed_names has to normalize the list of names so that comparing its size vs. its transitive closure is meaningful. Use the classical hash + list to preserve the order. While we're there, use the hash to avoid asking the same questions again and again. After some back&forth with bernd. okay bernd@
2007-02-17ask_list() is in OpenBSD::Interactive, not OpenBSD::ProgressMeterNikolay Sturm
2007-02-08Fix a typo. 'Yes, of course.' espie@Bernd Ahlers
2007-02-04back-out extra commitMarc Espie
2007-02-04protect `normal' installs against archive burps.Marc Espie
2007-02-04streamline messages for interactive mode, no need to repeat the same listMarc Espie
twice.
2007-01-29Three lines in SYNOPSIS are too much. Use only one line and sync usage.Bernd Ahlers
prodded by & ok jmc@
2007-01-23Introduce -Q option:Bernd Ahlers
-Q query Show all packages in $PKG_PATH which match the given query. Example: $ pkg_info -Q bogofilter bogofilter-1.0.3-qdbm (installed) bogofilter-1.0.3-db4 bogofilter-1.0.3-sqlite3 bogofilter-1.0.3 $ Manpage help from sturm@. ok sturm@, steven@, espie@
2007-01-01sync usage();Jason McIntyre
2007-01-01- standard listJason McIntyre
- zap extraneous list item - sort options list - kill trailing whitespace
2007-01-01commit really old stuff that lets pkg_mklocatedb recordMarc Espie
pkgpath/pkgnames/both.
2006-12-16ltlib marker for libtool convenience library.Marc Espie
Long-term, we want to be able to build stuff without installing dependencies `for real', and pkgconfig and libtool files keep getting in the way, so pkg_* will have to take control, sooner or later...
2006-12-10don't complain about uid/gid of symlinks.Steven Mestdagh
"makes sense" sturm@, "go for it" espie@
2006-12-05use lstat for symbolic links; fixes uninitialized uid/gid.Steven Mestdagh
ok espie@
2006-12-04add rcompress methodMarc Espie
2006-12-02allows us to mark *.pc files as PkgConfig.Marc Espie
This will be useful for some `normalization' work (remove ports directory, and replace /usr/local with DEPBASE or some such, so that building without installation works).
2006-12-01handles continuation lines and comments.Marc Espie
2006-12-01Fixes parsing of variables/delimiters, so that we classify like pkgconfig.Marc Espie
Augment the Requires parser to deal correctly with comparisons.
2006-11-30apply some normalization to some properties while reading or writing,Marc Espie
for instance, parse Requirements correctly, and simplify Libs before writing. We normalize Libs before writing because it's more efficient.
2006-11-30some *.pc files have variable= value, with a space.Marc Espie
2006-11-30adjust (C), noticed by matthieu.Marc Espie
Note that this lives here because pkg_create is going to use it to normalize *.pc files at some point...
2006-11-29add compress_list, allows for empty lines consisting of spaces...Marc Espie
2006-11-29let compress filter out stuff, add method add_bases, make sure write_fhMarc Espie
writes to fh.
2006-11-29+OpenBSD::PkgConfigMarc Espie
2006-11-29handle pkg-config files.Marc Espie
2006-11-17don't return undef, use plain return.Marc Espie
(return undef is only false in a scalar context) found my perlcritic, one of the few issues I agree with...
2006-11-17Handle EOF in interactive mode. Report and initial diff from Antti HarriBernd Ahlers
via tech@. Thanks! ok espie@
2006-11-12completely uniform setupMarc Espie
2006-11-12print stuff to the correct file handleMarc Espie
2006-11-11simpler/better progress printMarc Espie
2006-11-11-P option: prepend pkgpath instead of pkgname.Marc Espie
-p option: use the continuation code from OpenBSD::PackingList in a sneaky way, so that we can read all packing-list contents in one go from a make print-plist-contents in /usr/ports. Allows building a located database from the ports tree without needing to build any packages.
2006-11-07zap the stat part related to file type, only keeping the usual modes.Marc Espie
2006-11-05warn for any weird stuff in packages.Marc Espie
Namely: - anything that doesn't belong to owner root/bin, group bin/wheel must be annotated in the packing-list. - any file setuid, setgid, writable by others must be annotated in the packing-list. These warnings must be fixed. They will become errors in the near futur.
2006-10-18symlinks marked @extra need special care for deletionNikolay Sturm
ok bernd, espie
2006-10-17add proper version handling, not really used yet.Marc Espie
2006-10-17add -F conflicts: force installation in the presence of registered conflicts,Marc Espie
provided nothing else happens (like, huh, the presence of actual conflicts between files). Allows nikolay@ to work with redhat/base and fedora_core at the same time.
2006-10-15tweaks;Jason McIntyre
2006-10-15Normalize query options: make them not stop the package generation unlessMarc Espie
-n is also mentioned. Do some devious speed tricks in case -n && -[qQ] (forgetting to checksum files, for instance), so that it can be used for batch jobs.
2006-09-16fix error message parsing, okay deraadt@Marc Espie
2006-08-30U[Ss]tar -> ustar, as per posix and our pax docs;Jason McIntyre
from ross l richardson (pr #5216)
2006-08-25add PackingOld when replacing, helps people with really old installs...Marc Espie
2006-08-11typo in commentBernd Ahlers
2006-08-05actually perform error-checking on every read/write.Marc Espie
2006-08-01If pkg_delete is trying to remove more than one package at the same time andBernd Ahlers
is finding some dependency problems, explain which package depend on what. (with -v, -i or '-F verbosedeps') idea & ok espie@
2006-07-31cosmetic: comments, and better method name.Marc Espie
2006-07-31add missing licence info.Marc Espie
use strict/warning where applicable, and fix relevant warnings.
2006-05-26make pkg_add exit gracefully if it cannot read from a file handle, whichSteven Mestdagh
happens when the ssh connection could not be established. ok espie@