Age | Commit message (Collapse) | Author |
|
pkg_* bits;
ok espie@
|
|
|
|
* 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.
|
|
|
|
ditch this test, pkg_delete -n should no longer loop indefinitely.
|
|
put an # XXX comment so I won't be tempted to clean it again.
|
|
to pretend cleaning it up).
|
|
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.
|
|
okay pvalchev@, naddy@, marco@, deraadt@
(keep -f around for the transition, will scrap it soon)
|
|
some dependency got badly adjusted.
|
|
|
|
don't want to load RequiredBy all the time).
Remove a few $state->{not} tests that are no longer needed.
pkg_add -n / pkg_delete -n should work much better when they need to
handle multiple dependencies.
(todo: kill plist caches, finish replacing with specialized caches like
libraries).
|
|
|
|
|
|
|
|
|
|
document the new stuff, partial reorder of options.
|
|
directly. Optimize for !wantarray, by telling whether the list is empty or not.
prepare for a second similar list (REQUIRING) that will replace pkgdep, since
pkg_add -r spends a hell of a lot of its time reading/writing long
packing-lists...
Use the simplified interface.
Remove quite a few tests that the RequiredBy list is non-empty that do
nothing but obfuscate the code: just deal with the damn list already.
|
|
|
|
|
|
change prototype of validate_plist, ditch globals cdrom_only and ftp_only
(stash this into state).
Use Warn properly.
|
|
|
|
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.
|
|
don't enable the progress meter if a very verbose mode is on.
|
|
end exclusively now.
|
|
|
|
reruns ldconfig -R (okay, we don't check that -m would be enough, so what ?)
First hooks for -r: check that replacement should work.
|
|
be usable by pkg_add -r.
|
|
|
|
|
|
- It will be used after deletion/adding during updates.
- We might avoid loading it if a package contains no new directories.
Actually a lot of packages don't use it.
|
|
(and use it).
Optimisation: don't clone() directories
|
|
|
|
the reading of remaining stuff from installed packages, then the
cleaning-up as it progresses.
|
|
not active unless you specify -x for pkg_add/pkg_delete.
(option is bound to change)
|
|
Be much terser by default, start showing dependency information and
various things only with at least one -v.
Build a `flattened tree' of dependencies information in pkg_add, and
show why we install a given package (idea from deraadt@).
|
|
fix typo.
|
|
|
|
|
|
separate distinct packages.
|
|
Adjust stuff so that pkg_add can run makewhatis just once.
pkg_delete cannot, since it has to have the manpages around still
to remove them...
|
|
Common option for not running scripts: -I for both pkg_add and pkg_delete.
|
|
|
|
|
|
removal without having to run a DEINSTALL script...
|
|
all files installed from templates.
|
|
them along with directories, if extra.
|
|
|
|
soon.
|
|
problem noticed by sturm@
|