Age | Commit message (Collapse) | Author |
|
discussed with lots of people, tested by naddy@,
"move fast" deraadt@
|
|
up by Theo about what should be in there...
|
|
|
|
move log operations into their own file, since they're used outside of
pkg_add/pkg_delete by pkg_check.
move all system stuff to State, so that printing can be localized/controlled.
Create primitives _print, _errprint, _fatal for overriding output, without
localization.
Accordingly, move a lot of code out of Error. We should also move Unlink and
Copy eventually.
|
|
|
|
|
|
|
|
pkg becomes the start hub, which does nothing except require the
correct module.
Saner code wrt Add/Delete, and more sharing.
|
|
|
|
is around.
start using stuff from termcap, specifically, cleareol, and move to hp.
use the full line when we can, cram 100% if we can.
(this should flicker much less on slow terminals).
clean-up the install-and-progress bits to be in progressmeter, this removes
some code.
have pkg_create follow the same pattern as the others, with a state.
This allows us to unify error messages a bit.
|
|
|
|
allow replacement if it only touches partial or libs
|
|
add comparison functions to Packagenames that return undef when it matters.
|
|
ask just once per-set for exec/unexec.
Todo: forward-deps could be merged, but this might lead to dependency
loops, we have to detect them and act first
Todo: rewrite the other part of forward dependency handling (dep adjustment)
|
|
into a common AddDelete package... lots of identical options and handling,
actually...
|
|
solve dependencies with stuff that we want to update later...
create that information, to be used...
|
|
code before I go further....
|
|
smime detached signatures.
|
|
present, it will delete the source files. Found by Steven Roberts.
|
|
with additional CLEANFILES from theo.
|
|
|
|
so that people finally get a jump-start at figuring out code that's still
evolving,..
|
|
|
|
currently scattered all over the place.
|
|
okay millert@, deraadt@
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the -r option), and the find_update code moves to Update.pm, so that it doesn't
get parsed if -u is not used.
Also make the has_new_sig and uses_old_libs local methods of PackingList,
as it is their natural API.
Reorg a few more routines so that they can be found by pkg_add and by
Update.pm.
May need to split off more stuff to avoid parsing everything...
|
|
|
|
Some tweaks by jmc@
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
reuse it in pkg_info or lib-depends-check.
|
|
The archive will unpack correctly with tar, except that those names won't
be preserved.
The wrapper checks names against the packing-list to restore the correct names
on the fly.
Put into a separate file, as it is an extension of Ustar proper, and we're
going to do more archive checking in the future.
Lots of tests by Bernd Ahlers. Comments by Tom Cosgrove.
|
|
okay naddy@, jmc@
|
|
problem noticed by sturm@
|
|
|
|
|
|
|