Age | Commit message (Collapse) | Author |
|
longer exist. The stuff has been removed already anyways, this just makes
spurious warnings while deleting partial packages.
Also use auto-vivification, like we do everywhere else.
|
|
remove last traces of MODULEs.
|
|
Deprecate INSTALL and DEINSTALL, write out warnings in pkg_create.
Clean up some more old cruft
|
|
able to use it in other cases.
|
|
already installed in a hash, and do a shallow copy of the list when
necessary, using make_copy.
This removes a lot of action-at-a-distance in packing-list elements.
|
|
are registered in a hash. This will be used to create borked packages in
a much simpler way.
Also, set_pkgname, so that I don't have to remember whether this
packing-list already has a name. Useful when copying stuff over.
|
|
get defined.
Simplify and clean-up register_installation: everything is in the packing-list
so don't pass other arguments. Do not copy arbitrary info_names objects, but
use a copy_info visitor which copies exactly what files are around.
Use the stored infodir to locate DISPLAY and INSTALL files.
|
|
|
|
totally irrelevant.
Add a new property to packing-lists: infodir, and use it to compute fullnames
for special files.
Once this is properly synchronized, we can tie infodir to packing-lists, and
remove it from the state...
|
|
|
|
available.
|
|
Use autovivification on stuff to remove.
|
|
and figure out how to process manpages.
|
|
if a pkgpath is hinted at, then we build that package, and we delegate
to the corresponding File: repository.
Some XXX: we need to unlock the database temporarily, as the build
*requires* shared access to stuff that is going on (and possibly write
access for installing subpackages, so this cannot work 100% yet).
Still, this allows the transparent build of one single package, at least.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remove ($) prototypes which are more confusing than anything else.
|
|
Call it OO, so that we can specialize it if we ever need it.
Be more explicit about parameters.
|
|
|
|
print them sensibly.
|
|
|
|
|
|
|
|
much shorter.
|
|
|
|
by default.
|
|
|
|
things.
We still recognize @ignore in packing-lists for now, but we don't handle
it. Not that register-plist has smart enough comparison functions that
it doesn't care about @ignore at all...
|
|
`recursion' by not writing it out. also remove PackingList::write,
since it's a simple visitor.
|
|
reword the introduction to the stuff originally from FreeBSD to clarify
slightly.
|
|
|
|
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...
|
|
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).
|
|
(return undef is only false in a scalar context)
found my perlcritic, one of the few issues I agree with...
|
|
should. Broke md5.
|
|
and remove any special code from Factory.
As it's simpler remove local variables.
|
|
|
|
- make Newuser and Newgroup subclasses of Newauth, so that code can be shared.
- add property type() for these, that expands to user/group
- add property to SpecialFile() that says whether this is executed on
add/delete, so that we can check for noexec fs and error out early on these.
|
|
into partial plists until they've gone through an actual install.
Prevents partial replacements from destroying genuine links in packages
when they get uninstalled.
|
|
* 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.
|
|
|
|
not only while adding packages.
Add FatOnly filter, which will be used to get information from packing-lists
to select the correct packing-list from a fat package (e.g., @arch and @name).
|
|
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.
|