History log of /openbsd/usr.sbin/pkg_add/OpenBSD/Subst.pm (Results 1 – 25 of 26)
Revision Date Author Comments
# 77679933 25-Oct-2023 espie <espie@openbsd.org>

okay, that one ought to work.
Recognize + only right before =


# 7e7e7ff7 24-Oct-2023 naddy <naddy@openbsd.org>

revert Subst.pm r1.24 again, it breaks package creation

'+' is a widely used character in LIBxxx_VERSION, e.g. LIBFLAC++_VERSION.
Making it illegal breaks numerous packages.


# 618300a0 23-Oct-2023 espie <espie@openbsd.org>

sorry, somehow I did redo this line badly and didn't retest


# 6c70526f 23-Oct-2023 tb <tb@openbsd.org>

Revert Subst.pm r1.22. It broke ordinary pkg_add usage


# 41302357 23-Oct-2023 espie <espie@openbsd.org>

add some limited capability to -DVAR+=value
to be used with REGRESSION_TESTING, where it's somewhat inconvenient to
know the full list in advance.


# a67807ea 20-Jun-2023 espie <espie@openbsd.org>

tweak fragment handling error messages a bit
don't pass parameters we don't need


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


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

more descriptive comment


# 37530f25 05-Jul-2019 espie <espie@openbsd.org>

add the strerror to the error message


# f09540f4 21-Jun-2016 espie <espie@openbsd.org>

pass file name thru to Subst for better error messages.
reported by Adam Wolk


# b62674eb 18-Mar-2014 espie <espie@openbsd.org>

remove $_ usage that warns under perl 5.18


# ce5a451e 13-Nov-2011 nigel <nigel@openbsd.org>

The pkg_subst / SUBST_CMD has caused issues for some ports where
the $\ in files was replaced by $. Now only removes the \
in $\{[A-Za-z_]

Ok espie@


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


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


# 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


# e9a45af2 05-Jun-2010 espie <espie@openbsd.org>

have subst return a handle to written file


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

whitespace fixes


# 0fbefedd 10-Nov-2009 espie <espie@openbsd.org>

bad espie: use strict/warnings consistently, and fix two nits and two
actual errors !


# 294e3aad 20-Oct-2008 espie <espie@openbsd.org>

Say goodbye to local $_
lexical scoping is so much neater (courtesy of perl 5.10)


# 19bafd84 09-Jun-2008 espie <espie@openbsd.org>

allow direct copy of fh to another


# 5f85e236 07-Apr-2008 espie <espie@openbsd.org>

typo, fix fragments


# 0dcd5f0c 07-Apr-2008 espie <espie@openbsd.org>

tweak a bit, allow ^ to occur at beginning of variable name


# faf968f3 07-Apr-2008 espie <espie@openbsd.org>

likewise for the hash itself


# 86895186 07-Apr-2008 espie <espie@openbsd.org>

I should know better... reuse methods internally as much as I can, to
facilitate further changes.


12