Page MenuHomeFreeBSD

Remove SMALL conditionals from gzip
ClosedPublic

Authored by thj on Jan 26 2022, 2:26 PM.
Tags
None
Referenced Files
F102684085: D34047.diff
Fri, Nov 15, 8:13 PM
Unknown Object (File)
Tue, Oct 22, 11:20 AM
Unknown Object (File)
Sat, Oct 19, 3:42 AM
Unknown Object (File)
Sep 17 2024, 11:27 PM
Unknown Object (File)
Sep 17 2024, 3:56 AM
Unknown Object (File)
Sep 16 2024, 1:36 AM
Unknown Object (File)
Sep 12 2024, 9:56 PM
Unknown Object (File)
Sep 12 2024, 2:39 PM
Subscribers
None

Details

Summary

gzip has SMALL conditionals which enable building a reduced size version
of the binary. These exist as part of the introduction of BSD licensed
gzip in 2004 in NetBSD and appear to have been required to reach a size
of related to inclusion in install media. For more information see
commits to gzip in the NetBSD tree on the 28th of March 2004.

SMALL doesn't appear to be hooked up to our build system and
complicates gzip.

gzips SMALL build might be hooked up to a system I am not familiar with such as
pico/nanobsd. If it is used I am happy for it to stay.

Test Plan

kyua test -k /usr/tests/Kyuafile usr.bin/gzip

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44104
Build 40992: arc lint + arc unit

Event Timeline

thj requested review of this revision.Jan 26 2022, 2:26 PM
thj created this revision.
This revision is now accepted and ready to land.Jan 26 2022, 3:39 PM

I don't see any use in nanobsd or freebsd-wifi-build

This revision was automatically updated to reflect the committed changes.