Date: Fri, 29 Jul 2022 13:24:10 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: d@delphij.net, freebsd-current <freebsd-current@freebsd.org>, freebsd-hackers@freebsd.org Subject: Re: Proposal: remove /usr/bin/minigzip Message-ID: <b946c9ab-7586-12ca-61cd-e2e7799c3626@grosbein.net> In-Reply-To: <0d8e1b38-bcd2-0875-1864-3385c502646d@delphij.net> References: <0d8e1b38-bcd2-0875-1864-3385c502646d@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
29.07.2022 13:12, Xin Li пишет: > Hi, > > I'd like to remove /usr/bin/minigzip , a patch is available at: > > https://reviews.freebsd.org/D35979 > > The minigzip is originally an example application shipped with zlib to demonstrate how to use it to implement basic functionality of gzip. It was connected to the base system in 1997, mainly because there wasn't a GPL-free implementation of gzip(1): > > https://cgit.freebsd.org/src/commit/usr.bin/minigzip?id=85e55f7ab8473307fb16c5bce8c2e933a317215b > > Now we already have a GPL-free gzip(1) implementation in base system for quite a while, so it seems that there isn't much value of keeping minigzip around. A quick grep suggests that it's not being used by the base system anywhere, nor in the ports tree. > > Any objections? Have you considered embedded applications (crunchgen etc.)? In 13.1/amd64, /usr/bin/minigzip binary is about 11KB and links with libc and libz only. OTOH, /usr/bin/gzip is about six times larger (64KB) and additionally needs libbz2, liblzma, libmd and libthr.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b946c9ab-7586-12ca-61cd-e2e7799c3626>