Age | Commit message (Collapse) | Author |
|
|
|
|
|
Add more levels, specifically, lots of info regarding individual files only
visible if -vvvvv.
Make -n display the same stuff as normal (need -n -v to display more stuff).
Introduce -s, "size-only", turns on -n and does skip any extraction.
Sprinkle handlers for SIG_INFO, not really nice yet.
Note that -n is non functional for complex updates, because of caching
issues I have to fix.
|
|
|
|
as well.
|
|
|
|
Also: reset lastdisplay on clear, and don't clear twice.
|
|
instead of piping a lot of stuff to STDERR.
Go through state->print for most messages, so they will NOT do weird things
with the progressmeter.
Use a ->say shortcut which does the same thing that perl 5.10 say does...
|
|
(e.g., we're logging information for later).
|
|
actual errors !
|
|
a package tagged as 'always-update' will have its full packing-list, complete
with checksums, as signatures, so it will always get updated, even when the
version number doesn't change, as long as it's not the same package.
|
|
It's likely there will be some fallout, but it's getting a bit too large
to keep around.
This does kill a few very old oddities as well.
|
|
smime detached signatures.
|
|
Fix read/write of digitalsignature stuff.
don't integrate manual-installs, since it's highly variable.
create correct category for digitalsignature, so it gets written out.
|
|
behavior correctly. Be consistent, use the same naming scheme.
problem noticed by Brad Smith.
|
|
This is actually useful for update-plist...
|
|
switch the default digest to sha256.
It's been there for a few weeks, all package tools cope with both formats,
now is the time for the switch.
|
|
lexical scoping is so much neater (courtesy of perl 5.10)
|
|
pkg_add becomes mostly independent of the type of checksum stored.
separate md5 into an abstract OpenBSD::digest class and an md5 subclass
with specific methods to compute checksums and serialize results, and create
an sha class that does the same thing with sha256 (with a base64 serializer)
|
|
make definitions migrate to the top of the packing-list,
allow solver to find tag on the correct name (will look at full definition
later).
|
|
behavior for @bin object).
|
|
|
|
|
|
|
|
mkfontscale too (and remove fonts.scale on package removal)
discussed with matthieu@ and espie@ weeks ago
"seems fine" pyr@, ok espie@
|
|
into some directories.
a few minor style tweaks, such as using a nice join(map()) to build some
strings.
|
|
|
|
|
|
|
|
Only one tag for now: no checksum.
Will supersede @comment no checksum eventually.
Benefit: errors out in case of a typo.
|
|
@exec-always @unexec-always
@exec-add @unexec-delete
@exec-update @unexec-update
with the obvious semantics that *update are only run during updates,
and *add/delete are only run during `pure' additions/removals.
This should solve the problem of those packages that `lose' manual
configuration when you update them (e.g., all the mod_xxx apache stuff
and postfix).
caveat: you will need to go through one finaly broken update before the
new stuff kicks in.
|
|
|
|
months now), register lastfileobject for future changes, make a common
class for uniqueoptions.
|
|
do append \n on warn.
Fix the two cases where the temp dir vanished too soon: not copying +DESC
should have been apparent. Not finding a +DISPLAY file is not a reason for
burping all over the place.
|
|
make_deep_copy.
tweak keep_old_files so that we set the pkgname later, when it won't
cause any error to have duplicates in there.
|
|
what matches. Get rid of $`, $', $&, which encur a performance penalty.
(not yet done on PackageName and PkgSpec).
|
|
Put the directory *last* as it can be empty, which breaks havoc with tests.
|
|
do the same thing again and again...
|
|
arguments. Repair...
|
|
stop recognizing @comment MD5: as special.
|
|
- 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.
|
|
ldconfig -R
|
|
|
|
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.
|