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

put "stub" within grasp of -DREGRESSION_TESTING.
Extend it slightly: do not stub quirks, so that caching mechanisms work
as usual even when using stubs.


# 141af660 07-Oct-2023 espie <espie@openbsd.org>

use more specific regression testing knob


# 3be5e12f 20-Jul-2023 espie <espie@openbsd.org>

fix esoteric error message in case PackageName parses stuff to a bogus
fullpkgname, as seen by Matthias Schmidt


# a1268d5a 04-Jul-2023 espie <espie@openbsd.org>

add some more fluff to documentation


# cbecba2f 04-Jul-2023 espie <espie@openbsd.org>

fix some very minor syntactic nits


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


# c3b72fab 23-May-2023 espie <espie@openbsd.org>

don't pass state, we get them from the progressmeter


# 7a7a47b6 22-May-2023 espie <espie@openbsd.org>

gc unused/old code


# 08eb747c 21-May-2023 espie <espie@openbsd.org>

move the interface to SharedLibs to be somewhat object oriented

accordingly, load it "just in time" in State.

Most calls get simplified, and we can save more state for later.


# 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


# efd6faa5 16-May-2023 espie <espie@openbsd.org>

use the new set_destdir interface


# 9356e752 25-Jan-2023 espie <espie@openbsd.org>

change naming convention for the lru "save history" cache, so that
ports like "lang/chicken/core" do generate files like lang.chicken.core.lru
instead of lang.chicken.core (which can create confusion

change naming convention for the lru "save history" cache, so that
ports like "lang/chicken/core" do generate files like lang.chicken.core.lru
instead of lang.chicken.core (which can create confusion in people's mind)

do so transparently by reading the old file if need be, and removing it
afterwards.

Funny thing noticed by tb@

ok tb@, sthen@

show more ...


# 67dbf7d2 01-Nov-2022 espie <espie@openbsd.org>

Have -S actually behave like the other introspection options, namely only
eschew building the package is -n is mentionned.

Document that -S -n is heavily optimized for speed since it's mostly used
b

Have -S actually behave like the other introspection options, namely only
eschew building the package is -n is mentionned.

Document that -S -n is heavily optimized for speed since it's mostly used
by dpb -R to figure out what to rebuild.

show more ...


# 50ab629c 01-Nov-2022 espie <espie@openbsd.org>

fix a logic error from 2018: be silent if any of -S, -n, -q are mentioned.

The actual bug reverted in 1.128 was from "make print-plist-libs"
which would invoke pkg_create -n -Q and filter out the l

fix a logic error from 2018: be silent if any of -S, -n, -q are mentioned.

The actual bug reverted in 1.128 was from "make print-plist-libs"
which would invoke pkg_create -n -Q and filter out the libs: but
in that case, pkg_create would not be silent, thus yielding
reading plist|-/usr/local/lib/libpython3.9.so.0.0
to filter, which obviously wouldn't work.

So, turn on silent mode for -Q as well.

show more ...


# 3d52ff41 28-Jun-2022 espie <espie@openbsd.org>

if we can't open the user db, don't try to read from a closed fh


# e992959a 28-Jun-2022 espie <espie@openbsd.org>

some old signing code was still around


# 531f140a 06-Jun-2022 espie <espie@openbsd.org>

have compute_checksum return a status, so that we don't report similar
errors several times (for instance, if a file doesn't exist, its checksum
is not going to match, obviously)


# c2e596a1 28-May-2022 espie <espie@openbsd.org>

have pkg_create generate the hash for always-update


# 2f1a7887 15-May-2022 espie <espie@openbsd.org>

clean up and document the LRU stuff better
- create a separate path when we don't want history
- add a dummy entry to see the threshold between changed and unchanged
in verbose mode
- document better

clean up and document the LRU stuff better
- create a separate path when we don't want history
- add a dummy entry to see the threshold between changed and unchanged
in verbose mode
- document better the various stuff that gets separated
- error out in case we want history (by default) and anything goes wrong

show more ...


# b9b382d5 15-May-2022 espie <espie@openbsd.org>

remove the gzip chunk after CONTENTS, it was only needed back when
we signed the packing-list separately. Now that we use signify to
create the signature without decompressing anything, it's complete

remove the gzip chunk after CONTENTS, it was only needed back when
we signed the packing-list separately. Now that we use signify to
create the signature without decompressing anything, it's completely
irrelevant.

show more ...


# 9ef57ea4 12-May-2022 espie <espie@openbsd.org>

yet another stupid shadowed variable, thx sthen@


# ad2daeff 12-May-2022 espie <espie@openbsd.org>

explicitly write LRU in a comment so that it's easier to find ;)


# 58a63a6b 13-Jan-2022 espie <espie@openbsd.org>

allow disabling the @ts tweak, which may come in handy for new fw_update
that doesn't grok them.


# c26d3345 09-Nov-2021 espie <espie@openbsd.org>

fix typo (noticed by sthen@)


12345678