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


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

comment/cosmetic


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

explicitly rename internal methods with an _


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

clean visible interface a bit: Ustar does not use errsay (but ArcCheck does)
and having a forwarder for system for ONE use is a bit much !


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

avoid the "indirect object" call, as it won't work with v5.36
document a few useful details
introduce a less confusing set_destdir inteface for later


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

EOF does not result in an error code, as spotted by stsp@


# f526a68c 08-May-2022 espie <espie@openbsd.org>

get rid of horribly complex optimization that's no longer relevant.

For update-info, we used to try to stop reading the CONTENTS file from
the stream as soon as we had enough, but
- most update-info

get rid of horribly complex optimization that's no longer relevant.

For update-info, we used to try to stop reading the CONTENTS file from
the stream as soon as we had enough, but
- most update-info will be cached
- the ones that won't are @option always-update, so they need the full
plist anyway
- most packages are signed, so we need a full 64KB of data to check the hash.

show more ...


# 1b04b994 09-Aug-2021 espie <espie@openbsd.org>

add $self->fullname to simplify the cumbersome usual name

add $self->extract_to_fh, only for IsFile objects, so that they can be
written to a temporary file without needing to adjust the file object

add $self->fullname to simplify the cumbersome usual name

add $self->extract_to_fh, only for IsFile objects, so that they can be
written to a temporary file without needing to adjust the file object's name

show more ...


# a0ce73c8 23-Jul-2017 espie <espie@openbsd.org>

recent perls have more fun rules related to _ and -


# e0364b44 02-Apr-2016 espie <espie@openbsd.org>

sprinkle spaces to make more obvious which fields we use


# 57c1f57e 04-Jan-2015 espie <espie@openbsd.org>

too many todo. Use unambiguous names, since they're not the same operation
at all


# 6b32f486 20-Nov-2014 espie <espie@openbsd.org>

theo's right. use random_name for truely random stuff.
rename variable and index accordingly.


# 03d25a10 01-Sep-2014 espie <espie@openbsd.org>

@newuser and @newgroup won't necessarily be on the machine during pkg_create,
so fake uid/gid 0 if they're not. (removes some warning message)


# df3a2f2f 10-Aug-2014 espie <espie@openbsd.org>

comment what's going on


# ecd7f40b 10-Aug-2014 espie <espie@openbsd.org>

Ouch... fuck cvs


# c87f1587 10-Aug-2014 espie <espie@openbsd.org>

if pkg_create is run as non-root, restory correct group/owner to root/bin.

also, remove write permissions without explicit modes. Allows fake installs
to keep directories/files writable while produc

if pkg_create is run as non-root, restory correct group/owner to root/bin.

also, remove write permissions without explicit modes. Allows fake installs
to keep directories/files writable while producing correct package.

show more ...


# 33ff38d2 23-Jul-2014 espie <espie@openbsd.org>

move misleading comment


# 02e65a1b 07-Jul-2014 espie <espie@openbsd.org>

restore progressmeter for big files.
somehow, one extra level of indirection to archive, make it all go away
by adding a new method set_callback


# 3fbe55e6 21-Apr-2014 espie <espie@openbsd.org>

add support for reading/writing long paths and linkpaths as extended
headers


# 2d5e0185 17-Jan-2014 espie <espie@openbsd.org>

"recognize" extended header thingies (we don't handle them, we just
spew more useful error messages)


# 5bbd7c03 13-Jan-2014 espie <espie@openbsd.org>

have Ustar extract owners for symlinks, which isn't really important for
pkg_add, since it skips links and restores owners from the plist anyways.


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

bump copyright to 2014


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

a few mechanical style changes


# 6a137387 05-Jan-2014 espie <espie@openbsd.org>

don't whine about octal numbers > 2^32. They're not portable, but
they work on all OpenBSD platforms.

Shuts up warning noticed by naddy@


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

zap blank spaces


1234