History log of /freebsd-current/usr.bin/gzip/unxz.c
Revision Date Author Comments
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# b61a5730 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD

The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 58135fbd 24-Feb-2022 Eric van Gyzen <vangyzen@FreeBSD.org>

gzip: fix error handling in unxz

The result of fstat() was not checked. Furthermore, there was a
redundant check of st.st_size. Fix both.

Reported by: Coverity
MFC after: 1 week
Sponsored by: Dell EMC Isilon


# 5c4b64e6 07-Jan-2019 Xin LI <delphij@FreeBSD.org>

Port NetBSD improvements:

- Add -l support for xz files
- Add lzip support to gzip based on the example lzip decoder.

Obtained from: NetBSD
MFC after: 2 weeks
Relnotes: yes


# 1de7b4b8 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.


# 90f528e8 21-Nov-2017 Xin LI <delphij@FreeBSD.org>

Support SIGINFO.

Obtained from: NetBSD
MFC after: 2 weeks


# b8fe1f69 06-Feb-2017 Xin LI <delphij@FreeBSD.org>

Reflect actual NetBSD revision we already have.

MFC after: 3 days


# d9b3a15b 16-Oct-2011 Xin LI <delphij@FreeBSD.org>

According to the NetBSD foundation [1]:

Third parties are encouraged to change the license on any files which have
a 4-clause license contributed to the NetBSD Foundation to a 2-clause
license. We would also encourage you to inform us about these files, so
that we can continue to track the many places in which NetBSD is used.

http://www.netbsd.org/about/redistribution.html#why2clause [1]

Requested by: joel@


# 140c037a 10-Oct-2011 Xin LI <delphij@FreeBSD.org>

Incorporate recent changes from NetBSD. Most notable change is the addition
of support of decompressing xz files.

Obtained from: NetBSD