History log of /openbsd/usr.sbin/pkg_add/OpenBSD/Replace.pm (Results 1 – 25 of 92)
Revision Date Author Comments
# 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 ...


# bbecd1b0 28-Jun-2021 espie <espie@openbsd.org>

remove old "paranoid" option, I'm pretty sure nobody uses it.

refactor the code into figuring out simple updates: if we don't have
any @execs but just @tags, we can probably do something simpler wrt

remove old "paranoid" option, I'm pretty sure nobody uses it.

refactor the code into figuring out simple updates: if we don't have
any @execs but just @tags, we can probably do something simpler wrt
temporary files and temporary filenames, which should speed up texlive
updates significantly.

(the tempfile code is not there yet, just the check for safe updates)

show more ...


# fb75580a 27-Feb-2018 espie <espie@openbsd.org>

sanitize say/print output further
- have confirm go thru f() every time (adding
confirm_defaults_to_no/confirm_defaults_to_yes apis... verbose but effective)
- check DESCR in pkg_create, as suggested

sanitize say/print output further
- have confirm go thru f() every time (adding
confirm_defaults_to_no/confirm_defaults_to_yes apis... verbose but effective)
- check DESCR in pkg_create, as suggested by sthen@
- don't do the whole safe dance when not needed (optimization)
- misnamed allowed -> forbidden (schwarze@)

This effectively prevents DESCR from using diacritics. Sorry!
Ingo makes a compelling argument that using UTF8 while installing a new
box is currently fairly dangerous, considering tty setups.

This affects about 10 ports at the moment, all of which were fixed before
this commit.

show more ...


# eb8b7390 29-Nov-2014 espie <espie@openbsd.org>

simplify the interactive code into its own little object with simpler
interface, so that most is it interactive tests vanish from the main
program.


# 77dbc129 11-Feb-2014 sthen <sthen@openbsd.org>

s/anyways/anyway/, ok espie@


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

simplify code: always extract, then install, so that initial installations
and updates are more similar.


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

bump copyright to 2014


# 4119eea1 07-Jan-2014 espie <espie@openbsd.org>

let's verify all checksums.
I forgot about special files, since they've been extracted early,
but they can be checked nonetheless.

(prevents people from tampering with DESC and the like)


# 146faf33 28-Apr-2012 espie <espie@openbsd.org>

zap blank spaces


# 67515dec 23-Aug-2011 espie <espie@openbsd.org>

zap old INSTALL/DEINSTALL stuff, it's been deprecated for 3 years, and removed
from pkg_create for over a year.


# da93afbf 25-Jun-2011 espie <espie@openbsd.org>

even with tied files, still arrange to apply set_modes.

issue noted by halex@


# 24cff5d0 20-Jun-2011 espie <espie@openbsd.org>

in an UpdateSet, match new files with old files based on their sha256.
avoid extracting again identical files, leading to less file system churn.
put in a few failsafes (size check) for people with f

in an UpdateSet, match new files with old files based on their sha256.
avoid extracting again identical files, leading to less file system churn.
put in a few failsafes (size check) for people with fubar'd file
systems (hey oga@).

The more often you update, the more you gain. Over 6 months, about one
out of five files doesn't change.

apparently, improves things a lot on slow fs, as said landry@ and sthen@.
tested by quite a few people.

show more ...


# 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...


# a769f2a7 28-Oct-2010 espie <espie@openbsd.org>

:-P


# 000ce162 27-Oct-2010 espie <espie@openbsd.org>

initial scaffolding for @rcscript: for now, acts like normal files,
but allow absolute pathnames (treat that as an implicit @cwd).


# 3f4b31cc 28-Jul-2010 espie <espie@openbsd.org>

more explicit message


# b0dfb814 30-Jun-2010 espie <espie@openbsd.org>

allow say and errsay to work without parameters, as it's ways common.
create verbose_system up in state, because it makes sense without verbose.


# a3f853c2 30-Jun-2010 espie <espie@openbsd.org>

whitespace cleanup


# 1573d594 30-Jun-2010 espie <espie@openbsd.org>

differentiate more between @exec and @unexec


# 7e83eca3 09-Jun-2010 espie <espie@openbsd.org>

ui changes: go thru a state object for most printouts


# a409537d 04-Jun-2010 espie <espie@openbsd.org>

move code around, so that commands can be used as modules.
pkg becomes the start hub, which does nothing except require the
correct module.
Saner code wrt Add/Delete, and more sharing.


# d57bb46a 10-May-2010 espie <espie@openbsd.org>

whitespace fixes


# 33efc49f 22-Mar-2010 espie <espie@openbsd.org>

clean up the ProgressMeter code, create a specific class if a Term
is around.
start using stuff from termcap, specifically, cleareol, and move to hp.
use the full line when we can, cram 100% if we ca

clean up the ProgressMeter code, create a specific class if a Term
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.

show more ...


# ce9f255c 18-Jan-2010 espie <espie@openbsd.org>

don't bother checking for exec and displaying them if we're not verbose
and we have -D update on.


# 2e7ad166 11-Jan-2010 espie <espie@openbsd.org>

move the oldlibs code into its separate file, prior to fixing it.
allow replacement if it only touches partial or libs


1234