History log of /openbsd/usr.sbin/pkg_add/OpenBSD/PackageName.pm (Results 1 – 25 of 58)
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 ...


# 07126a4d 17-May-2023 espie <espie@openbsd.org>

stop using old-style prototypes except where strictly necessary
(for try/catch)

signatures will be much more powerful once I move to 5.36


# b1986bc3 25-Nov-2021 espie <espie@openbsd.org>

forgot the case about find... oops
fixes GraphicsMagick updates


# 699c12df 24-Nov-2021 espie <espie@openbsd.org>

preliminary work: have the compiled_stemlist be case independent.
This has not useful repercussions so far, as the actual package name
comparison is done with case dependent regexps, but this will al

preliminary work: have the compiled_stemlist be case independent.
This has not useful repercussions so far, as the actual package name
comparison is done with case dependent regexps, but this will allow
searching for "user specs" as case independent in the future,
allowing stuff like
pkg_add graphicsmagick
to work.

show more ...


# 044f8b13 26-Mar-2020 jca <jca@openbsd.org>

Add support for "alpha" suffixes in package versions

We already supported "beta" releases but not "alpha", probably to
discourage people from pushing "alpha-quality" software in the ports
tree.

We

Add support for "alpha" suffixes in package versions

We already supported "beta" releases but not "alpha", probably to
discourage people from pushing "alpha-quality" software in the ports
tree.

We have 30 ports with distfiles matching "alpha", and people just work
around the lack of explicit support for "alpha" releases with mixes of
crafted PKGNAME and REVISION/EPOCH. This looks needlessly complicated
and a bit unfair when compared to GH_COMMIT support.

Pointers from landry@ and sthen@, lgtm landry@, no objection from espie@

show more ...


# 5f348c0b 07-Nov-2019 espie <espie@openbsd.org>

style nit


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

remove $_ usage that warns under perl 5.18


# 9a76099a 31-Aug-2011 espie <espie@openbsd.org>

versionspec stuff belongs in PkgSpec, not PackageName


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


# 26e75840 02-Jul-2010 espie <espie@openbsd.org>

move the empty url message up to PackageRepository, so that we can print
it cleanly.
allow some urls to be empty without warning (e.g., "./" should generally
be allowed to be empty).


# 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


# 5b08f85b 18-Jun-2010 espie <espie@openbsd.org>

oops


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

whitespace fixes


# e5e97783 27-Jan-2010 espie <espie@openbsd.org>

actually order things:
beta < (rc|pre) < release < pl

(fixes speex updates)


# 6fcf288d 24-Jan-2010 espie <espie@openbsd.org>

add code to check packagename for problems


# 7eb3bd1a 19-Jan-2010 espie <espie@openbsd.org>

simplify caching: return $cached->{$_} //= new_value;
remove stats
cache LibSpec as well (1000 c.53.0 !)


# e1eeb5e0 10-Jan-2010 espie <espie@openbsd.org>

pull the signature comparison code into its own file.
add comparison functions to Packagenames that return undef when it matters.


# fcba77b1 09-Jan-2010 espie <espie@openbsd.org>

fix to_string


# 516945ad 30-Dec-2009 espie <espie@openbsd.org>

more changes and optimizations: create unique dewey objects, so I can
compare them directly and avoid storing the string.
on typical use through a large update, 2/3 cache hits.

also, remove switch o

more changes and optimizations: create unique dewey objects, so I can
compare them directly and avoid storing the string.
on typical use through a large update, 2/3 cache hits.

also, remove switch on <,> by writing subclasses. Actually makes things
clearer.

show more ...


# 1f9ffadc 30-Dec-2009 espie <espie@openbsd.org>

fix pkgspec handling, actually do filter by regexp.
shave some memory off packagenames by not storing non-existent p/v.
cache all packagename construction (happens two times out of 3).


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

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


# 1daa8d72 10-Jun-2009 espie <espie@openbsd.org>

fix dewey comparison for suffixes (no early return)


# e451b54d 19-Apr-2009 espie <espie@openbsd.org>

synch with my new style search/location changes
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.


123