Age | Commit message (Collapse) | Author |
|
versions back...
|
|
makes it easier for people to recover after a disk crash that
leaves /var/db/pkg half-empty.
|
|
Allows saying pkg_info -a -M, and not having 100s of empty lines
corresponding to all packages without a MESSAGE.
|
|
|
|
- mark all regexps I can with /o if they can be compiled once.
- turn $o->method() into $o->method
- remove unneeded prototypes
- reduce split /re/ into split "string" where possible.
|
|
i.e those who are not a dependency of another package.
useful to show the packages you actually use.
ok espie@
|
|
uninstalled stuff.
|
|
|
|
problem noticed by deanna@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
much shorter.
|
|
now that it works.
|
|
reword the introduction to the stuff originally from FreeBSD to clarify
slightly.
|
|
prodded by & ok jmc@
|
|
-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@
|
|
package.
ok espie@
|
|
optimization: store dir into state earlier, so that do_script and
other stuff can have access to it.
|
|
subdirlists.
Document new option.
"commit" espie@
|
|
|
|
pkghandles to avoid creating directories.
Use PackageRepository::Installed to make code symetric.
|
|
Solves update issues where the pkgpath changed
|
|
|
|
|
|
* move the signature code to a packing-list method, prepend the pkgname.
* depend on distant listings, cache these systematically.
* cut the PKG_PATH at :/ systematically, much simpler than parsing URLs.
People should get used to trailing /s.
* let pkg_add -u actually run the update.
* check for signature in more places, for instance, let pkg_add installed_stuff
be a void operation.
* grab enough stuff during updates to check signatures, so that pkg_add -u
can report updates that are not needed right away, instead of waiting
for the more confusing `trying to update'
* beginning of @module support.
* @pkgpath support, including updates.
* systematically expand stems when applicable.
* use visitors systematically in pkg_info.
* pkg_info -S reports signature.
* remove hardcoding of categories in PackingList, so that future modules
will be able to expand them.
* add @updateset and @incompatibility keywords.
|
|
|
|
Transparently handle both package types, until everyone has
transitionned to new style.
Reasons for the change:
- comment and desc are never written independently
- access to comment necessitates a file read anyways.
- shaves one inode and (mostly) one block from each installed package.
Since this is /var, and there is often a lot of stuff going on in a small
partition, this helps.
Done after griping from tedu@, okay'd pval@
|
|
message.
Display the lock message on stderr anyways, so that we don't disturb
normal displays.
postpone locking after we know about -q in pkg_info's case.
Display command line if pkg_create fails, so that we can see what arguments
it found in bsd.port.mk.
|
|
design checked with millert@, relying on process termination for unlock
at his suggestion.
Perf optimization: don't try to reinstall installed packages in kitchensink
mode if !-r.
|
|
|
|
partial-<pkgname>.n if needed.
Make borked_installation take a message, to show installation/deinstallation
issues correctly.
Fix handling of ^C: this may lead some system calls to return early, thus
registering as errors: so always mark the last file as done, so that borked
installation will register it correctly.
Kill packing-list cache for anything but depends: we've got a global cache
of libraries now (use it in pkg_add).
Make almost everyone look at $main::not, so that we can call
register_installation
to_installation
RequirementList->add/delete
safely.
Simplify $not logic accordingly, do thing much more closely to what would
happen without -n.
This should allow pkg_add/pkg_delete -n to handle most nasty cases correctly
now, since all the relevant information is kept internally in a compact
format:
- register of shared libraries
- global register of conflicts
- cache of depends.
|
|
|
|
|
|
|
|
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...
|
|
|
|
result code.
|
|
|
|
-A shows them.
|
|
|
|
use these to simplify all those packing lists manipulations.
demote non-root detection to a warning in -n mode:
fix a couple of minor bugs, of stuff that was run in -n mode and should not.
Namely, manpages were indexed/unindexed (ouch) and tempfiles were creating
during updates.
|
|
PKGPATH, e.g., pkg_info -e x11/kde/base3 will tell you which version
(if any) of kdebase is installed.
Necessary for achieving updates.
|