History log of /openbsd/usr.sbin/pkg_add/OpenBSD/Update.pm (Results 1 – 25 of 171)
Revision Date Author Comments
# 35d93a1a 07-Oct-2023 espie <espie@openbsd.org>

track firmware separately, since those will appear as uptodate for us


# 039cbdaa 13-Jun-2023 espie <espie@openbsd.org>

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message like "hey, the number of params is wrong"
it is a fringe case I didn't run into and should be easy to fix.

show more ...


# d47afce4 27-May-2023 espie <espie@openbsd.org>

yeah, yeah, those names are horrible


# 3a50f0a9 28-Dec-2022 jmc <jmc@openbsd.org>

spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech


# 396f4403 29-Dec-2019 espie <espie@openbsd.org>

partial backout of 1.166: we still need to compute the pkgname without the
repo for debug packages, but we need the full path for the handle (for now)

fixes regression noticed by bluhm@


# e9bfaee7 08-Dec-2019 espie <espie@openbsd.org>

close the gap for the "final" hint that did not install debug packages
(coincidentally, that's the pattern used for install from ports)

This just requires always passing pkgname thru parse to extrac

close the gap for the "final" hint that did not install debug packages
(coincidentally, that's the pattern used for install from ports)

This just requires always passing pkgname thru parse to extract the right
name.

There's definitely a bit of code to clean up in pkg_add afterwards :/

show more ...


# 92bd379c 16-Nov-2019 espie <espie@openbsd.org>

preliminary addition of -d option (semantics: add debug packages if
they're present along the packages we want to add/update)
probably not perfect yet, but 100% a no-op if it's not used, so won't
bre

preliminary addition of -d option (semantics: add debug packages if
they're present along the packages we want to add/update)
probably not perfect yet, but 100% a no-op if it's not used, so won't
break existing usage.

show more ...


# 8b437e75 08-May-2019 espie <espie@openbsd.org>

better signatures.
- pass state along to be able to do proper errsay instead of raw printing.
- compare VERSION markers first, because they're supposed to trump
everything else.

(todo: evaluate -v d

better signatures.
- pass state along to be able to do proper errsay instead of raw printing.
- compare VERSION markers first, because they're supposed to trump
everything else.

(todo: evaluate -v diagnostics for version bumps)

okay sthen@

show more ...


# fb5688e8 22-Oct-2018 espie <espie@openbsd.org>

document that some error should happen


# 2d4feb81 04-Jan-2015 espie <espie@openbsd.org>

tweak the ntogo messages slightly so that they work better in all situations


# bbe3831f 02-Feb-2014 espie <espie@openbsd.org>

simplify how "kept" packages are handled. First, we never need their
full plist, just their update_info. Also, the routine for move_kept is
pretty much always the same, so fold it.

Finally, delay fu

simplify how "kept" packages are handled. First, we never need their
full plist, just their update_info. Also, the routine for move_kept is
pretty much always the same, so fold it.

Finally, delay full plists in create_old.

show more ...


# 46373398 01-Feb-2014 espie <espie@openbsd.org>

no need to test for plist, we get the conflict_list since we have update_info


# 8b6f798c 24-Jan-2014 espie <espie@openbsd.org>

subject -z hints (fuzzy update) to quirks' tweak_search.
Reminded by sthen@
This solves the 5.4 -> 5.5 delete/reinstall gap for changed pkgnames.


# afe6de13 11-Jan-2014 espie <espie@openbsd.org>

a bit of spring cleanup in advance: scrape old stuff that's not really
used.


# 45019a4a 09-Jan-2014 espie <espie@openbsd.org>

bump copyright to 2014


# 3f7ff4b1 05-Jan-2014 espie <espie@openbsd.org>

have -DFW_UPDATE set @option firmware on downloaded firmwares.
- normal pkg_add -u should ignore them
- pkg_delete will ask about deleting them

okay landry@


# 6fe055f5 25-Dec-2013 espie <espie@openbsd.org>

fix autoloading of quirks: don't try to run quirks while processing the
quirks set, as we may accidentally load the old one.
also, in case we can't load quirks, report if quirks should be there,
e.g.

fix autoloading of quirks: don't try to run quirks while processing the
quirks set, as we may accidentally load the old one.
also, in case we can't load quirks, report if quirks should be there,
e.g., compilation error, without regard to verbose status

show more ...


# 875cde4b 25-Dec-2013 espie <espie@openbsd.org>

a bit more scaffolding for running quirks. In particular, once quirks
have been loaded, complain loudly if something doesn't work.
(and complain when quirks don't load in !verbose mode)


# 2f37e678 13-Oct-2012 jeremy <jeremy@openbsd.org>

In update verbose mode, when skipping an update candidate due to an
unmatching pkgpath, if no valid update candidates are found, print that
we are skipping the update candidate and all pkgpaths for b

In update verbose mode, when skipping an update candidate due to an
unmatching pkgpath, if no valid update candidates are found, print that
we are skipping the update candidate and all pkgpaths for both the
currently installed package and the skipped update candidate.

This is designed to help diagnosing issues when ports move locations
in the tree, but the necessary @pkgpath entries are not correctly added
to the PLIST.

Much help and OK espie@

show more ...


# 42cea554 28-Apr-2012 espie <espie@openbsd.org>

cleaner code: only wrap the call to quirks itself inside an eval.
anything else that could fail shouldn't be inside the eval.
create an object instead of saying "hey we're cool, let's let other
stuff

cleaner code: only wrap the call to quirks itself inside an eval.
anything else that could fail shouldn't be inside the eval.
create an object instead of saying "hey we're cool, let's let other
stuff break horribly".

show more ...


# c3384a8a 06-Feb-2012 espie <espie@openbsd.org>

don't abort if that info is not yet available...


# db099e94 26-Aug-2011 espie <espie@openbsd.org>

zap fatpackages. nobody actually uses them.
accordingly, locations do not need to track architecture.


# 7d4e60de 19-Jul-2011 espie <espie@openbsd.org>

tag fuzzy stuff for manual-installs too


# 861c3ddf 19-Jun-2011 espie <espie@openbsd.org>

another missing message


# 85d1f632 24-Dec-2010 espie <espie@openbsd.org>

handle failures from ports tree with more care.
this does avoid infinite loops in case of wrong plists.
necessary since print-plist-with-depends CAN fail...


1234567