Age | Commit message (Collapse) | Author |
|
|
|
|
|
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@
|
|
not already there, and remove them on deinstall.
|
|
use System more or less everywhere.
prepare to delete info directories properly.
|
|
ldconfig, directory removal, manpage handling, and fontdir handling
always happen.
|
|
|
|
cosmetic tweak: do not show a space after a keyword without args.
dir support reworked: keep clones() of dir objects, and call cleanup/reload
routines at end.
@mandir/fontdir support:
both mandir and fontdir remove extra files on delete.
@fontdir creates alias files, runs mkfontdir, and uses fc-cache.
|
|
|
|
|
|
failing makewhatis should be a warning at best.
|
|
Note: requires you to update makewhatis to work.
|
|
- runs ldconfig to find out search library path.
- if library is in path, mark directory for updating cache.
- run ldconfig when needed, e.g., right before executing something that
might depend on the library.
Doesn't handle destdir case yet.
|
|
|
|
Don't bother deleting it if it's not there.
|
|
|
|
- all files go through FileBase, all directories go through DirBase.
- dirclass() is used to switch classes based on final /, so that
@sample, @extra, and @file all take directories as well.
- set NoDuplicateNames() more thoroughly.
- make sure all no-default-conflict objects are correct.
compute_fullname() checks for absolute paths, allowed for @sample and
@extra.
lastfile only gets set for actual files.
special names like INSTALL are only checked for normal files.
add a CVSTag class for @comment $OpenBSD$, so that these get sorted first.
Changes for make-plist rewrite:
clone() method that can create copies of all hash objects, to specialize
if needed.
add_object() method so that add() is now new() followed by add_object()
for most objects (useful for cloned objects).
Check that plist has a name in pkg_create, allowing PackingList to write
unnamed plists.
|